Class SparseSpatialMapBuildTargetController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A MonoBehaviour that controls the map generated by easyar.SparseSpatialMap in the scene.
[DisallowMultipleComponent]
[RequireComponent(typeof(SparseSpatialMapPointCloudRenderer))]
public class SparseSpatialMapBuildTargetController : MonoBehaviour
- Inheritance
-
SparseSpatialMapBuildTargetController
Properties
PointCloud
Current point cloud data.
public List<Vector3> PointCloud { get; }
PointCloudRenderer
Point cloud renderer.
public SparseSpatialMapPointCloudRenderer PointCloudRenderer { get; }
Methods
HitTest(Vector2)
Performs a Hit Test in the current point cloud and obtains n (n>=0) position coordinates on a ray from near to far from the camera. pointInView must be normalized to [0, 1]^2.
public List<Vector3> HitTest(Vector2 pointInView)
Parameters
pointInView