Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/JointBehaviorMetadataWriter
Warnings * The index must be less than the value returned by getJointCount.
Description
The index must be less than the value returned by getJointCount.
This metadata affects how joints are calculated, as the given representation will be used internally by the implementation that evaluates them.
| Name | setJointTranslationRepresentation |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/JointBehaviorMetadataWriter.h |
| Include Path | #include "dna/layers/JointBehaviorMetadataWriter.h" |
void setJointTranslationRepresentation
(
std::uint16_t jointIndex,
TranslationRepresentation representation
)
Parameters
| Name | Remarks |
|---|---|
| jointIndex | A joint's position in the zero-indexed array of joints. |
| representation | The desired representation of the joint's translation component. |