SkinInformation.UpdateSkinnedMesh(Matrix[],Matrix[],Array) Method (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic Public Function UpdateSkinnedMesh( _
    ByVal boneTransforms() As Matrix, _
    ByVal boneInvTransforms() As Matrix, _
    ByVal verticesSource As ArrayLeave Site _
) As ArrayLeave Site
C# public ArrayLeave Site UpdateSkinnedMesh(
    Matrix[] boneTransforms,
    Matrix[] boneInvTransforms,
    ArrayLeave Site verticesSource
);
C++ public:
ArrayLeave SiteUpdateSkinnedMesh(
    array<Matrix>^ boneTransforms,
    array<Matrix>^ boneInvTransforms,
    ArrayLeave SiteverticesSource
);
JScript public function UpdateSkinnedMesh(
    boneTransforms : Matrix[],
    boneInvTransforms : Matrix[],
    verticesSource : ArrayLeave Site
) : ArrayLeave Site;

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

Return Value

System.Array
An ArrayLeave 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.