ZGameEditor Documentation
Community |
ShaderVariableShaderVariableRepresents a "uniform variable" in a GLSL shader. The type of the uniform variable must be "float". This component can only be used in the Shader.UniformVariables property. See also: Shader PropertiesVariableNameThe name of the uniform variable in GLSL. Case-sensitive. ValueSet this property to set the current value of the uniform variable. This property is only valid if ValuePropRef is not set. ValuePropRefUse this to connect another ZGameEditor property to the value of a uniform variable. For example, type "App.Time" to connect the current application time to a GLSL variable for use as animation. |