FAnimationStreamingManager

Streaming manager dealing with audio.

Windows
MacOS
Linux

Inheritance Hierarchy

IStreamingManager

IAnimationStreamingManager

FAnimationStreamingManager

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimationStreaming.h

Include

#include "Animation/AnimationStreaming.h"

Syntax

struct FAnimationStreamingManager : public IAnimationStreamingManager

Remarks

Streaming manager dealing with audio.

Variables

Name Description

Protected variable

FCriticalSectio...

 

CriticalSection

Critical section to protect usage of shared gamethread/workerthread members

Protected variable

TMap< UAnimStre...

 

StreamingAnimations

Sound Waves being managed.

Constructors

Name Description

Public function

FAnimationStreamingManager()

Constructor, initializing all members

Destructors

Functions

Name Description

Public function

void

 

OnAsyncFileCallback

(
    FStreamingAnimationData* Strea...,
    int32 ChunkIndex,
    int64 ReadSize,
    IBulkDataIORequest* ReadReques...,
    bool bWasCancelled
)

Called when an async callback is made on an async loading audio chunk request.

Overridden from IAnimationStreamingManager

Name Description

Public function Virtual

void

 

AddStreamingAnim

(
    UAnimStreamable* Anim
)

Adds a new Streamable Anim to the streaming manager.

Public function Virtual Const

const FCompr...

 

GetLoadedChunk

(
    const UAnimStreamable* Anim,
    uint32 ChunkIndex,
    bool bRequestNextChunk
)

Gets a pointer to a chunk of animation data

Public function Virtual

SIZE_T

 

GetMemorySizeForAnim

(
    const UAnimStreamable* Anim
)

Returns the memory a Streamable Anim is currently using

Public function Virtual

bool

 

RemoveStreamingAnim

(
    UAnimStreamable* Anim
)

Removes a Streamable Anim from the streaming manager.

Overridden from IStreamingManager

Name Description

Public function Virtual

void

 

AddLevel

(
    ULevel* Level
)

Adds a ULevel that has already prepared StreamingData to the streaming manager.

Public function Virtual

int32

 

BlockTillAllRequestsFinished

(
    float TimeLimit,
    bool bLogResults
)

Blocks till all pending requests are fulfilled.

Public function Virtual

void

 

CancelForcedResources()

Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures").

Public function Virtual

void

 

NotifyLevelChange()

Notifies manager of "level" change.

Public function Virtual

void

 

NotifyLevelOffset

(
    ULevel* Level,
    const FVector& Offset
)

Notifies manager that level primitives were shifted

Public function Virtual

void

 

RemoveLevel

(
    ULevel* Level
)

Removes a ULevel from the streaming manager.

Public function Virtual

void

 

SetDisregardWorldResourcesForFrames

(
    int32 NumFrames
)

Don't stream world resources for the next NumFrames.

Public function Virtual

void

 

UpdateResourceStreaming

(
    float DeltaTime,
    bool bProcessEverything
)

Updates streaming, taking into account all current view infos.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss