FloorOffsetTrackingProvider

FloorOffsetTrackingProvider

Interface that trackers inherit that use different targets for tracking.

Members

floorOffset :number

Get the current floor offset in mm (default value: 1400).
Only available if "scaleEstimation" is set to true in tracker config.

Type:
  • number

Methods

(async) getFloorOffset() → {number}

Retrieves the current floor offset.
Only available if "scaleEstimation" is set to true in tracker config.

Returns:

current floor offset.

Type
number

(async) setFloorOffset(height)

Sets the current floor offset. The scene will be adjusted vertically according to this offset.
Only available if "scaleEstimation" is set to true in tracker config.

Parameters:
Name Type Description
height number