IXRTrackingSystem::IsHeadTrackingAllowedForWorld

Same as IsHeadTrackingAllowed, but returns false if the World is not using VR (such as with the non-VR PIE instances when using VR Preview)

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "IXRTrackingSystem.h"

Source

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

Syntax

virtual bool IsHeadTrackingAllowedForWorld
(
    UWorld & World
) const

Remarks

Same as IsHeadTrackingAllowed, but returns false if the World is not using VR (such as with the non-VR PIE instances when using VR Preview)

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