DirectX SDK |
The Direct3DDevice7.SetLight method assigns a set of lighting properties for this device.
object.SetLight( _ LightIndex As Long, _ Light As D3DLIGHT7)
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DDERR_INVALIDPARAMS |
DDERR_OUTOFMEMORY |
Direct3DDevice7.GetLight, Direct3DDevice7.GetLightEnable, Direct3DDevice7.LightEnable , Lighting and Materials.