Funzione
Moderato
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>
Non ancora tradotto
Sintassi
my_text_render:SetFont(font_asset)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
font_asset
|
string | — | — |