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/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.

See Also

D3DLIGHTDATA, IDirect3DViewport3::LightElements