Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class d3dLight

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

GetLight

public void GetLight(d3dLightStruc light);

Retrieves the light information for the d3dLight object.

Return Value:

No return value.

ParameterDescription
light The d3dLightStruc object that receives the current light data.

See Also: SetLight


Initialize

public void Initialize(d3d dev);

Initializes the d3dLight object.

Return Value:

No return value.

ParameterDescription
dev The Direct3D object.


SetLight

public void SetLight(d3dLightStruc light);

Sets the light information for the d3dLight object.

Return Value:

No return value.

ParameterDescription
light The d3dLight object that contains the light data to set.

See Also: GetLight



Top© 1996 Microsoft Corporation. All rights reserved.