Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/IHeadMountedDisplay
Description
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).
| Name | DoesAppUseVRFocus |
| Type | function |
| Header File | /Engine/Source/Runtime/HeadMountedDisplay/Public/IHeadMountedDisplay.h |
| Include Path | #include "IHeadMountedDisplay.h" |
| Source | /Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayModule.cpp |
virtual bool DoesAppUseVRFocus() const