Version:

IN THIS ARTICLE

Set Material

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


PinTypeDescription
InEventTriggers the node.
SourceEntityIDReferences 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 Setting Entity Targets.
MaterialMaterialThe new material.

Outputs


PinTypeDescription
OutEventSends when the node is finished.