Navigation
API > API/Plugins > API/Plugins/IKRig
| Name | EPinBoneTranslationMode |
| Type | enum |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Retargeter/RetargetOps/PinBoneOp.h |
| Include Path | #include "Retargeter/RetargetOps/PinBoneOp.h" |
Syntax
enum EPinBoneTranslationMode
{
CopyGlobalPosition,
CopyLocalPosition,
CopyLocalPositionRelativeOffset,
CopyLocalPositionRelativeScaled,
CopyGlobalPositionAndMaintainOffset,
}
Values
| Name | Remarks |
|---|---|
| CopyGlobalPosition | Copy the global position of BoneToCopyFrom. |
| CopyLocalPosition | Copy the local translation (relative to parent), in global space, from BoneToCopyFrom to BoneToCopyTo. |
| CopyLocalPositionRelativeOffset | Copy the local translation, in global space, from BoneToCopyFrom to BoneToCopyTo and add the difference in lengths in the reference pose. |
| CopyLocalPositionRelativeScaled | Copy the local translation, in global space, from BoneToCopyFrom to BoneToCopyTo and scale by the relative lengths in the reference pose. |
| CopyGlobalPositionAndMaintainOffset | Copy the global position of BoneToCopyFrom, and add the local offset between BoneToCopyFrom and BoneToCopyTo in the reference pose. |