C# Class Invert.Core.GraphDesigner.Unity.UnityDrawer

Inheritance: IPlatformDrawer
Afficher le fichier Open project: InvertGames/uFrame.Editor

Méthodes publiques

Свойство Type Description
WhiteLabels bool

Méthodes publiques

Méthode Description
BeginRender ( object sender, MouseEvent mouseEvent ) : void
CalculateImageSize ( string imageName ) : Vector2
CalculateTextHeight ( string text, object styleObject, float width ) : float
CalculateTextSize ( string text, object styleObject ) : Vector2
ClearTooltip ( ) : void
DisableInput ( ) : void
DoButton ( Rect scale, string label, object style, System.Action action, System.Action rightClick = null ) : void
DoButton ( Rect scale, string label, object style, Action action, Action rightClick = null ) : void
DoTabs ( Rect tabsRect, DesignerWindow designerWindow ) : void
DoToolbar ( Rect toolbarTopRect, DesignerWindow designerWindow, ToolbarPosition position ) : void
DrawBezier ( Vector3 startPosition, Vector3 endPosition, Vector3 startTangent, Vector3 endTangent, Color color, float width ) : void
DrawColumns ( Rect rect ) : void
DrawColumns ( Rect rect, float columnWidths ) : void
DrawConnector ( float scale, ConnectorViewModel viewModel ) : void
DrawError ( Rect rect, string key ) : void
DrawExpandableBox ( Rect rect, object style, string text, RectOffset offset ) : void
DrawExpandableBox ( Rect rect, object style, string text, float offset = 12 ) : void
DrawImage ( Rect bounds, object texture, bool b ) : void
DrawImage ( Rect bounds, string texture, bool b ) : void
DrawInfo ( Rect rect, string key ) : void
DrawInspector ( PropertyFieldViewModel d, GUIStyle labelStyle ) : void
DrawInspector ( Rect rect, PropertyFieldViewModel d, GUIStyle labelStyle ) : void
DrawLabel ( Rect rect, string label, object style, DrawingAlignment alignment = DrawingAlignment.MiddleLeft ) : void
DrawLabelWithIcon ( Rect rect, string label, string iconName, object style, DrawingAlignment alignment = DrawingAlignment.MiddleLeft ) : void
DrawLine ( Vector3 lines, Color color ) : void
DrawNodeHeader ( Rect boxRect, object backgroundStyle, bool isCollapsed, float scale, object image ) : void
DrawPolyLine ( Vector2 lines, Color color ) : void
DrawPropertyField ( PropertyFieldViewModel fieldViewModel, float scale ) : void
DrawPropertyField ( Rect r, PropertyFieldViewModel fieldViewModel, float scale ) : void
DrawRect ( Rect boundsRect, Color color ) : void
DrawStretchBox ( Rect scale, object nodeBackground, Rect offset ) : void
DrawStretchBox ( Rect scale, object nodeBackground, float offset ) : void
DrawTextbox ( string id, Rect rect, string value, object itemTextEditingStyle, bool>.Action valueChangedAction ) : void
DrawWarning ( Rect rect, string key ) : void
DrawingComplete ( ) : void
DrawingStarted ( ) : void
EnableInput ( ) : void
EndRender ( ) : void
GetTooltip ( ) : string
SetTooltipForRect ( Rect rect, string tooltip ) : void

Method Details

BeginRender() public méthode

public BeginRender ( object sender, MouseEvent mouseEvent ) : void
sender object
mouseEvent MouseEvent
Résultat void

CalculateImageSize() public méthode

public CalculateImageSize ( string imageName ) : Vector2
imageName string
Résultat Vector2

CalculateTextHeight() public méthode

public CalculateTextHeight ( string text, object styleObject, float width ) : float
text string
styleObject object
width float
Résultat float

CalculateTextSize() public méthode

public CalculateTextSize ( string text, object styleObject ) : Vector2
text string
styleObject object
Résultat Vector2

ClearTooltip() public méthode

public ClearTooltip ( ) : void
Résultat void

DisableInput() public méthode

public DisableInput ( ) : void
Résultat void

DoButton() public méthode

public DoButton ( Rect scale, string label, object style, System.Action action, System.Action rightClick = null ) : void
scale UnityEngine.Rect
label string
style object
action System.Action
rightClick System.Action
Résultat void

DoButton() public méthode

public DoButton ( Rect scale, string label, object style, Action action, Action rightClick = null ) : void
scale UnityEngine.Rect
label string
style object
action Action
rightClick Action
Résultat void

DoTabs() public méthode

public DoTabs ( Rect tabsRect, DesignerWindow designerWindow ) : void
tabsRect UnityEngine.Rect
designerWindow DesignerWindow
Résultat void

DoToolbar() public méthode

public DoToolbar ( Rect toolbarTopRect, DesignerWindow designerWindow, ToolbarPosition position ) : void
toolbarTopRect UnityEngine.Rect
designerWindow DesignerWindow
position ToolbarPosition
Résultat void

DrawBezier() public méthode

public DrawBezier ( Vector3 startPosition, Vector3 endPosition, Vector3 startTangent, Vector3 endTangent, Color color, float width ) : void
startPosition Vector3
endPosition Vector3
startTangent Vector3
endTangent Vector3
color Color
width float
Résultat void

