Constructors
constructor
-
Parameters
-
-
position: Vector3
-
content: string | HTMLElement
-
Properties
Private _cameraPosition
_cameraPosition: Vector3
Private _canvasPosition
_canvasPosition: Vector2
Private _clientRect
_clientRect: ClientRect
Private _viewerPosition
_viewerPosition: Vector3
element
element: HTMLElement
position
position: Vector3
Methods
_updateViewerPosition
- _updateViewerPosition(): void
setContent
- setContent(value: string | HTMLElement): void
-
Parameters
-
value: string | HTMLElement
Returns void
setVisibility
- setVisibility(value: boolean): void
Annotation HTML element floating on top of a position rendered in 3d