C# Class AssetBundleGraph.NodeGUI

Show file Open project: unity3d-jp/AssetGraph Class Usage Examples

Public Properties

Property Type Description
scaleFactor float

Public Methods

Method Description
AppendErrorSources ( List errors ) : void
Conitains ( Vector2 globalPos ) : bool
DrawConnectionInputPointMark ( NodeEvent eventSource, bool justConnecting ) : void
DrawConnectionOutputPointMark ( NodeEvent eventSource, bool justConnecting, Event current ) : void
DrawNode ( ) : void
Duplicate ( float newX, float newY ) : NodeGUI
FindConnectionPointByPosition ( Vector2 globalPos ) : ConnectionPointData
GetBottomPos ( ) : int
GetPos ( ) : Vector2
GetRect ( ) : Rect
GetRightPos ( ) : int
GetX ( ) : int
GetY ( ) : int
HideProgress ( ) : void
MoveRelative ( Vector2 diff ) : void
NodeGUI ( NodeData data ) : System
ResetErrorStatus ( ) : void
ScaleEffect ( Rect nonScaledRect ) : Rect
ScaleEffect ( Vector2 nonScaledVector2 ) : Vector2
SetActive ( ) : void
SetInactive ( ) : void
SetPos ( Vector2 position ) : void
SetProgress ( float val ) : void
ShowFilterKeyTypeMenu ( string current, Action Selected ) : void
ShowProgress ( ) : void
ShowTypeNamesMenu ( string current, List contents, Action ExistSelected ) : void
UpdateNodeRect ( ) : void

Private Methods

Method Description
DrawNodeContents ( ) : void
DrawThisNode ( int id ) : void
HandleNodeEvent ( ) : void
IsOverConnectionPoint ( Vector2 touchedPoint ) : ConnectionPointData
RefreshConnectionPos ( ) : void

Method Details

AppendErrorSources() public method

public AppendErrorSources ( List errors ) : void
errors List
return void

Conitains() public method

public Conitains ( Vector2 globalPos ) : bool
globalPos Vector2
return bool

DrawConnectionInputPointMark() public method

public DrawConnectionInputPointMark ( NodeEvent eventSource, bool justConnecting ) : void
eventSource NodeEvent
justConnecting bool
return void

DrawConnectionOutputPointMark() public method

public DrawConnectionOutputPointMark ( NodeEvent eventSource, bool justConnecting, Event current ) : void
eventSource NodeEvent
justConnecting bool
current UnityEngine.Event
return void

DrawNode() public method

public DrawNode ( ) : void
return void

Duplicate() public method

public Duplicate ( float newX, float newY ) : NodeGUI
newX float
newY float
return NodeGUI

FindConnectionPointByPosition() public method

public FindConnectionPointByPosition ( Vector2 globalPos ) : ConnectionPointData
globalPos Vector2
return ConnectionPointData

GetBottomPos() public method

public GetBottomPos ( ) : int
return int

GetPos() public method

public GetPos ( ) : Vector2
return Vector2

GetRect() public method

public GetRect ( ) : Rect
return UnityEngine.Rect

GetRightPos() public method

public GetRightPos ( ) : int
return int

GetX() public method

public GetX ( ) : int
return int

GetY() public method

public GetY ( ) : int
return int

HideProgress() public method

public HideProgress ( ) : void
return void

MoveRelative() public method

public MoveRelative ( Vector2 diff ) : void
diff Vector2
return void

NodeGUI() public method

public NodeGUI ( NodeData data ) : System
data NodeData
return System

ResetErrorStatus() public method

public ResetErrorStatus ( ) : void
return void

ScaleEffect() public static method

public static ScaleEffect ( Rect nonScaledRect ) : Rect
nonScaledRect UnityEngine.Rect
return UnityEngine.Rect

ScaleEffect() public static method

public static ScaleEffect ( Vector2 nonScaledVector2 ) : Vector2
nonScaledVector2 Vector2
return Vector2

SetActive() public method

public SetActive ( ) : void
return void

SetInactive() public method

public SetInactive ( ) : void
return void

SetPos() public method

public SetPos ( Vector2 position ) : void
position Vector2
return void

SetProgress() public method

public SetProgress ( float val ) : void
val float
return void

ShowFilterKeyTypeMenu() public static method

public static ShowFilterKeyTypeMenu ( string current, Action Selected ) : void
current string
Selected Action
return void

ShowProgress() public method

public ShowProgress ( ) : void
return void

ShowTypeNamesMenu() public static method

public static ShowTypeNamesMenu ( string current, List contents, Action ExistSelected ) : void
current string
contents List
ExistSelected Action
return void

UpdateNodeRect() public method

public UpdateNodeRect ( ) : void
return void

Property Details

scaleFactor public static property

public static float scaleFactor
return float