Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy
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 SetLocalTransformByIndex
&40;
int32 InElementIndex,
FTransform InTransform,
bool bInitial,
bool bAffectChildren,
bool bSetupUndo,
bool bPrintPythonCommands
&41;
Remarks
Sets the local current or initial transform for a given element index.
Parameters
| Name | Description |
|---|---|
| InElementIndex | The index of the element to set the transform for |
| InTransform | The new transform value to set |
| bInitial | If true the initial transform will be used |
| bSetupUndo | If true the transform stack will be setup for undo / redo |
| bAffectChildren | If set to false children will not move (maintain global). |