Import
BoxLineGeometry is an addon, and must be imported explicitly, see Installation#Addons.
import { BoxLineGeometry } from 'three/addons/geometries/BoxLineGeometry.js';
Constructor
new BoxLineGeometry( width : number, height : number, depth : number, widthSegments : number, heightSegments : number, depthSegments : number )
Constructs a new box line geometry.
width |
The width. That is, the length of the edges parallel to the X axis. |
height |
The height. That is, the length of the edges parallel to the Y axis. |
depth |
The depth. That is, the length of the edges parallel to the Z axis. |
widthSegments |
Number of segmented rectangular sections along the width of the sides. |
heightSegments |
Number of segmented rectangular sections along the height of the sides. |
depthSegments |
Number of segmented rectangular sections along the depth of the sides. |