Microsoft DirectX 8.1 (Visual Basic) |
Sets the bone influence for a bone in the skin mesh.
object.SetBoneInfluence( _ Bone As Long, _ NumInfluences As Long, _ Vertices As Long, _ Weights As Single)
If the method fails, an error is raised and Err.Number can be set to E_OUTOFMEMORY.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
Using this method provides a mechanism to indicate how the given bone effects the given vertices. This method should be called for each bone that effects the mesh.