Find by Name and Index - Lumberyard User Guide

Find by Name and Index

Finds a procedural material by the substance file name and the index of a graph. All substance files contain one or more graphs, and these graphs correspond to a procedural material.


                FindbyNameandIndex finds the substance name and graph index for a procedural

To find the substance name

  1. In Lumberyard Editor, choose Tools, Plug-ins, Substance Editor.

  2. Browse to the substance material that you want. The substance material name appears in the Substance field and the graph name appears in the tab.


    The substance material path is materials/substance/brickwall_04.sbsar and the graph name BrickWall_04 appears in the tab.

                            Finding the substance material name and graph index in the
                                    Substance Editor.
  3. Copy the substance material path and in the Find by Name and Index node, do the following:

    1. For Substance Name, paste the substance material path.

    2. For Graph Index, specify the graph that you want. The far-left tab is index 0, the next is 1, and so on. If the substance material has only one graph, leave the Graph Index field as 0.


Pin Type Description
In Event Triggers the node.
Substance Name String The path name of the substance material .sbsar or .smtl file to find.
Graph Index Number

Index of the specific graph in the substance material.

Default value: 0

Force Load Boolean Forces the procedural material to load, if it's not already loaded.


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

The specified procedural material to return.

Returns Invalid if the material can't be found.