API referenceBlueprints
Level
Import from bear/blueprints/Level.
Interfaces
LevelProps
Defined in: bear/blueprints/Level.tsx:17
Properties
| Property | Type | Description |
|---|---|---|
children? | | BearElement<object> | BearElement<object>[] | - |
elevation | Measurement | Elevation of this level above the project origin. |
name? | string | Name for this level in the tree. Defaults to "L". |
transform? | TransformMatrix | Optional transform. Composed with the elevation Z-offset. |
wallHeight? | Measurement | Default wall height for walls on this level. |
Variables
WallHeight
const WallHeight: BearContext<number>;Defined in: bear/blueprints/Level.tsx:15
Default wall height for walls on a level, in project units.
Functions
Level()
function Level(__namedParameters): BearElement;Defined in: bear/blueprints/Level.tsx:34
Level: transparent assembly that applies an elevation Z-offset
and publishes WallHeight to context for descendant Walls, which
read it with getCollectionContext(WallHeight) in their function body.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | LevelProps |