Skip to content

Commit

Permalink
Update setSensor API
Browse files Browse the repository at this point in the history
  • Loading branch information
hobinjk-ptc committed Jul 24, 2024
1 parent f90aaa2 commit 5237d64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/objectDefaultFiles/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -1854,13 +1854,13 @@

/**
* @type {SensorPosition} {x: number, y: number, z: number}
* @param {SensorPosition} position
* @param {{position: SensorPosition, points: Array}} sensor - description of sensor
*/
this.analyticsSetSensor = function analyticsSetSensor(position) {
this.analyticsSetSensor = function analyticsSetSensor(sensor) {
postDataToParent({
analyticsSetSensor: {
frame: spatialObject.frame,
position,
sensor,
},
});
};
Expand Down

0 comments on commit 5237d64

Please sign in to comment.