IVREditorModule::EnableVREditor

Enables or disables editor VR features.

Windows
MacOS
Linux

References

Module

VREditor

Header

/Engine/Source/Editor/VREditor/Public/IVREditorModule.h

Include

#include "IVREditorModule.h"

Syntax

void EnableVREditor
(
    const bool bEnable,
    const bool bForceWithoutHMD
)

Remarks

Enables or disables editor VR features. Calling this to active VR will turn on the HMD and setup the editor UI for VR interaction.

Parameters

Parameter

Description

bEnable

True to enable VR, or false to turn it off

bForceWithoutHMD

If set to true, will enter VR mode without switching to HMD/stereo. This can be useful for testing.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss