Added code to evaluate node ordering for spanning tree of blend tree.

This commit is contained in:
Martin Felis
2021-11-12 22:12:25 +01:00
parent 1f858d68c0
commit c659caebb9
10 changed files with 44 additions and 12 deletions
+18
View File
@@ -0,0 +1,18 @@
//
// Created by martin on 12.11.21.
//
#include "SpeedScaleNode.h"
#include <imgui.h>
void SpeedScaleNode::DrawDebugUi() {
std::string node_name = "SpeedScaleNode: " + m_name;
if (ImGui::TreeNode(node_name.c_str())) {
ImGui::SliderFloat("Time Scale", &m_time_scale, -5.f, 5.f);
m_input_node->DrawDebugUi();
ImGui::TreePop();
}
}