Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/URigHierarchy
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetControlOffsetTransform
(
FRigElementKey InKey, |
Sets the offset transform for a given control element by key | Rigs/RigHierarchy.h |
|
void SetControlOffsetTransform
(
FRigControlElement* InControlElement, |
Sets the offset transform for a given control element | Rigs/RigHierarchy.h |
SetControlOffsetTransform(FRigElementKey, FTransform, bool, bool, bool, bool)
Description
Sets the offset transform for a given control element by key
| Name | SetControlOffsetTransform |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
UFUNCTION (BlueprintCallable, Category=URigHierarchy)
void SetControlOffsetTransform
(
FRigElementKey InKey,
FTransform InTransform,
bool bInitial,
bool bAffectChildren,
bool bSetupUndo,
bool bPrintPythonCommands
)
Parameters
| Name | Remarks |
|---|---|
| InKey | The key of the control element to set the offset transform for |
| InTransform | The new offset transform value to set |
| bInitial | If true the initial value will be used |
| bAffectChildren | If set to false children will not move (maintain global). |
| bSetupUndo | If true the transform stack will be setup for undo / redo |
SetControlOffsetTransform(FRigControlElement *, const FTransform &, const ERigTransformType::Type, bool, bool, bool, bool)
Description
Sets the offset transform for a given control element
| Name | SetControlOffsetTransform |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include Path | #include "Rigs/RigHierarchy.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchy.cpp |
void SetControlOffsetTransform
(
FRigControlElement * InControlElement,
const FTransform & InTransform,
const ERigTransformType::Type InTransformType,
bool bAffectChildren,
bool bSetupUndo,
bool bForce,
bool bPrintPythonCommands
)
Parameters
| Name | Remarks |
|---|---|
| InControlElement | The element to set the transform for |
| InTransform | The offset transform to set |
| InTransformType | The type of transform to set. Note: for offset transform, setting the initial value also updates the current value |
| bAffectChildren | If set to false children will not move (maintain global). |
| bSetupUndo | If true the transform stack will be setup for undo / redo |
| bForce | Set the transform even if it is the same as the previously set one |