Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
Olympe::BTNodeLayout Struct Reference

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)
 

Detailed Description

Layout information for a single behavior tree node.

Definition at line 42 of file BTGraphLayoutEngine.h.

Member Data Documentation

◆ height

float Olympe::BTNodeLayout::height = 100.0f

Node visual height (increased for readability)

Definition at line 49 of file BTGraphLayoutEngine.h.

◆ layer

int Olympe::BTNodeLayout::layer = 0

Hierarchical layer (0 = root)

Definition at line 46 of file BTGraphLayoutEngine.h.

◆ nodeId

uint32_t Olympe::BTNodeLayout::nodeId = 0

BT node ID.

Definition at line 44 of file BTGraphLayoutEngine.h.

Referenced by Olympe::BTGraphLayoutEngine::AssignLayers().

◆ orderInLayer

int Olympe::BTNodeLayout::orderInLayer = 0

Order within the layer.

Definition at line 47 of file BTGraphLayoutEngine.h.

◆ position

Vector Olympe::BTNodeLayout::position

◆ width

float Olympe::BTNodeLayout::width = 200.0f

Node visual width (increased for readability)

Definition at line 48 of file BTGraphLayoutEngine.h.


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