Lumberyard
User Guide (Version 1.16)

Load by Name

Finds and returns the material with the specified name. Loads the material if the material is not already loaded.

Contents


                loadbynamenode, loadbyname

In some cases, you might need to store the material to use later. For more information, see Material Variables.

Inputs

Pin Type Description
In Event Triggers the node.
Material Name String

The path name of a material to find and load.

For more information, see Finding the Material Name.

Outputs

Pin Type Description
Out Event Sends when the node is finished.
Material Material The material that was found. Returns Invalid if the material is not found.

On this page: