Перейти к основному содержанию

Class: DomLabel

Меньше 1 минуты

Class: DomLabel

Single label with DOM rendering support.

Constructors

constructor

new DomLabel(position, value): DomLabel

Parameters

NameTypeDescription
positionVector3Label position.
valueanyLabel content.

Returns

DomLabel

Properties

container

container: HTMLElement

DOM container for rendering label content.


isClipped

isClipped: boolean

Is label clipped by clipping planes or not.


position

position: Vector3

Label position in 3D space.


value

value: any

Label content.