Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/IHeadMountedDisplay.h |
Include |
#include "IHeadMountedDisplay.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayModule.cpp |
virtual bool DoesAppUseVRFocus() const
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).