#1
|
|||
|
|||
getChild() function - how do I know the children?
I want to change the behavior of elements of some complex 3d model I have, and I understood the way to do it is with the getChild function. But how do I know which children does my model (/Node3d instance) has? And how do I know (for example) which actions they can perform?
Thanks a lot, Roy |
#2
|
|||
|
|||
Where did you get the model from? Usually, the modeler will assign specific names to the objects in the scene before exporting them. If you upgrade to Vizard 4.0, it comes with a tool called Inspector which allows you to view the names of all the child nodes in the model.
In Vizard 3.0, you can use the node.getNodeNames() command to get a list of all the names. Regarding knowing which actions they can perform, I'm not sure I understand what you mean. Could you be more specific? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Applying mask using Stencil Function | goro | Vizard | 1 | 06-01-2012 10:21 PM |
return variable from keypress function | starbug | Vizard | 2 | 01-07-2010 11:14 AM |
window.pick function over sub-window | omidbrb | Vizard | 4 | 10-02-2009 04:23 AM |
Do you know how to send a value for 'pool' to the onActionEnd function? | ghazanfar | Vizard | 1 | 03-22-2007 10:25 AM |
node3d.center function | tavaksai | Vizard | 3 | 08-13-2004 11:05 AM |