producePositionTracker

Creates a position tracker scene object attached to a sense data source

Return

Returns a MapSceneObject or null if any of the parameters is invalid.

Parameters

dataSource

The input position & orientation data source for the object

data

The object data

scene

The scene where the object is created ( optional ). If not provided the default scene is used


external fun producePositionTracker(dataSource: DataSource, scene: MapScene? = null): Pair<MapSceneObject?, ErrorCode>?

Creates a predefined position tracker scene object attached to a sense data source

Return

Returns a Pair

Parameters

dataSource

The input position & orientation data source for the object

scene

The scene where the object is created ( optional ). If not provided the default scene is used