Microsoft DirectX 8.1 (Visual Basic) |
Return the maximum number of face influences.
object.GetMaxFaceInfluences() As Long
Maximum number of influences effecting any single face in the skin mesh.
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.
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).