Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
|
| Library |
|
See also