Platform SDK: DirectX |
The Direct3DDevice7.GetLight method retrieves a set of lighting properties used by this device.
object.GetLight( _ LightIndex As Long, _ Light As D3DLIGHT7)
If the method fails, an error is raised and Err.Number may be set to DDERR_INVALIDPARAMS if one of the parameters is invalid.
Direct3DDevice7.SetLight, Direct3DDevice7.GetLightEnable, Direct3DDevice7.LightEnable, Lighting and Materials