Skip to main content

ARTranslateControl

class ARTranslateControl implements ARControl

Model's translation(position) control for WebARControl

constructor

new ARTranslateControl(options)

Create new instance of ARTranslateControl

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
optionsARTranslateControlOption✔️{}Options

Properties

enabled

readonly

Whether this control is enabled or not

floorPosition

readonly

Last detected floor position

hoverHeight

How much model will float from the floor, in meter.

Methods

enable

Enable this control

disable

Disable this control