panda3d.egg.EggSurface

from panda3d.egg import EggSurface
class EggSurface

Bases: EggPrimitive

A parametric surface of some kind. See EggNurbsSurface.

Inheritance diagram

Inheritance diagram of EggSurface

assign(copy: EggSurface) → EggSurface
Return type

EggSurface

static getClassType() → TypeHandle
Return type

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) → None

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) → None

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.