Set Param Number - Lumberyard User Guide

Set Param Number

Sets a material's numerical parameter for the specified entity.


                setparamnumber, setparamnumbernode


Pin Type Description
In Event Triggers the node.
Source EntityID

References a specific entity from which events are generated. By default, it references Self, the entity to which the Script Canvas component attaches the current script.

You can also select another entity. For more information, see Setting Entity Targets.

Param Name String

The name of the material parameter to update.

For more information, see Finding the Material Parameter Name.

Number Number

The new value to apply.

Material ID Number If the material owner has a multimaterial, use this parameter to select a specific submaterial. IDs start at 1.


Pin Type Description
Out Event Sends when the node is finished.