from panda3d.egg import EggVertexAux
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

__init__(copy: EggVertexAux) → None
__init__(name: str, aux: LVecBase4d) → None
assign(copy: EggVertexAux) → EggVertexAux
Return type


compareTo(other: EggVertexAux) → int

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

getAux() → LVecBase4d

Returns the auxiliary data quadruple.

Return type


static getClassType() → TypeHandle
Return type


static makeAverage(first: EggVertexAux, second: EggVertexAux) → EggVertexAux

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.

Return type


setAux(aux: LVecBase4d) → None

Sets the auxiliary data quadruple.

setName(name: str) → None
write(out: ostream, indent_level: int) → None