Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   TCastleViewport.PositionFromWorld utility, to adjust UI position to something in 3D v (https://www.delphipraxis.net/210031-tcastleviewport-positionfromworld-utility-adjust-ui-position-something-3d-v.html)

DP News-Robot 19. Feb 2022 05:02

TCastleViewport.PositionFromWorld utility, to adjust UI position to something in 3D v
 
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 …


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz