SetWorldScale

Summary

This function allows you to specify a value in which to convert real-world measurements into ARDI-AR world measurements.

Parameters

Scale

Type: Float Default: 34

The scale in which to convert from entered units to in-world units. With a scale of 25, 1 unit will be equivalent to 1 millimeter.

Units

Type: Text Default: mm

The measurement metric in which will be referred to when other components of ARDI-AR need to tell the user about distance information.

Examples

<setworldscale scale="340" measurement="m" />

The above code will make 1 unit work 340 units within ARDI-AR and set the displayed measurements to m.

See Also