Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_SetControlOffset
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Hierarchy/RigUnit_SetControlOffset.h |
| Include | #include "Units/Hierarchy/RigUnit_SetControlOffset.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Set Control Offset", Category="Controls", DocumentationPolicy="Strict", Keywords="SetControlOffset,Initial,InitialTransform,SetInitialTransform,SetInitialControlTransform", NodeColor="0, 0.364706, 1.0"))
struct FRigUnit_SetControlOffset : public FRigUnitMutable
Remarks
SetControlOffset is used to perform a change in the hierarchy by setting a single control's transform. This is typically only used during the Construction Event.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FCachedRigElement | CachedControlIndex | User to internally cache the index of the bone | |
| FName | Control | The name of the Control to set the transform for. | |
| FTransform | Offset | The offset transform to set for the control | |
| ERigVMTransformSpace | Space | Defines if the bone's transform should be set in local or global space. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |