Shader.setUniformFloat() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
uniform
No
value1
No
value2?
Yes
value3?
Yes
value4?
Yes

Returns

Not applicable.

Description

Pass one or more float-type numbers as a uniform to this Shader. If only one value argument is passed, it can be an array or Vector2. Otherwise all value arguments have to be numbers.

⚠️ **GitHub.com Fallback** ⚠️