Class TargetController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the tracking target in the scene MonoBehaviour, providing functional 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; }
Property Value
IsTracked
Whether the target is being tracked.
public bool IsTracked { get; }
Property Value
Events
TargetFound
Event for finding the tracking target.
public event Action TargetFound
Event Type
TargetLost
Event for losing the tracking target.
public event Action TargetLost