Sequine - Scripting API
|
Classes | |
class | Config |
Public Member Functions | |
Node (Vector2 position, float width, float height, Config config) | |
ConnectionPoint | AddInPoint (Config _config) |
ConnectionPoint | AddOutPoint (Config _config) |
void | SetConfig (Config _config) |
void | Drag (Vector2 delta) |
virtual void | Draw (Vector2 _offset) |
bool | ProcessEvents (Vector2 _offset, Event e, float _zoomScale, ref bool _anyNodeClicked) |
bool | ProcessSelectedNodesEvents (Vector2 _offset, Event e, HashSet< Node > _selectedNodes) |
Public Attributes | |
Rect | rect |
bool | isDragged |
bool | isSelected |
bool | isOffScreen |
bool | hasOffScreenCalculated |
List< ConnectionPoint > | inPoints |
List< ConnectionPoint > | outPoints |
GUIStyle | style |
GUIStyle | defaultNodeStyle |
GUIStyle | selectedNodeStyle |
Action< Node > | OnRemoveNode |
Static Public Attributes | |
const float | verticalSpacing = 5 |
Protected Member Functions | |
virtual void | DrawOutPoint (Vector2 _nodePosition, int _index, float _yPos) |
virtual void | DrawInPoint (Vector2 _nodePosition, int _index, float _yPos) |
virtual void | OnEndDragNode () |
virtual bool | IsCopyAvailable () |
virtual void | Copy () |
virtual void | Paste () |
virtual void | HandleContextMenu (GenericMenu _genericMenu) |
virtual void | OnClickRemoveNode () |
virtual void | OnRemoved () |
Calcatz.CookieCutter.Node.Node | ( | Vector2 | position, |
float | width, | ||
float | height, | ||
Config | config | ||
) |
ConnectionPoint Calcatz.CookieCutter.Node.AddInPoint | ( | Config | _config | ) |
ConnectionPoint Calcatz.CookieCutter.Node.AddOutPoint | ( | Config | _config | ) |
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
void Calcatz.CookieCutter.Node.Drag | ( | Vector2 | delta | ) |
|
virtual |
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNode.
bool Calcatz.CookieCutter.Node.ProcessEvents | ( | Vector2 | _offset, |
Event | e, | ||
float | _zoomScale, | ||
ref bool | _anyNodeClicked | ||
) |
bool Calcatz.CookieCutter.Node.ProcessSelectedNodesEvents | ( | Vector2 | _offset, |
Event | e, | ||
HashSet< Node > | _selectedNodes | ||
) |
void Calcatz.CookieCutter.Node.SetConfig | ( | Config | _config | ) |
GUIStyle Calcatz.CookieCutter.Node.defaultNodeStyle |
bool Calcatz.CookieCutter.Node.hasOffScreenCalculated |
List<ConnectionPoint> Calcatz.CookieCutter.Node.inPoints |
bool Calcatz.CookieCutter.Node.isDragged |
bool Calcatz.CookieCutter.Node.isOffScreen |
bool Calcatz.CookieCutter.Node.isSelected |
Action<Node> Calcatz.CookieCutter.Node.OnRemoveNode |
List<ConnectionPoint> Calcatz.CookieCutter.Node.outPoints |
Rect Calcatz.CookieCutter.Node.rect |
GUIStyle Calcatz.CookieCutter.Node.selectedNodeStyle |
GUIStyle Calcatz.CookieCutter.Node.style |
|
static |