clickBehavior
- string
clickBehavior controls what should be considered a click. The following options are available:
- AR.CONST.CLICK_BEHAVIOR.CLICK: the platform considers a click only when the user presses and releases the screen at the same screen region. The click is fired after the user releases the finger from the screen
- AR.CONST.CLICK_BEHAVIOR.TOUCH_DOWN: click fires as soon as the user touches the screen
- AR.CONST.CLICK_BEHAVIOR.TOUCH_UP: click fires as soon as the user puts the finger off the screen, regardless of where the user started the touch on the screen.
Default Value: AR.CONST.CLICK_BEHAVIOR.CLICK
scene.cullingDistance
- int
The maximum distance at which objects are visible in the scene, in meters. If an object's distance to the user is further than the culling distance,
the object will not be visible in the scene.
Default Value: 50000
services.camera
- boolean
Controls if the camera is active or not.
If the property is set to true, the camera is visible on the screen, and computer vision components are activated. If the property is set to false, the camera will be disabled, a black background will be visible and computer vision components are specifically deactivated.
It is recommended to disable the camera service temporarily when fullscreen HTML is shown. This reduces power consumption and increases performance.
If the property is set to true, the camera is visible on the screen, and computer vision components are activated. If the property is set to false, the camera will be disabled, a black background will be visible and computer vision components are specifically deactivated.
It is recommended to disable the camera service temporarily when fullscreen HTML is shown. This reduces power consumption and increases performance.
Default Value: true
services.sensors
- boolean
Controls if the sensors are active or not. Sensors include GPS, mangetometer, accelerometer and gyroscope.
If the property is set to true, any geo-related components (such as GeoObjects and ActionRanges) are active. If the property is set to false, any geo-related components will not be visible on the screen, and triggers will not fire.
It is recommended to disable the sensors service when only computer vision components are used. This reduces power consumption and increases performance.
If the property is set to true, any geo-related components (such as GeoObjects and ActionRanges) are active. If the property is set to false, any geo-related components will not be visible on the screen, and triggers will not fire.
It is recommended to disable the sensors service when only computer vision components are used. This reduces power consumption and increases performance.
Default Value: true