EggCurve
from panda3d.egg import EggCurve
- class EggCurve
Bases:
Bases:
EggPrimitive
A parametric curve of some kind. See
EggNurbsCurve
.Inheritance diagram
-
enum CurveType
-
enumerator CT_none = 0
-
enumerator CT_xyz = 1
-
enumerator CT_hpr = 2
-
enumerator CT_t = 3
-
enumerator CT_none = 0
- static get_class_type() panda3d.core.TypeHandle
- get_curve_type() CurveType
Returns the indicated type of the curve.
- get_subdiv() int
Returns the requested number of subdivisions, or 0 if no particular subdivisions have been requested.
- set_curve_type(type: CurveType)
Sets the type of the curve. This is primarily used as a hint to any code that may need to deal with this curve.
-
enum CurveType