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" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchy.cpp |
void SetControlShapeTransform
(
FRigControlElement * InControlElement,
const FTransform & InTransform,
const ERigTransformType::Type InTransformType,
bool bSetupUndo,
bool bForce,
bool bPrintPythonCommands
)
Remarks
Sets the shape transform for a given control element
Parameters
| Name | Description |
|---|---|
| InControlElement | The element to set the transform for |
| InTransform | The shape transform to set |
| InTransformType | The type of transform to set. Note: for shape transform, setting the initial value also updates the current value |
| 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 |