GetShaderParm (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Gets the value of the specified shader parm.

Usage

float getShaderParm( float parm )

Parameters

  • [parm] - The shader parm to return the value of.

Examples

 
$my_entity.getShaderParm(1);

Notes

This script event returns the value of the specified shader parm as a float.