Microsoft DirectX 8.1 (Visual Basic) |
Returns the number of influences (weights) on a given bone.
object.GetNumBoneInfluences( _ Bone As Long) As Long
Returns the number of weights on the given bone. If Bone is an invalid bone number, GetNumBoneInfluences returns 0.
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.