Syntax
- string readTextFile(string filePath)
Parameters
- filePathText file. Supported extensions are .txt and .csv, and supported encodings are ASCII, UTF-8 and UTF-16. Lineendings are converted to '\n', unprintable control characters are replaced with '?'.
Returns
The content of filePath as a string.
Description
The readTextFile function reads the text file filePath. The same search logic as for geometry assets and textures is applied.