Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/ControlRigComponent.h |
Include |
#include "ControlRigComponent.h" |
UCLASS(Blueprintable, ClassGroup="Animation", Meta=(BlueprintSpawnableComponent))
class UControlRigComponent : public UPrimitiveComponent
A component that hosts an animation ControlRig, manages control components and marshals data between the two
Name | Description | ||
---|---|---|---|
|
bDrawBones |
When checked the rig's bones are drawn using debug drawing similar to the animation editor viewport |
|
|
bEnableLazyEvaluation |
When checked the rig will only run if any of the mapped inputs has changed |
|
|
bResetInitialsBeforeSetup |
When checked the initial transforms on bones, nulls and controls are reset prior to a setup event |
|
|
bResetTransformBeforeTick |
When checked the transforms are reset before a tick / update of the rig |
|
|
bShowDebugDrawing |
When checked the rig's debug drawing instructions are drawn in the viewport |
|
|
bUpdateInEditor |
When checked the rig is run in the editor viewport without running / simulation the game |
|
|
bUpdateRigOnTick |
When checked this ensures to run the rig's update on the component's tick automatically |
|
|
TSubclassOf< UC... |
ControlRigClass |
The class of control rig to instantiate |
|
float |
LazyEvaluationPositionThreshold |
The delta threshold for a translation / position difference. 0.0 disables position differences. |
|
float |
LazyEvaluationRotationThreshold |
The delta threshold for a rotation difference (in degrees). 0.0 disables rotation differences. |
|
float |
LazyEvaluationScaleThreshold |
The delta threshold for a scale difference. 0.0 disables scale differences. |
|
MappedElements |
||
|
OnPostForwardsSolveDelegate |
Event fired after this component's ControlRig's forwards solve |
|
|
OnPostInitializeDelegate |
Event fired after this component's ControlRig is initialized |
|
|
OnPostSetupDelegate |
Event fired after this component's ControlRig is setup |
|
|
OnPreForwardsSolveDelegate |
Event fired before this component's ControlRig's forwards solve |
|
|
OnPreInitializeDelegate |
Event fired just before this component's ControlRig is initialized |
|
|
OnPreSetupDelegate |
Event fired before this component's ControlRig is setup |
Name | Description | |
---|---|---|
|
UControlRigComponent ( |
Name | Description | ||
---|---|---|---|
|
AddMappedCompleteSkeletalMesh ( |
Adds all matching bones to the rig, should not be used before OnPreInitialize Event |
|
|
AddMappedComponents |
Adds a series of mapped bones to the rig, should not be used before OnPreInitialize Event |
|
|
AddMappedElements |
Adds the provided mapped elements to the component, should not be used before OnPreInitialize Event |
|
|
AddMappedSkeletalMesh ( |
Adds a series of mapped bones to the rig, should not be used before OnPreInitialize Event |
|
|
CanExecute() |
Returns true if the Component can execute its Control Rig |
|
|
ClearMappedElements() |
Removes all mapped elements from the component |
|
|
DoesElementExist ( |
Returns true if an element given a type and name exists in the rig |
|
|
float |
GetAbsoluteTime() |
Get the ControlRig's local time in seconds since its last initialize |
|
GetBoneTransform ( |
Returns the transform of the bone in the requested space |
|
|
GetControlBool ( |
Returns the value of a bool control |
|
|
float |
GetControlFloat ( |
Returns the value of a float control |
|
GetControlInt ( |
Returns the value of an integer control |
|
|
GetControlOffset ( |
Returns the offset transform of a control |
|
|
GetControlPosition ( |
Returns the value of a position control |
|
|
UControlRig ... |
GetControlRig() |
Get the ControlRig hosted by this component |
|
GetControlRotator ( |
Returns the value of a rotator control |
|
|
GetControlScale ( |
Returns the value of a scale control |
|
|
GetControlTransform ( |
Returns the value of a transform control |
|
|
GetControlVector2D ( |
Returns the value of a Vector3D control |
|
|
GetElementNames ( |
Returns all of the names for a given element type (Bone, Control, etc) |
|
|
GetInitialBoneTransform ( |
Returns the initial transform of the bone in the requested space |
|
|
GetInitialSpaceTransform ( |
Returns the initial transform of the space in the requested space |
|
|
GetSpaceTransform ( |
Returns the transform of the space in the requested space |
|
|
Initialize() |
Initializes the rig's memory and calls the setup event |
|
|
FControlRigC... |
OnControlRigCreated() |
|
|
OnPostForwardsSolve ( |
||
|
OnPostInitialize ( |
||
|
OnPostSetup ( |
||
|
OnPreForwardsSolve ( |
||
|
OnPreInitialize ( |
||
|
OnPreSetup ( |
||
|
SetBoneInitialTransformsFromSkeletalMesh ( |
Setup the initial transforms / ref pose of the bones based on a skeletal mesh |
|
|
SetBoneTransform ( |
Sets the transform of the bone in the requested space |
|
|
SetControlBool |
Sets the value of a bool control |
|
|
SetControlFloat ( |
Sets the value of a float control |
|
|
SetControlInt |
Sets the value of an integer control |
|
|
SetControlOffset ( |
Sets the offset transform of a control |
|
|
SetControlPosition ( |
Sets the value of a position control |
|
|
SetControlRig ( |
||
|
SetControlRotator ( |
Sets the value of a rotator control |
|
|
SetControlScale ( |
Sets the value of a scale control |
|
|
SetControlTransform ( |
Sets the value of a transform control |
|
|
SetControlVector2D |
Sets the value of a vector2D control |
|
|
SetInitialBoneTransform ( |
Sets the initial transform of the bone in the requested space |
|
|
SetInitialSpaceTransform ( |
Sets the transform of the space in the requested space |
|
|
SetMappedElements |
Replaces the mapped elements on the component with the provided array, should not be used before OnPreInitialize Event |
|
|
Update ( |
Updates and ticks the rig. |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Name | Description | ||
---|---|---|---|
|
InitializeComponent() |
Initializes the component. |
|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
Name |
Description |
|
---|---|---|
|
FControlRigComponentEvent |
Name |
Description |
---|---|
EditorNotifications |