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.).

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback