Class: DomLabel
Меньше 1 минуты
Class: DomLabel
Single label with DOM rendering support.
Hierarchy
DomLabelBase
↳
DomLabel
Constructors
constructor
• new DomLabel(position
, value
, color
, elNum
): DomLabel
Parameters
Name | Type | Description |
---|---|---|
position | Vector3 | Label position. |
value | any | Label content. |
color | ColorRepresentation | Label color. |
elNum | number | Optional element number associated with label. |
Returns
Overrides
DomLabelBase.constructor
Properties
container
• container: HTMLElement
DOM container for rendering label content.
Inherited from
DomLabelBase.container
elNum
• elNum: number
Optional element number associated with label.
isClipped
• isClipped: boolean
Is label clipped by clipping planes or not.
Inherited from
DomLabelBase.isClipped
isCollapsed
• isCollapsed: boolean
Is label collapsed with nearest labels into one or not.
position
• position: Vector3
Label position in 3D space.
Inherited from
DomLabelBase.position
screenPosition
• screenPosition: Vector3
Label position in screen space.
Inherited from
DomLabelBase.screenPosition
value
• value: any
Label content.