2013-03-04 22 views
-2

如何使用three.js庫onMouseClick將標籤添加到結構中?如何在three.js onMouseClick中的結構中添加標籤?

+1

https://www.google.fi/search?q=three.js+label http://stackoverflow.com/search?q=three.js+text http://stackoverflow.com/search ?q = three.js + label http://stackoverflow.com/questions/11447821/how-to-add-label-to-a-three-mesh http://stackoverflow.com/questions/13683727/three-js -text-next-to-line http://stackoverflow.com/questions/15038956/how-do-i-attach-a-text-to-the-vertices-of-a-cube-in-three-js- webgl-also-can-i for starters? – yaku 2013-03-04 13:56:20

+0

啊我看到謝謝:D – 2013-03-07 19:31:02

回答

0

在onmousedown事件中拍攝射線並檢測相交的物體。然後你可以打開一個div。請按照之前詢問的this問題。

+0

謝謝。它幫助了很多! – 2013-03-07 19:30:46