C# Class UnityEditor.PreviewResizer

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

public GetExpanded ( ) : bool
return bool

GetExpandedBeforeDragging() public method

public GetExpandedBeforeDragging ( ) : bool
return bool

GetPreviewSize() public method

public GetPreviewSize ( ) : float
return float

Init() public method

public Init ( string prefName ) : void
prefName string
return void

PixelPreciseCollapsibleSlider() public static method

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
return float

ResizeHandle() public method

public ResizeHandle ( Rect windowPosition, float minSize, float minRemainingSize, float resizerHeight ) : float
windowPosition UnityEngine.Rect
minSize float
minRemainingSize float
resizerHeight float
return float

ResizeHandle() public method

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
return float

SetExpanded() public method

public SetExpanded ( bool expanded ) : void
expanded bool
return void

ToggleExpanded() public method

public ToggleExpanded ( ) : void
return void