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
IEEEFloat(1, allow_none=False).tag(sync=True)
detail
IEEEFloat(0, allow_none=False).tag(sync=True)
faces
List().tag(sync=True)
type
Unicode("PolyhedronGeometry", allow_none=False).tag(sync=True)
detail = IEEEFloat(0)

a float

faces = List()

a list of any type

indices = List()

a list of any type

radius = IEEEFloat(1)

a float

type = Unicode('PolyhedronGeometry')

a unicode string

vertices = List()

a list of any type