24class EXPCL_PANDA_EGG EggSurface :
public EggPrimitive {
26 INLINE
explicit EggSurface(
const std::string &name =
"");
27 INLINE EggSurface(
const EggSurface ©);
28 INLINE EggSurface &operator = (
const EggSurface ©);
44 static void init_type() {
45 EggPrimitive::init_type();
47 EggPrimitive::get_class_type());
50 return get_class_type();
52 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
int get_v_subdiv() const
Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions h...
void set_u_subdiv(int subdiv)
Sets the number of subdivisions in the U direction that will be requested across the surface.
int get_u_subdiv() const
Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions h...
void set_v_subdiv(int subdiv)
Sets the number of subdivisions in the U direction that will be requested across the surface.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...