Set Material - Lumberyard User Guide

Set Material

Sets an entity's material. If the material is Invalid, this node removes the entity's material override. The entity uses its default material, if it has one.


                setmaterialnode, setmaterial


Pin Type Description
In Event Triggers the node.
Source EntityID

References a specific entity from which events are generated. By default, it references Self, the entity to which the Script Canvas component attaches the current script.

You can also select another entity. For more information, see Referencing Entities for Nodes.

Material Material

The new material.


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