Class SurfaceTargetController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the surface target's MonoBehaviour in the scene. The surface target is a virtual node that represents the relative node for camera movement in surface tracking.
public class SurfaceTargetController : TargetController
- Inheritance
-
SurfaceTargetController
- Inherited Members
Methods
AlignTo(Vector2)
Aligns the tracking target point to the specified point in the camera image. pointInView needs to be normalized to [0, 1]^2.
Only available when itself is Target.
public void AlignTo(Vector2 pointInView)
Parameters
pointInView