Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies software skinning to target vertices that are based on the current matrices.
Definition
Visual Basic Public Sub UpdateSkinnedMesh( _
ByVal boneTransforms() As Matrix, _
ByVal boneInvTransforms() As Matrix, _
ByVal sourceVertices As GraphicsStream, _
ByVal destinationVertices As GraphicsStream _
)C# public void UpdateSkinnedMesh(
Matrix[] boneTransforms,
Matrix[] boneInvTransforms,
GraphicsStream sourceVertices,
GraphicsStream destinationVertices
);C++ public:
void UpdateSkinnedMesh(
array<Matrix>^ boneTransforms,
array<Matrix>^ boneInvTransforms,
GraphicsStream^ sourceVertices,
GraphicsStream^ destinationVertices
);JScript public function UpdateSkinnedMesh(
boneTransforms : Matrix[],
boneInvTransforms : Matrix[],
sourceVertices : GraphicsStream,
destinationVertices : GraphicsStream
);
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.sourceVertices Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains the source vertices.destinationVertices Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains 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
The method call is invalid. For example, a method's parameter might contain an invalid value.