?/TD>
Microsoft DirectX 9.0

ID3DXSkinInfo::SetBoneOffsetMatrix Method


Set the bone offset matrix.

Syntax

HRESULT SetBoneOffsetMatrix(      

    DWORD Bone,     LPD3DXMATRIX 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


© 2002 Microsoft Corporation. All rights reserved.