Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Description
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).
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).
| Name | AddTextureStreamingLoc |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
void AddTextureStreamingLoc
(
FVector InLoc,
float BoostFactor,
bool bOverrideLocation,
float OverrideDuration
)
Parameters
| Name | Remarks |
|---|---|
| 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. |
| InLoc | 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. |