| Package com.ms.com.directX |
Previous |
Microsoft Packages |
Index |
Next |
Applications use the methods of the d3drmFaceArray class to organize faces in a mesh.
public class d3drmFaceArray implements Id3drmFaceArray
{
public void InternalSetObject(IUnknown lpdd);
public IUnknown InternalGetObject();
public int GetSize();
public d3drmFace GetElement(int index);
}
There are the following methods:
| GetElement | GetSize |
The d3drmFaceArray object is obtained by calling the GetFaces method.
public d3drmFace GetElement(int index);Returns one of the d3drmFace objects associated with this object.
Return Value:
Returns the d3drmFace object if successful, or null otherwise.
Parameter Description index Index that identifies the object to return. Must be a value between 0 and one less than the number returned by the GetSize method.
public int GetSize();Returns the number of d3drmFace objects associated with this object.
Return Value:
Returns the number of objects in the array.
| © 1997 Microsoft Corporation. All rights reserved. Terms of Use. |