Navigation
API > API/Runtime > API/Runtime/Engine
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.
| Name | FAnimNode_StateResult |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimNode_StateResult.h |
| Include Path | #include "Animation/AnimNode_StateResult.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly)
struct FAnimNode_StateResult : public FAnimNode_Root
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_Root → FAnimNode_StateResult
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StateEntryFunction | FAnimNodeFunctionRef | The function called on state entry | Animation/AnimNode_StateResult.h |
|
| StateExitFunction | FAnimNodeFunctionRef | The function called on state exit | Animation/AnimNode_StateResult.h |
|
| StateFullyBlendedInFunction | FAnimNodeFunctionRef | The function called on state fully blended in | Animation/AnimNode_StateResult.h |
|
| StateFullyBlendedOutFunction | FAnimNodeFunctionRef | The function called on state fully blended out | Animation/AnimNode_StateResult.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FAnimNodeFunctionRef & GetStateEntryFunction() |
Gets the anim node function called on state entry, state became the current state of its state machine | Animation/AnimNode_StateResult.h | |
const FAnimNodeFunctionRef & GetStateExitFunction() |
Gets the anim node function called on state exit, state stopped being the current state of its state machine | Animation/AnimNode_StateResult.h | |
const FAnimNodeFunctionRef & GetStateFullyBlendedInFunction() |
Gets the anim node function called on state fully blended in | Animation/AnimNode_StateResult.h | |
const FAnimNodeFunctionRef & GetStateFullyBlendedOutFunction() |
Gets the anim node function called on state fully blended out | Animation/AnimNode_StateResult.h | |
int32 GetStateIndex() |
Animation/AnimNode_StateResult.h | ||
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Used to upgrade old FAnimNode_Roots to FAnimNode_StateResult | Animation/AnimNode_StateResult.h | |
void SetStateIndex
(
int32 InStateIndex |
Animation/AnimNode_StateResult.h |