Show in Contents
![](../images/show_in_contents.gif)
Add to Favorites
![](../images/add_favorite.gif)
Home: FBX SDK Programmers Guide
Building and running SceneTreeView
![](../images/nav-prev-xp.gif)
Tutorial 2: Traversing the scene graph
![](../images/nav-up-xp.gif)
Setting up the scene
The main logic
SceneTreeView does the following:
- Accepts from the user interface the name and path of the file to be imported.
- Loads the import file into the scene.
- Gets a reference to the root node of the scene.
Starting with the root node, SceneTreeView recursively:
- Displays the name and attribute type of the node.
- Displays selected properties of the node, including properties that are stored in the node attribute.
- Gets a reference to each of the children of that node.
Before terminating, it cleans up by destroying all FBX objects.