d3d9.dllSetBoneOffsetMatrix
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXSkinInfo::SetBoneOffsetMatrix Method


Sets the bone offset matrix.

Syntax

HRESULT SetBoneOffsetMatrix(      

    DWORD Bone,     const D3DXMATRIX *pBoneTransform );

Parameters

Bone
[in] Bone number.
pBoneTransform
[in] Pointer to the bone offset matrix.

Return Value

If the method succeeds, the return value is D3D_OK.

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



Remarks

Bone names are returned by D3DXLoadMeshFromXof.

See Also

ID3DXSkinInfo::GetBoneOffsetMatrix


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.