Function
Moderate
TextRender:SetFont
Sets the Font. The font must be pre-cooked as a offline cached, distance field font.<br/><br/>Example working fonts:<br/>- <code>nanos-world::Font_LondrinaSolid_DistanceField</code><br/>- <code>nanos-world::Font_BoldPixels_DistanceField</code><br/>- <code>nanos-world::Font_Roboto_DistanceField</code>
Syntax
my_text_render:SetFont(font_asset)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
font_asset
|
string | — | — |