SkinInformation.UpdateSkinnedMesh Method |
Language: |
Applies software skinning to target vertices that are based on the current matrices.
Visual Basic Public Function UpdateSkinnedMesh( _
ByVal boneTransforms() As Matrix, _
ByVal boneInvTransforms() As Matrix, _
ByVal verticesSource As Array _
) As ArrayC# public Array UpdateSkinnedMesh(
Matrix[] boneTransforms,
Matrix[] boneInvTransforms,
Array verticesSource
);C++ public:
Array^ UpdateSkinnedMesh(
array<Matrix>^ boneTransforms,
array<Matrix>^ boneInvTransforms,
Array^ verticesSource
);JScript public function UpdateSkinnedMesh(
boneTransforms : Matrix[],
boneInvTransforms : Matrix[],
verticesSource : Array
) : Array;
boneTransforms Microsoft.DirectX.Matrix[]
Array of Matrix objects that represent bone transforms.boneInvTransforms Microsoft.DirectX.Matrix[]
Array of Matrix objects that represent the inverse transpose of the bone transform matrix.verticesSource System.Array
An Array of source vertices.
System.Array
An Array of destination vertices.
When used to skin vertices with two position elements, this method skins the second position element with the inverse of the bone instead of the bone itself.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
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