ARTranslateControl
class ARTranslateControl implements ARControl
Model's translation(position) control for WebARControl
Properties
Methods
constructor
new ARTranslateControl(options)
Create new instance of ARTranslateControl
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
options | ARTranslateControlOption | ✔️ | {} | Options |
Properties
enabled
Whether this control is enabled or not
floorPosition
Last detected floor position
hoverHeight
How much model will float from the floor, in meter.
Methods
enable
Enable this control
disable
Disable this control