EggVertexUV

from panda3d.egg import EggVertexUV
class EggVertexUV

Bases: EggNamedObject

The set of UV’s that may or may not be assigned to a vertex. To support multitexturing, there may be multiple sets of UV’s on a particular vertex, each with its own name.

Inheritance diagram

Inheritance diagram of EggVertexUV

__init__(*args, **kwargs)
assign()

C++ Interface: assign(const EggVertexUV self, const EggVertexUV copy)

/**

*/

clearBinormal()

C++ Interface: clear_binormal(const EggVertexUV self)

/**

*/

clearTangent()

C++ Interface: clear_tangent(const EggVertexUV self)

/**

*/

clear_binormal()

C++ Interface: clear_binormal(const EggVertexUV self)

/**

*/

clear_tangent()

C++ Interface: clear_tangent(const EggVertexUV self)

/**

*/

compareTo()

C++ Interface: compare_to(EggVertexUV self, const EggVertexUV other)

/**
  • An ordering operator to compare two vertices for sorting order. This

  • imposes an arbitrary ordering useful to identify unique vertices.

*/

compare_to()

C++ Interface: compare_to(EggVertexUV self, const EggVertexUV other)

/**
  • An ordering operator to compare two vertices for sorting order. This

  • imposes an arbitrary ordering useful to identify unique vertices.

*/

filterName()

C++ Interface: filter_name(str name)

/**
  • Returns the actual name that should be set for a given name string.

  • Usually this is the same string that is input, but for historical reasons

  • the texture coordinate name “default” is mapped to the empty string.

*/

filter_name()

C++ Interface: filter_name(str name)

/**
  • Returns the actual name that should be set for a given name string.

  • Usually this is the same string that is input, but for historical reasons

  • the texture coordinate name “default” is mapped to the empty string.

*/

getBinormal()

C++ Interface: get_binormal(EggVertexUV self)

/**

*/

getClassType()

C++ Interface: get_class_type()

getNumDimensions()

C++ Interface: get_num_dimensions(EggVertexUV self)

/**
  • Returns the number of components of the texture coordinate set. This is

  • either 2 (the normal case) or 3 (for a 3-d texture coordinate).

*/

getTangent()

C++ Interface: get_tangent(EggVertexUV self)

/**

*/

getTangent4()

C++ Interface: get_tangent4(EggVertexUV self)

/**

*/

getUv()

C++ Interface: get_uv(EggVertexUV self)

/**
  • Returns the texture coordinate pair, if get_num_dimensions() is 2.

*/

getUvw()

C++ Interface: get_uvw(EggVertexUV self)

/**
  • Returns the texture coordinate triple, if get_num_dimensions() is 3. This

  • is also legal to call if get_num_dimensions() is 2 (but the last dimension

  • will be zero).

*/

get_binormal()

C++ Interface: get_binormal(EggVertexUV self)

/**

*/

get_class_type()

C++ Interface: get_class_type()

get_num_dimensions()

C++ Interface: get_num_dimensions(EggVertexUV self)

/**
  • Returns the number of components of the texture coordinate set. This is

  • either 2 (the normal case) or 3 (for a 3-d texture coordinate).

*/

get_tangent()

C++ Interface: get_tangent(EggVertexUV self)

/**

*/

get_tangent4()

C++ Interface: get_tangent4(EggVertexUV self)

/**

*/

get_uv()

C++ Interface: get_uv(EggVertexUV self)

/**
  • Returns the texture coordinate pair, if get_num_dimensions() is 2.

*/

get_uvw()

C++ Interface: get_uvw(EggVertexUV self)

/**
  • Returns the texture coordinate triple, if get_num_dimensions() is 3. This

  • is also legal to call if get_num_dimensions() is 2 (but the last dimension

  • will be zero).

*/

hasBinormal()

C++ Interface: has_binormal(EggVertexUV self)

/**

*/

hasTangent()

C++ Interface: has_tangent(EggVertexUV self)

/**

*/

hasTangent4()

C++ Interface: has_tangent4(EggVertexUV self)

/**

*/

hasW()

C++ Interface: has_w(EggVertexUV self)

/**
  • Returns true if the texture coordinate has a third, w component, false if

  • it is just a normal 2-d texture coordinate.

*/

has_binormal()

C++ Interface: has_binormal(EggVertexUV self)

/**

*/

has_tangent()

C++ Interface: has_tangent(EggVertexUV self)

/**

*/

has_tangent4()

C++ Interface: has_tangent4(EggVertexUV self)

/**

*/

has_w()

C++ Interface: has_w(EggVertexUV self)

/**
  • Returns true if the texture coordinate has a third, w component, false if

  • it is just a normal 2-d texture coordinate.

*/

makeAverage()

C++ Interface: make_average(const EggVertexUV first, const EggVertexUV second)

/**
  • Creates a new EggVertexUV that contains the averaged values of the two

  • given objects. It is an error if they don’t have the same name.

*/

make_average()

C++ Interface: make_average(const EggVertexUV first, const EggVertexUV second)

/**
  • Creates a new EggVertexUV that contains the averaged values of the two

  • given objects. It is an error if they don’t have the same name.

*/

setBinormal()

C++ Interface: set_binormal(const EggVertexUV self, const LVector3d binormal)

/**

*/

setName()

C++ Interface: set_name(const EggVertexUV self, str name)

/**

*/

setTangent()

C++ Interface: set_tangent(const EggVertexUV self, const LVector3d tangent)

/**

*/

setTangent4()

C++ Interface: set_tangent4(const EggVertexUV self, const LVecBase4d tangent)

/**
  • Sets the tangent vector, along with a fourth parameter that is multiplied

  • with the result of cross(normal, tangent) when computing the binormal.

*/

setUv()

C++ Interface: set_uv(const EggVertexUV self, const LPoint2d texCoord)

/**
  • Sets the texture coordinate pair. This makes the texture coordinate a 2-d

  • texture coordinate, which is the usual case.

*/

setUvw()

C++ Interface: set_uvw(const EggVertexUV self, const LPoint3d texCoord)

/**
  • Sets the texture coordinate triple. This makes the texture coordinate a

  • 3-d texture coordinate.

*/

set_binormal()

C++ Interface: set_binormal(const EggVertexUV self, const LVector3d binormal)

/**

*/

set_name()

C++ Interface: set_name(const EggVertexUV self, str name)

/**

*/

set_tangent()

C++ Interface: set_tangent(const EggVertexUV self, const LVector3d tangent)

/**

*/

set_tangent4()

C++ Interface: set_tangent4(const EggVertexUV self, const LVecBase4d tangent)

/**
  • Sets the tangent vector, along with a fourth parameter that is multiplied

  • with the result of cross(normal, tangent) when computing the binormal.

*/

set_uv()

C++ Interface: set_uv(const EggVertexUV self, const LPoint2d texCoord)

/**
  • Sets the texture coordinate pair. This makes the texture coordinate a 2-d

  • texture coordinate, which is the usual case.

*/

set_uvw()

C++ Interface: set_uvw(const EggVertexUV self, const LPoint3d texCoord)

/**
  • Sets the texture coordinate triple. This makes the texture coordinate a

  • 3-d texture coordinate.

*/

transform()

C++ Interface: transform(const EggVertexUV self, const LMatrix4d mat)

/**
  • Applies the indicated transformation matrix to the UV’s tangent and/or

  • binormal. This does nothing if there is no tangent or binormal.

*/

write()

C++ Interface: write(EggVertexUV self, ostream out, int indent_level)

/**

*/