FXRTrackingProxy

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RemoteSession

Header

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

Include

#include "Channels/RemoteSessionXRTrackingChannel.h"

Syntax

class FXRTrackingProxy : public FXRTrackingSystemBase

Constructors

Name Description

Public function

FXRTrackingProxy

(
    IARSystemSupport* InARSystemSu...
)

Overridden from IXRTrackingSystem

Name Description

Public function Virtual Const

bool

 

DoesSupportPositionalTracking()

Whether or not the system supports positional tracking (either via sensor or other means).

Public function Virtual

bool

 

EnumerateTrackedDevices

(
    TArray< int32 >& OutDevices,
    EXRTrackedDeviceType Type
)

Reports all devices currently available to the system, optionally limiting the result to a given class of devices.

Public function Virtual

bool

 

GetCurrentPose

(
    int32 DeviceId,
    FQuat& OutOrientation,
    FVector& OutPosition
)

Get the current pose for a device.

Public function Virtual Const

float

 

GetWorldToMetersScale()

This method should return the world to meters scale for the current frame.

Public function Virtual Const

bool

 

IsHeadTrackingAllowed()

Returns true, if head tracking is allowed.

Public function Virtual

bool

 

IsTracking

(
    int32 DeviceId
)

Check current tracking status of a device.

Public function Virtual

void

 

ResetOrientationAndPosition

(
    float Yaw
)

Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction and assuming current position as a 'zero-point' (for positional tracking).

Overridden from IXRSystemIdentifier

Name Description

Public function Virtual Const

FName

 

GetSystemName()

Returns a unique identifier that's supposed to represent the third party system that this object is part of (Vive, Oculus, PSVR, Gear VR, etc.).

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