Geometry · function

solidBox

A box of full extents x, y, z, faceted: four vertices a face, texture 0..1 across each.

Explained in Hello world, Meshes and geometry.

function solidBox(x: number, y: number, z: number): Solid
import { solidBox } from '@driftengine/core';

Parameters

ParameterTypeDescription
xnumber
ynumber
znumber