API Docs for: 2.0.0
Show:

FrameMarkerTarget Class

Extends TrackingTarget
Module: ARGON

An opaque reference to a FrameMarker Vision Target

Constructor

FrameMarkerTarget

()

Methods

addTrackedObject

(
  • arObject
)

Inherited from TrackingTarget:

adds a TrackedObject to the target. The transforms of TrackedObjects added using this method are automatically updated whenever the TrackingTarget receives new data.

Parameters:

onUpdateTransform

(
  • inTransform
)
private

Inherited from TrackingTarget:

callback executed in response to the trackables transform being updated

Parameters:

removeTrackedObject

(
  • arObject
)

Inherited from TrackingTarget:

removes a TrackedObject from this TrackingTarget. Once this method is called, the TrackedObject will no longer be updated.

Parameters:

setTrackableId

(
  • trackableId
)
private

Inherited from TrackingTarget:

sets the trackable id associated with this target

Parameters:

  • trackableId String

    a string used to uniquely identify the target

updateTrackedObjects

() private

Inherited from TrackingTarget:

Updates all TrackedObjects associated with this TrackingTarget.

Properties

_lastVisible

Boolean private

Inherited from TrackingTarget:

Private flag indicating whether the TrackedObject was visible during the last frame

_numFramesNotVisible

Number private

Inherited from TrackingTarget:

Internal state variable to keep track of the number of frames the TrackedObjects target is not visible

_visible

Boolean private

Inherited from TrackingTarget:

Private flag indicating whether the TrackedObject is visible during the current frame

markerId

Number

The Marker ID of this Frame Marker. Frame markers can range from 0-256

markerName

Number

Arbitrary name for the marker

markerSize

NUmber

Size of the marker in millimeters.

trackableId

String

Inherited from TrackingTarget:

a string used to uniquely identify the target

Default: 0

trackedObjects

Array

Inherited from TrackingTarget:

Array of TrackedObjects currently bound to the TrackingTarget

Default: none