Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy > API/Plugins/ControlRig/Rigs/URigHierarchy/SetGlobalTransform
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 SetGlobalTransform
&40;
FRigElementKey InKey,
FTransform InTransform,
bool bInitial,
bool bAffectChildren,
bool bSetupUndo,
bool bPrintPythonCommand
&41;
Remarks
Sets the global current or initial transform for a given key.
Parameters
| Name | Description |
|---|---|
| InKey | The key to set the transform for |
| InTransform | The new transform value to set |
| bInitial | If true the initial transform 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 |