UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_BlendSpaceEvaluator.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
UObject/ObjectMacros.h
"
7
#include "
AnimNodes/AnimNode_BlendSpacePlayer.h
"
8
#include "AnimNode_BlendSpaceEvaluator.generated.h"
9
10
// Evaluates a BlendSpace at a specific using a specific time input rather than advancing time
11
// internally. Typically the playback position of the animation for this node will represent
12
// something other than time, like jump height. Note that events output from the sequences playing
13
// and being blended together should not be used. In addition, synchronization of animations
14
// will potentially be discontinuous if the blend weights are updated, as the leader/follower changes.
15
USTRUCT
(BlueprintInternalUseOnly)
16
struct
FAnimNode_BlendSpaceEvaluator
:
public
FAnimNode_BlendSpacePlayer
17
{
18
GENERATED_USTRUCT_BODY
()
19
20
public
:
28
UPROPERTY
(EditAnywhere, BlueprintReadWrite, Category=Settings, meta=(PinShownByDefault))
29
float
NormalizedTime;
30
36
UPROPERTY
(EditAnywhere, Category = Settings, meta = (PinHiddenByDefault))
37
bool
bTeleportToNormalizedTime =
true
;
38
39
public
:
40
ANIMGRAPHRUNTIME_API
FAnimNode_BlendSpaceEvaluator
();
41
42
// FAnimNode_Base interface
43
ANIMGRAPHRUNTIME_API
virtual
void
UpdateAssetPlayer(const
FAnimationUpdateContext
&
Context
)
override
;
44
ANIMGRAPHRUNTIME_API
virtual
void
GatherDebugData(
FNodeDebugData
& DebugData)
override
;
45
// End of FAnimNode_Base interface
46
47
// FAnimNode_BlendSpacePlayer interface
48
ANIMGRAPHRUNTIME_API
virtual
float
GetPlayRate() const
override
;
49
virtual
bool
ShouldTeleportToTime()
const override
{
return
bTeleportToNormalizedTime; }
50
virtual
bool
IsEvaluator
()
const override
{
return
true
; }
51
// End of FAnimNode_BlendSpacePlayer
52
53
};
AnimNode_BlendSpacePlayer.h
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
true
return true
Definition
ExternalRpcRegistry.cpp:601
ObjectMacros.h
UPROPERTY
#define UPROPERTY(...)
UObject definition macros.
Definition
ObjectMacros.h:744
USTRUCT
#define USTRUCT(...)
Definition
ObjectMacros.h:746
GENERATED_USTRUCT_BODY
#define GENERATED_USTRUCT_BODY(...)
Definition
ObjectMacros.h:767
float
USkinnedMeshComponent float
Definition
SkinnedMeshComponent.h:60
EVulkanSyncPointType::Context
@ Context
FAnimNode_BlendSpaceEvaluator
Definition
AnimNode_BlendSpaceEvaluator.h:17
FAnimNode_BlendSpaceEvaluator::IsEvaluator
virtual bool IsEvaluator() const override
Definition
AnimNode_BlendSpaceEvaluator.h:50
FAnimNode_BlendSpacePlayer
Definition
AnimNode_BlendSpacePlayer.h:122
FAnimationUpdateContext
Definition
AnimNodeBase.h:354
FNodeDebugData
Definition
AnimNodeBase.h:642
Engine
Source
Runtime
AnimGraphRuntime
Public
AnimNodes
AnimNode_BlendSpaceEvaluator.h
Generated by
1.9.8