EggSurface

class EggSurface

Bases: EggPrimitive

A parametric surface of some kind. See EggNurbsSurface.

Inheritance diagram

Inheritance diagram of EggSurface

static TypeHandle get_class_type(void)
int get_u_subdiv(void) const

Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.

int get_v_subdiv(void) const

Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.

void set_u_subdiv(int subdiv)

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.

void set_v_subdiv(int subdiv)

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.