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