Geometry · interface

BoxOperation

Explained in Hello world, Meshes and geometry.

interface BoxOperation
import type { BoxOperation } from '@driftengine/core';

Properties

NameTypeDescription
boxreadonlyreadonly [number, number, number, number, number, number]Minimum and maximum corners: [x0, y0, z0, x1, y1, z1].
opreadonly'union' | 'subtract' | 'intersect'