Method Vector3ShaderProperty
Vector3ShaderProperty(MaterialEditor, MaterialProperty, GUIContent)
Draw an vector3 field for a vector shader property.
Declaration
public static void Vector3ShaderProperty(this MaterialEditor editor, MaterialProperty prop, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialEditor | editor | |
| MaterialProperty | prop | The MaterialProperty to make a field for |
| GUIContent | label | Label for the property |