Class TargetController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Control the tracking target in the scene MonoBehaviour, provide functional extensions in the Unity environment.
[DisallowMultipleComponent]
[RequireComponent(typeof(ActiveController))]
public abstract class TargetController : MonoBehaviour
- Inheritance
-
TargetController
- Derived
Properties
ActiveController
activeSelfController.
MonoBehaviour.enabled is false to disable control.
public ActiveController ActiveController { get; }
Property Value
IsTracked
Whether the target is being tracked.
public bool IsTracked { get; }
Property Value
Events
TargetFound
Event of finding the tracking target.
public event Action TargetFound
Event Type
TargetLost
Event of losing the tracking target.
public event Action TargetLost