15 #ifndef XFILEMATERIAL_H
16 #define XFILEMATERIAL_H
18 #include "pandatoolbase.h"
A base class for any of a number of kinds of geometry primitives: polygons, point lights...
This is the base class for all three-component vectors and points.
void apply_to_egg(EggPrimitive *egg_prim, XFileToEggConverter *converter)
Applies the properties in the material to the indicated egg primitive.
void set_from_egg(EggPrimitive *egg_prim)
Sets the structure up from the indicated egg data.
XFileDataNode * make_x_material(XFileNode *x_meshMaterials, const string &suffix)
Creates a Material object for the material list.
A single node of an X file.
The name of a file, such as a texture file or an Egg file.
This is the base class for all three-component vectors and points.
bool has_material() const
Returns true if this material represents something meaningful, or false if the default material is su...
An STL function object class, this is intended to be used on any ordered collection of class objects ...
This represents an X file "material", which consists of a color, lighting, and/or texture specificati...
This is an abstract base class for an XFileNode which is also an XFileDataObject. ...
bool fill_material(XFileDataNode *obj)
Fills the structure based on the raw data from the X file's Material object.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
bool has_texture() const
Returns true if this material includes a texture map, false otherwise.