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