WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Mouse 2D coordinate to viz world 3D coordinate (https://forum.worldviz.com/showthread.php?t=2309)

james007 10-08-2009 11:05 AM

Mouse 2D coordinate to viz world 3D coordinate
 
Hi,

I am using mouse to navigate in Viz world 3D coordinate. How could i convert
mouse 2D to viz 3D coordinate system?

Thanks.

James

farshizzo 10-08-2009 12:11 PM

You can use the viz.MainWindow.screenToWorld() command to convert 2D screen coordinates to 3D world coordinates. Have a look in the docs for more information.


All times are GMT -7. The time now is 03:54 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC