Table of Contents

Class TargetController

Namespace
easyar
Assembly
EasyAR.Sense.dll

MonoBehaviour that controls a tracking target in the scene and provides feature extensions in the Unity environment.

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

Properties

ActiveController

activeSelf controller.

Set MonoBehaviour.enabled to false to disable control.

public ActiveController ActiveController { get; }

IsTracked

Whether the target is tracked.

public bool IsTracked { get; }

Events

TargetFound

Event when the tracking target is found.

public event Action TargetFound

TargetLost

Event when the tracking target is lost.

public event Action TargetLost