unreal.XRSpaceType¶
- class unreal.XRSpaceType¶
Bases:
EnumBaseUsed to get unreal world space or tracking space positions in XR. Working only with unreal world space coordinates is almost always simpler and should be generally preferred. There are specific cases where raw XRTrackingSpace coordinates may be useful, particularly in apps where world scale is not 1:1 or where it changes.
C++ Source:
Module: HeadMountedDisplay
File: HeadMountedDisplayTypes.h
- UNREAL_WORLD_SPACE: XRSpaceType = Ellipsis¶
The unreal coordinate system. Affected by world scaling and the TrackingToWorldTransform.
- Type:
0
- XR_TRACKING_SPACE: XRSpaceType = Ellipsis¶
The coordinate system the XR Device is tracking itself in. Should be fixed relative to the real world over short timescales, not affected by world scaling or the TrackingToWorldTransoform. May change relationship to the physical world through recentering or similar events.
- Type:
1