Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy > API/Plugins/ControlRig/Rigs/URigHierarchy/SetControlOffsetTransform
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
UFUNCTION&40;BlueprintCallable, Category&61;URigHierarchy&41;
void SetControlOffsetTransform
&40;
FRigElementKey InKey,
FTransform InTransform,
bool bInitial,
bool bAffectChildren,
bool bSetupUndo,
bool bPrintPythonCommands
&41;
Remarks
Sets the offset transform for a given control element by key
Parameters
| Name | Description |
|---|---|
| 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 |