TextComponent class
Text component, used to display text in the game.
See TextComponentData for the data schema used to create a text component
Signature:
export declare class TextComponent extends Component3D<TextComponentData>
Extends: Component3D<TextComponentData>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
color | any | Get the text color | |
opacity | any | Get the text opacity | |
text | string |
Methods
Method | Modifiers | Description |
---|---|---|
update(opts) |