Panda3D
Classes | Functions
panda3d::egg Namespace Reference

Classes

class  EggAnimData
 A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers. More...
 
class  EggAnimPreload
 This corresponds to an <AnimPreload> entry. More...
 
class  EggAttributes
 The set of attributes that may be applied to vertices as well as polygons, such as surface normal and color. More...
 
class  EggBin
 A type of group node that holds related subnodes. More...
 
class  EggBinMaker
 This is a handy class for collecting related nodes together. More...
 
class  EggComment
 A comment that appears in an egg file within a <Comment> entry. More...
 
class  EggCompositePrimitive
 The base class for primitives such as triangle strips and triangle fans, which include several component triangles, each of which might have its own color and/or normal. More...
 
class  EggCoordinateSystem
 The <CoordinateSystem> entry at the top of an egg file. More...
 
class  EggCurve
 A parametric curve of some kind. More...
 
class  EggData
 This is the primary interface into all the egg data, and the root of the egg file structure. More...
 
class  EggExternalReference
 Defines a reference to another egg file which should be inserted at this point. More...
 
class  EggFilenameNode
 This is an egg node that contains a filename. More...
 
class  EggGroup
 The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nodes. More...
 
class  EggGroupNode
 A base class for nodes in the hierarchy that are not leaf nodes. More...
 
class  EggGroupUniquifier
 This is a specialization of EggNameUniquifier to generate unique names for EggGroup nodes. More...
 
class  EggLine
 A line segment, or a series of connected line segments, defined by a <Line> entry. More...
 
class  EggMaterial
 
class  EggMaterialCollection
 This is a collection of materials by MRef name. More...
 
class  EggNamedObject
 This is a fairly low-level base class–any egg object that has a name. More...
 
class  EggNameUniquifier
 This is a handy class for guaranteeing unique node names in an egg hierarchy. More...
 
class  EggNode
 A base class for things that may be directly added into the egg hierarchy. More...
 
class  EggNurbsCurve
 A parametric NURBS curve. More...
 
class  EggNurbsSurface
 A parametric NURBS surface. More...
 
class  EggObject
 The highest-level base class in the egg directory. More...
 
class  EggPatch
 A single "patch", a special primitive to be rendered only with a tessellation shader. More...
 
class  EggPoint
 A single point, or a collection of points as defined by a single <PointLight> entry. More...
 
class  EggPolygon
 A single polygon. More...
 
class  EggPolysetMaker
 A specialization on EggBinMaker for making polysets that share the same basic rendering characteristic. More...
 
class  EggPoolUniquifier
 This is a specialization of EggNameUniquifier to generate unique names for textures, materials, and vertex pools prior to writing out an egg file. More...
 
class  EggPrimitive
 A base class for any of a number of kinds of geometry primitives: polygons, point lights, nurbs patches, parametrics curves, etc. More...
 
class  EggRenderMode
 This class stores miscellaneous rendering properties that is associated with geometry, and which may be set on the geometry primitive level, on the group above it, or indirectly via a texture. More...
 
class  EggSAnimData
 Corresponding to an <S$Anim> entry, this stores a single column of numbers, for instance for a morph target, or as one column in an EggXfmSAnim. More...
 
class  EggSurface
 A parametric surface of some kind. More...
 
class  EggSwitchCondition
 This corresponds to a <SwitchCondition> entry within a group. More...
 
class  EggSwitchConditionDistance
 A SwitchCondition that switches the levels-of-detail based on distance from the camera's eyepoint. More...
 
class  EggTable
 This corresponds to a <Table> or a <Bundle> entry. More...
 
class  EggTexture
 Defines a texture map that may be applied to geometry. More...
 
class  EggTextureCollection
 This is a collection of textures by TRef name. More...
 
class  EggTransform
 This represents the <Transform> entry of a group or texture node: a list of component transform operations, applied in order, that describe a net transform matrix. More...
 
class  EggTriangleFan
 A connected fan of triangles. More...
 
class  EggTriangleStrip
 A connected strip of triangles. More...
 
class  EggUserData
 This is a base class for a user-defined data type to extend egg structures in processing code. More...
 
class  EggVertex
 Any one-, two-, three-, or four-component vertex, possibly with attributes such as a normal. More...
 
class  EggVertexAux
 The set of named auxiliary data that may or may not be assigned to a vertex. More...
 
class  EggVertexPool
 A collection of vertices. More...
 
class  EggVertexUV
 The set of UV's that may or may not be assigned to a vertex. More...
 
class  EggXfmAnimData
 Corresponding to an <Xfm$Anim> entry, this stores a two-dimensional table with up to nine columns, one for each component of a transformation. More...
 
class  EggXfmSAnim
 This corresponds to an <Xfm$Anim_S$> entry, which is a collection of up to nine <S$Anim> entries that specify the nine components of a transformation. More...
 

Functions

PandaNode loadEggData (EggData data, CoordinateSystem cs)
 
PandaNode loadEggFile (const Filename filename, CoordinateSystem cs, BamCacheRecord record)
 

Function Documentation

◆ loadEggData()

PandaNode panda3d::egg::loadEggData ( EggData  data,
CoordinateSystem  cs 
)

◆ loadEggFile()

PandaNode panda3d::egg::loadEggFile ( const Filename  filename,
CoordinateSystem  cs,
BamCacheRecord  record 
)