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

MaterialEditor.VectorProperty

Declaration

public Vector4 VectorProperty(MaterialProperty prop, string label);

Declaration

public Vector4 VectorProperty(MaterialProperty prop, GUIContent label);

Declaration

public Vector4 VectorProperty(Rect position, MaterialProperty prop, string label);

Declaration

public Vector4 VectorProperty(Rect position, MaterialProperty prop, GUIContent label);

Parameters

label Label for the field.

Description

Draw a property field for a vector shader property.