Navigation
API > API/Editor > API/Editor/VREditor > API/Editor/VREditor/IVREditorModule
References
| Module | VREditor |
| Header | /Engine/Source/Editor/VREditor/Public/IVREditorModule.h |
| Include | #include "IVREditorModule.h" |
void EnableVREditor
&40;
const bool bEnable,
const bool bForceWithoutHMD
&41;
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
| Name | 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. |