Microsoft DirectX 9.0 SDK Update (October 2004)

SkinInformation.UpdateSkinnedMesh Method

Language:

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

Applies software skinning to target vertices that are based on the current matrices.

Definition

Visual Basic .NET Public Function UpdateSkinnedMesh( _
    ByVal boneTransforms() As Matrix, _
    ByVal boneInvTransforms() As Matrix, _
    ByVal verticesSource As Array _
) As Array
C# public Array UpdateSkinnedMesh(
    Matrix[] boneTransforms,
    Matrix[] boneInvTransforms,
    Array verticesSource
);
Managed C++ public: Array* UpdateSkinnedMesh(
    Matrix boneTransforms __gc[],
    Matrix boneInvTransforms __gc[],
    Array *verticesSource
);
JScript .NET public function UpdateSkinnedMesh(
    boneTransforms : Matrix[],
    boneInvTransforms : Matrix[],
    verticesSource : Array
) : Array;

Parameters

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 Leave Site of source vertices.

Return Value

System.Array . An Array Leave Site of destination vertices.

Remarks

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.


© 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