IOpenXRExtensionPlugin::GetSpectatorScreenController

Set a spectator screen controller specific to the platform If true is returned and OutSpectatorScreenController is nullptr, spectator screen will be disabled If false is returned a default spectator screen controller will be created

Windows
MacOS
Linux

References

Module

OpenXRHMD

Header

/Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Public/IOpenXRExtensionPlugin.h

Include

#include "IOpenXRExtensionPlugin.h"

Syntax

virtual bool GetSpectatorScreenController
(
    FHeadMountedDisplayBase * InHMDBase,
    TUniquePtr< FDefaultSpectatorScreenController > & OutSpectatorScreenController
)

Remarks

Set a spectator screen controller specific to the platform If true is returned and OutSpectatorScreenController is nullptr, spectator screen will be disabled If false is returned a default spectator screen controller will be created

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