Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/AnimNodes
Inheritance Hierarchy
- FAnimNode_Base
- FAnimNode_BlendSpaceGraphBase
- FAnimNode_BlendSpaceGraph
- FAnimNode_RotationOffsetBlendSpaceGraph
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
| Type | Name | Description | |
|---|---|---|---|
| FBlendFilter | BlendFilter | FIR filter applied to inputs. | |
| TArray< FBlendSampleData > | BlendSampleDataCache | Cache of sampled data, updated each frame. | |
| TObjectPtr< const UBlendSpace > | BlendSpace | The internal blendspace asset to play. | |
| bool | bUsePreviewPosition | Whether to use the preview blend params. | |
| int32 | CachedTriangulationIndex | Previous position in the triangulation/segmentation | |
| 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. | |
| TEnumAsByte< EAnimGroupRole::Type > | GroupRole | The role this player can assume within the group. | |
| FVector | PreviewPosition | Preview blend params - set in editor only. | |
| TArray< FPoseLink > | SamplePoseLinks | Pose links for each sample in the blendspace. | |
| float | X | The X coordinate to sample in the blendspace. | |
| float | Y | The Y coordinate to sample in the blendspace. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const UBlendSpace * | |||
| FVector | |||
| FVector | GetPosition () |
||
| void | SetPreviewPosition
(
FVector InVector |
Set the node to preview a supplied sample value. | |
| void | SnapToPosition
(
const FVector& NewPosition |
Forces the Position to the specified value. | |
| void | UpdateInternal
(
const FAnimationUpdateContext& Context |
Internal update handler, skipping evaluation of exposed inputs. |
Overridden from FAnimNode_Base
| Type | Name | Description | |
|---|---|---|---|
| void | CacheBones_AnyThread
(
const FAnimationCacheBonesContext& Context |
Called to cache any bones that this node needs to track (e.g. in a FBoneReference). | |
| void | Evaluate_AnyThread
(
FPoseContext& Output |
Called to evaluate local-space bones transforms according to the weights set up in Update(). | |
| void | GatherDebugData
(
FNodeDebugData& DebugData |
Called to gather on-screen debug data. This is called on the game thread. | |
| void | Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
Called when the node first runs. | |
| void | Update_AnyThread
(
const FAnimationUpdateContext& Context |
Called to update the state of the graph relative to this node. |