IStreamingManager::AddViewInfoToArray

Adds the passed in view information to the static array.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ContentStreaming.h

Include

#include "ContentStreaming.h"

Source

/Engine/Source/Runtime/Engine/Private/ContentStreaming.cpp

Syntax

static void AddViewInfoToArray
(
    TArray< FStreamingViewInfo > & ViewInfos,
    const FVector & ViewOrigin,
    float ScreenSize,
    float FOVScreenSize,
    float BoostFactor,
    bool bOverrideLocation,
    float Duration,
    TWeakObjectPtr< AActor > InActorToBoost
)

Remarks

Adds the passed in view information to the static array.

Adds the passed in view information to the static array.

Parameters

Parameter

Description

ViewInfos

Array to add the view to

ViewOrigin

View origin

ScreenSize

Screen size

FOVScreenSize

Screen size taking FOV into account

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 regular locations

Duration

How long the streaming system should keep checking this location (in seconds). 0 means just for the next Tick.

InActorToBoost

Optional pointer to an actor who's textures should have their streaming priority boosted

ViewInfos

[in/out] Array to add the view to

ViewOrigin

View origin

ScreenSize

Screen size

FOVScreenSize

Screen size taking FOV into account

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 regular locations

Duration

How long the streaming system should keep checking this location (in seconds). 0 means just for the next Tick.

InActorToBoost

Optional pointer to an actor who's textures should have their streaming priority boosted

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