vr.HeadTracking.bEnforced
vr.HeadTracking.bEnforced
#Overview
name: vr.HeadTracking.bEnforced
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
If set, head tracking is enabled even when stereo rendering is disabled.\nMay not be supported by all XR implementations.
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:361
Scope: file
Source code excerpt:
static FAutoConsoleCommand CForceTrackingCmd(
TEXT("vr.HeadTracking.bEnforced"),
*LOCTEXT("CCommandText_ForceTracking", "If set, head tracking is enabled even when stereo rendering is disabled.\nMay not be supported by all XR implementations.").ToString(),
FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic(ForceTracking));
static void EnableHMD(const TArray<FString>& Args, UWorld*, FOutputDevice& Ar)
{