7#include "../../third_party/imgui/imgui.h"
8#include "../../BlueprintEditor/BBVariableRegistry.h"
51 ImGui::Text(
"SetBBValue: %s",
m_nodeName.c_str());
52 ImGui::PopStyleColor();
59 ImGui::TextDisabled(
"(no template)");
65 const std::vector<VarSpec>&
vars =
bbReg.GetAllVariables();
67 ImGui::Text(
"Target Variable:");
71 ImGui::SetNextItemWidth(200.0f);
75 for (
size_t i = 0;
i <
vars.size(); ++
i)
81 if (ImGui::Selectable(
v.displayLabel.c_str(), selected))
91 ImGui::SetItemDefaultFocus();
105 ImGui::Text(
"Value Input:");
121 default:
typeStr =
"Unknown";
break;
124 ImGui::Text(
"Type: %s",
typeStr.c_str());
125 ImGui::TextDisabled(
"(Value set at runtime via incoming exec or parameter binding)");
ComponentTypeID GetComponentTypeID_Static()
UI Properties panel for a SetBBValue node – variable and value editor.
Non-singleton registry populated from the active TaskGraphTemplate.
void LoadFromTemplate(const TaskGraphTemplate &tmpl)
Rebuilds the registry from the blackboard entries of a template.
void RenderTitleSection()
void RenderVariableSelector()
void SetTemplate(const TaskGraphTemplate *tmpl)
const std::string & GetBBKey() const
SetBBValuePropertyPanel()
void SetNodeName(const std::string &name)
void SetBBKey(const std::string &key)
const TaskGraphTemplate * m_template
Immutable, shareable task graph asset.
std::vector< BlackboardEntry > Blackboard
Local blackboard declared in this graph.
< Provides AssetID and INVALID_ASSET_ID
@ Int
32-bit signed integer
@ Float
Single-precision float.
@ Vector
3-component vector (Vector from vector.h)
Metadata for a single blackboard variable entry.
std::string name
Variable key (e.g. "health", "target")