GE Lua Documentation

Press F to search!

Knob

Definition


-- @/=[C]:-1
function Knob(...)

Callers

@/lua/common/extensions/ui/imgui_custom_luaintf.lua
  -- Knobs
  function M.Knob(string_label, floatPtr_value, float_v_min, float_v_max, float_speed, string_format, ImGuiKnobVariant_variant, float_size, ImGuiKnobFlags_flags, int_steps)
    if float_v_min == nil then float_v_min = 0 end
    if int_steps == nil then int_steps = 10 end
    return imgui.Knob(string_label, floatPtr_value, float_v_min, float_v_max, float_speed, string_format, ImGuiKnobVariant_variant, float_size, ImGuiKnobFlags_flags, int_steps)
  end