FXRTrackingProxy::GetCurrentPose

Get the current pose for a device.

Windows
MacOS
Linux

Override Hierarchy

IXRTrackingSystem::GetCurrentPose()

FXRTrackingProxy::GetCurrentPose()

References

Module

RemoteSession

Header

/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionXRTrackingChannel.h

Include

#include "Channels/RemoteSessionXRTrackingChannel.h"

Source

/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Private/Channels/RemoteSessionXRTrackingChannel.cpp

Syntax

virtual bool GetCurrentPose
(
    int32 DeviceId,
    FQuat & OutOrientation,
    FVector & OutPosition
)

Remarks

Get the current pose for a device. This method must be callable both on the render thread and the game thread. For devices that don't support positional tracking, OutPosition will be at the base position.

Returns

true if the pose is valid or not.

Parameters

Parameter

Description

DeviceId

the device to request the pose for.

OutOrientation

The current orientation of the device

OutPosition

The current position of the device

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