DrawColumns() public méthode

public DrawColumns ( Rect rect ) : void
rect UnityEngine.Rect
Résultat void

DrawColumns() public méthode

public DrawColumns ( Rect rect, float columnWidths ) : void
rect UnityEngine.Rect
columnWidths float
Résultat void

DrawConnector() public méthode

public DrawConnector ( float scale, ConnectorViewModel viewModel ) : void
scale float
viewModel ConnectorViewModel
Résultat void

DrawError() public méthode

public DrawError ( Rect rect, string key ) : void
rect UnityEngine.Rect
key string
Résultat void

DrawExpandableBox() public méthode

public DrawExpandableBox ( Rect rect, object style, string text, RectOffset offset ) : void
rect UnityEngine.Rect
style object
text string
offset UnityEngine.RectOffset
Résultat void

DrawExpandableBox() public méthode

public DrawExpandableBox ( Rect rect, object style, string text, float offset = 12 ) : void
rect UnityEngine.Rect
style object
text string
offset float
Résultat void

DrawImage() public méthode

public DrawImage ( Rect bounds, object texture, bool b ) : void
bounds UnityEngine.Rect
texture object
b bool
Résultat void

DrawImage() public méthode

public DrawImage ( Rect bounds, string texture, bool b ) : void
bounds UnityEngine.Rect
texture string
b bool
Résultat void

DrawInfo() public méthode

public DrawInfo ( Rect rect, string key ) : void
rect UnityEngine.Rect
key string
Résultat void

DrawInspector() public méthode

public DrawInspector ( PropertyFieldViewModel d, GUIStyle labelStyle ) : void
d PropertyFieldViewModel
labelStyle UnityEngine.GUIStyle
Résultat void

DrawInspector() public méthode

public DrawInspector ( Rect rect, PropertyFieldViewModel d, GUIStyle labelStyle ) : void
rect UnityEngine.Rect
d PropertyFieldViewModel
labelStyle UnityEngine.GUIStyle
Résultat void

DrawLabel() public méthode

public DrawLabel ( Rect rect, string label, object style, DrawingAlignment alignment = DrawingAlignment.MiddleLeft ) : void
rect UnityEngine.Rect
label string
style object
alignment DrawingAlignment
Résultat void

DrawLabelWithIcon() public méthode

public DrawLabelWithIcon ( Rect rect, string label, string iconName, object style, DrawingAlignment alignment = DrawingAlignment.MiddleLeft ) : void
rect UnityEngine.Rect
label string
iconName string
style object
alignment DrawingAlignment
Résultat void

DrawLine() public méthode

public DrawLine ( Vector3 lines, Color color ) : void
lines Vector3
color Color
Résultat void

DrawNodeHeader() public méthode

public DrawNodeHeader ( Rect boxRect, object backgroundStyle, bool isCollapsed, float scale, object image ) : void
boxRect UnityEngine.Rect
backgroundStyle object
isCollapsed bool
scale float
image object
Résultat void

DrawPolyLine() public méthode

public DrawPolyLine ( Vector2 lines, Color color ) : void
lines Vector2
color Color
Résultat void

DrawPropertyField() public méthode

public DrawPropertyField ( PropertyFieldViewModel fieldViewModel, float scale ) : void
fieldViewModel PropertyFieldViewModel
scale float
Résultat void

DrawPropertyField() public méthode

public DrawPropertyField ( Rect r, PropertyFieldViewModel fieldViewModel, float scale ) : void
r UnityEngine.Rect
fieldViewModel PropertyFieldViewModel
scale float
Résultat void

DrawRect() public méthode

public DrawRect ( Rect boundsRect, Color color ) : void
boundsRect UnityEngine.Rect
color Color
Résultat void

DrawStretchBox() public méthode

public DrawStretchBox ( Rect scale, object nodeBackground, Rect offset ) : void
scale UnityEngine.Rect
nodeBackground object
offset UnityEngine.Rect
Résultat void

DrawStretchBox() public méthode

public DrawStretchBox ( Rect scale, object nodeBackground, float offset ) : void
scale UnityEngine.Rect
nodeBackground object
offset float
Résultat void

DrawTextbox() public méthode

public DrawTextbox ( string id, Rect rect, string value, object itemTextEditingStyle, bool>.Action valueChangedAction ) : void
id string
rect UnityEngine.Rect
value string
itemTextEditingStyle object
valueChangedAction bool>.Action
Résultat void

DrawWarning() public méthode

public DrawWarning ( Rect rect, string key ) : void
rect UnityEngine.Rect
key string
Résultat void

DrawingComplete() public méthode

public DrawingComplete ( ) : void
Résultat void

DrawingStarted() public méthode

public DrawingStarted ( ) : void
Résultat void

EnableInput() public méthode

public EnableInput ( ) : void
Résultat void

EndRender() public méthode

public EndRender ( ) : void
Résultat void

GetTooltip() public méthode

public GetTooltip ( ) : string
Résultat string

SetTooltipForRect() public méthode

public SetTooltipForRect ( Rect rect, string tooltip ) : void
rect UnityEngine.Rect
tooltip string
Résultat void

Property Details

WhiteLabels public_oe static_oe property

public static bool WhiteLabels
Résultat bool