Label3D

3D label that displays information

Constructor

new Label3D(position, value)

Parameters:
NameTypeDescription
positionVector3

Position of the label.

valuestring

text value.

Members

domElement :HTMLDivElement

Type:
  • HTMLDivElement

position :Vector3

Type:
  • Vector3

Methods

update(itownsView)

Updates the position of the label on the screen based on the camera view.

Parameters:
NameTypeDescription
itownsViewPlanarView

iTowns view instance.