Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

MaterialEditor.ColorProperty

Declaration

public Color ColorProperty(Rect position, MaterialProperty prop, string label);

Declaration

public Color ColorProperty(MaterialProperty prop, string label);

Parameters

label Label for the property.

Description

Draw a property field for a color shader property.