DoPowerRangeProperty() static private method

static private DoPowerRangeProperty ( Rect position, MaterialProperty prop, string label, float power ) : float
position UnityEngine.Rect
prop MaterialProperty
label string
power float
return float
 public override void OnGUI(Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor)
 {
     if (prop.type != MaterialProperty.PropType.Range)
     {
         GUIContent label2 = EditorGUIUtility.TempContent("PowerSlider used on a non-range property: " + prop.name, EditorGUIUtility.GetHelpIcon(MessageType.Warning));
         EditorGUI.LabelField(position, label2, EditorStyles.helpBox);
         return;
     }
     MaterialEditor.DoPowerRangeProperty(position, prop, label, this.power);
 }