?/TD>
Microsoft DirectX 9.0

ID3DXSkinInfo::SetBoneInfluence Method


Set 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


© 2002 Microsoft Corporation. All rights reserved.