Contains GUI methods
More...
|
Action | onLateGUI |
| Executed after all other window GUI. Useful if Zoom is ruining your day. Automatically resets after being run. More...
|
|
◆ NodeActivity
Enumerator |
---|
Idle | |
HoldNode | |
DragNode | |
HoldGrid | |
DragGrid | |
◆ AutoConnect()
void XNodeEditor.NodeEditorWindow.AutoConnect |
( |
XNode.Node |
node | ) |
|
Attempt to connect dragged output to target node
◆ BeginZoomed()
static void XNodeEditor.NodeEditorWindow.BeginZoomed |
( |
Rect |
rect, |
|
|
float |
zoom, |
|
|
float |
topPadding |
|
) |
| |
|
static |
◆ Controls()
void XNodeEditor.NodeEditorWindow.Controls |
( |
| ) |
|
◆ CopySelectedNodes()
void XNodeEditor.NodeEditorWindow.CopySelectedNodes |
( |
| ) |
|
◆ DeselectNode()
void XNodeEditor.NodeEditorWindow.DeselectNode |
( |
XNode.Node |
node | ) |
|
◆ DrawConnections()
void XNodeEditor.NodeEditorWindow.DrawConnections |
( |
| ) |
|
◆ DrawDraggedConnection()
void XNodeEditor.NodeEditorWindow.DrawDraggedConnection |
( |
| ) |
|
Draw a connection as we are dragging it
◆ DrawGrid()
void XNodeEditor.NodeEditorWindow.DrawGrid |
( |
Rect |
rect, |
|
|
float |
zoom, |
|
|
Vector2 |
panOffset |
|
) |
| |
◆ DrawNoodle()
void XNodeEditor.NodeEditorWindow.DrawNoodle |
( |
Gradient |
gradient, |
|
|
NoodlePath |
path, |
|
|
NoodleStroke |
stroke, |
|
|
float |
thickness, |
|
|
List< Vector2 > |
gridPoints |
|
) |
| |
Draw a bezier from output to input in grid coordinates
◆ DrawSelectionBox()
void XNodeEditor.NodeEditorWindow.DrawSelectionBox |
( |
| ) |
|
◆ DropdownButton()
static bool XNodeEditor.NodeEditorWindow.DropdownButton |
( |
string |
name, |
|
|
float |
width |
|
) |
| |
|
static |
◆ DuplicateSelectedNodes()
void XNodeEditor.NodeEditorWindow.DuplicateSelectedNodes |
( |
| ) |
|
Duplicate selected nodes and select the duplicates
◆ EndZoomed()
static void XNodeEditor.NodeEditorWindow.EndZoomed |
( |
Rect |
rect, |
|
|
float |
zoom, |
|
|
float |
topPadding |
|
) |
| |
|
static |
◆ GetTitle()
static string XNodeEditor.NodeEditorWindow.GetTitle |
( |
XNode.NodeGraph |
graph | ) |
|
|
static |
◆ GridToWindowPosition()
Vector2 XNodeEditor.NodeEditorWindow.GridToWindowPosition |
( |
Vector2 |
gridPosition | ) |
|
◆ GridToWindowPositionNoClipped()
Vector2 XNodeEditor.NodeEditorWindow.GridToWindowPositionNoClipped |
( |
Vector2 |
gridPosition | ) |
|
◆ GridToWindowRect()
Rect XNodeEditor.NodeEditorWindow.GridToWindowRect |
( |
Rect |
gridRect | ) |
|
◆ GridToWindowRectNoClipped()
Rect XNodeEditor.NodeEditorWindow.GridToWindowRectNoClipped |
( |
Rect |
gridRect | ) |
|
◆ Home()
void XNodeEditor.NodeEditorWindow.Home |
( |
| ) |
|
Puts all selected nodes in focus. If no nodes are present, resets view and zoom to to origin
◆ Init()
◆ MoveNodeToTop()
void XNodeEditor.NodeEditorWindow.MoveNodeToTop |
( |
XNode.Node |
node | ) |
|
Draw this node on top of other nodes by placing it last in the graph.nodes list
◆ OnGUI()
virtual void XNodeEditor.NodeEditorWindow.OnGUI |
( |
| ) |
|
|
protectedvirtual |
◆ OnOpen()
static bool XNodeEditor.NodeEditorWindow.OnOpen |
( |
int |
instanceID, |
|
|
int |
line |
|
) |
| |
|
static |
◆ Open()
◆ PasteNodes()
void XNodeEditor.NodeEditorWindow.PasteNodes |
( |
Vector2 |
pos | ) |
|
◆ RemoveSelectedNodes()
void XNodeEditor.NodeEditorWindow.RemoveSelectedNodes |
( |
| ) |
|
Remove nodes in the graph in Selection.objects
◆ RenameSelectedNode()
void XNodeEditor.NodeEditorWindow.RenameSelectedNode |
( |
| ) |
|
Initiate a rename on the currently selected node
◆ RepaintAll()
static void XNodeEditor.NodeEditorWindow.RepaintAll |
( |
| ) |
|
|
static |
Repaint all open NodeEditorWindows.
◆ Save()
void XNodeEditor.NodeEditorWindow.Save |
( |
| ) |
|
◆ SaveAs()
void XNodeEditor.NodeEditorWindow.SaveAs |
( |
| ) |
|
◆ SelectNode()
void XNodeEditor.NodeEditorWindow.SelectNode |
( |
XNode.Node |
node, |
|
|
bool |
add |
|
) |
| |
◆ WindowToGridPosition()
Vector2 XNodeEditor.NodeEditorWindow.WindowToGridPosition |
( |
Vector2 |
windowPosition | ) |
|
◆ copyBuffer
XNode.Node [] XNodeEditor.NodeEditorWindow.copyBuffer = null |
|
static |
◆ current
◆ currentActivity
◆ dragOffset
Vector2 [] XNodeEditor.NodeEditorWindow.dragOffset |
|
static |
◆ graph
◆ graphEditor
◆ hoveredPort
◆ isPanning
bool XNodeEditor.NodeEditorWindow.isPanning |
|
staticget |
◆ nodeSizes
Dictionary<XNode.Node, Vector2> XNodeEditor.NodeEditorWindow.nodeSizes |
|
get |
◆ panOffset
Vector2 XNodeEditor.NodeEditorWindow.panOffset |
|
getset |
◆ portConnectionPoints
Dictionary<XNode.NodePort, Rect> XNodeEditor.NodeEditorWindow.portConnectionPoints |
|
get |
Stores node positions for all nodePorts.
◆ zoom
float XNodeEditor.NodeEditorWindow.zoom |
|
getset |
◆ onLateGUI
Action XNodeEditor.NodeEditorWindow.onLateGUI |
Executed after all other window GUI. Useful if Zoom is ruining your day. Automatically resets after being run.
The documentation for this class was generated from the following files:
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/ThirdpartyWrappers/xNode/Editor/NodeEditorAction.cs
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/ThirdpartyWrappers/xNode/Editor/NodeEditorGUI.cs
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/ThirdpartyWrappers/xNode/Editor/NodeEditorWindow.cs