SphereGeometry¶
-
class
pythreejs.
SphereGeometry
(radius=1, widthSegments=8, heightSegments=6, phiStart=0, phiLength=6.283185307179586, thetaStart=0, thetaLength=3.141592653589793)[source]¶ SphereGeometry
Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/geometries/SphereGeometry
Inherits
BaseGeometry
.Three.js docs: https://threejs.org/docs/#api/geometries/SphereGeometry
-
radius
¶ CFloat(1, allow_none=False).tag(sync=True)
-
widthSegments
¶ CInt(8, allow_none=False).tag(sync=True)
-
heightSegments
¶ CInt(6, allow_none=False).tag(sync=True)
-
phiStart
¶ CFloat(0, allow_none=False).tag(sync=True)
-
phiLength
¶ CFloat(6.283185307179586, allow_none=False).tag(sync=True)
-
thetaStart
¶ CFloat(0, allow_none=False).tag(sync=True)
-
thetaLength
¶ CFloat(3.141592653589793, allow_none=False).tag(sync=True)
-
type
¶ Unicode("SphereGeometry", allow_none=False).tag(sync=True)
-
heightSegments = CInt(6)
an int
-
phiLength = CFloat(6.283185307179586)
a float
-
phiStart = CFloat(0)
a float
-
radius = CFloat(1)
a float
-
thetaLength = CFloat(3.141592653589793)
a float
-
thetaStart = CFloat(0)
a float
-
type = Unicode('SphereGeometry')
a unicode string
-
widthSegments = CInt(8)
an int
-