| IModularFeature | ||||||||
| IXRSystemIdentifier
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/XRTrackingSystemBase.h |
Include |
#include "XRTrackingSystemBase.h" |
class FXRTrackingSystemBase : public IXRTrackingSystem
Base utility class for implementations of the IXRTrackingSystem interface Contains helpers and default implementation of most abstract methods, so final implementations only need to override features that they support.
Name | Description | ||
---|---|---|---|
|
CachedTrackingToWorld |
||
|
CalibratedOffset |
If the tracker is trying to lock itself to an external tracking source for drift control, this stores the calibrated offset between the external tracking system and the internal tracking system (e.g. a location from a mocap system tracker to the HMD's internal IMU). |
|
|
LoadingScreen |
||
|
TSharedPtr< cla... |
XRCamera |
Name | Description | |
---|---|---|
|
FXRTrackingSystemBase ( |
Name | Description | |
---|---|---|
|
~FXRTrackingSystemBase() |
Name | Description | ||
---|---|---|---|
|
ComputeTrackingToWorldTransform ( |
||
|
IXRLoadingSc... |
CreateLoadingScreen() |
Override this method if you need to customize the IXRLoadingScreen implementation. |
|
TSharedPtr< ... |
GetARCompositionComponent() |
|
|
const TShare... |
GetARCompositionComponent() |
|
|
OnTrackingOriginChanged() |
Meant to be called by sub-classes whenever the tracking origin is altered. |
|
|
RefreshTrackingToWorldTransform ( |
Computes the project's tracking-to-world transform based off how the user has set up their camera system (assumes the camera is parented to the XR origin, and in turn uses that transform). |
Name | Description | ||
---|---|---|---|
|
CalibrateExternalTrackingSource ( |
Called to calibrate the offset transform between an external tracking source and the internal tracking source (e.g. mocap tracker to and HMD tracker). |
|
|
CountTrackedDevices ( |
Get the count of tracked devices. |
|
|
DoesSupportPositionalTracking() |
Whether or not the system supports positional tracking (either via sensor or other means). |
|
|
GetFloorToEyeTrackingTransform ( |
Returns a transform for converting from 'Floor' origin space to 'Eye' origin space. |
|
|
IXRLoadingSc... |
GetLoadingScreen() |
Access the loading screen interface associated with this tracking system, if any. |
|
GetRelativeEyePose ( |
If the device id represents a head mounted display, fetches the relative position of the given eye relative to the eye. |
|
|
EHMDTracking... |
GetTrackingOrigin() |
Returns current tracking origin. The default implementation always reports 'eye'-level tracking. |
|
GetTrackingSensorProperties ( |
If the device id represents a tracking sensor, reports the frustum properties in game-world space of the sensor. |
|
|
GetTrackingToWorldTransform() |
Returns the system's latest known tracking-to-world transform. |
|
|
GetVersionString() |
Returns version string. |
|
|
TSharedPtr< ... |
GetXRCamera ( |
Get the IXCamera instance for the given device. |
|
HasValidTrackingPosition() |
If the system currently has valid tracking positions. |
|
|
IsTracking ( |
Check current tracking status of a device. |
|
|
SetTrackingOrigin ( |
Sets tracking origin (either 'eye'-level or 'floor'-level). |
|
|
UpdateExternalTrackingPosition ( |
Called after calibration to attempt to pull the internal tracker (e.g. HMD tracking) in line with the external tracker (e.g. mocap tracker). |
|
|
UpdateTrackingToWorldTransform ( |
Refreshes the system's known tracking-to-world transform. |