Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchy > API/Plugins/ControlRig/Rigs/URigHierarchy/SetControlShapeTransform
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h |
| Include | #include "Rigs/RigHierarchy.h" |
UFUNCTION (BlueprintCallable, Category=URigHierarchy)
void SetControlShapeTransform
(
FRigElementKey InKey,
FTransform InTransform,
bool bInitial,
bool bSetupUndo
)
Remarks
Sets the shape transform for a given control element by key
Parameters
| Name | Description |
|---|---|
| InKey | The key of the control element to set the shape transform for |
| InTransform | The new shape transform value to set |
| bInitial | If true the initial value will be used |
| bSetupUndo | If true the transform stack will be setup for undo / redo |