Lumberyard
User Guide (Version 1.21)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

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: