C# Class UnityEditor.MaterialHeaderDecorator

Inheritance: MaterialPropertyDrawer
显示文件 Open project: randomize/VimConfig

Public Methods

Method Description
GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
MaterialHeaderDecorator ( float headerAsNumber ) : System
MaterialHeaderDecorator ( string header ) : System
OnGUI ( Rect position, MaterialProperty prop, string 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

MaterialHeaderDecorator() public method

public MaterialHeaderDecorator ( float headerAsNumber ) : System
headerAsNumber float
return System

MaterialHeaderDecorator() public method

public MaterialHeaderDecorator ( string header ) : System
header string
return System

OnGUI() public method

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