useGyro(...)

useGyro(val: boolean): this;

Sets if the TargetInstance should use the device's gyroscope hardware to aid in tracking.

If set to true, objects relative to the target will attempt to keep their position when the user looks around, even when image tracking fails. This is useful when dealing with large objects that will not fit into frame without requiring the user to alter the direction they are facing.

Parameters

Parameter Type Description
val boolean Whether the TargetInstance should use the gyro or not.
zapcode branded_zapcode i