C# Class UnityEditor.PreviewResizer

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetExpanded ( ) : bool
GetExpandedBeforeDragging ( ) : bool
GetPreviewSize ( ) : float
Init ( string prefName ) : void
PixelPreciseCollapsibleSlider ( int id, Rect position, float value, float min, float max, bool &expanded ) : float
ResizeHandle ( Rect windowPosition, float minSize, float minRemainingSize, float resizerHeight ) : float
ResizeHandle ( Rect windowPosition, float minSize, float minRemainingSize, float resizerHeight, Rect dragRect ) : float
SetExpanded ( bool expanded ) : void
ToggleExpanded ( ) : void

Method Details

GetExpanded() public méthode

public GetExpanded ( ) : bool
Résultat bool

GetExpandedBeforeDragging() public méthode

public GetExpandedBeforeDragging ( ) : bool
Résultat bool

GetPreviewSize() public méthode

public GetPreviewSize ( ) : float
Résultat float

Init() public méthode

public Init ( string prefName ) : void
prefName string
Résultat void

PixelPreciseCollapsibleSlider() public static méthode

public static PixelPreciseCollapsibleSlider ( int id, Rect position, float value, float min, float max, bool &expanded ) : float
id int
position UnityEngine.Rect
value float
min float
max float
expanded bool
Résultat float

ResizeHandle() public méthode

public ResizeHandle ( Rect windowPosition, float minSize, float minRemainingSize, float resizerHeight ) : float
windowPosition UnityEngine.Rect
minSize float
minRemainingSize float
resizerHeight float
Résultat float

ResizeHandle() public méthode

public ResizeHandle ( Rect windowPosition, float minSize, float minRemainingSize, float resizerHeight, Rect dragRect ) : float
windowPosition UnityEngine.Rect
minSize float
minRemainingSize float
resizerHeight float
dragRect UnityEngine.Rect
Résultat float

SetExpanded() public méthode

public SetExpanded ( bool expanded ) : void
expanded bool
Résultat void

ToggleExpanded() public méthode

public ToggleExpanded ( ) : void
Résultat void