Shader.setUniformFloat() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
uniform |
{string} |
No |
value1 |
No |
|
value2? |
{real} |
Yes |
value3? |
{real} |
Yes |
value4? |
{real} |
Yes |
Not applicable.
Use the specified uniform to pass to this Shader one or more floating-point numbers. If only one value argument is passed, it can be an array, Vector2 or a Vector3. Otherwise all value arguments have to be numbers.