Panda3D
|
A parametric surface of some kind. More...
#include "eggSurface.h"
Public Member Functions | |
EggSurface (const string &name="") | |
EggSurface (const EggSurface ©) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
int | get_u_subdiv () const |
Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested. | |
int | get_v_subdiv () const |
Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested. | |
EggSurface & | operator= (const EggSurface ©) |
void | set_u_subdiv (int subdiv) |
Sets the number of subdivisions in the U direction that will be requested across the surface. | |
void | set_v_subdiv (int subdiv) |
Sets the number of subdivisions in the U direction that will be requested across the surface. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
int EggSurface::get_u_subdiv | ( | ) | const [inline] |
Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.
Definition at line 77 of file eggSurface.I.
Referenced by EggNurbsSurface::write().
int EggSurface::get_v_subdiv | ( | ) | const [inline] |
Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.
Definition at line 104 of file eggSurface.I.
Referenced by EggNurbsSurface::write().
void EggSurface::set_u_subdiv | ( | int | subdiv | ) | [inline] |
Sets the number of subdivisions in the U direction that will be requested across the surface.
(This doesn't necessary guarantee that this number of subdivisions will be made; it's just a hint to any surface renderer or quick tesselator.) Set the number to 0 to disable the hint.
Definition at line 65 of file eggSurface.I.
void EggSurface::set_v_subdiv | ( | int | subdiv | ) | [inline] |
Sets the number of subdivisions in the U direction that will be requested across the surface.
(This doesn't necessary guarantee that this number of subdivisions will be made; it's just a hint to any surface renderer or quick tesselator.) Set the number to 0 to disable the hint.
Definition at line 92 of file eggSurface.I.