Kemena3D
Loading...
Searching...
No Matches
kemena::kScriptGraphNode Struct Reference

A single graph node with its input/output pins and payload. More...

#include <kscriptgraph.h>

Public Attributes

int id = 0
 Graph-unique node id.
kScriptNodeType type = kScriptNodeType::EventUpdate
 Node kind.
kString name
 Display label.
float posX = 0.0f
float posY = 0.0f
 Canvas position (editor only).
std::vector< kScriptGraphPininputs
 Input pins (exec + data).
std::vector< kScriptGraphPinoutputs
 Output pins (exec + data).
float valueFloat [3] = { 0.0f, 0.0f, 0.0f }
 Literal numeric value.
bool valueBool = false
 Literal boolean value.
kString valueStr
 Literal string OR variable name.

Detailed Description

A single graph node with its input/output pins and payload.

Member Data Documentation

◆ id

int kemena::kScriptGraphNode::id = 0

Graph-unique node id.

◆ inputs

std::vector<kScriptGraphPin> kemena::kScriptGraphNode::inputs

Input pins (exec + data).

◆ name

kString kemena::kScriptGraphNode::name

Display label.

◆ outputs

std::vector<kScriptGraphPin> kemena::kScriptGraphNode::outputs

Output pins (exec + data).

◆ posX

float kemena::kScriptGraphNode::posX = 0.0f

◆ posY

float kemena::kScriptGraphNode::posY = 0.0f

Canvas position (editor only).

◆ type

kScriptNodeType kemena::kScriptGraphNode::type = kScriptNodeType::EventUpdate

Node kind.

◆ valueBool

bool kemena::kScriptGraphNode::valueBool = false

Literal boolean value.

◆ valueFloat

float kemena::kScriptGraphNode::valueFloat[3] = { 0.0f, 0.0f, 0.0f }

Literal numeric value.

◆ valueStr

kString kemena::kScriptGraphNode::valueStr

Literal string OR variable name.


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