Pretia SDK (Unity)
This section will provide How-tos documents to introduce some features of the Pretia SDK.
📄️ Map Visualization
To let developers easily understand and use the environment they scanned better, we introduce the map visualization feature.
📄️ Map Selection
In order to start map-based relocalization, the SDK needs to know which map to relocalize which is why it requires the Map Key of a map. Map Selection is a feature of the SDK to help the application choose which map to be used. We provide two map selection strategies by default, DirectMapSelection and CriteriaBasedMapSelection.
📄️ AR Lifecycle Management
Sometimes we don't want to run AR sessions all the time with our app, and there might be other scenes that only contains UIs. In this case it is better to deinitialize all AR related subsystems to save power and not have the batteries drained quickly, and only initialize them when the app is using it. This guide will explain about how we can manage the lifecycle of AR sessions. Since Pretia SDK is built on top of Unity's XR subsystems, we will look into how AR Foundation provides lifecyle management first.
📄️ AR Playback
By using the 3D Scanner you can create recordings of an AR session and use them to have a better understanding of the 3D space in Unity. Currently a recording contains the camera poses and images. For instructions of how to make a record please refer to AR Recording.
📄️ API Table
Unity Editor SDK
📄️ AR Foundation 5.0 Support
Along with the release of Pretia SDK v0.8.0, we have added support for the SDK to be compatible with AR Foundation 5.0.