Direct3DRMFaceArray

Applications use the methods of the Direct3DRMFaceArray interface to organize faces in a mesh. The face array is zero based (0 to N-1). For more information about faces, see Direct3DRMFace2.

The Direct3DRMFaceArray interface supports the following methods.

The Direct3DRMFaceArray object is obtained by calling the Direct3DRMMeshBuilder3.GetFaces method.

Direct3DRMFaceArray.GetElement

Direct3DRMFaceArray

Retrieves a specified element in a Direct3DRMFaceArray object.

Syntax

object.GetElement(index As Long) As Direct3DRMFace2

Parts

object
Object expression that resolves to a Direct3DRMFaceArray object.
index
Element in the array.

Return Value

Returns the Direct3DRMFace element specified by the index parameter in a Direct3DRMFaceArray object.

Error Values

For a list of possible errors, see Direct3D Retained Mode Error Values.

Direct3DRMFaceArray.GetSize

Direct3DRMFaceArray

Retrieves the number of elements contained in a Direct3DRMFaceArray object.

Syntax

object.GetSize( ) As Long

Parts

object
Object expression that resolves to a Direct3DRMFaceArray object.

Return Value

Returns the number of elements.

Error Values

For a list of possible errors, see Direct3D Retained Mode Error Values.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.