Navigation
API > API/Editor > API/Editor/VREditor
The public interface to this module
| Name | IVREditorModule |
| Type | class |
| Header File | /Engine/Source/Editor/VREditor/Public/IVREditorModule.h |
| Include Path | #include "IVREditorModule.h" |
Syntax
class IVREditorModule : public IModuleInterface
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnableVREditor
(
const bool bEnable, |
Enables or disables editor VR features. | IVREditorModule.h | |
TSharedPtr< class FExtender > GetRadialMenuExtender() |
Gets the radial menu extender. This can be used to add your own menu items to the VR radial menu | IVREditorModule.h | |
UVREditorMode * GetVRMode() |
Get the current VREditor running | IVREditorModule.h | |
UVREditorModeBase * GetVRModeBase() |
IVREditorModule.h | ||
bool IsVREditorAvailable () |
Checks to see whether its possible to use VR mode in this session. | IVREditorModule.h | |
bool IsVREditorButtonActive() |
Checks to see if the VR Mode button should be active or grayed out (such as during SIE) | IVREditorModule.h | |
bool IsVREditorEnabled() |
Checks whether or not editor VR features are enabled | IVREditorModule.h | |
bool IsVREditorModeActive() |
Check if the VR Editor is currently running | IVREditorModule.h | |
FOnVREditingModeEnter & OnVREditingModeEnter() |
IVREditorModule.h | ||
FOnVREditingModeExit & OnVREditingModeExit() |
IVREditorModule.h | ||
void UpdateActorPreview
(
TSharedRef< class SWidget > InWidget, |
Update the actor preview (for example, the view from a camera attached to a pawn) in VR mode | IVREditorModule.h | |
void UpdateExternalSlateUI
(
TSharedRef< SWidget > InSlateWidget, |
Update any external SlateUI spawned from the radial menu | IVREditorModule.h | |
void UpdateExternalUMGUI
(
const FVREditorFloatingUICreationContext& CreationContext |
Update any external UMG UI spawned from the radial menu | IVREditorModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IVREditorModule & Get () |
Singleton-like access to this module's interface. | IVREditorModule.h | |
static bool IsAvailable () |
Checks to see if this module is loaded and ready. | IVREditorModule.h |