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