Panda3D
Public Member Functions
XFileMaker Class Reference

This class converts a Panda scene graph into a .X file and writes it out. More...

#include "xFileMaker.h"

List of all members.

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.

Detailed Description

This class converts a Panda scene graph into a .X file and writes it out.

Definition at line 39 of file xFileMaker.h.


Member Function Documentation

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 74 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 61 of file xFileMaker.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations