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

ID3DXSkinInfo::SetBoneInfluence Method


Sets the influence value for a bone.

Syntax

HRESULT SetBoneInfluence(      

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

Parameters

Bone
[in] Bone number.
numInfluences
[in] Number of influences.
vertices
[in] The array of vertices influenced by a bone.
weights
[in] 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.



See Also

ID3DXSkinInfo::GetBoneInfluence, ID3DXSkinInfo::GetNumBoneInfluences


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