FAnimNode_ControlRig

Animation node that allows animation ControlRig output to be used in an animation graph

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ControlRig

Header

/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/AnimNode_ControlRig.h

Include

#include "AnimNode_ControlRig.h"

Syntax

USTRUCT()
struct FAnimNode_ControlRig : public FAnimNode_ControlRigBase

Remarks

Animation node that allows animation ControlRig output to be used in an animation graph

Variables

Name Description

Protected variable

TOptional< int3...

 

RefPoseSetterHash

A hash to encode the pointer to anim instance, an.

Constructors

Name Description

Public function

FAnimNode_ControlRig()

Destructors

Name Description

Public function Virtual

~FAnimNode_ControlRig()

Functions

Name Description

Public function Const

FName

 

GetIOMapping

(
    bool bInput,
    const FName& SourceProperty
)

Public function

void

 

PostSerialize

(
    const FArchive& Ar
)

Public function

void

 

SetIOMapping

(
    bool bInput,
    const FName& SourceProperty,
    const FName& TargetCurve
)

Protected function

void

 

UpdateControlRigRefPoseIfNeeded

(
    const FAnimInstanceProxy* InPr...,
    bool bIncludePoseInHash
)

Helper function to update the initial ref pose within the Control Rig if needed.

Overridden from FAnimNode_ControlRigBase

Name Description

Public function Virtual Const

UControlRig ...

 

GetControlRig()

Return Control Rig of current object

Protected function Virtual

void

 

UpdateInput

(
    UControlRig* ControlRig,
    const FPoseContext& InOutput
)

Update input/output to control rig

Protected function Virtual

void

 

UpdateOutput

(
    UControlRig* InControlRig,
    FPoseContext& InOutput
)

Overridden from FAnimNode_CustomProperty

Name Description

Protected function Virtual Const

UClass *

 

GetTargetClass()

Get Target Class

Public function Virtual

void

 

InitializeProperties

(
    const UObject* InSourceInstanc...,
    UClass* InTargetClass
)

Initialize property links from the source instance, in this case AnimInstance Compiler creates those properties during compile time

Public function Virtual

void

 

PropagateInputProperties

(
    const UObject* InSourceInstanc...
)

Propagate the Source Instances' properties to Target Instance

Overridden from FAnimNode_Base

Name Description

Public function Virtual

void

 

CacheBones_AnyThread

(
    const FAnimationCacheBonesContext&...
)

Called to cache any bones that this node needs to track (e.g. in a FBoneReference).

Public function Virtual

void

 

Evaluate_AnyThread

(
    FPoseContext& Output
)

Called to evaluate local-space bones transforms according to the weights set up in Update().

Public function Virtual

void

 

GatherDebugData

(
    FNodeDebugData& DebugData
)

Called to gather on-screen debug data. This is called on the game thread.

Public function Virtual Const

int32

 

GetLODThreshold()

Get the LOD threshold at which this node is enabled.

Public function Virtual

void

 

Initialize_AnyThread

(
    const FAnimationInitializeContext&...
)

Called when the node first runs.

Public function Virtual

void

 

OnInitializeAnimInstance

(
    const FAnimInstanceProxy* InPr...,
    const UAnimInstance* InAnimIns...
)

Called once, from game thread as the parent anim instance is created

Public function Virtual

void

 

Update_AnyThread

(
    const FAnimationUpdateContext& Con...
)

Called to update the state of the graph relative to this node.