Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APlayerController
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (Reliable, Server, WithValidation, SealedEvent)
void ServerUpdateMultipleLevelsVisibility
(
const TArray < FUpdateLevelVisibilityLevelInfo > & LevelVisibilities
)
Remarks
Called when the client adds/removes a streamed level. This version of the function allows you to pass the state of multiple levels at once, to reduce the number of RPC events that will be sent.
Parameters
Name | Description |
---|---|
LevelVisibilities | Visibility state for each level whose state has changed |