BoxGeometry

class pythreejs.BoxGeometry(width=1, height=1, depth=1, widthSegments=1, heightSegments=1, depthSegments=1)[source]

BoxGeometry

Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/geometries/BoxGeometry

Inherits BaseGeometry.

Three.js docs: https://threejs.org/docs/#api/geometries/BoxGeometry

width
CFloat(1, allow_none=False).tag(sync=True)
height
CFloat(1, allow_none=False).tag(sync=True)
depth
CFloat(1, allow_none=False).tag(sync=True)
widthSegments
CInt(1, allow_none=False).tag(sync=True)
heightSegments
CInt(1, allow_none=False).tag(sync=True)
depthSegments
CInt(1, allow_none=False).tag(sync=True)
type
Unicode("BoxGeometry", allow_none=False).tag(sync=True)
depth = CFloat(1)

a float

depthSegments = CInt(1)

an int

height = CFloat(1)

a float

heightSegments = CInt(1)

an int

type = Unicode('BoxGeometry')

a unicode string

width = CFloat(1)

a float

widthSegments = CInt(1)

an int