Show in Contents

Add to Favorites

Home: FBX SDK Programmers Guide
Building and running SceneTreeView

Tutorial 2: Traversing the scene graph

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.