ScriptEvent:setCMIconShaderParm

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

Parameters

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

Result

None.

Supported By

sdSysCallThread

Comments

  • Index must be in the range 0-7 otherwise the game will likely crash.
  • These shader parms start 4 offset from the regular parms, i.e. after the colors.

Functionality

Sets the given shader parm index on the icon to the specified value.