MapMeshHandler
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
The MapMeshHandler is a Singleton class that manages the downloading, caching, and in-scene visualization of 3D map meshes. It controls how the mesh is rendered based on user-selected options (e.g., for visualization or occlusion) and ensures the mesh is only displayed after a successful localization.
This enum defines the rendering options for the map mesh.
Value
Description
EnableVisualization
Downloads and displays the full, textured map mesh.
EnableOcclusion
Downloads the mesh and applies a special occlusion material. The mesh itself is invisible but will hide any virtual objects that are behind it from the camera's perspective.
NoMesh
Prevents any mesh from being downloaded or displayed.
meshVisualizationOption
(From Inspector) Selects the visualization mode for the map mesh. See MeshVisualizationOption enum for details.