Navigation
API > API/Plugins > API/Plugins/ControlRig
SetControlRotator is used to perform a change in the hierarchy by setting a single control's Rotator value.
| Name | FRigUnit_SetControlRotator |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Hierarchy/RigUnit_SetControlTransform.h |
| Include Path | #include "Units/Hierarchy/RigUnit_SetControlTransform.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Set Control Rotator", Category="Controls", DocumentationPolicy="Strict", Keywords="SetControlRotator,SetGizmoRotator", TemplateName="SetControlValue", NodeColor="0.0 0.36470600962638855 1.0"))
struct FRigUnit_SetControlRotator : public FRigUnitMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_SetControlRotator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_SetControlRotator() |
Units/Hierarchy/RigUnit_SetControlTransform.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedControlIndex | FCachedRigElement | Used to cache the internally used bone index. | Units/Hierarchy/RigUnit_SetControlTransform.h | |
| Control | FName | The name of the Control to set the transform for. | Units/Hierarchy/RigUnit_SetControlTransform.h |
|
| Rotator | FRotator | The transform value to set for the given Control. | Units/Hierarchy/RigUnit_SetControlTransform.h |
|
| Space | ERigVMTransformSpace | Defines if the bone's transform should be set in local or global space. | Units/Hierarchy/RigUnit_SetControlTransform.h |
|
| Weight | float | The weight of the change - how much the change should be applied | Units/Hierarchy/RigUnit_SetControlTransform.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Units/Hierarchy/RigUnit_SetControlTransform.h |