Microsoft DirectX 8.1 (C++)

ID3DXSkinMesh::GetBoneInfluence

Returns a list of values indicating how a bone affects the skin mesh.

HRESULT GetBoneInfluence(
  DWORD Bone,
  DWORD* pVertices,
  FLOAT* pWeights
);

Parameters

Bone
[in] Bone to query.
pVertices
[in, out] Reference to the list of vertices affected by the bone.
pWeights
[in, out] List of weights associated with each vertex in the list of vertices affected by the bone.

Return Values

If the method succeeds, the return value is D3D_OK.

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

Requirements

  Header: Declared in D3dx8mesh.h.
  Import Library: Use D3dx8.lib.

See Also

ID3DXSkinMesh::GetBoneInfluence