C# Class UnityEditor.SplitView

Inheritance: View, ICleanuppable, IDropArea
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
controlID int
vertical bool

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ChildrenMinMaxChanged ( ) : void
SetPosition ( Rect newPos ) : void

Private Methods

Méthode 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 méthode

public AddChild ( View child, int idx ) : void
child View
idx int
Résultat void

ChildrenMinMaxChanged() protected méthode

protected ChildrenMinMaxChanged ( ) : void
Résultat void

Cleanup() public méthode

public Cleanup ( ) : void
Résultat void

DragOver() public méthode

public DragOver ( EditorWindow w, Vector2 mouseScreenPosition ) : DropInfo
w EditorWindow
mouseScreenPosition Vector2
Résultat DropInfo

DragOverRootView() public méthode

public DragOverRootView ( Vector2 mouseScreenPosition ) : DropInfo
mouseScreenPosition Vector2
Résultat DropInfo

PerformDrop() public méthode

public PerformDrop ( EditorWindow dropWindow, DropInfo dropInfo, Vector2 screenPos ) : bool
dropWindow EditorWindow
dropInfo DropInfo
screenPos Vector2
Résultat bool

RemoveChild() public méthode

public RemoveChild ( View child ) : void
child View
Résultat void

RemoveChildNice() public méthode

public RemoveChildNice ( View child ) : void
child View
Résultat void

SetPosition() protected méthode

protected SetPosition ( Rect newPos ) : void
newPos UnityEngine.Rect
Résultat void

SplitGUI() public méthode

public SplitGUI ( Event evt ) : void
evt UnityEngine.Event
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

controlID public_oe property

public int controlID
Résultat int

vertical public_oe property

public bool vertical
Résultat bool