Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Called when the client adds/removes a streamed level. The server will only replicate references to Actors in visible levels so that it's impossible to send references to Actors the client has not initialized.
| Name | ServerUpdateLevelVisibility |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
UFUNCTION (Reliable, Server, WithValidation, SealedEvent)
void ServerUpdateLevelVisibility
(
const FUpdateLevelVisibilityLevelInfo & LevelVisibility
)
Parameters
| Name | Remarks |
|---|---|
| LevelVisibility | Visibility state for the level whose state changed. |