Table of Contents

Class SparseSpatialMapBuilderFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

A easyar.SparseSpatialMap MonoBehaviour controlled in the scene, providing map building for easyar.SparseSpatialMap.

public class SparseSpatialMapBuilderFrameFilter : SparseSpatialMapWorkerFrameFilter
Inheritance
SparseSpatialMapBuilderFrameFilter
Inherited Members

Fields

PointCloudMaterial

The Material used to render the point cloud. Changes are effective only before the session starts.

public Material PointCloudMaterial

Properties

Target

The target controller used to display the mapping process. It is available only after the session starts.

public SparseSpatialMapBuildTargetController Target { get; }

enabled

Start/stop mapping while ARSession is running. After the session starts, mapping starts only 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.

Builds a Map. name is the name of the map. preview is the preview image, optional. timeoutMilliseconds is the timeout for communication with the server 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