FAnimationBaseContext

Base class for update/evaluate contexts

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimNodeBase.h

Include

#include "Animation/AnimNodeBase.h"

Syntax

struct FAnimationBaseContext

Remarks

Base class for update/evaluate contexts

Variables

Name Description

Public variable

FAnimInstancePr...

 

AnimInstanceProxy

Protected variable

int32

 

CurrentNodeId

The current node ID, set when we recurse into graph traversal functions from pose links.

Protected variable

int32

 

PreviousNodeId

The previous node ID, set when we recurse into graph traversal functions from pose links.

Public variable

FAnimationUpdat...

 

SharedContext

Constructors

Name Description

Public function

FAnimationBaseContext()

Public function

FAnimationBaseContext

(
    const FAnimationBaseContext& InCon...
)

We define a copy constructor here simply to avoid deprecation warnings with clang

Protected function

FAnimationBaseContext

(
    UAnimInstance* InAnimInstance
)

DEPRECATED - Please use constructor that uses an FAnimInstanceProxy*.

Protected function

FAnimationBaseContext

(
    FAnimInstanceProxy* InAnimInst...,
    FAnimationUpdateSharedContext*...
)

Functions

Name Description

Public function Const

UAnimBluepri...

 

GetAnimBlueprint()

Get the AnimBlueprint associated with this context, if there is one.

Public function Const

IAnimClassIn...

 

GetAnimClass()

Get the Blueprint IAnimClassInterface associated with this context, if there is one.

Public function Const

UObject *...

 

GetAnimInstanceObject()

Get the anim instance associated with the current proxy.

Public function Const

int32

 

GetCurrentNodeId()

Get the current node Id, set when we recurse into graph traversal functions from pose links.

Public function Const

TGraphMessag...

 

GetMessage()

Get the innermost scoped message of the specified type.

Public function Const

TGraphMessag...

 

GetMessageChecked()

Get the innermost scoped message of the specified type.

Public function Const

int32

 

GetPreviousNodeId()

Get the previous node Id, set when we recurse into graph traversal functions from pose links.

Protected function Const

void

 

LogMessageInternal

(
    FName InLogType,
    EMessageSeverity::Type InSeverity,
    FText InMessage
)

Interface for node contexts to register log messages with the proxy

Public function

void

 

SetNodeId

(
    int32 InNodeId
)

Public function

void

 

SetNodeIds

(
    const FAnimationBaseContext& InCon...
)

Deprecated Functions

Name Description

Public function Const

NodeType ...

 

GetAncestor()

Please use the message & tagging system in UE::Anim::FMessageStack

Public function Const

FScopedAnimN...

 

TrackAncestor

(
    NodeType* Node
)

Please use the message & tagging system in UE::Anim::FMessageStack