FRigControl

Windows
MacOS
Linux

Inheritance Hierarchy

FRigElement

FRigControl

References

Module

ControlRig

Header

/Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Public/Rigs/RigControlHierarchy.h

Include

#include "Rigs/RigControlHierarchy.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FRigControl : public FRigElement

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bAnimatable

If the control is animatable in sequencer

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

bool

 

bDrawLimits

True if the limits should be drawn in debug.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bGizmoEnabled

Set to true if the gizmo is enabled in 3d

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

bool

 

bGizmoVisible

Set to true if the gizmo is currently visible in 3d

Public variable UProperty Transient

bool

 

bIsCurve

If Created from a Curve Container

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bIsTransientControl

If the control is transient and only visible in the control rig editor

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bLimitRotation

True if the control has to obey rotation limits.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bLimitScale

True if the control has to obey scale limits.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bLimitTranslation

True if the control has to obey translation limits.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

UEnum *

 

ControlEnum

If the control is transient and only visible in the control rig editor

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

ERigControlType

 

ControlType

Public variable UProperty Transient

TArray< int32 >

 

Dependents

Dependent list - direct dependent for child or anything that needs to update due to this

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FName

 

DisplayName

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

FLinearColor

 

GizmoColor

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

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

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

FTransform

 

GizmoTransform

Public variable UProperty Category BlueprintReadOnly visibleanywhere

FRigControlValu...

 

InitialValue

The value that a control is reset to during begin play or when the control rig is instantiated.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

FRigControlValu...

 

MaximumValue

The maximum limit of the control's value

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

FRigControlValu...

 

MinimumValue

The minimum limit of the control's value

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

FTransform

 

OffsetTransform

Used to offset a control in global space.

Public variable UProperty Category BlueprintReadOnly Transient

int32

 

ParentIndex

Public variable UProperty Category BlueprintReadOnly visibleanywhere

FName

 

ParentName

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

ERigControlAxis

 

PrimaryAxis

The primary axis to use for float controls

Public variable UProperty Category BlueprintReadOnly Transient

int32

 

SpaceIndex

Public variable UProperty Category BlueprintReadOnly visibleanywhere

FName

 

SpaceName

Public variable UProperty Category BlueprintReadOnly Transient visibleanywhere

FRigControlValu...

 

Value

The current value of the control.

Constructors

Name Description

Public function

FRigControl()

Destructors

Name Description

Public function Virtual

~FRigControl()

Functions

Name Description

Public function

void

 

ApplyLimits

(
    FRigControlValue& InOutValue
)

Public function Static

float

 

Clamp

(
    float Value,
    float Minimum,
    float Maximum
)

Public function Static

FProperty &#...

 

FindPropertyForValueType

(
    ERigControlValueType InValueType
)

Public function Const

const FName ...

 

GetDisplayName()

Public function Virtual Const

FRigElementK...

 

GetParentElementKey

(
    bool bForce
)

Public function Virtual Const

FRigElementK...

 

GetSpaceElementKey

(
    bool bForce
)

Public function Const

FTransform

 

GetTransformFromValue

(
    ERigControlValueType InValueType
)

Public function Const

const FRigCo...

 

GetValue

(
    ERigControlValueType InValueType
)

Public function

FRigControlV...

 

GetValue

(
    ERigControlValueType InValueType
)

Public function

void

 

SetValueFromTransform

(
    const FTransform& InTransform,
    ERigControlValueType InValueType
)

Overridden from FRigElement

Name Description

Public function Virtual Const

ERigElementT...

 

GetElementType()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss