Panda3D
Functions | Variables
load_egg_file.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "pandaNode.h"
#include "coordinateSystem.h"
#include "eggData.h"

Go to the source code of this file.

Functions

BEGIN_PUBLISH EXPCL_PANDA_EGG2PG PT (PandaNode) load_egg_file(const Filename &filename
 A convenience function; the primary interface to this package. More...
 
EXPCL_PANDA_EGG2PG PT (PandaNode) load_egg_data(EggData *data
 Another convenience function; works like load_egg_file() but starts from an already-filled EggData structure. More...
 

Variables

BEGIN_PUBLISH EXPCL_PANDA_EGG2PG CoordinateSystem cs = CS_default
 
BEGIN_PUBLISH EXPCL_PANDA_EGG2PG CoordinateSystem BamCacheRecordrecord = nullptr)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2002-02-26

Definition in file load_egg_file.h.

Function Documentation

◆ PT() [1/2]

BEGIN_PUBLISH EXPCL_PANDA_EGG2PG PT ( PandaNode  ) const &

A convenience function; the primary interface to this package.

Loads up the indicated egg file, and returns the root of a scene graph. Returns NULL if the file cannot be read for some reason.

Also see the EggLoader class, which can exercise a bit more manual control over the loading process.

◆ PT() [2/2]

EXPCL_PANDA_EGG2PG PT ( PandaNode  )

Another convenience function; works like load_egg_file() but starts from an already-filled EggData structure.

The structure is destroyed in the loading.