Packages
 In this topic

*Methods

 

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

 


Class Direct3dRMFaceArray

public class Direct3dRMFaceArray implements 
            IDirect3dRMFaceArray
{
  // Methods
  public Direct3dRMFace getElement(int index);
  public int getSize();
}

Applications use the methods of the Direct3dRMFaceArray class to organize faces in a mesh.

The Direct3dRMFaceArray object is obtained by calling the getFaces method.

Methods

getElement

public Direct3dRMFace getElement(int index);

Returns one of the Direct3dRMFace objects associated with this object.

Return Value:

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

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

getSize

public int getSize();

Returns the number of Direct3dRMFace objects associated with this object.

Return Value:

Returns the number of objects.

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