Module |
|
Header |
/Engine/Source/Editor/VREditor/Public/VREditorMode.h |
Include |
#include "VREditorMode.h" |
const SLevelViewport & GetLevelViewportPossessedForVR() const
Gets the viewport that VR Mode is activated in. Even though editor modes are available in all level viewports simultaneously, only one viewport is "possessed" by the HMD. Generally try to avoid using this function and instead use the ViewportClient that is passed around through various FEdMode overrides