C# Class Rondo.NodeEditor.Base.BaseNode

Show file Open project: Randehh/Unity-NodeEditor Class Usage Examples

Public Properties

Property Type Description
isDraggable bool
rect UnityEngine.Rect
windowTag string

Protected Properties

Property Type Description
height int
width int

Public Methods

Method Description
AddConnection ( NodeConnection connection ) : void
BaseNode ( Rect rect ) : Assets.NodeEditor.Editor
DrawHandles ( ) : void
DrawNode ( ) : void
GetChildNodes ( ) : List
GetConnections ( ) : List
Move ( Vector2 v, bool moveChildren ) : void
MoveChildren ( Vector2 v ) : void
Organize ( ) : int
RemoveConnection ( NodeConnection connection ) : void
Resize ( ) : void

Private Methods

Method Description
DrawConnectionCurve ( NodeConnection c ) : void
DrawHandle ( NodeHandle handle ) : void

Method Details

AddConnection() public method

public AddConnection ( NodeConnection connection ) : void
connection NodeConnection
return void

BaseNode() public method

public BaseNode ( Rect rect ) : Assets.NodeEditor.Editor
rect UnityEngine.Rect
return Assets.NodeEditor.Editor

DrawHandles() public method

public DrawHandles ( ) : void
return void

DrawNode() public method

public DrawNode ( ) : void
return void

GetChildNodes() public method

public GetChildNodes ( ) : List
return List

GetConnections() public method

public GetConnections ( ) : List
return List

Move() public method

public Move ( Vector2 v, bool moveChildren ) : void
v Vector2
moveChildren bool
return void

MoveChildren() public method

public MoveChildren ( Vector2 v ) : void
v Vector2
return void

Organize() public method

public Organize ( ) : int
return int

RemoveConnection() public method

public RemoveConnection ( NodeConnection connection ) : void
connection NodeConnection
return void

Resize() public method

public Resize ( ) : void
return void

Property Details

height protected property

protected int height
return int

isDraggable public property

public bool isDraggable
return bool

rect public property

public Rect,UnityEngine rect
return UnityEngine.Rect

width protected property

protected int width
return int

windowTag public property

public string windowTag
return string