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.
Sets an influence value of a bone on a single vertex.
Syntax
HRESULT SetBoneVertexInfluence(
[in] DWORD boneNum,
[in] DWORD influenceNum,
[in] FLOAT weight
);
Parameters
-
boneNum [in]
-
Type: DWORD
Index of the bone. Must be between 0 and the number of bones.
-
influenceNum [in]
-
Type: DWORD
Index of the influence array of the specified bone.
-
weight [in]
-
Type: FLOAT
Blend factor of the specified bone influence.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also