Method MinFloatShaderProperty
MinFloatShaderProperty(MaterialEditor, MaterialProperty, GUIContent, float)
Draw a property field for a float shader property.
Declaration
public static void MinFloatShaderProperty(this MaterialEditor editor, MaterialProperty prop, GUIContent label, float min)
Parameters
Type | Name | Description |
---|---|---|
MaterialEditor | editor | |
MaterialProperty | prop | The MaterialProperty to make a field for |
GUIContent | label | Label for the property |
float | min | The minimum value the user can specify |