This action grabs a subchild from a child object
<node3d>.getChild( | |
name | |
flags = viz.CHILD_DEFAULT | |
) |
Flag | Description |
viz.CHILD_INSERT_TRANSFORM | When creating the new node object, insert the node transform above the found child node. |
viz.CHILD_REPLACE_TRANSFORM | When creating the new node object, replace the found child node with the new node transform. The child node must be an OSG Group or Transform node. If the child node is a Transform node, the transform matrix will be preserved. |
viz.CHILD_DEFAULT | The default flag is viz.CHILD_INSERT_TRANSFORM |
Note: This command does not work on underlying OpenSceneGraph osg::Drawable objects. The specified name must refer to an osg::Node object.