BoxGeometry

Describes a cube centered at the origin.

const box = new BoxGeometry({
vertexFormat : VertexFormat.POSITION_ONLY,
maximum : new Cartesian3(250000.0, 250000.0, 250000.0),
minimum : new Cartesian3(-250000.0, -250000.0, -250000.0)
});
const geometry = BoxGeometry.createGeometry(box);

See also

Constructors

Link copied to clipboard
constructor(options: BoxGeometry.ConstructorOptions)

Types

Link copied to clipboard
Link copied to clipboard
sealed interface ConstructorOptions