ID3DX10SkinInfo::FindBoneInfluenceIndex method

Find the index that indicates where a given vertex is in a given bone's list of influenced vertices.

Syntax

HRESULT FindBoneInfluenceIndex(
  [in] UINT BoneIndex,
  [in] UINT VertexIndex,
  [in] UINT *pInfluenceIndex
);

Parameters

BoneIndex [in]

Type: UINT

An index that specifies an existing bone. Must be between 0 and the value returned by ID3DX10SkinInfo::GetNumBones.

VertexIndex [in]

Type: UINT

The index of the vertex in the vertex buffer.

pInfluenceIndex [in]

Type: UINT*

The index of the vertex in the bone's list of influenced vertices.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the return value can be: E_INVALIDARG.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

ID3DX10SkinInfo

D3DX Interfaces