C# Class UnityEditor.EditorGUIExt

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

Méthodes publiques

Méthode Description
DragSelection ( Rect positions, bool &selections, GUIStyle style ) : bool
MinMaxScroller ( Rect position, int id, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, GUIStyle leftButton, GUIStyle rightButton, bool horiz ) : void
MinMaxSlider ( Rect position, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, bool horiz ) : void
MultiSelection ( Rect rect, Rect positions, GUIContent content, Rect hitPositions, bool &selections, bool readOnly, int &clickedIndex, Vector2 &offset, float &startSelect, float &endSelect, GUIStyle style ) : HighLevelEvent

Private Methods

Méthode Description
Any ( bool selections ) : bool
DoMinMaxSlider ( Rect position, int id, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, bool horiz ) : void
DoRepeatButton ( Rect position, GUIContent content, GUIStyle style, FocusType focusType ) : bool
FromToRect ( Vector2 start, Vector2 end ) : Rect
GetIndexUnderMouse ( Rect hitPositions, bool readOnly ) : int
ScrollerRepeatButton ( int scrollerID, Rect rect, GUIStyle style ) : bool

Method Details

DragSelection() public static méthode

public static DragSelection ( Rect positions, bool &selections, GUIStyle style ) : bool
positions UnityEngine.Rect
selections bool
style UnityEngine.GUIStyle
Résultat bool

MinMaxScroller() public static méthode

public static MinMaxScroller ( Rect position, int id, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, GUIStyle leftButton, GUIStyle rightButton, bool horiz ) : void
position UnityEngine.Rect
id int
value float
size float
visualStart float
visualEnd float
startLimit float
endLimit float
slider UnityEngine.GUIStyle
thumb UnityEngine.GUIStyle
leftButton UnityEngine.GUIStyle
rightButton UnityEngine.GUIStyle
horiz bool
Résultat void

MinMaxSlider() public static méthode

public static MinMaxSlider ( Rect position, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, bool horiz ) : void
position UnityEngine.Rect
value float
size float
visualStart float
visualEnd float
startLimit float
endLimit float
slider UnityEngine.GUIStyle
thumb UnityEngine.GUIStyle
horiz bool
Résultat void

MultiSelection() public static méthode

public static MultiSelection ( Rect rect, Rect positions, GUIContent content, Rect hitPositions, bool &selections, bool readOnly, int &clickedIndex, Vector2 &offset, float &startSelect, float &endSelect, GUIStyle style ) : HighLevelEvent
rect UnityEngine.Rect
positions UnityEngine.Rect
content UnityEngine.GUIContent
hitPositions UnityEngine.Rect
selections bool
readOnly bool
clickedIndex int
offset Vector2
startSelect float
endSelect float
style UnityEngine.GUIStyle
Résultat HighLevelEvent