Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ProceduralMaterial.SetProceduralColor

SetProceduralColor(inputName: string, value: Color): void;
void SetProceduralColor(string inputName, Color value);
def SetProceduralColor(inputName as string, value as Color) as void

Description

Set a named Procedural color property.

Used for ProceduralProperties of types Color3 and Color4.

See Also: GetProceduralPropertyDescriptions, SetProceduralColor.