Class SparseSpatialMapBuilderFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Control the easyar.SparseSpatialMap in the scene, and provide the mapping function of easyar.SparseSpatialMap.
public class SparseSpatialMapBuilderFrameFilter : SparseSpatialMapWorkerFrameFilter
- Inheritance
-
SparseSpatialMapBuilderFrameFilter
- Inherited Members
Fields
PointCloudMaterial
The Material used to render point clouds. It is only effective if modified before the session starts.
public Material PointCloudMaterial
Field Value
Properties
Target
The target controller used to display the mapping process. Can only be used after the session starts.
public SparseSpatialMapBuildTargetController Target { get; }
Property Value
Methods
Host(string, Optional<Image>, Optional<int>, Action<Optional<SparseSpatialMapInfo>, Optional<string>>)
Create and upload the map.
Build the Map. name is the name of the map. preview is the preview image, optional. timeoutMilliseconds is the timeout (milliseconds) for communicating with the server, optional, default is 60000.
public void Host(string name, Optional<Image> preview, Optional<int> timeoutMilliseconds, Action<Optional<SparseSpatialMapController.SparseSpatialMapInfo>, Optional<string>> callback)
Parameters
namepreviewtimeoutMillisecondscallback