Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
In-editor logical node instance.
Public Member Functions | |
Node (List< PipelineMap > source) | |
Creates node instance from the source data. More... | |
Node (List< PipelineMap > source, Node parent) | |
Creates hierarchy placed node. More... | |
void | Sort () |
Build list along with the order of elements on node. | |
void | ConnectPipelineItem (PipelineItem item) |
Bonds node with the source. More... | |
void | CalculateNewTargetPosition (float offsetY, bool rewriteCurrentPosition=false) |
Computes new target positions for node. More... | |
Public Attributes | |
List< Node > | children = new List<Node>() |
List of children nodes. | |
Package Attributes | |
int | linqs |
Count of child nodes called for the node. | |
Properties | |
virtual float | Height [get] |
Height of the node. | |
float | BranchHeight [get] |
Height of the entire brunch of the node including children. | |
Vector2 | DestinationPosition = new Vector2(20, 20) [get, protected set] |
Destination position of the node that should be reached. | |
Vector2 | position = new Vector2(20, 20) [get, set] |
In-editor position of the node at the moment. | |
ReorderableList | GUIRepresentation [get] |
GUI representation of the node's content. | |
Node | parent [get] |
Parental node reference. | |
int | ParentHierarchyIndex [get, set] |
Index of the node on the parental node. | |
List< PipelineMap > | source = new List<PipelineMap>() [get] |
Reference to the source map. | |
int | layer [get] |
Index of layer at in-editor visualization graph. | |
Doloro.AI.DAIStudio.Node.Node | ( | List< PipelineMap > | source | ) |
Creates node instance from the source data.
source | Data source. |
Doloro.AI.DAIStudio.Node.Node | ( | List< PipelineMap > | source, |
Node | parent | ||
) |
Creates hierarchy placed node.
source | Data source. |
parent | Parental node in hierachy. |
void Doloro.AI.DAIStudio.Node.CalculateNewTargetPosition | ( | float | offsetY, |
bool | rewriteCurrentPosition = false |
||
) |
Computes new target positions for node.
offsetY | Y offset of the node on the canvas. |
rewriteCurrentPosition | If true than position will receive destination value instantly. |
void Doloro.AI.DAIStudio.Node.ConnectPipelineItem | ( | PipelineItem | item | ) |
Bonds node with the source.
item |