| IXRTrackingSystem::GetTrackingSensorProperties()
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/XRTrackingSystemBase.h |
Include |
#include "XRTrackingSystemBase.h" |
virtual bool GetTrackingSensorProperties
(
int32 DeviceId,
FQuat & OutOrientation,
FVector & OutPosition,
FXRSensorProperties & OutSensorProperties
)
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.
true if the device tracking is valid and supports returning tracking sensor properties.
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. |