Skip to main content

Type Alias: Vec3

type Vec3 = readonly [number, number, number];

Defined in: webxr-uiextensions/src/core/region-layout.ts:11

Layout regions - pure slot math for docking windows into named regions.

A DockRegion is an anchor in space (an entity transform) that lays its docked windows out in a row, column or grid of fixed-pitch slots. The math here is deliberately simple and deterministic: given a slot index and a region definition, produce a local-space offset; given a drop point and the regions in the scene, decide which region (if any) captured the drop.