FXRTrackingSystemBase::GetTrackingSensorProperties

If the device id represents a tracking sensor, reports the frustum properties in game-world space of the sensor.

Windows
MacOS
Linux

Override Hierarchy

IXRTrackingSystem::GetTrackingSensorProperties()

FXRTrackingSystemBase::GetTrackingSensorProperties()

References

Module

HeadMountedDisplay

Header

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

Include

#include "XRTrackingSystemBase.h"

Syntax

virtual bool GetTrackingSensorProperties
(
    int32 DeviceId,
    FQuat & OutOrientation,
    FVector & OutPosition,
    FXRSensorProperties & OutSensorProperties
)

Remarks

If the device id represents a tracking sensor, reports the frustum properties in game-world space of the sensor. The default implementation returns false for all device ids.

Returns

true if the device tracking is valid and supports returning tracking sensor properties.

Parameters

Parameter

Description

DeviceId

the device to request information for.

OutOrientation

The current orientation of the device.

OutPosition

The current position of the device.

OutSensorProperties

A struct containing the tracking sensor properties.

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