Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 993 Bytes

File metadata and controls

50 lines (29 loc) · 993 Bytes
source

Extends Entity

Represents a text label in the world.

export declare class TextGizmo extends Entity 

The content to display in the text label.

Signature

text: HorizonProperty<string>;

Remarks

If the content was previously set with localizableText, the getter of this property will return the localized string in the language of the local player. Do not use the returned text in attributes shared with other players. Other players might use differnet languages, and only the LocalizableText object is localized.

Creates a human-readable representation of the entity.

Signature

toString(): string;

Returns

string

A string representation of the TextGizmo.