This class converts a Panda scene graph into a .X file and writes it out. More...
#include "xFileMaker.h"
Public Member Functions | |
bool | add_tree (EggData *egg_data) |
Adds the egg tree rooted at the indicated node to the X structure. More... | |
bool | write (const Filename &filename) |
Writes the .x file data to the indicated filename; returns true on success, false otherwise. More... | |
This class converts a Panda scene graph into a .X file and writes it out.
Definition at line 36 of file xFileMaker.h.
bool XFileMaker::add_tree | ( | EggData * | egg_data | ) |
Adds the egg tree rooted at the indicated node to the X structure.
This may be somewhat destructive of the egg tree. Returns true on success, false on failure.
Definition at line 64 of file xFileMaker.cxx.
References EggBinMaker::make_bins().
bool XFileMaker::write | ( | const Filename & | filename | ) |
Writes the .x file data to the indicated filename; returns true on success, false otherwise.
Definition at line 54 of file xFileMaker.cxx.