GetVec4

This function gets the value of a Vec4 uniform.

Syntax

Parameters

Returns

Returns a Vec4 value. If the uniform does not exist, or is not of the proper type, Vec4(0) will be returned.