FAnimNode_BlendSpaceGraphBase

Allows multiple animations to be blended between based on input parameters.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AnimGraphRuntime

Header

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

Include

#include "AnimNodes/AnimNode_BlendSpaceGraphBase.h"

Syntax

struct FAnimNode_BlendSpaceGraphBase : public FAnimNode_Base

Remarks

Allows multiple animations to be blended between based on input parameters.

Variables

Name Description

Protected variable

FBlendFilter

 

BlendFilter

FIR filter applied to inputs.

Protected variable

TArray< FBlendS...

 

BlendSampleDataCache

Cache of sampled data, updated each frame.

Protected variable

TObjectPtr< con...

 

BlendSpace

The internal blendspace asset to play.

Protected variable

bool

 

bUsePreviewPosition

Whether to use the preview blend params.

Protected variable

int32

 

CachedTriangulationIndex

Previous position in the triangulation/segmentation

Protected variable

FName

 

GroupName

The group name that we synchronize with. All nodes employing sync beyond this in the anim graph will implicitly use this sync group.

Protected variable

TEnumAsByte< EA...

 

GroupRole

The role this player can assume within the group.

Protected variable

FVector

 

PreviewPosition

Preview blend params - set in editor only.

Protected variable

TArray< FPoseLi...

 

SamplePoseLinks

Pose links for each sample in the blendspace.

Protected variable

float

 

X

The X coordinate to sample in the blendspace.

Protected variable

float

 

Y

The Y coordinate to sample in the blendspace.

Functions

Name Description

Public function Const

const UBlend...

 

GetBlendSpace()

Public function Const

FVector

 

GetFilteredPosition()

Public function Const

FVector

 

GetPosition()

Public function

void

 

SetPreviewPosition

(
    FVector InVector
)

Set the node to preview a supplied sample value.

Protected function

void

 

UpdateInternal

(
    const FAnimationUpdateContext& Con...
)

Internal update handler, skipping evaluation of exposed inputs.

Overridden from FAnimNode_Base

Name Description

Protected function Virtual

void

 

CacheBones_AnyThread

(
    const FAnimationCacheBonesContext&...
)

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

Protected function Virtual

void

 

Evaluate_AnyThread

(
    FPoseContext& Output
)

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

Protected function Virtual

void

 

GatherDebugData

(
    FNodeDebugData& DebugData
)

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

Protected function Virtual

void

 

Initialize_AnyThread

(
    const FAnimationInitializeContext&...
)

Called when the node first runs.

Protected function Virtual

void

 

Update_AnyThread

(
    const FAnimationUpdateContext& Con...
)

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