C# Class UnityEditor.MaterialPropertyHandler

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
IsEmpty ( ) : bool
OnGUI ( Rect &position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void

Private Methods

Méthode Description
CreatePropertyDrawer ( Type klass, string argsText ) : MaterialPropertyDrawer
GetHandler ( Shader shader, string name ) : MaterialPropertyHandler
GetPropertyString ( Shader shader, string name ) : string
GetShaderPropertyDrawer ( string attrib, bool &isDecorator ) : MaterialPropertyDrawer
GetShaderPropertyHandler ( Shader shader, string name ) : MaterialPropertyHandler
InvalidatePropertyCache ( Shader shader ) : void

Method Details

GetPropertyHeight() public méthode

public GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
prop MaterialProperty
label string
editor MaterialEditor
Résultat float

IsEmpty() public méthode

public IsEmpty ( ) : bool
Résultat bool

OnGUI() public méthode

public OnGUI ( Rect &position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void
position UnityEngine.Rect
prop MaterialProperty
label UnityEngine.GUIContent
editor MaterialEditor
Résultat void