class EggVertexAux

Bases: EggNamedObject

The set of named auxiliary data that may or may not be assigned to a vertex. Panda will import this data and create a custom column for it in the vertex data, but will not otherwise interpret it. Presumably, a shader will process the data later.

Inheritance diagram

Inheritance diagram of EggVertexAux

explicit EggVertexAux(std::string const &name, LVecBase4d const &aux)
EggVertexAux(EggVertexAux const &copy)
int compare_to(EggVertexAux const &other) const

An ordering operator to compare two vertices for sorting order. This imposes an arbitrary ordering useful to identify unique vertices.

LVecBase4d const &get_aux(void) const

Returns the auxiliary data quadruple.

static TypeHandle get_class_type(void)
static PointerTo<EggVertexAux> make_average(EggVertexAux const *first, EggVertexAux const *second)

Creates a new EggVertexAux that contains the averaged values of the two given objects. It is an error if they don’t have the same name.

void set_aux(LVecBase4d const &aux)

Sets the auxiliary data quadruple.

void set_name(std::string const &name)
void write(std::ostream &out, int indent_level) const