Version:

IN THIS ARTICLE

Find by Name

Find by Name

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

Contents

[FindByName finds substance and graph names for procedural materials.]

To find the substance name for a procedural material

  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.
    Example

    The substance material path is materials/substance/brickwall_04.sbsar and the graph name is BrickWall_04.
    [Finding the substance material name and graph name in the Substance Editor.]

  3. Copy the substance material path and in the Find by Name node, do the following:

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

    2. For Graph Name, enter the graph name.

Inputs


PinTypeDescription
InEventTriggers the node.
Substance NameStringThe path name of the substance material .sbsar or .smtl file to find.
Graph NameStringName of the specific graph in the substance material.
Force LoadBooleanForces the procedural material to load, if it’s not already loaded.

Outputs


PinTypeDescription
OutEventSends when the node is finished.
Procedural MaterialProcedural materialThe specified procedural material. Returns Invalid if the material can’t be found.