![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Layout information for a single behavior tree node. More...
#include <BTGraphLayoutEngine.h>
Collaboration diagram for Olympe::BTNodeLayout:Public Attributes | |
| uint32_t | nodeId = 0 |
| BT node ID. | |
| Vector | position |
| Final position (x, y) | |
| int | layer = 0 |
| Hierarchical layer (0 = root) | |
| int | orderInLayer = 0 |
| Order within the layer. | |
| float | width = 200.0f |
| Node visual width (increased for readability) | |
| float | height = 100.0f |
| Node visual height (increased for readability) | |
Layout information for a single behavior tree node.
Definition at line 42 of file BTGraphLayoutEngine.h.
| float Olympe::BTNodeLayout::height = 100.0f |
Node visual height (increased for readability)
Definition at line 49 of file BTGraphLayoutEngine.h.
| int Olympe::BTNodeLayout::layer = 0 |
Hierarchical layer (0 = root)
Definition at line 46 of file BTGraphLayoutEngine.h.
| uint32_t Olympe::BTNodeLayout::nodeId = 0 |
BT node ID.
Definition at line 44 of file BTGraphLayoutEngine.h.
Referenced by Olympe::BTGraphLayoutEngine::AssignLayers().
| int Olympe::BTNodeLayout::orderInLayer = 0 |
Order within the layer.
Definition at line 47 of file BTGraphLayoutEngine.h.
| Vector Olympe::BTNodeLayout::position |
Final position (x, y)
Definition at line 45 of file BTGraphLayoutEngine.h.
Referenced by Olympe::BTGraphLayoutEngine::DoNodesOverlap(), Olympe::BTGraphLayoutEngine::PushNodeApart(), and Olympe::BTGraphLayoutEngine::ResolveCollisions().
| float Olympe::BTNodeLayout::width = 200.0f |
Node visual width (increased for readability)
Definition at line 48 of file BTGraphLayoutEngine.h.