FAnimNode_StateResult

Root node of an state machine state (sink node).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FAnimNode_Base

FAnimNode_Root

FAnimNode_StateResult

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_StateResult.h

Include

#include "AnimNodes/AnimNode_StateResult.h"

Syntax

struct FAnimNode_StateResult : public FAnimNode_Root

Remarks

Root node of an state machine state (sink node). We dont use AnimNode_Root to let us distinguish these nodes in the property list at link time.

Variables

Name Description

Protected variable

int32

 

StateIndex

The index of the state this node belongs to.

Functions

Name Description

Public function Const

int32

 

GetStateIndex()

Public function

bool

 

SerializeFromMismatchedTag

(
    const FPropertyTag& Tag,
    FStructuredArchive::FSlot Slot
)

Used to upgrade old FAnimNode_Roots to FAnimNode_StateResult

Public function

void

 

SetStateIndex

(
    int32 InStateIndex
)