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 _position

_position: Vector3

Private _viewerPosition

_viewerPosition: Vector3

applyFog

applyFog: boolean

Readonly component

component: Component

the associated component

element

element: HTMLElement

offsetX

offsetX: number

offsetY

offsetY: number

stage

stage: Stage

viewer

viewer: Viewer

visible

visible: boolean

Accessors

position

  • get position(): Vector3

Methods

_update

  • _update(): void

_updateViewerPosition

  • _updateViewerPosition(): void

clearContent

  • clearContent(): void

dispose

  • dispose(): void

getVisibility

  • getVisibility(): boolean

setContent

  • setContent(value: string | HTMLElement): void

setPosition

  • setPosition(newPos: Vector3): void

setVisibility

  • setVisibility(value: boolean): void

updateVisibility

  • updateVisibility(): void

Generated using TypeDoc