vr.SpectatorScreenMode
vr.SpectatorScreenMode
#Overview
name: vr.SpectatorScreenMode
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Changes the look of the spectator if supported by the HMD plugin.\n 0: disable mirroring\n 1: single eye\n 2: stereo pair\nNumbers larger than 2 may be possible and specify HMD plugin-specific variations.\nNegative values are treated the same as 0.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/HeadMountedDisplayConsoleCommands.cpp:268
Scope: file
Source code excerpt:
static FAutoConsoleCommand CSpectatorModeCmd(
TEXT("vr.SpectatorScreenMode"),
*LOCTEXT("CVarText_SpectatorScreenMode", "Changes the look of the spectator if supported by the HMD plugin.\n 0: disable mirroring\n 1: single eye\n 2: stereo pair\nNumbers larger than 2 may be possible and specify HMD plugin-specific variations.\nNegative values are treated the same as 0.").ToString(),
FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic(SpectatorScreenMode));
static void HMDResetPosition(const TArray<FString>& Args, UWorld*, FOutputDevice& Ar)
{
if (GEngine && GEngine->XRSystem.IsValid())