Table of Contents

Class SparseSpatialMapBuildTargetController

Namespace
easyar
Assembly
EasyAR.Sense.dll

Controls the map generated by easyar.SparseSpatialMap for MonoBehaviour in the scene.

[DisallowMultipleComponent]
[RequireComponent(typeof(SparseSpatialMapPointCloudRenderer))]
public class SparseSpatialMapBuildTargetController : MonoBehaviour
Inheritance
SparseSpatialMapBuildTargetController

Properties

PointCloud

Current point cloud data.

public List<Vector3> PointCloud { get; }

Property Value

PointCloudRenderer

Point cloud renderer.

public SparseSpatialMapPointCloudRenderer PointCloudRenderer { get; }

Property Value

Methods

HitTest(Vector2)

Performs a hit test in the current point cloud to obtain n (n>=0) position coordinates along a ray from near to far from the camera. pointInView needs to be normalized to [0,1]^2.

public List<Vector3> HitTest(Vector2 pointInView)

Parameters

pointInView

Returns