Runtime
Method Calls
- ScansInfoLoader.FetchAndWrapUserScansAsync 
- ScansInfoLoader.FetchAndWrapPublicScansAsync 
- ScanLoader.InstantiateScanAsync 
Events
- ScansInfoLoader.OnInfoLoaded (user's scans) 
- ScansInfoLoader.OnPublicInfoLoaded (all public scans) 
- ScansInfoLoader.OnInfoFailed 
- ScanLoader.OnScanLoaded 
- ScanLoader.OnScanFailed 
- ScanLoader.OnScanDestroyed 
Getting Started
The easiest way to get started is to import the Auto and Scan Import sample into your Unity project. Go to Windows > Package Manager > MeshMap Unity SDK > Samples.
Make sure to configure your app API key in the MeshMap Hub.
Features
- A simple user flow for loading user scans and all public scans. - The player needs to be connected to their MeshMap account (see Auth - Runtime). 
 
- Import any scan with a supported file type (.gltf/.glb) and load it to the active scene. 
- Optionally, add a - NavMeshModifierto the scan model and rebuild the- NavMeshSurfacein the scene.
- Destroy the previous scan from the scene when importing a new scan. 
Components
Handles loading scan information asynchronously from the MeshMap Scans API.
Displays metadata for a single scan entry in the UI, including its name, location, and user information.
Demonstrates loading, instantiation, and cleanup of scan models in the active scene.
Demonstrates UI logic for listing, paginating, filtering, and loading scans from the MeshMap API. Provides controls to request user or public scans, validate pagination input, and display scan listings dynamically.
Automatically builds or clears NavMesh data at runtime
 when a scan is loaded or destroyed.
Last updated
