FApp::SetHasVRFocus

Sets VRFocus, which indicates that the application should continue to render Audio and Video as if it had window focus, even though it may not.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/App.cpp

Syntax

static void SetHasVRFocus
(
    bool bInHasVRFocus
)

Remarks

Sets VRFocus, which indicates that the application should continue to render Audio and Video as if it had window focus, even though it may not.

Parameters

Parameter

Description

bInVRFocus

new VRFocus value

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