Header menu logo Mibo

GridSection3D<'T> Type

A lightweight "view" or "cursor" into a backing 3D grid. Allows defining content using relative coordinates (0,0,0 is the section's corner) and nesting layouts without copying data.

Record fields

Record Field Description

BackingGrid

Full Usage: BackingGrid

Field type: CellGrid3D<'T>
Field type: CellGrid3D<'T>

Depth

Full Usage: Depth

Field type: int

The virtual depth of this section. Drawing outside (0..Depth-1) is safely ignored (clipped).

Field type: int

Height

Full Usage: Height

Field type: int

The virtual height of this section. Drawing outside (0..Height-1) is safely ignored (clipped).

Field type: int

OffsetX

Full Usage: OffsetX

Field type: int

X offset from the backing grid's origin.

Field type: int

OffsetY

Full Usage: OffsetY

Field type: int

Y offset from the backing grid's origin.

Field type: int

OffsetZ

Full Usage: OffsetZ

Field type: int

Z offset from the backing grid's origin.

Field type: int

Width

Full Usage: Width

Field type: int

The virtual width of this section. Drawing outside (0..Width-1) is safely ignored (clipped).

Field type: int

Type something to start searching.