SkinInformation.SetBoneInfluence Method
|
Language: |
Sets the influence value for a bone.
Definition
Visual Basic |
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 ); |
C++ |
public: void SetBoneInfluence( int bone, int numInfluences, array<int>^ vertices, array<float>^ weights ); |
JScript |
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
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center