Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UGameplayStatics
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
| Include | #include "Kismet/GameplayStatics.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
UFUNCTION (BlueprintCallable, Category="Viewport", Meta=(WorldContext="WorldContextObject"))
static void SetForceDisableSplitscreen
(
const UObject * WorldContextObject,
bool bDisable
)
Remarks
Enables split screen
Parameters
| Name | Description |
|---|---|
| bDisable | Whether the viewport should split screen between local players or not |