TorusGeometry¶
-
class
pythreejs.
TorusGeometry
(radius=1, tube=0.4, radialSegments=8, tubularSegments=6, arc=6.283185307179586)[source]¶ TorusGeometry
Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/geometries/TorusGeometry
Inherits
BaseGeometry
.Three.js docs: https://threejs.org/docs/#api/geometries/TorusGeometry
-
radius
¶ CFloat(1, allow_none=False).tag(sync=True)
-
tube
¶ CFloat(0.4, allow_none=False).tag(sync=True)
-
radialSegments
¶ CInt(8, allow_none=False).tag(sync=True)
-
tubularSegments
¶ CInt(6, allow_none=False).tag(sync=True)
-
arc
¶ CFloat(6.283185307179586, allow_none=False).tag(sync=True)
-
type
¶ Unicode("TorusGeometry", allow_none=False).tag(sync=True)
-
arc = CFloat(6.283185307179586)
a float
-
radialSegments = CInt(8)
an int
-
radius = CFloat(1)
a float
-
tube = CFloat(0.4)
a float
-
tubularSegments = CInt(6)
an int
-
type = Unicode('TorusGeometry')
a unicode string
-