Microsoft DirectX 8.1 (C++) |
Sets the bone influence for a bone in the skin mesh.
HRESULT SetBoneInfluence( DWORD Bone, DWORD numInfluences, CONST DWORD* pVertices, CONST FLOAT* pWeights );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be E_OUTOFMEMORY.
Using this method provides a mechanism to indicate how the given bone affects the given vertices. This method should be called for each bone that affects the mesh.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.