FXRTrackingSystemBase::RefreshTrackingToWorldTransform

Computes the project's tracking-to-world transform based off how the user has set up their camera system (assumes the camera is parented to the XR origin, and in turn uses that transform).

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "XRTrackingSystemBase.h"

Source

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

Syntax

FTransform RefreshTrackingToWorldTransform
(
    FWorldContext & WorldContext
)

Remarks

Computes the project's tracking-to-world transform based off how the user has set up their camera system (assumes the camera is parented to the XR origin, and in turn uses that transform).

Intended to be called from OnStartGameFrame()

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