defaultScale(...)

defaultScale(val: number): this;

Sets the default scale of the TargetFinder.

The default scale indicates the physical size of the target and is necessary in order to render the objects on the target at the correct depth and size in a 3D stereoscopic headset. For more information see Tracking in Headsets.

The default scale determines the physical size of 1 unit of target space in meters. Thus, since target space ranges from -1 at the bottom of the target image to +1 at the top, a defaultScale of 1 implies that the target is 2 meters in height. A target that is 40cm tall should have a defaultScale value of 0.2.

Parameters

Parameter Type Description
val number The scale to set the TargetFinder to.
zapcode branded_zapcode i