1

Is there a way to get the pixel positions of objects in the scene? SparkAR internally obviously knows where to draw an object, so do they offer an interface to use this information?

FooTheBar
  • 818
  • 1
  • 9
  • 20

1 Answers1

0

I think you can use this.sceneObject.worldTransform for this.

Mark Knol
  • 9,663
  • 3
  • 29
  • 44
  • are you sure? I did not find anything about pixelcoordinates in the docu (https://sparkar.facebook.com/ar-studio/learn/reference/classes/scenemodule.worldtransform/) – FooTheBar Sep 05 '20 at 13:10