Configurations for the box wireframe geometry.
Optional
center?: FloatArrayParamThe center of the box in 3D space, default is the origin [0, 0, 0]
.
Optional
xSize?: numberHalf-size of the box along the X-axis. The default value is 1.0
.
Optional
ySize?: numberHalf-size of the box along the Y-axis. The default value is 1.0
.
Optional
zSize?: numberHalf-size of the box along the Z-axis. The default value is 1.0
.
The geometry arrays for a box wireframe, including positions and indices for the wireframe.
Creates a box-shaped wireframe geometry.
This function generates the geometry arrays required for a box mesh in a wireframe style, consisting of line segments. The box's size and position can be customized by adjusting the half-sizes along the X, Y, and Z axes, as well as the center position. It returns the geometry arrays, including vertex positions and indices for the wireframe lines.
Usage