Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | List of all members
EggSaver Class Reference

Converts the scene graph beginning at the indicated node into an EggData structure, for writing to an egg file. More...

#include "eggSaver.h"

Public Member Functions

 EggSaver (EggData *data=NULL)
 
void add_node (PandaNode *node)
 Adds the scene graph rooted at the indicated node to the accumulated egg data within this object. More...
 
EggDataget_egg_data () const
 Returns the EggData populated within this class. More...
 

Detailed Description

Converts the scene graph beginning at the indicated node into an EggData structure, for writing to an egg file.

The conversion is not necessarily complete (some Panda or egg constructs are not fully supported by this class).

Definition at line 56 of file eggSaver.h.

Member Function Documentation

void EggSaver::add_node ( PandaNode node)

Adds the scene graph rooted at the indicated node to the accumulated egg data within this object.

Call get_egg_data() to retrieve the result.

Definition at line 96 of file eggSaver.cxx.

EggData * EggSaver::get_egg_data ( ) const
inline

Returns the EggData populated within this class.

Definition at line 22 of file eggSaver.I.


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