After taking a closer look at your code snippet, it has more similarities to one of the examples included in the Communicator package - that being the 3D Text Insertion example - than to the Sprite Manager class. To view the 3D Text Insertion example, please do the following:
- Launch the server by double-clicking start_server.bat found in the directory HOOPS_Communicator_2024.5.0\quick_start
- Load the example in the Web Viewer by clicking the URL:
http://localhost:11180/text_insertion.html?viewer=csr
As the example demonstrates, the textbox can be selected and moved in 3D space. The code is provided in text_insertion.js found in HOOPS_Communicator_2024.5.0\web_viewer\examples\scripts\examples
Thanks,
Tino