Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs
Inheritance Hierarchy
- FRigElement
- FRigControl
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigControlHierarchy.h |
| Include | #include "Rigs/RigControlHierarchy.h" |
Syntax
USTRUCT&40;&41;
struct FRigControl : public FRigElement
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAnimatable | If the control is animatable in sequencer | |
| bool | bDrawLimits | True if the limits should be drawn in debug. | |
| bool | bGizmoEnabled | Set to true if the gizmo is enabled in 3d | |
| bool | bGizmoVisible | Set to true if the gizmo is currently visible in 3d | |
| bool | bIsCurve | If Created from a Curve Container | |
| bool | bIsTransientControl | If the control is transient and only visible in the control rig editor | |
| bool | bLimitRotation | True if the control has to obey rotation limits. | |
| bool | bLimitScale | True if the control has to obey scale limits. | |
| bool | bLimitTranslation | True if the control has to obey translation limits. | |
| TObjectPtr< UEnum > | ControlEnum | If the control is transient and only visible in the control rig editor | |
| ERigControlType | ControlType | ||
| TArray< int32 > | Dependents | Dependent list - direct dependent for child or anything that needs to update due to this | |
| FName | DisplayName | ||
| FLinearColor | GizmoColor | ||
| FName | GizmoName | This is optional UI setting - this doesn't mean this is always used, but it is optional for manipulation layer to use this | |
| FTransform | GizmoTransform | ||
| FRigControlValue | InitialValue | The value that a control is reset to during begin play or when the control rig is instantiated. | |
| FRigControlValue | MaximumValue | The maximum limit of the control's value | |
| FRigControlValue | MinimumValue | The minimum limit of the control's value | |
| FTransform | OffsetTransform | Used to offset a control in global space. | |
| int32 | ParentIndex | ||
| FName | ParentName | ||
| ERigControlAxis | PrimaryAxis | The primary axis to use for float controls | |
| int32 | SpaceIndex | ||
| FName | SpaceName | ||
| FRigControlValue | Value | The current value of the control. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRigControl () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FRigControl () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyLimits
(
FRigControlValue& InOutValue |
||
| FProperty * | FindPropertyForValueType
(
ERigControlValueType InValueType |
||
| const FName & | |||
| FRigElementKey | |||
| FRigElementKey | |||
| FTransform | GetTransformFromValue
(
ERigControlValueType InValueType |
||
| const FRigControlValue & | GetValue
(
ERigControlValueType InValueType |
||
| FRigControlValue & | GetValue
(
ERigControlValueType InValueType |
||
| void | SetValueFromTransform
(
const FTransform& InTransform, |
Overridden from FRigElement
| Type | Name | Description | |
|---|---|---|---|
| ERigElementType |