?/TD>
Microsoft DirectX 9.0

ID3DXSkinInfo::GetBoneInfluence Method


Get 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


© 2002 Microsoft Corporation. All rights reserved.