nanos world API Reference Unofficial documentation
Function Shared Fast

Text3D:SetMaxSize

Sets the Max Size of the Text3D, optionally scaling it proportionally

Syntax

Lua
my_text3_d:SetMaxSize(max_width = 0, max_height = 0, scale_proportionally = true)

Parameters

Name Type Default Description
max_width optional integer 0
max_height optional integer 0
scale_proportionally optional boolean true