Changes the light's type.
HRESULT SetType(
D3DRMLIGHTTYPE d3drmtType
);
Parameters
d3drmtType
New light type specified by one of the members of the D3DRMLIGHTTYPE enumerated type.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
See Also