Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a set of lighting properties that this device uses.
object.GetLight( _ Index As Long, _ Light As D3DLIGHT8)
If the method fails, an error is raised and Err.Number may be set to D3DERR_INVALIDCALL if one of the parameters is invalid.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
Direct3DDevice8.SetLight, Direct3DDevice8.GetLightEnable, Direct3DDevice8.LightEnable