Table of Contents

Class TargetController

名前空間
easyar
アセンブリ
EasyAR.Sense.dll

シーン内で追跡ターゲットを制御するMonoBehaviour,Unity環境で機能拡張を提供する。

[DisallowMultipleComponent]
[RequireComponent(typeof(ActiveController))]
public abstract class TargetController : MonoBehaviour
継承
TargetController
Derived

プロパティ

ActiveController

activeSelfコントローラー。

MonoBehaviour.enabledをfalseに設定すると制御をオフにできる。

public ActiveController ActiveController { get; }

IsTracked

ターゲットが追跡されているかどうか。

public bool IsTracked { get; }

イベント

TargetFound

追跡ターゲットを見つけたイベント。

public event Action TargetFound

TargetLost

追跡ターゲットを失ったイベント。

public event Action TargetLost