CubeGeometry
CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided within the (optional) 'width', 'height', & 'depth' constructor arguments.
Constructor
CubeGeometry(width, height, depth, segmentsWidth, segmentsHeight, segmentsDepth, materials, side)
width — Width of the quad on the X axis.
height — Height of the quad on the Y axis.
depth — Depth of the quad on the Z axis.
segmentsWidth — Number of segmented faces along the width of the quad.
segmentsHeight — Number of segmented faces along the height of the quad.
segmentsDepth — Number of segmented faces along the depth of the quad.
materials — A material defined in array form..[page:Material]
sides — The culling policy, which is either THREE.FrontSide , THREE.BackSide , or THREE.DoubleSide
Properties
.[page:Vector3 todo]
Methods
this.computeCentroids()
todo — todo
this.mergeVertices()
todo — todo
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]