Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
Applications use the methods of the d3dLight class to retrieve and set the capabilities of lights.
public class d3dLight implements Id3dLight { public void InternalSetObject(IUnknown lpdd); public IUnknown InternalGetObject(); public void Initialize(d3d dev); public void SetLight(d3dLightStruc light); public void GetLight(d3dLightStruc light); }
The methods can be organized into the following groups:
Get and set | GetLight |
SetLight | |
Initialization | Initialize |
public void GetLight(d3dLightStruc light);Retrieves the light information for the d3dLight object.
Return Value:
No return value.
Parameter Description light The d3dLightStruc object that receives the current light data. See Also: SetLight
public void Initialize(d3d dev);Initializes the d3dLight object.
Return Value:
No return value.
Parameter Description dev The Direct3D object.
public void SetLight(d3dLightStruc light);Sets the light information for the d3dLight object.
Return Value:
No return value.
Parameter Description light The d3dLight object that contains the light data to set. See Also: GetLight