![]() |
![]() |
![]() |
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