Registriert seit: 4. Jun 2010
15.671 Beiträge
|
TCastleViewport.PositionFromWorld utility, to adjust UI position to something in 3D v
19. Feb 2022, 05:02
New method allows to map a viewport (3D) position into user interface (2D) position. This allows to: Place UI element exactly where some 3D thing is. The example examples/viewport_and_scenes/position_from_world shows how to position a so that it always remains at the middle, regardless of how you move and zoom the camera. It comes down to …
|