Skip to content

BoxGeometry

new BoxGeometry(width?, height?, depth?, widthSegments?, heightSegments?, depthSegments?)

THREE equivalent: THREE.BoxGeometry

Rectangular cuboid with per-face subdivision. Builds positions, normals, UVs, and an index on construction.

Name Type Description
parameters object { width, height, depth, widthSegments, heightSegments, depthSegments } - stored for reference.