MaterialEditor.ColorProperty
ColorProperty(position: Rect, prop: MaterialProperty, label: string): Color;
Color ColorProperty(Rect position, MaterialProperty prop, string label);
def ColorProperty(position as Rect, prop as MaterialProperty, label as string) as Color
ColorProperty(prop: MaterialProperty, label: string): Color;
Color ColorProperty(MaterialProperty prop, string label);
def ColorProperty(prop as MaterialProperty, label as string) as Color
Parameters

label Label for the property.
Description

Draw a property field for a color shader property.