Added code to evaluate node ordering for spanning tree of blend tree.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user