27 INLINE
explicit EggPoint(
const std::string &name =
"");
31 virtual EggPoint *make_copy()
const override;
33 INLINE
bool has_thick()
const;
34 INLINE
double get_thick()
const;
35 INLINE
void set_thick(
double thick);
36 INLINE
void clear_thick();
38 INLINE
bool has_perspective()
const;
39 INLINE
bool get_perspective()
const;
40 INLINE
void set_perspective(
bool perspective);
41 INLINE
void clear_perspective();
43 virtual bool cleanup()
override;
45 virtual void write(std::ostream &out,
int indent_level)
const override;
50 F_perspective = 0x0002,
51 F_has_perspective = 0x0004,
62 static void init_type() {
63 EggPrimitive::init_type();
65 EggPrimitive::get_class_type());
68 return get_class_type();
70 virtual TypeHandle force_init_type()
override {
72 return get_class_type();
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
virtual bool cleanup()
Cleans up modeling errors in whatever context this makes sense.
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.
A single point, or a collection of points as defined by a single <PointLight> entry.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.