Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.DAIStudio.Studio Class Reference

Detailed Description

AI IDE.

Inheritance diagram for Doloro.AI.DAIStudio.Studio:
Collaboration diagram for Doloro.AI.DAIStudio.Studio:

Public Member Functions

delegate void GUIExtensionHandler ()
 
delegate void IDEConfigurationUpdateHandler ()
 
delegate void HierarchyUpdateHandler (List< PipelineMap > hierarchy)
 
void ReleaseSelectedEntity ()
 Releasing temporal data related to selected entity.
 

Static Public Member Functions

static void Init ()
 Window initialization.
 

Static Public Attributes

static GUIExtensionHandler NodesCatalogGUIProvider
 Custom nodes catalog GUI element provider. More...
 

Protected Member Functions

virtual void EstablishEnvirounment ()
 Handler that initializes entire environment data and settings.
 
virtual void OnSelectionChange ()
 Occurs when hierarchy selection has being changed.
 
virtual void OnGUI ()
 Editor GUI.
 
virtual void OnDestroy ()
 Calls when window destroys
 
virtual void OnWorkspaceGUI ()
 GUI rendered in workspace editor zone.
 
virtual void OnNodeGUI (Node node)
 Draws node's GUI element and its following ui. More...
 
virtual bool OnEditorValidation ()
 Handler that must checks is the editor has entire data required for stable work. More...
 
virtual void OnPreInput ()
 Handles input goes before any editor controls.
 
virtual void OnPostInput ()
 Handles input events after the core features has been executed.
 
virtual void CreateEditorNode (Node parent, int index)
 Opens new opened node to the scene. More...
 
virtual void OnNodeClose (Node node, bool head)
 Closing node instance in the editor. More...
 
virtual void OnNodeRemove (Node node, int index)
 Removing node instance from the project. More...
 
virtual void OnNodeHeaderGUI (Rect rect)
 Node header draw handler. More...
 
virtual void OnNodeChildGUI (Rect rect, int index, bool active, bool focused)
 Draws one element of the list (ListItemExample) More...
 
virtual void OnNodeBackgroundGUI (Rect rect, int index, bool active, bool focused)
 Handles node's line background draw. More...
 
virtual void OnNodeReorder (ReorderableList list)
 Handles node lines reordering process. More...
 
virtual void OnNodeChildAdd (ReorderableList list)
 Adding element to a node. More...
 
virtual void NodesCatalogContextGUI ()
 Calls context menu with categorized nodes that adds new node after the selection of an item within.
 
virtual void OnNodeAdd (object obj)
 Handler for node adding callback. More...
 
virtual void OnNodePast (object obj)
 Pasts copied instance of the node. More...
 
virtual void OnNodeRemove (object obj)
 Handle for node remove event. More...
 
virtual void OnNodeChildRemove (ReorderableList list)
 Removing child element from the node. More...
 

Properties

Brain Current [get]
 Current AI entity in edit mode.
 
string ProjectPath [get]
 Returns relevant project path.
 
PipelineMap SelectedPipeline [get]
 Node selected to editing at the moment.
 
GameObject SelectedGameObject [get]
 Game object selected in hierarchy.
 
string EscapeNamespace = "Doloro.AI." [get, set]
 Name space prefix that are skipping to reduce unnecessary regular naming parts.
 
Node NodeOnDraw [get]
 Buffer that holds currently handling node.
 
int HandlingNodeGUILineIndex = 0 [get]
 Index of current line on handler.
 
DAIInspector.Inspector inspector [get]
 Reference to PipelineItem inspector.
 

Events

static HierarchyUpdateHandler MapLoaded
 Occurs when new map loaded. More...
 
IDEConfigurationUpdateHandler BrainSelected
 Occurs when new source object is selected.
 
IDEConfigurationUpdateHandler NewItemSelected
 Occurs when new pipeline item is selected.
 

Member Function Documentation

◆ CreateEditorNode()

virtual void Doloro.AI.DAIStudio.Studio.CreateEditorNode ( Node  parent,
int  index 
)
protectedvirtual

Opens new opened node to the scene.

Parameters
parentParental node.
indexIndex of branched item on the parent node.

◆ OnEditorValidation()

virtual bool Doloro.AI.DAIStudio.Studio.OnEditorValidation ( )
protectedvirtual

Handler that must checks is the editor has entire data required for stable work.

Returns
false drops editor execution.

◆ OnNodeAdd()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeAdd ( object  obj)
protectedvirtual

Handler for node adding callback.

Parameters
obj

◆ OnNodeBackgroundGUI()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeBackgroundGUI ( Rect  rect,
int  index,
bool  active,
bool  focused 
)
protectedvirtual

Handles node's line background draw.

Parameters
rectRect of the GUI space.
indexIndex of the line.
activeIs the line active.
focusedIs the line focused.

◆ OnNodeChildAdd()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeChildAdd ( ReorderableList  list)
protectedvirtual

Adding element to a node.

Parameters
listDestination node's list.

◆ OnNodeChildGUI()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeChildGUI ( Rect  rect,
int  index,
bool  active,
bool  focused 
)
protectedvirtual

Draws one element of the list (ListItemExample)

Parameters
rect
index
active
focused

◆ OnNodeChildRemove()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeChildRemove ( ReorderableList  list)
protectedvirtual

Removing child element from the node.

Parameters
listGUI representation of the node.

◆ OnNodeClose()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeClose ( Node  node,
bool  head 
)
protectedvirtual

Closing node instance in the editor.

Parameters
nodeNode to close.

◆ OnNodeGUI()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeGUI ( Node  node)
protectedvirtual

Draws node's GUI element and its following ui.

Parameters
nodeNode to draw.

◆ OnNodeHeaderGUI()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeHeaderGUI ( Rect  rect)
protectedvirtual

Node header draw handler.

Parameters
rectHeader GUI space.

◆ OnNodePast()

virtual void Doloro.AI.DAIStudio.Studio.OnNodePast ( object  obj)
protectedvirtual

Pasts copied instance of the node.

Parameters
objInstance of the node that has been copied.

◆ OnNodeRemove() [1/2]

virtual void Doloro.AI.DAIStudio.Studio.OnNodeRemove ( Node  node,
int  index 
)
protectedvirtual

Removing node instance from the project.

Parameters
nodeNode to remove.

◆ OnNodeRemove() [2/2]

virtual void Doloro.AI.DAIStudio.Studio.OnNodeRemove ( object  obj)
protectedvirtual

Handle for node remove event.

Parameters
objRemoving node instance.

◆ OnNodeReorder()

virtual void Doloro.AI.DAIStudio.Studio.OnNodeReorder ( ReorderableList  list)
protectedvirtual

Handles node lines reordering process.

Parameters
listGUI representation of reordering node.

Member Data Documentation

◆ NodesCatalogGUIProvider

GUIExtensionHandler Doloro.AI.DAIStudio.Studio.NodesCatalogGUIProvider
static

Custom nodes catalog GUI element provider.

Invoking when user press add button on the node. If null or causing exception switches to the default context menu.

Event Documentation

◆ MapLoaded

HierarchyUpdateHandler Doloro.AI.DAIStudio.Studio.MapLoaded
static

Occurs when new map loaded.

Used to source validation and update before it become a part of IDE.


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