Skip to Content
Bear documentation
API referenceBlueprints

Level

Import from bear/blueprints/Level.

Interfaces

LevelProps

Defined in: bear/blueprints/Level.tsx:17

Properties

PropertyTypeDescription
children?| BearElement<object> | BearElement<object>[]-
elevationMeasurementElevation of this level above the project origin.
name?stringName for this level in the tree. Defaults to "L".
transform?TransformMatrixOptional transform. Composed with the elevation Z-offset.
wallHeight?MeasurementDefault 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

ParameterType
__namedParametersLevelProps

Returns

BearElement

On this page