Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

MaterialEditor.VectorProperty

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

Parameters

labelLabel for the field.

Description

Draw a property field for a vector shader property.

Did you find this page useful? Please give it a rating: