Lumberyard
User Guide (Version 1.16)

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.

Contents


                setmaterialnode, setmaterial

Inputs

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.

Outputs

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

On this page: