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