Packages
 In this topic

*Methods

 

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

 


Class Direct3dRMLightArray

public class Direct3dRMLightArray implements 
            IDirect3dRMLightArray
{
  // Methods
  public Direct3dRMLight getElement(int index);
  public int getSize();
}

Applications use the methods of the Direct3dRMLightArray class to organize light objects.

The Direct3dRMLightArray object is obtained by calling the getLights method.

Methods

getElement

public Direct3dRMLight getElement(int index);

Retrieves one of the Direct3dRMLight objects associated with this object.

Return Value:

Returns the Direct3dRMLight object if successful; otherwise, returns null.

ParameterDescription
index Identifies the object to return. The index must be a value in the range of 0 to one less than the number returned by the getSize method.

getSize

public int getSize();

Retrieves the number of Direct3dRMLight objects associated with this object.

Return Value:

Returns the number of objects.

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