Closed greeenlaser closed 9 months ago
This can be achieved using the ImGui::DragFloat()
function
example:
// Label v* speed min max
ImGui::DragFloat("Near Clip plane", nearClip, 0.01f, 0.0001f, 1000000000);
https://github.com/Lost-Empire-Entertainment/Elypso-engine/blob/eb1a2983bfb929d7c3e3c42f3d10178de443615a/Engine/src/engine/graphics/gui/gui_inspector.cpp#L105