C# Class AssetBundleGraph.NodeGUI

Afficher le fichier Open project: unity3d-jp/AssetGraph Class Usage Examples

Méthodes publiques

Свойство Type Description
scaleFactor float

Méthodes publiques

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

Méthode Description
DrawNodeContents ( ) : void
DrawThisNode ( int id ) : void
HandleNodeEvent ( ) : void
IsOverConnectionPoint ( Vector2 touchedPoint ) : ConnectionPointData
RefreshConnectionPos ( ) : void

Method Details

AppendErrorSources() public méthode

public AppendErrorSources ( List errors ) : void
errors List
Résultat void

Conitains() public méthode

public Conitains ( Vector2 globalPos ) : bool
globalPos Vector2
Résultat bool

DrawConnectionInputPointMark() public méthode

public DrawConnectionInputPointMark ( NodeEvent eventSource, bool justConnecting ) : void
eventSource NodeEvent
justConnecting bool
Résultat void

DrawConnectionOutputPointMark() public méthode

public DrawConnectionOutputPointMark ( NodeEvent eventSource, bool justConnecting, Event current ) : void
eventSource NodeEvent
justConnecting bool
current UnityEngine.Event
Résultat void

DrawNode() public méthode

public DrawNode ( ) : void
Résultat void

Duplicate() public méthode

public Duplicate ( float newX, float newY ) : NodeGUI
newX float
newY float
Résultat NodeGUI

FindConnectionPointByPosition() public méthode

public FindConnectionPointByPosition ( Vector2 globalPos ) : ConnectionPointData
globalPos Vector2
Résultat ConnectionPointData

GetBottomPos() public méthode

public GetBottomPos ( ) : int
Résultat int

GetPos() public méthode

public GetPos ( ) : Vector2
Résultat Vector2

GetRect() public méthode

public GetRect ( ) : Rect
Résultat UnityEngine.Rect

GetRightPos() public méthode

public GetRightPos ( ) : int
Résultat int

GetX() public méthode

public GetX ( ) : int
Résultat int

GetY() public méthode

public GetY ( ) : int
Résultat int

HideProgress() public méthode

public HideProgress ( ) : void
Résultat void

MoveRelative() public méthode

public MoveRelative ( Vector2 diff ) : void
diff Vector2
Résultat void

NodeGUI() public méthode

public NodeGUI ( NodeData data ) : System
data NodeData
Résultat System

ResetErrorStatus() public méthode

public ResetErrorStatus ( ) : void
Résultat void

ScaleEffect() public static méthode

public static ScaleEffect ( Rect nonScaledRect ) : Rect
nonScaledRect UnityEngine.Rect
Résultat UnityEngine.Rect

ScaleEffect() public static méthode

public static ScaleEffect ( Vector2 nonScaledVector2 ) : Vector2
nonScaledVector2 Vector2
Résultat Vector2

SetActive() public méthode

public SetActive ( ) : void
Résultat void

SetInactive() public méthode

public SetInactive ( ) : void
Résultat void

SetPos() public méthode

public SetPos ( Vector2 position ) : void
position Vector2
Résultat void

SetProgress() public méthode

public SetProgress ( float val ) : void
val float
Résultat void

ShowFilterKeyTypeMenu() public static méthode

public static ShowFilterKeyTypeMenu ( string current, Action Selected ) : void
current string
Selected Action
Résultat void

ShowProgress() public méthode

public ShowProgress ( ) : void
Résultat void

ShowTypeNamesMenu() public static méthode

public static ShowTypeNamesMenu ( string current, List contents, Action ExistSelected ) : void
current string
contents List
ExistSelected Action
Résultat void

UpdateNodeRect() public méthode

public UpdateNodeRect ( ) : void
Résultat void

Property Details

scaleFactor public_oe static_oe property

public static float scaleFactor
Résultat float