Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyElements.h |
| Include | #include "Rigs/RigHierarchyElements.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FRigControlSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| ERigControlAnimationType | AnimationType | ||
| bool | bDrawLimits | True if the limits should be drawn in debug. | |
| bool | bGroupWithParentControl | If set to true the animation channel will be grouped with the parent control in sequencer | |
| bool | bIsCurve | If Created from a Curve Container | |
| bool | bIsTransientControl | If the control is transient and only visible in the control rig editor | |
| bool | bRestrictSpaceSwitching | Allow to space switch only to the available spaces | |
| bool | bShapeVisible | Set to true if the shape is currently visible in 3d | |
| bool | bUsePreferredRotationOrder | Whether to use a specfied rotation order or just use the default FRotator order and conversion functions | |
| TObjectPtr< UEnum > | ControlEnum | If the control is 4transient and only visible in the control rig editor | |
| ERigControlType | ControlType | ||
| FRigControlElementCustomization | Customization | The User interface customization used for a control This will be used as the default content for the space picker and other widgets | |
| FName | DisplayName | ||
| TArray< FRigElementKey > | DrivenControls | The list of driven controls for this proxy control. | |
| TArray< ERigControlTransformChannel > | FilteredChannels | Filtered Visible Transform channels. If this is empty everything is visible | |
| TArray< FRigControlLimitEnabled > | LimitEnabled | True if the control has limits. | |
| FRigControlValue | MaximumValue | The maximum limit of the control's value | |
| FRigControlValue | MinimumValue | The minimum limit of the control's value | |
| EEulerRotationOrder | PreferredRotationOrder | The euler rotation order this control prefers for animation, if we aren't using default UE rotator | |
| TArray< FRigElementKey > | PreviouslyDrivenControls | The list of previously driven controls - prior to a procedural change | |
| ERigControlAxis | PrimaryAxis | The primary axis to use for float controls | |
| FLinearColor | ShapeColor | ||
| FName | ShapeName | This is optional UI setting - this doesn't mean this is always used, but it is optional for manipulation layer to use this | |
| ERigControlVisibility | ShapeVisibility | Defines how the shape visibility should be changed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyLimits
(
FTransform& InOutValue |
Applies the limits expressed by these settings to a transform | |
| void | ApplyLimits
(
FRigControlValue& InOutValue |
Applies the limits expressed by these settings to a value | |
| FRigControlValue | |||
| TOptional< EEulerRotationOrder > | The euler rotation order this control prefers for animation if it is active. | ||
| bool | IsAnimatable () |
||
| bool | IsSelectable
(
bool bRespectVisibility |
||
| bool | IsVisible () |
||
| void | |||
| void | |||
| void | SetAnimationTypeFromDeprecatedData
(
bool bAnimatable, |
||
| void | SetRotationOrder
(
const TOptional< EEulerRotationOrder >& EulerRotation |
Set the rotation order if the rotation is set otherwise use default rotator | |
| void | SetupLimitArrayForType
(
bool bLimitTranslation, |
||
| bool | SetVisible
(
bool bVisible, |
||
| bool | |||
| bool |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FRigControlSettings& InOther |
||
| bool | operator==
(
const FRigControlSettings& InOther |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAnimatable_DEPRECATED | Deprecated properties. | |
| bool | bShapeEnabled_DEPRECATED |