LUADOC - Farming Simulator 17

Printable Version

setTextColor

Description
Set the text color to be used for the following renderText calls
Definition
setTextColor(float r, float g, float b, float a)
Arguments
floatrred color component [0, 1]
floatggreen color component [0, 1]
floatbblue color component [0, 1]
floataalpha (opacity) [0, 1]