Microsoft DirectX 8.1 (Visual Basic)

D3DXPMesh.GetMinFaces

Retrieves the minimum number of faces that the progressive mesh supports.

object.GetMinFaces() As Long

Parts

object
Object expression that resolves to a D3DXPMesh object.

Return Values

Returns the minimum number of faces supported by the progressive mesh.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.