This is the base component of any static text element placed in your prism. These are single or multi-line text areas of UTF-8 encoded 2D text. Use them inside your prism as is, or call them from other components. Text cannot be modified by a user, but can be copied with the cursor.
|The UTF-8 encoded text to initially set the text to.
|The style of the Magic Leap font.
|The weight (i.e., thickness) of the Magic Leap font.
text is empty, the content of the
<text> tag will be used as text.
|Displays the text in all caps if
|Sets the additional character spacing that is applied between characters.
|Sets the line spacing to adjust the distance between lines of text; e.g., use 1 for single-spaced text, 2 for double-spaced text.
|Sets the style of the Magic Leap font.
|Sets the weight (i.e., thickness) of the Magic Leap font.
|Sets the UTF-8 encoded text. This call is ignored if there is a current localization key set. Set the localization key to an empty string, "", to unset it.
|Aligns the text to the left, center, or right or justifies it.
|Sets the RGBA color of the rendered text.
|Sets the text render size height in scene units.
|Sets the text bounds size in scene units. The default value of
0,0 indicates there is no bounds and the text can grow and does not wrap or truncate. Setting the bounds greater than
0 in both X and Y will set the text bounds and cause the text to wrap or truncate within.
|Sets the font parameters, including style, weight, pixel size, and tracking. This uses one of the default sets of Magic Leap font resources that support style and weight.