DriftCapture · interface
Region
What a region is, once something has decided where it is.
Explained in DriftCapture.
interface Regionimport type { Region } from '@driftengine/capture';Properties
| Name | Type | Description |
|---|---|---|
trianglesreadonly | readonly number[] | Triangles belonging to it. |
boundsreadonly | Float64Array | minX, minY, minZ, maxX, maxY, maxZ, in the capture's world. |
normalreadonly | Float64Array | Its area-weighted mean normal, which is what makes a floor a floor. |
areareadonly | number | |
labelreadonly | string | null | A label somebody attached, or null — which is the ordinary case. |