GetShaderParm (script event)

From modwiki

Jump to: navigation, search

Description

Gets the value of the specified shader parm.

Usage

In your script type...

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.


Personal tools
Main