UEngine::AddTextureStreamingSlaveLoc

Adds a world location as a secondary view location for purposes of texture streaming.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h

Include

#include "Engine/Engine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

void AddTextureStreamingSlaveLoc
(
    FVector InLoc,
    float BoostFactor,
    bool bOverrideLocation,
    float OverrideDuration
)

Remarks

Adds a world location as a secondary view location for purposes of texture streaming. Lasts one frame, or a specified number of seconds (for overriding locations only).

Queue up view "slave" locations to the streaming system. These locations will be added properly at the next call to AddViewInformation, re-using the screensize and FOV settings.

Parameters

Parameter

Description

InLoc

Location to add to texture streaming for this frame

BoostFactor

A factor that affects all streaming distances for this location. 1.0f is default. Higher means higher-resolution textures and vice versa.

bOverrideLocation

Whether this is an override location, which forces the streaming system to ignore all other locations

OverrideDuration

How long the streaming system should keep checking this location if bOverrideLocation is true, in seconds. 0 means just for the next Tick.

SlaveLocation

World-space view origin

BoostFactor

A factor that affects all streaming distances for this location. 1.0f is default. Higher means higher-resolution textures and vice versa.

bOverrideLocation

Whether this is an override location, which forces the streaming system to ignore all other locations

OverrideDuration

How long the streaming system should keep checking this location if bOverrideLocation is true, in seconds. 0 means just for the next Tick.