Microsoft DirectX 8.1 (C++)

ID3DXSkinMesh::GetNumBoneInfluences

Returns the number of influences (weights) on a given bone.

DWORD GetNumBoneInfluences(
  DWORD Bone
);

Parameters

Bone
[in] The bone to query.

Return Values

Returns the number of weights on the given bone. If Bone is an invalid bone number, GetNumBoneInfluences returns 0.

Requirements

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