Class SparseSpatialMapBuildTargetController
- 네임스페이스
- easyar
- 어셈블리
- EasyAR.Sense.dll
씬에서 easyar.SparseSpatialMap 가 생성한 map 을 제어하는 MonoBehaviour 입니다.
[DisallowMultipleComponent]
[RequireComponent(typeof(SparseSpatialMapPointCloudRenderer))]
public class SparseSpatialMapBuildTargetController : MonoBehaviour
- 상속
-
SparseSpatialMapBuildTargetController
속성
PointCloud
현재 point cloud 데이터입니다.
public List<Vector3> PointCloud { get; }
PointCloudRenderer
point cloud 렌더러입니다.
public SparseSpatialMapPointCloudRenderer PointCloudRenderer { get; }
메서드
HitTest(Vector2)
현재 point cloud 에서 Hit Test 를 수행하여 camera 에서 가까운 곳부터 먼 곳까지의 ray 위에 있는 n(n>=0)개의 위치 좌표를 얻습니다. pointInView 는 [0, 1]^2 로 정규화되어야 합니다.
public List<Vector3> HitTest(Vector2 pointInView)
매개 변수
pointInView