FRigUnitContext

Execution context that rig units use

Windows
MacOS
Linux

References

Module

ControlRig

Header

/Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Public/Units/RigUnitContext.h

Include

#include "Units/RigUnitContext.h"

Syntax

struct FRigUnitContext

Remarks

Execution context that rig units use

Variables

Name Description

Public variable

float

 

AbsoluteTime

The current delta time

Public variable

bool

 

bDuringInteraction

True if the rig is executing during an interaction

Public variable

const UAnimatio...

 

DataSourceRegistry

The registry to access data source

Public variable

float

 

DeltaTime

The current delta time

Public variable

FControlRigDraw...

 

DrawContainer

The auxiliary draw container for the units to use

Public variable

FControlRigDraw...

 

DrawInterface

The draw interface for the units to use

Public variable

float

 

FramesPerSecond

The current frames per second

Public variable

const FRigHiera...

 

Hierarchy

The current hierarchy being executed

Public variable

FControlRigLog ...

 

Log

A handle to the compiler log

Public variable

const AActor &#...

 

OwningActor

The current actor this rig is owned by

Public variable

USceneComponent...

 

OwningComponent

The current component this rig is owned by

Public variable

EControlRigStat...

 

State

Current execution context

Public variable

FTransform

 

ToWorldSpaceTransform

The current transform going from rig (global) space to world space

Public variable

const UWorld &#...

 

World

The world this rig is running in

Constructors

Name Description

Public function

FRigUnitContext()

Default constructor

Functions

Name Description

Public function Const

const FRigBo...

 

GetBones()

Public function Const

const FRigCo...

 

GetControls()

Public function Const

const FRigCu...

 

GetCurves()

Public function Const

const FRigSp...

 

GetSpaces()

Public function Const

T *

 

RequestDataSource

(
    const FName& InName
)

Returns a given data source and cast it to the expected class.

Public function Const

FTransform

 

ToRigSpace

(
    const FTransform& InTransform
)

Converts a transform from world space to rig (global) space

Public function Const

FVector

 

ToRigSpace

(
    const FVector& InLocation
)

Converts a location from world space to rig (global) space

Public function Const

FQuat

 

ToRigSpace

(
    const FQuat& InRotation
)

Converts a rotation from world space to rig (global) space

Public function Const

FTransform

 

ToWorldSpace

(
    const FTransform& InTransform
)

Converts a transform from rig (global) space to world space

Public function Const

FVector

 

ToWorldSpace

(
    const FVector& InLocation
)

Converts a location from rig (global) space to world space

Public function Const

FQuat

 

ToWorldSpace

(
    const FQuat& InRotation
)

Converts a rotation from rig (global) space to world space

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