![]() |
Trouble with Adding Item to Screen
Hi, I want to append an object to the screen, such as a 2-dimensional box. I asked this question before on the forum and was given the view link answer. This doesn't really solve what I want, because if the user maximizes the window, the box does not move or resize with the window change.
I want to have a box so that it will be connected to the screen and act as a text box would and resize if a window resizes. Any Suggestion? Thank you, Jassel41 |
You can register a callback for viz.WINDOW_SIZE_EVENT and resize your object whenever the window is resized.
|
Thanks, the main thing I wanted to add was a rectangle to the screen. I ended up simply using a text Quad and scaled it accordingly.
Thanks |
All times are GMT -7. The time now is 02:38 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC