ID3DXSkinInfo::SetBoneOffsetMatrix

Sets the bone offset matrix.

HRESULT SetBoneOffsetMatrix(
  DWORD Bone,
  CONST D3DXMATRIX * pBoneTransform
);

Parameters

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

Return Values

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.

Requirements

Header: Declared in D3dx9mesh.h.

See Also

ID3DXSkinInfo::GetBoneOffsetMatrix