Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class Direct3dLight

public class Direct3dLight implements IDirect3dLight
{
  // Methods
  public void getLight(D3dLightDesc light);
  public void setLight(D3dLightDesc light);
}

Applications use the methods of the Direct3dLight class to retrieve and set the capabilities of lights.

Note This class does not provide an initialize method. Use the Direct3d.createLight() method to create and initialize Direct3dLight objects.

Methods

getLight

public void getLight(D3dLightDesc light);

Retrieves the light information for the Direct3dLight object.

Return Value:

No return value.

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

See Also: setLight

setLight

public void setLight(D3dLightDesc light);

Sets the light information for the Direct3dLight object.

Return Value:

No return value.

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

See Also: getLight

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.