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

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.

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