SparseSpatialMapBuildTargetController Class

Description

MonoBehaviour which controls the map generated from SparseSpatialMap in the scene.


Properties

PointCloudRenderer

C#

public SparseSpatialMapPointCloudRenderer PointCloudRenderer { get; }

Renderer of point cloud.

PointCloud

C#

public List< Vector3 > PointCloud { get; }

Current point cloud data.


Methods

HitTest

C#

public List< Vector3 > HitTest( Vector2 pointInView)

Perform hit test against the point cloud. The results are returned sorted by their distance to the camera in ascending order. pointInView should be normalized to [0, 1]^2.