vr.bEnableHMD
vr.bEnableHMD
#Overview
name: vr.bEnableHMD
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Enables or disables the HMD device. Use 1, True, or Yes to enable, 0, False or No to disable.
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:395
Scope: file
Source code excerpt:
static FAutoConsoleCommand CEnableHMDCmd(
TEXT("vr.bEnableHMD"),
*LOCTEXT("CCommandText_EnableHMD", "Enables or disables the HMD device. Use 1, True, or Yes to enable, 0, False or No to disable.").ToString(),
FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic(EnableHMD));
static void EnableStereo(const TArray<FString>& Args, UWorld*, FOutputDevice& Ar)
{
bool bEnable = 0;