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
- __init__(*args, **kwargs)
- 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.
*/
- 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).
*/
- 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_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_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).
*/
- 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_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.
*/
- 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_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.
*/