OverlayItemCommon
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
TypeScript#
interface OverlayItemCommonFields common to every overlay item (docs/check-overlays-design.md §3.1)
Members#
| Member | Kind | Description |
|---|---|---|
| color | Property | "#rrggbb" or "#rrggbbaa", overrides the role colour |
| depth | Property | "ghost" draws as "test" until the ghost pass arrives |
| id | Property | Unique within the overlay |
| label | Property | |
| labelShow | Property | "hover": the label only while the item or one of its qids is hovered; default "always" |
| qids | Property | Related model objects |
| role | Property | |
| storey | Property | |
| tooltip | Property | |
| type | Property | |
| views | Property |
color#
TypeScript#
color?: string"#rrggbb" or "#rrggbbaa", overrides the role colour
depth#
TypeScript#
depth?: "always" | "test" | "ghost""ghost" draws as "test" until the ghost pass arrives
id#
TypeScript#
id: stringUnique within the overlay
label#
TypeScript#
label?: stringlabelShow#
TypeScript#
labelShow?: "always" | "hover""hover": the label only while the item or one of its qids is hovered; default "always"
qids#
TypeScript#
qids?: (string)[]Related model objects
role#
TypeScript#
role?: OverlayRolestorey#
TypeScript#
storey?: stringtooltip#
TypeScript#
tooltip?: stringtype#
TypeScript#
type: stringviews#
TypeScript#
views?: ("2d" | "3d")[]