Sequine - Scripting API
|
Public Member Functions | |
NodesContainer () | |
void | CreateGUI (VisualElement _root, System.Func< Rect > _containerAreaGetter) |
virtual void | OnDrawNodesArea () |
void | GoToNode (CommandNode node) |
virtual void | RepaintIfDirty (bool _dontRepaintOnRemovalAction=false) |
Public Attributes | |
System.Func< Rect > | containerAreaGetter |
Protected Member Functions | |
void | Repaint () |
Rect | GetContainerArea () |
virtual Rect | GetNodesArea () |
virtual Node.Config | GetNodeConfig () |
virtual void | OnCreateGUI (VisualElement _root) |
void | RecreateGUI () |
void | UpdateNodesAreaSize (bool _repaint=false) |
virtual void | ProcessEvents (Event e) |
virtual bool | OnDragUpdated (UnityEngine.Object[] _draggedObjects) |
When drag is updated inside the empty nodes area. Use this to handle the visual before dropping. More... | |
virtual bool | OnDragPerformed (UnityEngine.Object[] _draggedObjects) |
When drag is performed inside the empty nodes area. Use this to handle when the object(s) actually dropped. More... | |
virtual void | Save () |
void | ProcessContextMenu (Vector2 mousePosition) |
virtual List< string > | GetStarredContextMenu () |
virtual void | HandleContextMenu (Vector2 _mousePosition, GenericMenu _genericMenu) |
void | OnDrag (Vector2 delta) |
virtual void | OnClickRemoveNode (Node node) |
virtual void | HandleRemovedConnections (Node _removedNode, List< Connection > _connectionsToRemove) |
virtual void | OnClickInPoint (ConnectionPoint inPoint) |
virtual void | OnClickOutPoint (ConnectionPoint outPoint) |
virtual void | OnClickRemoveConnection (Connection connection) |
void | ClearConnectionSelection () |
Protected Attributes | |
VisualElement | nodesArea |
List< Node > | nodes = new List<Node>() |
List< Connection > | connections = new List<Connection>() |
HashSet< Node > | selectedNodes = new HashSet<Node>() |
ConnectionPoint | selectedOutPoint |
Vector2 | realPositionOffset = Vector2.zero |
Properties | |
static Color | backgroundColor [get] |
Vector2 | RealPositionOffset [getset] |
float | ZoomScale [getset] |
virtual bool | enableNodesAreaDragAndDrop [get] |
bool | isPromptingRemoveNode [get] |
Calcatz.CookieCutter.NodesContainer.NodesContainer | ( | ) |
|
protected |
void Calcatz.CookieCutter.NodesContainer.CreateGUI | ( | VisualElement | _root, |
System.Func< Rect > | _containerAreaGetter | ||
) |
|
protected |
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
void Calcatz.CookieCutter.NodesContainer.GoToNode | ( | CommandNode | node | ) |
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protected |
|
protectedvirtual |
When drag is performed inside the empty nodes area. Use this to handle when the object(s) actually dropped.
_draggedObjects |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer, and Calcatz.Sequine.SequineFlowNodesContainer.
|
protectedvirtual |
When drag is updated inside the empty nodes area. Use this to handle the visual before dropping.
_draggedObjects |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer, and Calcatz.Sequine.SequineFlowNodesContainer.
|
virtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protected |
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protected |
|
protected |
|
virtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.CommandNodesContainer.
|
protected |
|
protected |
System.Func<Rect> Calcatz.CookieCutter.NodesContainer.containerAreaGetter |
|
protected |
|
protected |
|
protected |
|
staticget |
|
getprotected |
|
getprotected |
|
getset |
|
getset |