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