VREd.ForceVRMode
VREd.ForceVRMode
#Overview
name: VREd.ForceVRMode
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Toggles VREditorMode, even if not in immersive VR
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/VREditor/Private/VREditorModule.cpp:88
Scope (from outer to inner):
file
namespace VREd
Source code excerpt:
namespace VREd
{
static FAutoConsoleCommand ForceVRMode( TEXT( "VREd.ForceVRMode" ), TEXT( "Toggles VREditorMode, even if not in immersive VR" ), FConsoleCommandDelegate::CreateStatic( &FVREditorModule::ToggleForceVRMode ) );
}
void FVREditorModule::StartupModule()
{
LLM_SCOPE_BYNAME(TEXT("VREditor"));
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/UnrealEdGlobals.cpp:90
Scope (from outer to inner):
file
function void CheckAndMaybeGoToVRModeInternal
Source code excerpt:
else if (FParse::Param(FCommandLine::Get(), TEXT("ForceVREditor")))
{
GEngine->DeferredCommands.Add(TEXT("VREd.ForceVRMode"));
}
}
}
int32 EditorInit( IEngineLoop& EngineLoop )
{