ScriptEvent:setShaderParm

From Mod Wiki

Parameters

integer index -- Index of the shader parm to set.
float value -- Value to set the shader parm to.

Result

None.

Supported By

sdClientAnimated
sdSysCallThread
idEntity

Comments

  • Index must be in the range 0 -> 11 for entities, and 0 - 3 for sys calls.

Functionality

Sets the shader parm at the specified index to the value given.