ScriptEvent:setShaderParm

From Mod Wiki
Revision as of 18:04, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.