D3DLIGHTINGELEMENT

The D3DLIGHTINGELEMENT structure describes the points in model space that will be lit. This structure is part of the D3DLIGHTDATA structure.

typedef struct _D3DLIGHTINGELEMENT {

D3DVECTOR dvPosition;

D3DVECTOR dvNormal;

} D3DLIGHTINGELEMENT, *LPD3DLIGHTINGELEMENT;

Members

dvPosition

Value specifying the lightable point in model space. This value is a D3DVECTOR structure.

dvNormal

Value specifying the normalized unit vector. This value is a D3DVECTOR structure.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.

See Also

D3DLIGHTDATA, IDirect3DViewport2::LightElements