To support successful position of 3D objects within 2D scene and to support successful mix of 2D and 3D components within a single scene, coordinates conversion API is needed.
It seems that the minimal necessary amount of methods are these two:
- PerspectiveCamera.localToScene(Node node, Point2D point) converting 2D point (z = 0) in given node local coordinates into into 2D point on projection plane (z = 0)
- PerspectiveCamera.SceneToLocal(Node node, Point2D point) converting 2D point on projection plane into 2D point on the z = 0 plane of the given node local coordinates.