C# Class UnityEditor.MaterialToggleDrawer

Inheritance: MaterialPropertyDrawer
Afficher le fichier Open project: CarlosHBC/UnityDecompiled

Protected Properties

Свойство Type Description
keyword string

Méthodes publiques

Méthode Description
Apply ( MaterialProperty prop ) : void
GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
MaterialToggleDrawer ( ) : System
MaterialToggleDrawer ( string keyword ) : System
OnGUI ( Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor ) : void

Méthodes protégées

Méthode Description
SetKeyword ( MaterialProperty prop, bool on ) : void
SetKeywordInternal ( MaterialProperty prop, bool on, string defaultKeywordSuffix ) : void

Private Methods

Méthode Description
IsPropertyTypeSuitable ( MaterialProperty prop ) : bool

Method Details

Apply() public méthode

public Apply ( MaterialProperty prop ) : void
prop MaterialProperty
Résultat void

GetPropertyHeight() public méthode

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

MaterialToggleDrawer() public méthode

public MaterialToggleDrawer ( ) : System
Résultat System

MaterialToggleDrawer() public méthode

public MaterialToggleDrawer ( string keyword ) : System
keyword string
Résultat System

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

SetKeyword() protected méthode

protected SetKeyword ( MaterialProperty prop, bool on ) : void
prop MaterialProperty
on bool
Résultat void

SetKeywordInternal() protected méthode

protected SetKeywordInternal ( MaterialProperty prop, bool on, string defaultKeywordSuffix ) : void
prop MaterialProperty
on bool
defaultKeywordSuffix string
Résultat void

Property Details

keyword protected_oe property

protected string keyword
Résultat string