Show in Contents
Add to Favorites
Home: FBX SDK Help
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, SceneTreeView
cleans up by destroying all FBX objects.