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 getClassType() panda3d.core.TypeHandle
getUSubdiv() int

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

getVSubdiv() int

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

setUSubdiv(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.

setVSubdiv(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.