Microsoft DirectX 9.0 SDK Update (October 2004)

SkinInformation.SetBoneInfluence Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets the influence value for a bone.

Definition

Visual Basic .NET Public Sub SetBoneInfluence( _
    ByVal bone As Integer, _
    ByVal numInfluences As Integer, _
    ByVal vertices() As Integer, _
    ByVal weights() As Single _
)
C# public void SetBoneInfluence(
    int bone,
    int numInfluences,
    int[] vertices,
    float[] weights
);
Managed C++ public: void SetBoneInfluence(
    int bone,
    int numInfluences,
    int vertices __gc[],
    float weights __gc[]
);
JScript .NET public function SetBoneInfluence(
    bone : int,
    numInfluences : int,
    vertices : int[],
    weights : float[]
);

Parameters

bone System.Int32. Value that represents the bone number.
numInfluences System.Int32. Value that represents the number of influences.
vertices System.Int32[]. Array of integers that represent the vertices influenced by the bone.
weights System.Single[]. Array of floating-point values that represent the weights influenced by the bone.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center