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
scene.maxScalingDistance
- float
The distance, in meters, at which objects will keep their size on the screen even when the user moves further away.
If the user is further than maxScalingDistance, the object will not appear any smaller than the size it took on at maxScalingDistance. Must be a positive number.
Default Value: 20000
scene.minScalingDistance
- float
The distance, in meters, at which objects will start to appear smaller on the screen when the user moves further away.
If the user is closer than minScalingDistance, the object will not appear any bigger than the size it took on at minScalingDistance. Must be a positive number.
Default Value: 10
scene.scalingFactor
- float
The amount of scaling that is applied between minScalingDistance and maxScalingDistance.
The scalingFactor controls the size the object takes on at maxScalingDistance, in percentage of the size it took on at minScalingDistance.
Must be in the range of [0,1].
Set the scalingFactor to 1 if no scaling should be applied for the objects.
Must be in the range of [0,1].
Set the scalingFactor to 1 if no scaling should be applied for the objects.
Default Value: 0.1
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