?/TD>
Microsoft DirectX 9.0

ID3DXSkinInfo::UpdateSkinnedMesh Method


Apply software skinning to the target vertices based on the current matrices.

Syntax

HRESULT UpdateSkinnedMesh(      

    CONST D3DXMATRIX *pBoneTransforms,     CONST D3DXMATRIX *pBoneInvTransposeTransforms,     PVOID pVerticesSrc,     PVOID pVerticesDst );

Parameters

pBoneTransforms
[in] Bone transform matrix.
pBoneInvTransposeTransforms
[in] Inverse transpose of the bone transform matrix.
pVerticesSrc
[in] Pointer to the buffer containing the source vertices.
pVerticesDst
[in] Pointer to the buffer containing the destination vertices.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.





© 2002 Microsoft Corporation. All rights reserved.