Microsoft DirectX 8.1 (Visual Basic)

D3DXSkinMesh.GetBoneInfluence

Returns a list of values indicating how a bone effects the skin mesh.

object.GetBoneInfluence( _ 
    Bone As Long, _ 
    Vertices As Long, _ 
    Weights As Single,)

Parts

object
Object expression that resolves to a D3DXSkinMesh object.
Bone
Bone to query.
Vertices
The list of vertices affected by the bone.
Weights
List of weights associated with each vertex in the list of vertices affected by the bone.

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.