Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Annotation

Annotation HTML element floating on top of a position rendered in 3d

Hierarchy

  • Annotation

Index

Constructors

constructor

Properties

Private _cameraPosition

_cameraPosition: Vector3

Private _canvasPosition

_canvasPosition: Vector2

Private _clientRect

_clientRect: ClientRect

Private _viewerPosition

_viewerPosition: Vector3

component

component: Component

the associated component

element

element: HTMLElement

offsetX

offsetX: number

offsetY

offsetY: number

position

position: Vector3

position in 3d

stage

stage: Stage

viewer

viewer: Viewer

visible

visible: boolean

Methods

_update

  • _update(): void

_updateViewerPosition

  • _updateViewerPosition(): void

dispose

  • dispose(): void

getVisibility

  • getVisibility(): boolean

setContent

  • setContent(value: string | HTMLElement): void

setVisibility

  • setVisibility(value: boolean): void

updateVisibility

  • updateVisibility(): void

Generated using TypeDoc