Microsoft DirectX 8.1 (Visual Basic)

D3DXSkinMesh.GetMaxFaceInfluences

Return the maximum number of face influences.

object.GetMaxFaceInfluences() As Long

Parts

object
Object expression that resolves to a D3DXSkinMesh object.

Return Values

Maximum number of influences effecting any single face in the skin 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.

Remarks

Each face can be affected by n bones. The following diagram shows a face affected by 6 bones (the union of bones effecting each vertex of the face).