Applications use the methods of the IDirect3DRMLight interface to interact with light objects. This section is a reference to the methods of this interface. For a conceptual overview, see IDirect3DRMLight and IDirect3DRMLightArray Interfaces.
The methods of the IDirect3DRMLight interface can be organized into the following groups:
Attenuation GetConstantAttenuation
Color GetColor
Enable frames GetEnableFrame
Light types GetType
Range GetRange
Spotlight options GetPenumbra
The IDirect3DRMLight interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
In addition, the IDirect3DRMLight interface inherits the following methods from the IDirect3DRMObject interface:
The Direct3DRMLight object is obtained by calling the IDirect3DRM::CreateLight or IDirect3DRM::CreateLightRGB method.