panda3d.egg.EggVertexAux

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

EggVertexAux

setName(name: str) → None
getAux() → LVecBase4d

Returns the auxiliary data quadruple.

Return type

LVecBase4d

setAux(aux: LVecBase4d) → None

Sets the auxiliary data quadruple.

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

EggVertexAux

write(out: ostream, indent_level: int) → None
compareTo(other: EggVertexAux) → int

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

static getClassType() → TypeHandle
Return type

TypeHandle