Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- IStreamingManager
- FCoarseMeshStreamingManager
- FStreamingManagerCollection
- IAnimationStreamingManager
- FAnimationStreamingManager
- IAudioStreamingManager
- FCachedAudioStreamingManager
- FLegacyAudioStreamingManager
- IGeometryCacheStreamingManager
- IGeometryCacheStreamingManager
- IGroomCacheStreamingManager
- IRenderAssetStreamingManager
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
Include | #include "ContentStreaming.h" |
Syntax
struct IStreamingManager
Remarks
Pure virtual base class of a streaming manager.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | NumWantingResources | Number of resources that currently wants to be streamed in. |
![]() |
int32 | NumWantingResourcesCounter | The current counter for NumWantingResources. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Adds a ULevel that has already prepared StreamingData to the streaming manager. | |
![]() |
void | AddViewInformation
(
const FVector& ViewOrigin, |
Adds the passed in view information to the static array. |
![]() ![]() |
void | AddViewInfoToArray
(
TArray< FStreamingViewInfo >& ViewInfos, |
Adds the passed in view information to the static array. |
![]() |
void | AddViewLocation
(
const FVector& Location, |
Queue up view locations to the streaming system. |
![]() |
int32 | BlockTillAllRequestsFinished
(
float TimeLimit, |
Blocks till all pending requests are fulfilled. |
![]() |
void | Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures"). | |
![]() ![]() |
bool | Exec
(
UWorld* InWorld, |
Allows the streaming manager to process exec commands. |
![]() ![]() |
FStreamingManagerCollection & | Get () |
|
![]() ![]() |
FStreamingManagerCollection * | Same as get but could fail if state not allocated or shutdown. | |
![]() ![]() |
int32 | GetNumViews () |
Returns the number of view infos. |
![]() ![]() ![]() |
int32 | Returns the number of resources that currently wants to be streamed in. | |
![]() ![]() ![]() |
int32 | Returns the current ID for GetNumWantingResources(). | |
![]() ![]() |
const FStreamingViewInfo & | GetViewInformation
(
int32 ViewIndex |
Returns the view info by the specified index. |
![]() ![]() |
bool | HasShutdown () |
Checks if the streaming manager has already been shut down. |
![]() ![]() |
void | NotifyActorDestroyed
(
AActor* Actor |
Called when a spawned actor is destroyed. |
![]() |
void | Notifies manager of "level" change. | |
![]() |
void | NotifyLevelOffset
(
ULevel* Level, |
Notifies manager that level primitives were shifted |
![]() ![]() |
void | NotifyPrimitiveDetached
(
const UPrimitiveComponent* Primitive |
Called when a primitive is detached from an actor or another component. |
![]() ![]() |
void | NotifyPrimitiveUpdated
(
const UPrimitiveComponent* Primitive |
Called when a primitive streaming data needs to be updated. |
![]() ![]() |
void | NotifyPrimitiveUpdated_Concurrent
(
const UPrimitiveComponent* Primitive |
Called when a primitive streaming data needs to be updated in the last stage of the frame. |
![]() ![]() |
void | ||
![]() ![]() |
void | Propagates a change to the active lighting scenario. | |
![]() |
void | RemoveLevel
(
ULevel* Level |
Removes a ULevel from the streaming manager. |
![]() |
void | RemoveStreamingViews
(
ERemoveStreamingViews RemovalType |
Removes streaming views from the streaming manager. |
![]() ![]() |
void | RemoveViewInfoFromArray
(
TArray< FStreamingViewInfo >& ViewInfos, |
Remove view infos with the same location from the given array. |
![]() |
void | SetDisregardWorldResourcesForFrames
(
int32 NumFrames |
Don't stream world resources for the next NumFrames. |
![]() |
void | SetupViewInfos
(
float DeltaTime |
Sets up the CurrentViewInfos array based on PendingViewInfos, LastingViewInfos and SecondaryLocations. |
![]() ![]() |
void | Shutdown () |
|
![]() ![]() |
int32 | StreamAllResources
(
float TimeLimit |
Streams in/out all resources that wants to and blocks until it's done. |
![]() ![]() |
void | Tick
(
float DeltaTime, |
Calls UpdateResourceStreaming(), and does per-frame cleaning. |
![]() |
void | UpdateResourceStreaming
(
float DeltaTime, |
Updates streaming, taking into account all current view infos. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FSecondaryLocation |
Constants
Name | Description |
---|---|
bPendingRemoveViews | Set when Tick() has been called. |
CurrentViewInfos | Current collection of views that need to be taken into account for streaming. |
LastingViewInfos | Views that stick around for a while. Override views are ignored if no movie is playing. |
PendingViewInfos | Pending views. Emptied every frame. |
SecondaryLocations | Collection of view locations that will be added at the next call to AddViewInformation. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddViewSlaveLocation
(
const FVector& Location, |
This is deprecated to follow inclusive naming rules. Use AddViewLocation() instead. |