PolyhedronGeometry¶
-
class
pythreejs.
PolyhedronGeometry
(vertices=[], faces=[], radius=1, detail=0)[source]¶ PolyhedronGeometry
Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/geometries/PolyhedronGeometry
Inherits
BaseGeometry
.Three.js docs: https://threejs.org/docs/#api/geometries/PolyhedronGeometry
-
vertices
¶ List().tag(sync=True)
-
indices
¶ List().tag(sync=True)
-
radius
¶ CFloat(1, allow_none=False).tag(sync=True)
-
detail
¶ CFloat(0, allow_none=False).tag(sync=True)
-
faces
¶ List().tag(sync=True)
-
type
¶ Unicode("PolyhedronGeometry", allow_none=False).tag(sync=True)
-
detail = CFloat(0)
a float
-
faces = List()
a list of any type
-
indices = List()
a list of any type
-
radius = CFloat(1)
a float
-
type = Unicode('PolyhedronGeometry')
a unicode string
-
vertices = List()
a list of any type
-