Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRTrackingSystemBase
Description
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.
Virtual Inheritance
- IXRTrackingSystem::GetTrackingSensorProperties → FXRTrackingSystemBase::GetTrackingSensorProperties
| Name | GetTrackingSensorProperties |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRTrackingSystemBase.h |
| Include Path | #include "XRTrackingSystemBase.h" |
virtual bool GetTrackingSensorProperties
(
int32 DeviceId,
FQuat & OutOrientation,
FVector & OutPosition,
FXRSensorProperties & OutSensorProperties
)
true if the device tracking is valid and supports returning tracking sensor properties.
Parameters
| Name | Remarks |
|---|---|
| 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. |