Vizard 7 » Command Index » Vizard objects » scene » <scene>.getChildren
7.7

<scene>.getChildren

Returns a list of nodes belonging to the scene

<scene>.getChildren(  
mode = viz.WORLD  
all = False  
)  
mode = viz.WORLD
Can be viz.WORLD or viz.SCREEN
all = False
If True, returns all nodes in the scene, otherwise returns root nodes.

Remarks

Returns a list of nodes objects that have been added to this scene. The 'all' parameter controls whether all nodes should be returned or only root nodes.

Return Value

A list of all the nodes objects that have been added to this scene.