G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UStreamingSettings Class Reference

Streaming settings. More...

Public Member Functions

Functions
void SetWarnIfTimeLimitExceeded (bool Value)
 Enables log warning if time limit for time-sliced package streaming has been exceeded.
void SetUseBackgroundLevelStreaming (bool Value)
 Whether to allow background level streaming.
void SetAsyncLoadingUseFullTimeLimit (bool Value)
 Whether to use the entire time limit even if blocked on I/O.
void SetFlushStreamingOnExit (bool Value)
 If enabled, streaming will be flushed when exiting application, otherwise it will be cancelled.
void SetEventDrivenLoaderEnabled (bool Value)
 Enables the event driven loader in cooked builds (default). Disabling EDL will result in using deprecated loading path.
void SetAsyncLoadingThreadEnabled (bool Value)
 Enables separate thread for package streaming. Requires restart to take effect.

Static Public Member Functions

Static Functions
static UClass StaticClass ()

Public Attributes

LevelStreaming
float32 LevelStreamingActorsUpdateTimeLimit
 Maximum allowed time to spend for actor registration steps during level streaming (ms per frame).
float32 PriorityLevelStreamingActorsUpdateExtraTime
 Additional time to spend on actor registration steps during a high priority load.
float32 AsyncLoadingTimeLimit
 Maximum amount of time to spend doing asynchronous loading (ms per frame).
float32 PriorityAsyncLoadingExtraTime
 Additional time to spend asynchronous loading during a high priority load.
float32 LevelStreamingUnregisterComponentsTimeLimit
 Maximum allowed time to spend while unregistering components during level streaming (ms per frame).
int LevelStreamingAddPrimitiveGranularity
 Batching granularity used to add primitives to scene in parallel when registering actor components during level streaming.
int LevelStreamingComponentsRegistrationGranularity
 Batching granularity used to register actor components during level streaming.
int LevelStreamingComponentsUnregistrationGranularity
 Batching granularity used to unregister actor components during level streaming.
PackageStreaming
int MinBulkDataSizeForAsyncLoading
 Minimum time the time limit exceeded warning will be triggered by.
float32 TimeLimitExceededMultiplier
 Multiplier for time limit exceeded warning time threshold.
float32 TimeLimitExceededMinTime
 Minimum time the time limit exceeded warning will be triggered by.

Detailed Description

Streaming settings.

Member Function Documentation

◆ SetAsyncLoadingThreadEnabled()

void SetAsyncLoadingThreadEnabled ( bool Value)

Enables separate thread for package streaming. Requires restart to take effect.

◆ SetAsyncLoadingUseFullTimeLimit()

void SetAsyncLoadingUseFullTimeLimit ( bool Value)

Whether to use the entire time limit even if blocked on I/O.

◆ SetEventDrivenLoaderEnabled()

void SetEventDrivenLoaderEnabled ( bool Value)

Enables the event driven loader in cooked builds (default). Disabling EDL will result in using deprecated loading path.

◆ SetFlushStreamingOnExit()

void SetFlushStreamingOnExit ( bool Value)

If enabled, streaming will be flushed when exiting application, otherwise it will be cancelled.

◆ SetUseBackgroundLevelStreaming()

void SetUseBackgroundLevelStreaming ( bool Value)

Whether to allow background level streaming.

◆ SetWarnIfTimeLimitExceeded()

void SetWarnIfTimeLimitExceeded ( bool Value)

Enables log warning if time limit for time-sliced package streaming has been exceeded.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AsyncLoadingTimeLimit

float32 AsyncLoadingTimeLimit

Maximum amount of time to spend doing asynchronous loading (ms per frame).

◆ LevelStreamingActorsUpdateTimeLimit

float32 LevelStreamingActorsUpdateTimeLimit

Maximum allowed time to spend for actor registration steps during level streaming (ms per frame).

◆ LevelStreamingAddPrimitiveGranularity

int LevelStreamingAddPrimitiveGranularity

Batching granularity used to add primitives to scene in parallel when registering actor components during level streaming.

◆ LevelStreamingComponentsRegistrationGranularity

int LevelStreamingComponentsRegistrationGranularity

Batching granularity used to register actor components during level streaming.

◆ LevelStreamingComponentsUnregistrationGranularity

int LevelStreamingComponentsUnregistrationGranularity

Batching granularity used to unregister actor components during level streaming.

◆ LevelStreamingUnregisterComponentsTimeLimit

float32 LevelStreamingUnregisterComponentsTimeLimit

Maximum allowed time to spend while unregistering components during level streaming (ms per frame).

◆ MinBulkDataSizeForAsyncLoading

int MinBulkDataSizeForAsyncLoading

Minimum time the time limit exceeded warning will be triggered by.

◆ PriorityAsyncLoadingExtraTime

float32 PriorityAsyncLoadingExtraTime

Additional time to spend asynchronous loading during a high priority load.

◆ PriorityLevelStreamingActorsUpdateExtraTime

float32 PriorityLevelStreamingActorsUpdateExtraTime

Additional time to spend on actor registration steps during a high priority load.

◆ TimeLimitExceededMinTime

float32 TimeLimitExceededMinTime

Minimum time the time limit exceeded warning will be triggered by.

◆ TimeLimitExceededMultiplier

float32 TimeLimitExceededMultiplier

Multiplier for time limit exceeded warning time threshold.