Microsoft DirectX 8.1 (C++)

ID3DXSkinMesh::GetMaxFaceInfluences

Return the maximum number of face influences.

HRESULT GetMaxFaceInfluences(
  DWORD* maxFaceInfluences
);

Parameters

maxFaceInfluences
[out, retval] Maximum number of influences affecting any single face in the skin mesh.

Return Values

If the method succeeds, the return value is D3D_OK.

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

Remarks

Each face can be affected by n bones. The following diagram shows a face affected by 6 bones (the union of bones effecting each vertex of the face).

Requirements

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