FAnimNodeReference

A reference to an anim node. Does not persist, only valid for the call in which it was retrieved.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Animation/AnimNodeReference.h"

Syntax

struct FAnimNodeReference

Remarks

A reference to an anim node. Does not persist, only valid for the call in which it was retrieved.

Constructors

Name Description

Public function

FAnimNodeReference()

Public function

FAnimNodeReference

(
    UAnimInstance* InAnimInstance,
    FAnimNode_Base& InNode
)

Public function

FAnimNodeReference

(
    UAnimInstance* InAnimInstance,
    int32 InIndex
)

Functions

Name Description

Public function Const

void

 

CallAnimNodeFunction

(
    const TCHAR* InFunctionNameFor...,
    TFunctionRef< void> InF...
)

Call a function if this context is valid.

Public function Static

OtherContext...

 

ConvertToType

(
    const FAnimNodeReference& InRefere...,
    EAnimNodeReferenceConversionResult ...
)

Convert to a derived type.

Public function Const

NodeType &

 

GetAnimNode()

Get the node we wrap. If the reference is invalid or node is not of the specified type then this will return assert.

Public function Const

NodeType ...

 

GetAnimNodePtr()

Get the node we wrap. If the context is invalid or the node is not of the specified type then this will return nullptr.

Typedefs

Name

Description

FInternalNodeType