Table of Contents

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 から近い順に遠い方向へ伸びるレイ上の n(n>=0)個の位置座標を取得します。pointInView は [0, 1]^2 に正規化されている必要があります。

public List<Vector3> HitTest(Vector2 pointInView)

パラメーター

pointInView