Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
Include |
#include "ContentStreaming.h" |
Source |
/Engine/Source/Runtime/Engine/Private/ContentStreaming.cpp |
static void AddViewInfoToArray
(
TArray< FStreamingViewInfo > & ViewInfos,
const FVector & ViewOrigin,
float ScreenSize,
float FOVScreenSize,
float BoostFactor,
bool bOverrideLocation,
float Duration,
TWeakObjectPtr< AActor > InActorToBoost
)
Adds the passed in view information to the static array.
Adds the passed in view information to the static array.
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 |