Skip to content

Text3D

Inherits Dynamic

Text3D is a class that represents 3D text in the game world.

Properties

Text : string

The text content displayed.

FontSize : number

The size of the font used for the text.

Color : Color

The color of the text.

OutlineWidth : number

The width of the text outline.

OutlineColor : Color

The color of the text outline.

FaceCamera : boolean

Determines whether the text should always be facing the camera.

HorizontalAlignment : TextHorizontalAlignmentEnum

Determines the horizontal alignment of the text.

VerticalAlignment : TextVerticalAlignmentEnum

Determines the vertical alignment of the text.

FontAsset : FontAsset

The font asset used for the text.

UseRichText : boolean

Determines whether the text should be parsed as rich text.