Reference·JavaScript · @bimworks/viewercommonJavaScript

ModelManagerSettings

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface ModelManagerSettings

Settings for a ModelManager, all optional

Members#

Member Kind Description
index Property Which of several ModelManagers this is, 0 (the default) for the first. The viewers on it pass it to their load progress handler and the ModelManager to its r…

index#

TypeScript#
index?: number

Which of several ModelManagers this is, 0 (the default) for the first. The viewers on it pass it to their load progress handler and the ModelManager to its removeModels listeners, so one handler can serve the viewers of several ModelManagers and tell them apart (the BIM.works UI's dual viewers: 0 left, 1 right).