Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
| Name | FAnimNode_BlendSpacePlayerBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_BlendSpacePlayer.h |
| Include Path | #include "AnimNodes/AnimNode_BlendSpacePlayer.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly)
struct FAnimNode_BlendSpacePlayerBase : public FAnimNode_AssetPlayerBase
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_AssetPlayerRelevancyBase → FAnimNode_AssetPlayerBase → FAnimNode_BlendSpacePlayerBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UBlendSpace * GetBlendSpace() |
Get the blendspace asset to play. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
FVector GetFilteredPosition() |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual bool GetLoop() |
Should the animation loop back to the start when it reaches the end? | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual float GetPlayRate() |
Get the play rate multiplier. Can be negative, which will cause the animation to play in reverse. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual FVector GetPosition() |
Get the coordinates that are currently being sampled by the blendspace. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual float GetStartPosition() |
The start position in [0, 1] to use when initializing. When looping, play will still jump back to the beginning when reaching the end. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
float GetTimeFromEnd
(
float CurrentTime |
Get the amount of time from the end. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool IsEvaluator() |
Indicates if we are an evaluator - i.e. will be setting the time explicitly rather than letting it play out. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool SetBlendSpace
(
UBlendSpace* InBlendSpace |
Set the blendspace asset to play. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool SetLoop
(
bool bInLoop |
Set if the animation should loop back to the start when it reaches the end? | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool SetPlayRate
(
float InPlayRate |
Set the play rate multiplier. Can be negative, which will cause the animation to play in reverse. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool SetPosition
(
FVector InPosition |
Set the coordinates that are currently being sampled by the blendspace. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool SetResetPlayTimeWhenBlendSpaceChanges
(
bool bReset |
Set whether we should reset the current play time when the blend space changes. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool ShouldResetPlayTimeWhenBlendSpaceChanges() |
Get whether we should reset the current play time when the blend space changes. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
virtual bool ShouldTeleportToTime() |
An evaluator will be setting the play rate to zero and setting the time explicitly. ShouldTeleportToTime indicates whether we should jump to that time, or move to it playing out root motion and events etc. | AnimNodes/AnimNode_BlendSpacePlayer.h | |
void SnapToPosition
(
const FVector& NewPosition |
Forces the Position to the specified value. | AnimNodes/AnimNode_BlendSpacePlayer.h |
Overridden from FAnimNode_AssetPlayerBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void UpdateAssetPlayer
(
const FAnimationUpdateContext& Context |
AnimNodes/AnimNode_BlendSpacePlayer.h |
Overridden from FAnimNode_AssetPlayerRelevancyBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UAnimationAsset * GetAnimAsset() |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual float GetCurrentAssetLength() |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual float GetCurrentAssetTime() |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual float GetCurrentAssetTimePlayRateAdjusted() |
AnimNodes/AnimNode_BlendSpacePlayer.h |
Overridden from FAnimNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CacheBones_AnyThread
(
const FAnimationCacheBonesContext& Context |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual void Evaluate_AnyThread
(
FPoseContext& Output |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual void GatherDebugData
(
FNodeDebugData& DebugData |
AnimNodes/AnimNode_BlendSpacePlayer.h | ||
virtual void Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
AnimNodes/AnimNode_BlendSpacePlayer.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateInternal
(
const FAnimationUpdateContext& Context |
AnimNodes/AnimNode_BlendSpacePlayer.h |