EggSurface

from panda3d.egg import EggSurface
class EggSurface

Bases:

Bases: EggPrimitive

A parametric surface of some kind. See EggNurbsSurface.

Inheritance diagram

Inheritance diagram of EggSurface

assign(copy: EggSurface) EggSurface
static get_class_type() panda3d.core.TypeHandle
get_u_subdiv() int

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

get_v_subdiv() int

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

set_u_subdiv(subdiv: int)

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.

set_v_subdiv(subdiv: int)

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.