Class MaterialPropertyDrawer
Inheritance
MaterialPropertyDrawer
Assembly: UnityEditor.dll
Syntax
public abstract class MaterialPropertyDrawer
Methods
|
Improve this Doc
View Source
Apply(MaterialProperty)
Declaration
public virtual void Apply(MaterialProperty prop)
Parameters
|
Improve this Doc
View Source
GetPropertyHeight(MaterialProperty, String, MaterialEditor)
Declaration
public virtual float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Returns
|
Improve this Doc
View Source
OnGUI(Rect, MaterialProperty, String, MaterialEditor)
Declaration
public virtual void OnGUI(Rect position, MaterialProperty prop, string label, MaterialEditor editor)
Parameters
|
Improve this Doc
View Source
OnGUI(Rect, MaterialProperty, GUIContent, MaterialEditor)
Declaration
public virtual void OnGUI(Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor)
Parameters
Extension Methods