UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_RelevantAssetPlayerBase.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"
9#include "AnimNode_RelevantAssetPlayerBase.generated.h"
10
11/* Base class for any asset playing anim node */
12USTRUCT(BlueprintInternalUseOnly)
14{
16
17public:
19 ENGINE_API virtual class UAnimationAsset* GetAnimAsset() const;
20
22 ENGINE_API virtual float GetAccumulatedTime() const;
23
25 ENGINE_API virtual void SetAccumulatedTime(float NewTime);
26
27 // Functions to report data to getters, this is required for all asset players (but can't be pure abstract because of struct instantiation generated code).
28 ENGINE_API virtual float GetCurrentAssetLength() const;
29 ENGINE_API virtual float GetCurrentAssetTime() const;
30 ENGINE_API virtual float GetCurrentAssetTimePlayRateAdjusted() const;
31
32 // Does this asset player loop back to the start when it reaches the end?
33 ENGINE_API virtual bool IsLooping() const;
34
35 // Check whether this node should be ignored when testing for relevancy in state machines
36 ENGINE_API virtual bool GetIgnoreForRelevancyTest() const;
37
38 // Set whether this node should be ignored when testing for relevancy in state machines
39 ENGINE_API virtual bool SetIgnoreForRelevancyTest(bool bInIgnoreForRelevancyTest);
40
42 ENGINE_API virtual float GetCachedBlendWeight() const;
43
45 ENGINE_API virtual void ClearCachedBlendWeight();
46
48 ENGINE_API virtual const FDeltaTimeRecord* GetDeltaTimeRecord() const;
49};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition AnimationAsset.h:1020
Definition AnimNode_RelevantAssetPlayerBase.h:14
Definition AnimNodeBase.h:853
Definition AnimationAsset.h:98