Lumberyard
User Guide (Version 1.16)

Get Input Number

Returns the value of an input parameter as a number. Use this node with the Float1 and Integer1 substance data types.

Note

You can use this node with all substance data types: Float1 through Float4 and Integer1 through Integer4. However, if the dimensions don't match, the extra dimensions from the input parameter are ignored.

Contents


                GetInputNumber gets the numeric value for a procedural material's
                    parameter.

Inputs

Pin Type Description
In Event Triggers the node.
Procedural Material Procedural material The procedural material to query.
Input Name String The name of the input parameter to return.

Outputs

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

The value of the specified input parameter.

Returns 0 if the value can't be found.

On this page: