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 |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for