Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (Reliable, Client)
void ClientPrestreamTextures
(
class AActor * ForcedActor,
float ForceDuration,
bool bEnableStreaming,
int32 CinematicTextureGroups
)
Remarks
Forces the streaming system to disregard the normal logic for the specified duration and instead always load all mip-levels for all textures used by the specified actor.
Parameters
| Name | Description |
|---|---|
| ForcedActor | The actor whose textures should be forced into memory. |
| ForceDuration | Number of seconds to keep all mip-levels in memory, disregarding the normal priority logic. |
| bEnableStreaming | Whether to start (true) or stop (false) streaming |
| CinematicTextureGroups | Bitfield indicating which texture groups that use extra high-resolution mips |