UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IAnimationStreamingManager Struct Referenceabstract

#include <ContentStreaming.h>

+ Inheritance diagram for IAnimationStreamingManager:

Public Member Functions

virtual void AddStreamingAnim (UAnimStreamable *Anim)=0
 
virtual bool RemoveStreamingAnim (UAnimStreamable *Anim)=0
 
virtual SIZE_T GetMemorySizeForAnim (const UAnimStreamable *Anim)=0
 
virtual const FCompressedAnimSequenceGetLoadedChunk (const UAnimStreamable *Anim, uint32 ChunkIndex, bool bRequestNextChunk) const =0
 
- Public Member Functions inherited from IStreamingManager
 IStreamingManager ()
 
virtual ~IStreamingManager ()
 
virtual ENGINE_API void Tick (float DeltaTime, bool bProcessEverything=false)
 
virtual void UpdateResourceStreaming (float DeltaTime, bool bProcessEverything=false)=0
 
virtual ENGINE_API int32 StreamAllResources (float TimeLimit=0.0f)
 
virtual int32 BlockTillAllRequestsFinished (float TimeLimit=0.0f, bool bLogResults=false)=0
 
virtual void CancelForcedResources ()=0
 
virtual void NotifyLevelChange ()=0
 
void RemoveStreamingViews (ERemoveStreamingViews RemovalType)
 
ENGINE_API void AddViewInformation (const FVector &ViewOrigin, float ScreenSize, float FOVScreenSize, float BoostFactor=1.0f, bool bOverrideLocation=false, float Duration=0.0f, TWeakObjectPtr< AActor > InActorToBoost=NULL, TWeakObjectPtr< UWorld > InWorld=NULL)
 
ENGINE_API void AddViewLocation (const FVector &Location, float BoostFactor=1.0f, bool bOverrideLocation=false, float Duration=0.0f)
 
virtual void SetDisregardWorldResourcesForFrames (int32 NumFrames)=0
 
virtual bool Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)
 
virtual void AddLevel (class ULevel *Level)=0
 
virtual void RemoveLevel (class ULevel *Level)=0
 
virtual void NotifyLevelOffset (class ULevel *Level, const FVector &Offset)=0
 
virtual void NotifyActorDestroyed (AActor *Actor)
 
virtual void NotifyPrimitiveDetached (const UPrimitiveComponent *Primitive)
 
virtual void NotifyPrimitiveUpdated (const UPrimitiveComponent *Primitive)
 
virtual void NotifyPrimitiveUpdated_Concurrent (const UPrimitiveComponent *Primitive)
 
int32 GetNumViews () const
 
const FStreamingViewInfoGetViewInformation (int32 ViewIndex) const
 
virtual int32 GetNumWantingResources () const
 
virtual int32 GetNumWantingResourcesID () const
 
virtual void PropagateLightingScenarioChange ()
 

Additional Inherited Members

- Static Public Member Functions inherited from IStreamingManager
static ENGINE_API struct FStreamingManagerCollectionGet ()
 
static ENGINE_API struct FStreamingManagerCollectionGet_Concurrent ()
 
static ENGINE_API void Shutdown ()
 
static ENGINE_API bool HasShutdown ()
 
- Protected Member Functions inherited from IStreamingManager
void SetupViewInfos (float DeltaTime)
 
- Static Protected Member Functions inherited from IStreamingManager
static void AddViewInfoToArray (TArray< FStreamingViewInfo > &ViewInfos, const FVector &ViewOrigin, float ScreenSize, float FOVScreenSize, float BoostFactor, bool bOverrideLocation, float Duration, TWeakObjectPtr< AActor > InActorToBoost, TWeakObjectPtr< UWorld > InWorld)
 
static void RemoveViewInfoFromArray (TArray< FStreamingViewInfo > &ViewInfos, const FVector &ViewOrigin)
 
- Protected Attributes inherited from IStreamingManager
int32 NumWantingResources
 
int32 NumWantingResourcesCounter
 
- Static Protected Attributes inherited from IStreamingManager
static ENGINE_API TArray< FStreamingViewInfoCurrentViewInfos
 
static TArray< FStreamingViewInfoPendingViewInfos
 
static TArray< FStreamingViewInfoLastingViewInfos
 
static TArray< FSecondaryLocationSecondaryLocations
 
static bool bPendingRemoveViews = false
 

Detailed Description

Interface to add functions specifically related to animation streaming

Member Function Documentation

◆ AddStreamingAnim()

virtual void IAnimationStreamingManager::AddStreamingAnim ( UAnimStreamable Anim)
pure virtual

Adds a new Streamable Anim to the streaming manager.

Implemented in FAnimationStreamingManager.

◆ GetLoadedChunk()

virtual const FCompressedAnimSequence * IAnimationStreamingManager::GetLoadedChunk ( const UAnimStreamable Anim,
uint32  ChunkIndex,
bool  bRequestNextChunk 
) const
pure virtual

Gets a pointer to a chunk of animation data

Parameters
AnimAnimStreamable we want a chunk from
ChunkIndexIndex of the chunk we want
Returns
Either the desired chunk or NULL if it's not loaded

Implemented in FAnimationStreamingManager.

◆ GetMemorySizeForAnim()

virtual SIZE_T IAnimationStreamingManager::GetMemorySizeForAnim ( const UAnimStreamable Anim)
pure virtual

Returns the memory a Streamable Anim is currently using

Implemented in FAnimationStreamingManager.

◆ RemoveStreamingAnim()

virtual bool IAnimationStreamingManager::RemoveStreamingAnim ( UAnimStreamable Anim)
pure virtual

Removes a Streamable Anim from the streaming manager.

Implemented in FAnimationStreamingManager.


The documentation for this struct was generated from the following file: