Class SurfaceTargetController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A MonoBehaviour that controls a surface target in the scene. A surface target is a virtual node that represents the node relative to which the camera moves in surface tracking.
public class SurfaceTargetController : TargetController
- Inheritance
-
SurfaceTargetController
- Inherited Members
Methods
AlignTo(Vector2)
Aligns the target point for tracking to a specified point in the camera image. pointInView must be normalized to [0, 1]^2.
Available only when this is Target.
public void AlignTo(Vector2 pointInView)
Parameters
pointInView