Dungeon Architect  17.0.0
DungeonArchitect.Editors.SpatialConstraints.SpatialConstraintsEditorContextMenu Class Reference
Inheritance diagram for DungeonArchitect.Editors.SpatialConstraints.SpatialConstraintsEditorContextMenu:
DungeonArchitect.UI.Widgets.GraphEditors.GraphContextMenu

Public Member Functions

override void Show (GraphEditor graphEditor, GraphPin sourcePin, Vector2 mouseWorld, UISystem uiSystem)
 Shows the context menu in the theme graph editor More...
 
- Public Member Functions inherited from DungeonArchitect.UI.Widgets.GraphEditors.GraphContextMenu
delegate void OnRequestContextMenuCreation (Event e, UISystem uiSystem)
 
delegate void OnMenuItemClicked (object userdata, GraphContextMenuEvent e)
 
void HandleInput (Event e, UISystem uiSystem)
 Handles mouse input More...
 

Additional Inherited Members

- Protected Member Functions inherited from DungeonArchitect.UI.Widgets.GraphEditors.GraphContextMenu
GraphContextMenuEvent BuildEvent (object userdata, UISystem uiSystem)
 
void DispatchMenuItemEvent (object action, GraphContextMenuEvent e)
 
- Protected Attributes inherited from DungeonArchitect.UI.Widgets.GraphEditors.GraphContextMenu
bool dragged
 
int dragButtonId = 1
 
GraphPin sourcePin
 
Vector2 mouseWorldPosition
 
- Events inherited from DungeonArchitect.UI.Widgets.GraphEditors.GraphContextMenu
OnRequestContextMenuCreation RequestContextMenuCreation
 
OnMenuItemClicked MenuItemClicked
 

Detailed Description

Definition at line 9 of file SpatialConstraintsEditorContextMenu.cs.

Member Function Documentation

◆ Show()

override void DungeonArchitect.Editors.SpatialConstraints.SpatialConstraintsEditorContextMenu.Show ( GraphEditor  graphEditor,
GraphPin  sourcePin,
Vector2  mouseWorld,
UISystem  uiSystem 
)
virtual

Shows the context menu in the theme graph editor

Parameters
graphThe graph shown in the graph editor
sourcePinThe source pin, if the user dragged a link out of a pin. null otherwise
mouseWorldThe position of the mouse. The context menu would be shown from here

Implements DungeonArchitect.UI.Widgets.GraphEditors.GraphContextMenu.

Definition at line 22 of file SpatialConstraintsEditorContextMenu.cs.


The documentation for this class was generated from the following file: