Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

MaterialEditor.ColorProperty

Switch to Manual
public function ColorProperty(position: Rect, prop: MaterialProperty, label: string): Color;
public function ColorProperty(prop: MaterialProperty, label: string): Color;

Parameters

label Label for the property.

Description

Draw a property field for a color shader property.