Skip to content

Latest commit

 

History

History
100 lines (62 loc) · 1.8 KB

id3dxskininfo--getboneinfluence.md

File metadata and controls

100 lines (62 loc) · 1.8 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Gets the vertices and weights that a bone influences.
84cb064b-b6b2-402d-81cc-8c02de6f8b52
ID3DXSkinInfo::GetBoneInfluence method (D3DX9Mesh.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXSkinInfo.GetBoneInfluence
COM
d3dx9.lib
d3dx9.dll

ID3DXSkinInfo::GetBoneInfluence method

Gets the vertices and weights that a bone influences.

Syntax

HRESULT GetBoneInfluence(
  [in]      DWORD Bone,
  [in, out] DWORD *vertices,
  [in, out] FLOAT *weights
);

Parameters

Bone [in]

Type: DWORD

Bone number.

vertices [in, out]

Type: DWORD*

Get the array of vertices influenced by a bone.

weights [in, out]

Type: FLOAT*

Get the array of weights influenced by a bone.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

Use ID3DXSkinInfo::GetNumBoneInfluences to find out how many vertices the bone influences.

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

ID3DXSkinInfo

ID3DXSkinInfo::SetBoneInfluence