InfsoftTracker

InfsoftTracker

ARKit tracker extended with Infsoft indoor tracking.

Extends

Members

active :boolean

Inherited From:

Is the tracker active or not.

Type:
  • boolean

groundConfirmed :boolean

Inherited From:

Is the ground position already confirmed.

Type:
  • boolean

name :string

Inherited From:

Name of the tracker.

Type:
  • string

options :InfsoftOptions

Current tracking options.

Type:
  • InfsoftOptions

targets :Array.<TrackingTarget>

Inherited From:

The list of tracking targets.

Type:

tracking :boolean

Inherited From:

Current target tracking status.

Type:
  • boolean

Methods

(async) activate()

Inherited From:

Activate the tracker. Disables all other currently active trackers.

(async) confirmGroundPosition()

Inherited From:

Confirms ground position to start feature tracking.

(async) deactivate()

Inherited From:

Deactivate the tracker.

isActive() → {boolean}

Inherited From:

Is the tracker currently active.

Returns:

True if active.

Type
boolean

off(eventName, eventHandler)

Inherited From:
Parameters:
Name Type Description
eventName string
eventHandler function

on(eventName, eventHandler)

Inherited From:
Parameters:
Name Type Description
eventName string
eventHandler function

once(eventName, eventHandler)

Inherited From:
Parameters:
Name Type Description
eventName string
eventHandler function

(async) reset()

Inherited From:

Reset the tracker. Shorthand function for Tracker#deactivate and Tracker#activate.

setOptions(newOptions)

Set the tracker's (optional) options.

Parameters:
Name Type Description
newOptions InfsoftOptions

(async) setTrackingTargets(newTargets)

Inherited From:

Update the tracking target config. This will override existing targets and remove already learned targets.

Parameters:
Name Type Description
newTargets Array.<TargetConfig>

Type Definitions

InfsoftOptions

Properties:
Name Type Attributes Description
autoConfirmGroundPosition boolean <nullable>

automatically confirm ground position when target is found.

Options how the tracker should behave.

Type:
  • Object

Events

trackingStatusChanged

Inherited From:

Fired when a tracking target is found or lost.

Parameters:
Name Type Description
info object
Properties
Name Type Description
target TrackingTarget
trackedTargets Array.<TrackingTarget>
untrackedTargets Array.<TrackingTarget>

trackingTargetNew

Inherited From:

Fired when an unregistered tracking target is found.

Parameters:
Name Type Description
target TrackingTarget

trackingTargetStatusChanged

Inherited From:

Fired when a tracking target is found or lost.

Parameters:
Name Type Description
target TrackingTarget