IDirect3DRMLight Interface Method Groups

Applications use the methods of the IDirect3DRMLight interface to interact with light objects. The methods can be organized into the following groups:

Attenuation GetConstantAttenuation

GetLinearAttenuation

GetQuadraticAttenuation

SetConstantAttenuation

SetLinearAttenuation

SetQuadraticAttenuation

Color GetColor

SetColor

SetColorRGB

Enable frames GetEnableFrame

SetEnableFrame

IUnknown AddRef

QueryInterface

Release

Light types GetType

SetType

Range GetRange

SetRange

Spotlight options GetPenumbra

GetUmbra

SetPenumbra

SetUmbra

All COM interfaces inherit the IUnknown interface methods, which are listed in the "IUnknown" group above. These three methods allow additional interfaces to be added to the Direct3DRMLight object without affecting the functionality of the original interface. In addition, the IDirect3DRMLight interface inherits the following methods from the IDirect3DRMObject interface:

AddDestroyCallback

Clone

DeleteDestroyCallback

GetAppData

GetClassName

GetName

SetAppData

SetName

The Direct3DRMLight object is obtained by calling the IDirect3DRM::CreateLight or IDirect3DRM::CreateLightRGB method.