Version:

IN THIS ARTICLE

Get Param Number

Get Param Number

Returns a material’s numerical parameter value for the specified entity.

Contents

[getparamnumbernode, getparamnumber]

Inputs


PinTypeDescription
InEventTriggers the node.
SourceEntityIDReferences 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 NameStringThe name of the material parameter to query. For more information, see Finding the Material Parameter Name.
Material IDNumberIf the material owner has a multimaterial, use this parameter to select a specific submaterial. IDs start at 1.

Outputs


PinTypeDescription
OutEventSends when the node is finished.
NumberNumberThe queried value. If the parameter is not found, the value is 0.