- string readTextFile(string filePath)
- 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 '?'.
The content of filePath as a string.
The readTextFile function reads the text file filePath. The same search logic as for geometry assets and textures is applied.