| 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 d3dLightStruc object to receive 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 d3dLightStruc object that contains the light data to be set. See Also: GetLight
| © 1997 Microsoft Corporation. All rights reserved. Terms of Use. |