setDontRenderObject only counts for last call
by Timbo · in Technical Issues · 08/25/2010 (9:38 am) · 4 replies
I have two scenewindows with one scenegraph, where one scenewindow is like a minimap of the other scenewindow.
Now I want to set two objects invisible in my minimap. When I use "setDontRenderObject", it seems that only the last call of this function counts, only the last object will not be rendered, the first ones appear in the window.
Is this intended? Or am I using this function in a wrong way?
Now I want to set two objects invisible in my minimap. When I use "setDontRenderObject", it seems that only the last call of this function counts, only the last object will not be rendered, the first ones appear in the window.
Is this intended? Or am I using this function in a wrong way?
minimap.setDontRenderObject(globalSceneObject.timer); minimap.setDontRenderObject(globalSceneObject.previewImage); minimap.setDontRenderObject(globalSceneObject.cameraAreaBorder);
#2
I want to "disable" two or more objects in one scenewindow while these objects should remain in the other scenewindow.
08/26/2010 (7:39 am)
I do not think that this is the right function for my problem, because .setEnabled will disable the object in the scenegraph, and both scenewindows use this specific scenegraph.I want to "disable" two or more objects in one scenewindow while these objects should remain in the other scenewindow.
#3
08/26/2010 (11:25 pm)
opps...
#4
But why? Is there a quick way to upgrade this for more than one object?
08/30/2010 (9:15 am)
I looked it up in t2dSceneWindow.cc, the functionality seems to be limited to just one object...But why? Is there a quick way to upgrade this for more than one object?
Torque 3D Owner Jeramy79