Version:

IN THIS ARTICLE

Set Param Color

Set Param Color

Sets a material’s color parameter value for the specified entity.

Contents

[setparamcolornode, setparamcolor]

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.
Param NameStringThe name of the material parameter to update. For more information, see Finding the Material Parameter Name.
ColorColorThe new value to apply.
Material IDNumberIf the material owner has a multimaterial, use this parameter to select a specific submaterial. IDs start at 1.

Outputs


PinTypeDescription
OutEventSends when the node is finished.