Convert 3D world (arcore anchor/pose) to its corresponding 2D screen coordinates

后端 未结 2 1652
南笙
南笙 2021-02-01 11:06

I\'m struggling to get this transformation. Given an anchor Pose in arcore how can I obtain its corresponding 2D coordinates in the screen?

2条回答
  •  忘了有多久
    2021-02-01 11:25

    arSceneView.getScene().getCamera().worldToScreenPoint(); worked for me as described here.

提交回复
热议问题