IHeadMountedDisplay::DoesAppUseVRFocus

Returns true, if the App is using VR focus.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/IHeadMountedDisplay.h

Include

#include "IHeadMountedDisplay.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayModule.cpp

Syntax

virtual bool DoesAppUseVRFocus() const

Remarks

Returns true, if the App is using VR focus. This means that the app may handle lifecycle events differently from the regular desktop apps. In this case, FCoreDelegates::ApplicationWillEnterBackgroundDelegate and FCoreDelegates::ApplicationHasEnteredForegroundDelegate reflect the state of VR focus (either the app should be rendered in HMD or not).

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