Skip to main content

BimLines

Convenience bundle wired onto BimCoreApi as api.lines. Holds a LineRenderer for the main rendering group and a LineAggregator that routes per-group rebuilds to that renderer.

Consumers needing more than one rendering group (highlight overlay, debug layer, etc.) can construct additional LineRenderer instances and route the appropriate renderingGroupId from aggregator.onRebuild themselves.

Self-disposes when the host scene is disposed (the underlying renderer and aggregator each subscribe to scene.onDisposeObservable).

Index

Constructors

Properties

Constructors

constructor

Properties

readonlyaggregator

aggregator: LineAggregator

Shared aggregator: register sources here.

readonlyrenderer

renderer: LineRenderer

Main renderer in Babylon rendering group 0.

Page Options