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

ID3DXSkinInfo::GetBoneInfluence Method


Gets the vertices and weights that a bone influences.

Syntax

HRESULT GetBoneInfluence(      

    DWORD Bone,     DWORD *vertices,     FLOAT *weights );

Parameters

Bone
[in] Bone number.
vertices
[in, out] Get the array of vertices influenced by a bone.
weights
[in, out] Get the array of weights influenced by a bone.

Return Value

If the method succeeds, the return value is D3D_OK.

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



Remarks

Use ID3DXSkinInfo::GetNumBoneInfluences to find out how many vertices the bone influences.

See Also

ID3DXSkinInfo::SetBoneInfluence


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