Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/DefinitionWriter
Description
Example: Joint names: [A, B, C, D, E, F, G, H] Hierarchy: [0, 0, 0, 1, 1, 4, 2, 2] Describes the following hierarchy: A
- B | + D | + E | + F
- C
- G
- H
These indices can be used to access joint names through DefinitionReader::getJointName.
| Name | setJointHierarchy |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/DefinitionWriter.h |
| Include Path | #include "dna/layers/DefinitionWriter.h" |
void setJointHierarchy
(
const std::uint16_t * jointIndices,
std::uint16_t count
)
Parameters
| Name | Remarks |
|---|---|
| jointIndices | The source address from which the joint indices are to be copied. |
| count | The number of joint indices to copy. |