Logo Mibo

BlockPlan Type

The result of walking a RenderBuffer3D once: how many camera blocks the frame contains, the per-block light/shadow state, and the frame-default light set that blocks with their own light commands reset to.

Light commands outside any camera block accumulate into the frame defaults — including commands between blocks (after an EndCamera, before the next BeginCamera) and after the last EndCamera (those affect no block). Between-block commands also join the running light set that blocks without their own light commands inherit. SetShadowOrigin is scoped to the block it appears in and never leaks across blocks.

Record fields

Record Field Description

BlockCount

Full Usage: BlockCount

Field type: int

The number of camera blocks in the buffer.

Field type: int

Blocks

Full Usage: Blocks

Field type: CameraBlockPlan[]

The per-block plans, indexed by block (in buffer order).

Field type: CameraBlockPlan[]

FrameDefaults

Full Usage: FrameDefaults

Field type: BlockLightSet

The frame-default light set: every light command issued outside a camera block.

Field type: BlockLightSet

Type something to start searching.