example_element_get_graph
Returns the scene graph below a given element. This is a JavaScript version of the native element_get_graph command and has identical functionality. It is provided as an example of how to traverse the scene graph from a V8 command.
arguments
- "element_name" : String
The root element to retrieve, must be an Instance, Group or Scene.
- "include_bounding_boxes" : Boolean (default: false)
If true then the bounding box for each element is also retrieved.
- "include_options" : Boolean (default: false)
If the root element is a scene then also include the scene options in the root element.
return value
MapMap containing the scene graph.