Panda3D
Public Member Functions | List of all members
XFileMaker Class Reference

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...
 

Detailed Description

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

Definition at line 36 of file xFileMaker.h.

Member Function Documentation

◆ add_tree()

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().

◆ write()

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.


The documentation for this class was generated from the following files: