Table of Contents

Class SparseSpatialMapBuilderFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

Controls the easyar.SparseSpatialMap in the scene, providing mapping functionality for easyar.SparseSpatialMap.

public class SparseSpatialMapBuilderFrameFilter : SparseSpatialMapWorkerFrameFilter
Inheritance
SparseSpatialMapBuilderFrameFilter
Inherited Members

Fields

PointCloudMaterial

Used for rendering point clouds Material. Modifications are only effective before the session starts.

public Material PointCloudMaterial

Properties

Target

Target controller for displaying the mapping process. Can only be used after the session starts.

public SparseSpatialMapBuildTargetController Target { get; }

enabled

ARSession starts/stops mapping at runtime. Mapping will only start after the session starts when MonoBehaviour.enabled is true.

public bool enabled { get; set; }

Methods

Host(string, Optional<Image>, Optional<int>, Action<Optional<SparseSpatialMapInfo>, Optional<string>>)

Create and upload a map.

Build a map. name is the name of the map. preview is a preview image, optional. timeoutMilliseconds is the timeout for server communication in milliseconds, optional, default 60000.

public void Host(string name, Optional<Image> preview, Optional<int> timeoutMilliseconds, Action<Optional<SparseSpatialMapController.SparseSpatialMapInfo>, Optional<string>> callback)

Parameters

name
preview
timeoutMilliseconds
callback