Class SparseSpatialMapBuildTargetController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Control the map generated by easyar.SparseSpatialMap in the scene for the MonoBehaviour.
[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)
Perform Hit Test on the current point cloud to get n (n >= 0) position coordinates on a ray from the camera from near to far. pointInView needs to be normalized to [0, 1]^2.
public List<Vector3> HitTest(Vector2 pointInView)
Parameters
pointInView