Script v1.7.1.0
- AI
- Animals
- Contracts
- Debug
- Economy
- Effects
- Events
- Farms
- GUI
- Handtools
- I3d
- Materials
- Misc
- Objects
- Placeables
- Player
- Shop
- Sounds
- Specializations
- Triggers
- Utils
- Vehicles
- Weather
Engine v1.7.1.0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- getCanRenderUnicode
- getTextHeight
- getTextLength
- getTextLineLength
- getTextWidth
- renderText
- setTextAlignment
- setTextBold
- setTextColor
- setTextLineBounds
- setTextWidthScale
- setTextWrapWidth
- Tire Track
- XML
- general
Foundation Reference
getTextLength
DescriptionGet text lengthDefinition
getTextLength(float fontSize, string utf8string, integer maxNumLines)Arguments
float | fontSize | fontSize |
string | utf8string | utf8string |
integer | maxNumLines | maxNumLines |
numChars | integer | numChars |