Panda3D
|
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. | |
bool | write (const Filename &filename) |
Writes the .x file data to the indicated filename; returns true on success, false otherwise. | |
This class converts a Panda scene graph into a .X file and writes it out.
Definition at line 36 of file xFileMaker.h.
XFileMaker::XFileMaker | ( | ) |
Definition at line 36 of file xFileMaker.cxx.
XFileMaker::~XFileMaker | ( | ) |
Definition at line 45 of file xFileMaker.cxx.
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 63 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 53 of file xFileMaker.cxx.
References XFile::write().