C# Class UnityEditor.MaterialPowerSliderDrawer

Inheritance: MaterialPropertyDrawer
显示文件 Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
MaterialPowerSliderDrawer ( float power ) : System
OnGUI ( Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void

Method Details

GetPropertyHeight() public method

public GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
prop MaterialProperty
label string
editor MaterialEditor
return float

MaterialPowerSliderDrawer() public method

public MaterialPowerSliderDrawer ( float power ) : System
power float
return System

OnGUI() public method

public OnGUI ( Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void
position UnityEngine.Rect
prop MaterialProperty
label UnityEngine.GUIContent
editor MaterialEditor
return void