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

ID3DXSkinInfo::GetBoneVertexInfluence Method


Retrieves the blend factor and vertex affected by a specified bone influence.

Syntax

HRESULT GetBoneVertexInfluence(      

    DWORD boneNum,     DWORD influenceNum,     FLOAT *pWeight,     DWORD *pVertexNum );

Parameters

boneNum
[in] Index of the bone. Must be between 0 and the number of bones.
influenceNum
[in] Index of the influence array of the specified bone.
pWeight
[in, out] Pointer to the blend factor influenced by influenceNum.
pVertexNum
[in, out] Pointer to the vertex influenced by influenceNum.

Return Value

If the method succeeds, the return value is S_OK.

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



See Also

ID3DXSkinInfo::SetBoneVertexInfluence, ID3DXSkinInfo::FindBoneVertexInfluenceIndex, ID3DXSkinInfo::GetBoneInfluence


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