produce Position Tracker
fun producePositionTracker(dataSource: DataSource, data: SceneObjectDataList, scene: MapScene? = null): MapSceneObject?
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
data Source
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
data Source
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