Microsoft DirectX 8.1 (Visual Basic) |
Returns the maximum number of vertex influences.
object.GetMaxVertexInfluences() As Long
Maximum number of influences effecting any single vertex 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 vertex can be affected by n bones. If this method returns a value of 17, up to 17 bones effect a single vertex of the skin mesh. So, there are 17 separate weights on that vertex which add up to 1.