Botcraft 1.21.4
Loading...
Searching...
No Matches
Botcraft::Renderer::ImNode Struct Reference

A class to hold data to be drawn on ImNode context. More...

Public Member Functions

 ImNode (const int id_, const BehaviourNodeType t, const std::string &name_, const std::string &classname_)
 

Public Attributes

const int id
 
const BehaviourNodeType type
 
const std::string name
 
const std::string classname
 
int in_attr_id = -1
 
ImNodeparent = nullptr
 
std::vector< int > out_attr_ids
 
std::vector< ImNode * > children
 
float width = 0.0f
 
float height = 0.0f
 
float x = 0.0f
 
float y = 0.0f
 
ImNodeStatus status = ImNodeStatus::Idle
 
bool visible = true
 

Detailed Description

A class to hold data to be drawn on ImNode context.

Definition at line 32 of file BehaviourRenderer.cpp.

Constructor & Destructor Documentation

◆ ImNode()

Botcraft::Renderer::ImNode::ImNode ( const int  id_,
const BehaviourNodeType  t,
const std::string &  name_,
const std::string &  classname_ 
)
inline

Definition at line 51 of file BehaviourRenderer.cpp.

Member Data Documentation

◆ children

◆ classname

const std::string Botcraft::Renderer::ImNode::classname

◆ height

float Botcraft::Renderer::ImNode::height = 0.0f

◆ id

◆ in_attr_id

int Botcraft::Renderer::ImNode::in_attr_id = -1

◆ name

const std::string Botcraft::Renderer::ImNode::name

◆ out_attr_ids

std::vector<int> Botcraft::Renderer::ImNode::out_attr_ids

◆ parent

ImNode* Botcraft::Renderer::ImNode::parent = nullptr

◆ status

◆ type

const BehaviourNodeType Botcraft::Renderer::ImNode::type

◆ visible

◆ width

float Botcraft::Renderer::ImNode::width = 0.0f

◆ x

float Botcraft::Renderer::ImNode::x = 0.0f

◆ y

float Botcraft::Renderer::ImNode::y = 0.0f

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