Recent Changes - Search:

ZGameEditor

Documentation

Community

Edit sidebar

ShaderVariable

ShaderVariable

Represents 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

Properties

VariableName

The name of the uniform variable in GLSL. Case-sensitive.

Value

Set this property to set the current value of the uniform variable. This property is only valid if ValuePropRef is not set.

ValuePropRef

Use 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.

Edit - History - Print - Recent Changes - Search
Page last modified on September 03, 2007, at 09:39 am