Class: BoxGeometry

BoxGeometry(webglContext, optionsOrSizeopt)

Segmented box geometry (cube, when `width = height = depth`). Generates positions, normals, UVs and both solid and wireframe indices.

Constructor

new BoxGeometry(webglContext, optionsOrSizeopt)

Parameters:
Name Type Attributes Description
webglContext WebGL2RenderingContext WebGL2 rendering context.
optionsOrSize BoxGeometryOptions | number <optional>
Options object or numeric size.
Source:

Classes

BoxGeometry