OverlayArrowItem
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
interface OverlayArrowItemA 3D arrow; lengths in mm. size "screen" keeps ~48 px on screen and ignores length
Inheritance and interfaces#
Members#
| Member | Kind | Description |
|---|---|---|
| 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 |
| direction | Property | |
| headLength | Property | mm, default 0.3 x length; the thickness follows it (head radius 0.4 x headLength, shaft a third of that) |
| 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 |
| length | Property | |
| origin | Property | |
| qids | Property | Related model objects inheritedFrom: OverlayItemCommon.qids |
| role | Property | inheritedFrom: OverlayItemCommon.role |
| size | Property | |
| storey | Property | inheritedFrom: OverlayItemCommon.storey |
| tooltip | Property | inheritedFrom: OverlayItemCommon.tooltip |
| type | Property | overwrites: OverlayItemCommon.type |
| views | Property | inheritedFrom: OverlayItemCommon.views |
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
direction#
direction: [number, number, number]headLength#
headLength?: numbermm, default 0.3 x length; the thickness follows it (head radius 0.4 x headLength, shaft a third of that)
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
length#
length?: numberorigin#
origin: [number, number, number]qids#
qids?: (string)[]Related model objects
inheritedFrom: OverlayItemCommon.qids
role#
role?: OverlayRoleinheritedFrom: OverlayItemCommon.role
size#
size?: "screen" | "world"storey#
storey?: stringinheritedFrom: OverlayItemCommon.storey
tooltip#
tooltip?: stringinheritedFrom: OverlayItemCommon.tooltip
type#
type: "arrow"overwrites: OverlayItemCommon.type
views#
views?: ("2d" | "3d")[]inheritedFrom: OverlayItemCommon.views