31 explicit EggVertexUV(
const std::string &name,
const LTexCoordd &uv);
32 explicit EggVertexUV(
const std::string &name,
const LTexCoord3d &uvw);
37 INLINE
static std::string filter_name(
const std::string &name);
38 INLINE
void set_name(
const std::string &name);
40 INLINE
int get_num_dimensions()
const;
41 INLINE
bool has_w()
const;
42 INLINE LTexCoordd get_uv()
const;
43 INLINE
const LTexCoord3d &get_uvw()
const;
44 INLINE
void set_uv(
const LTexCoordd &texCoord);
45 INLINE
void set_uvw(
const LTexCoord3d &texCoord);
47 INLINE
bool has_tangent()
const;
48 INLINE
const LNormald &get_tangent()
const;
49 INLINE
void set_tangent(
const LNormald &tangent);
50 INLINE
void clear_tangent();
52 INLINE
bool has_binormal()
const;
53 INLINE
const LNormald &get_binormal()
const;
54 INLINE
void set_binormal(
const LNormald &binormal);
55 INLINE
void clear_binormal();
60 void transform(
const LMatrix4d &mat);
62 void write(std::ostream &out,
int indent_level)
const;
69 F_has_tangent = 0x001,
70 F_has_binormal = 0x002,
83 static void init_type() {
84 EggNamedObject::init_type();
86 EggNamedObject::get_class_type());
89 return get_class_type();
91 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The set of UV's that may or may not be assigned to a vertex.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a fairly low-level base class–any egg object that has a name.
An STL function object class, this is intended to be used on any ordered collection of class objects ...
TypeHandle is the identifier used to differentiate C++ class types.