C# Class UnityEditor.SplitView

Inheritance: View, ICleanuppable, IDropArea
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
controlID int
vertical bool

Public Methods

Method Description
AddChild ( View child, int idx ) : void
Cleanup ( ) : void
DragOver ( EditorWindow w, Vector2 mouseScreenPosition ) : DropInfo
DragOverRootView ( Vector2 mouseScreenPosition ) : DropInfo
PerformDrop ( EditorWindow dropWindow, DropInfo dropInfo, Vector2 screenPos ) : bool
RemoveChild ( View child ) : void
RemoveChildNice ( View child ) : void
SplitGUI ( Event evt ) : void
ToString ( ) : string

Protected Methods

Method Description
ChildrenMinMaxChanged ( ) : void
SetPosition ( Rect newPos ) : void

Private Methods

Method Description
CalcRoomForRect ( Rect sources, Rect r ) : void
MakeRoomForRect ( Rect r ) : void
PlaceView ( int i, float pos, float size ) : void
PosVals ( float posVals ) : string
RecalcMinMaxAndReflowAll ( SplitView start ) : void
RecalcMinMaxRecurse ( SplitView node ) : void
RectFromEdge ( Rect rect, ViewEdge edge, float thickness, float offset ) : Rect
Reflow ( ) : void
ReflowRecurse ( SplitView node ) : void
RootViewDropZone ( ViewEdge edge, Vector2 mousePos, Rect screenRect ) : DropInfo
SetupRectsFromSplitter ( ) : void
SetupSplitter ( ) : void

Method Details

AddChild() public method

public AddChild ( View child, int idx ) : void
child View
idx int
return void

ChildrenMinMaxChanged() protected method

protected ChildrenMinMaxChanged ( ) : void
return void

Cleanup() public method

public Cleanup ( ) : void
return void

DragOver() public method

public DragOver ( EditorWindow w, Vector2 mouseScreenPosition ) : DropInfo
w EditorWindow
mouseScreenPosition Vector2
return DropInfo

DragOverRootView() public method

public DragOverRootView ( Vector2 mouseScreenPosition ) : DropInfo
mouseScreenPosition Vector2
return DropInfo

PerformDrop() public method

public PerformDrop ( EditorWindow dropWindow, DropInfo dropInfo, Vector2 screenPos ) : bool
dropWindow EditorWindow
dropInfo DropInfo
screenPos Vector2
return bool

RemoveChild() public method

public RemoveChild ( View child ) : void
child View
return void

RemoveChildNice() public method

public RemoveChildNice ( View child ) : void
child View
return void

SetPosition() protected method

protected SetPosition ( Rect newPos ) : void
newPos UnityEngine.Rect
return void

SplitGUI() public method

public SplitGUI ( Event evt ) : void
evt UnityEngine.Event
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

controlID public_oe property

public int controlID
return int

vertical public_oe property

public bool vertical
return bool