GE Lua Documentation

Press F to search!

InputFloat

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:617
function M.InputFloat(string_label, float_v, float_step, float_step_fast, string_format, ImGuiInputTextFlags_flags)
  if float_step == nil then float_step = 0 end
  if float_step_fast == nil then float_step_fast = 0 end
  if string_format == nil then string_format = "%.3f" end
  if ImGuiInputTextFlags_flags == nil then ImGuiInputTextFlags_flags = 0 end
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'InputFloat' cannot be nil, as the c type is 'const char *'") ; return end
  if float_v == nil then log("E", "", "Parameter 'float_v' of function 'InputFloat' cannot be nil, as the c type is 'float *'") ; return end
  return imgui.InputFloat(string_label, float_v, float_step, float_step_fast, string_format, ImGuiInputTextFlags_flags)
end

Callers

@/lua/ge/extensions/editor/raceEditor/pacenotes.lua
      pacenoteRadius[0] = note.radius
      if im.InputFloat("Radius",pacenoteRadius, 0.1, 0.5, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f", im.InputTextFlags_EnterReturnsTrue) then
        if pacenoteRadius[0] < 0 then
@/lua/ge/extensions/editor/objectToSplineEditor.lua
    im.PushItemWidth(100)
    if im.InputFloat("Object Spacing##objectSpline", gap, 0.1, nil, "%.2f") then _changed = true end
    im.PopItemWidth()
    im.PushItemWidth(100)
    if im.InputFloat("Start Offset##objectSpline", startOffset, 0.1, nil, "%.2f") then _changed = true end
    im.PopItemWidth()
    im.PushItemWidth(100)
    if im.InputFloat("End Offset##objectSpline", endOffset, 0.1, nil, "%.2f") then _changed = true end
    im.PopItemWidth()
      im.PushItemWidth(100)
      if im.InputFloat("Added Random Spacing##objectSpline", maxRandomGap, 0.1, nil, "%.2f") then _changed = true end
      im.PopItemWidth()
      im.PushItemWidth(100)
      if im.InputFloat("Random Position Offset ##objectSpline", randomPosOffset, 0.1, nil, "%.2f") then _changed = true end
      im.PopItemWidth()
      im.PushItemWidth(100)
      if im.InputFloat("Random Rotation Offset ##objectSpline", randomRotOffset, 0.1, nil, "%.2f") then _changed = true end
      im.PopItemWidth()
@/lua/ge/extensions/flowgraph/nodes/ui/imgui/elemental/imNumbers.lua
    imVal = im.FloatPtr(self.val)
    ret = im.InputFloat(label, imVal, step, nil, format)
  elseif  self.mode == 'SliderInt' then
@/lua/ge/extensions/editor/terrainMaterialsEditor.lua
  im.PushItemWidth(itemWidth)
  im.InputFloat("Size##Diffuse", terrainMtlCopyProxy.diffuseSizeInput, 1, 10, "%.0f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Strength##Macro", terrainMtlCopyProxy.macroStrengthInput, 0.01, 0.1, "%.2f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Size##Macro", terrainMtlCopyProxy.macroSizeInput, 1, 10, "%.0f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Distance##Macro", terrainMtlCopyProxy.macroDistanceInput, 1, 10, "%.0f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Strength##Detail", terrainMtlCopyProxy.detailStrengthInput, 0.01, 0.1, "%.2f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Size##Detail", terrainMtlCopyProxy.detailSizeInput, 1, 10, "%.0f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Distance##Detail", terrainMtlCopyProxy.detailDistanceInput, 1, 10, "%.0f")
  im.PopItemWidth()
  im.PushItemWidth(itemWidth)
  im.InputFloat("Parallax Scale##Normal", terrainMtlCopyProxy.parallaxScaleInput, 0.01, 0.1, "%.2f")
  im.PopItemWidth()
@/lua/ge/extensions/editor/dynamicDecals/fonts.lua
  im.PushItemWidth(im.GetContentRegionAvailWidth())
  if im.InputFloat("##fontAtlasGlyphPixelHeight", editor.getTempFloat_NumberNumber(glyphPixelHeight), 1, 10, "%.0f") then
    glyphPixelHeight = editor.getTempFloat_NumberNumber()

  if im.InputFloat("sdf Pixel Dist Scale", editor.getTempFloat_NumberNumber(sdfPixelDistScale), 0.1, 1) then
    sdfPixelDistScale = editor.getTempFloat_NumberNumber()
@/lua/ge/extensions/editor/raceEditor/tools.lua
  im.PushItemWidth(80)
  if im.InputFloat("##nodeSize", nodeSize) then
    if nodeSize[0] < 0.1 then nodeSize[0] = 0.1 end
@/lua/ge/extensions/editor/roadArchitect.lua
          im.PushItemWidth(-150)
          if im.InputFloat("Bridge Width (m) ###10100", road.bridgeWidth, 0.1, 0.0) then
            road.bridgeWidth = im.FloatPtr(max(1.0, min(20.0, road.bridgeWidth[0])))
          im.tooltip('Set the half-width of the bridge, in meters (lateral distance from center to edge).')
          if im.InputFloat("Bridge Depth (m) ###10101", road.bridgeDepth, 0.1, 0.0) then
            road.bridgeDepth = im.FloatPtr(max(0.4, min(4.0, road.bridgeDepth[0])))
          im.tooltip('Set the depth of the bridge, in meters (vertical distance from bottom to top).')
          if im.InputFloat("Bridge Arch Amount (m) ###10102", road.bridgeArch, 0.1, 0.0) then
            road.bridgeArch = im.FloatPtr(max(-20.0, min(20.0, road.bridgeArch[0])))
                  im.PushItemWidth(-150)
                  if im.InputFloat("Texture Length###" .. tostring(wCtr), layer.texLen, 0.1, 0.0) then
                    layer.texLen = im.FloatPtr(max(1.0, min(200.0, layer.texLen[0])))
                end
                im.InputFloat("Layer Position###" .. tostring(wCtr), layer.off, fScale, 0.0)
                wCtr = wCtr + 1
                if layerType == 1 or layerType == 2 then
                  im.InputFloat("Layer Width###" .. tostring(wCtr), layer.width, 0.1, 0.0)
                  layer.width = im.FloatPtr(max(0.01, min(30.0, layer.width[0])))
                if layerType == 3 then
                  im.InputFloat("Lateral Offset###" .. tostring(wCtr), layer.pos, 0.1, 0.0)
                  wCtr = wCtr + 1

                  im.InputFloat("Decal Size###" .. tostring(wCtr), layer.size, 0.1, 0.0)
                  wCtr = wCtr + 1

                  im.InputFloat("Fade-In [Start]###" .. tostring(wCtr), layer.fadeS, 0.01, 0.0)
                  layer.fadeS = im.FloatPtr(max(0.0, min(100.0, layer.fadeS[0])))
                  im.tooltip('Set the fade-in value of layer ' .. tostring(selLayerIdx))
                  im.InputFloat("Fade-Out [End]###" .. tostring(wCtr), layer.fadeE, 0.01, 0.0)
                  layer.fadeE = im.FloatPtr(max(0.0, min(100.0, layer.fadeE[0])))
                im.PushStyleVar1(im.StyleVar_GrabMinSize, 20)
                im.InputFloat("Spacing Between Units###" .. tostring(wCtr), layer.spacing, 0.1, 0.0)
                layer.spacing = im.FloatPtr(max(-0.2, min(200.0, layer.spacing[0])))
                im.tooltip('Set the vertical offset of the custom mesh.')
                im.InputFloat("Lateral Offset###" .. tostring(wCtr), layer.latOffset, 0.1, 0.0)
                layer.latOffset = im.FloatPtr(max(-100.0, min(100.0, layer.latOffset[0])))
                wCtr = wCtr + 1
                im.InputFloat("Vertical Offset###" .. tostring(wCtr), layer.vertOffset, 0.1, 0.0)
                layer.vertOffset = im.FloatPtr(max(-100.0, min(100.0, layer.vertOffset[0])))
                im.tooltip('Set the lateral offset of the custom mesh.')
                im.InputFloat("Amount Of Jitter###" .. tostring(wCtr), layer.jitter, 0.001, 0.0)
                layer.jitter = im.FloatPtr(max(0.0, min(0.2, layer.jitter[0])))

                im.InputFloat("Position###" .. tostring(wCtr), layer.pos, 0.001, 0.0)
                layer.pos = im.FloatPtr(max(0.0, min(1.0, layer.pos[0])))

                im.InputFloat("Lateral Offset###" .. tostring(wCtr), layer.latOffset, 0.1, 0.0)
                layer.latOffset = im.FloatPtr(max(-20.0, min(20.0, layer.latOffset[0])))

                im.InputFloat("Vertical Offset###" .. tostring(wCtr), layer.vertOffset, 0.1, 0.0)
                layer.vertOffset = im.FloatPtr(max(-20.0, min(20.0, layer.vertOffset[0])))
              im.PushStyleVar1(im.StyleVar_GrabMinSize, 20)
              if im.InputFloat("Curb Width###" .. tostring(wCtr), profile[selSW].kerbWidth, 0.1, 0.0) then
                profile[selSW].kerbWidth = im.FloatPtr(max(0.05, min(10.0, profile[selSW].kerbWidth[0])))
              -- 'Curb Corner Lateral Offset' input box.
              if im.InputFloat("Curb Lateral Offset###" .. tostring(wCtr), profile[selSW].cornerLatOff, 0.01, 0.0) then
                profile[selSW].cornerLatOff = im.FloatPtr(max(-0.3, min(0.3, profile[selSW].cornerLatOff[0])))
              -- 'Curb Corner Height Offset' input box.
              if im.InputFloat("Vertical Offset###" .. tostring(wCtr), profile[selSW].cornerDrop, 0.01, 0.0) then
                profile[selSW].cornerDrop = im.FloatPtr(max(-0.1, min(0.1, profile[selSW].cornerDrop[0])))
            im.PushItemWidth(-80)
            if im.InputFloat("Wall Depth", road.thickness, 0.1, 0.0) then
              roadMgr.setDirty(road)
            im.PushItemWidth(-80)
            if im.InputFloat("R Offset", road.radOffset, 0.1, 0.0) then
              roadMgr.setDirty(road)
            im.PushItemWidth(-80)
            if im.InputFloat("Z Offset", road.zOffsetFromRoad, 0.1, 0.0) then
              roadMgr.setDirty(road)
            im.PushItemWidth(-80)
            if im.InputFloat("Extend S", road.protrudeS, 0.1, 0.0) then
              roadMgr.setDirty(road)
            im.PushItemWidth(-80)
            if im.InputFloat("Extend E", road.protrudeE, 0.1, 0.0) then
              roadMgr.setDirty(road)

            if im.InputFloat("Fade In [Start]###4188", profile.fadeS, 0.01, 0.0) then
              profileMgr.updateCondition(road)
            im.tooltip('Set the tire tread marks fade-in amount (from road start), in meters.')
            if im.InputFloat("Fade Out [End]###4189", profile.fadeE, 0.01, 0.0) then
              profileMgr.updateCondition(road)

          if im.InputFloat("L Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Len###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.InputFloat("Crossing Length###" .. tostring(wCtr), selJct.pedXDist, 0.1, 0.0) then
            selJct.pedXDist = im.FloatPtr(max(2.0, min(30.0, selJct.pedXDist[0])))
          if selJct.isTLights[0] then
            if im.InputFloat("Pole Lateral Offset###" .. tostring(wCtr), selJct.trafficLatOff, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isPedX1[0] then
            if im.InputFloat("Crossing Width###" .. tostring(wCtr), selJct.pedXWidth, 0.1, 0.0) then
              selJct.pedXWidth = im.FloatPtr(max(0.5, min(5.0, selJct.pedXWidth[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)

            if im.InputFloat("Sidewalk Corner Radius###" .. tostring(wCtr), selJct.bevel, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isTLights[0] then
            if im.InputFloat("Pole Lateral Offset###" .. tostring(wCtr), selJct.trafficLatOff, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if isPedXBeingUsed then
            if im.InputFloat("Crossing Width###" .. tostring(wCtr), selJct.pedXWidth, 0.1, 0.0) then
              selJct.pedXWidth = im.FloatPtr(max(0.5, min(5.0, selJct.pedXWidth[0])))
          im.Columns(1)
          if im.InputFloat("Arrow Size###" .. tostring(wCtr), selJct.arrowSize, 0.01, 0.0) then
            selJct.arrowSize = im.FloatPtr(max(0.5, min(4.5, selJct.arrowSize[0])))
          im.tooltip('The size of the arrow decals.')
          if im.InputFloat("Front Arrow Distance###" .. tostring(wCtr), selJct.arrowFrontDistFromEnd, 0.01, 0.0) then
            selJct.arrowFrontDistFromEnd = im.FloatPtr(max(0.0, min(selJct.arrowBackDistFromEnd[0] - selJct.arrowSize[0], selJct.arrowFrontDistFromEnd[0])))
          im.tooltip('The distance from the junction, at which the front arrows shall appear.')
          if im.InputFloat("Rear Arrow Distance###" .. tostring(wCtr), selJct.arrowBackDistFromEnd, 0.01, 0.0) then
            selJct.arrowBackDistFromEnd = im.FloatPtr(max(selJct.arrowFrontDistFromEnd[0] + selJct.arrowSize[0], min(50.0, selJct.arrowBackDistFromEnd[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)

            if im.InputFloat("Curb Corner Radius###" .. tostring(wCtr), selJct.bevel, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isTLights[0] then
            if im.InputFloat("Pole Lateral Offset###" .. tostring(wCtr), selJct.trafficLatOff, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if isPedXBeingUsed then
            if im.InputFloat("Crossing Width###" .. tostring(wCtr), selJct.pedXWidth, 0.1, 0.0) then
              selJct.pedXWidth = im.FloatPtr(max(0.5, min(5.0, selJct.pedXWidth[0])))
          im.Columns(1)
          if im.InputFloat("Arrow Size###" .. tostring(wCtr), selJct.arrowSize, 0.01, 0.0) then
            selJct.arrowSize = im.FloatPtr(max(0.5, min(4.5, selJct.arrowSize[0])))
          im.tooltip('The size of the arrow decals.')
          if im.InputFloat("Front Arrow Distance###" .. tostring(wCtr), selJct.arrowFrontDistFromEnd, 0.01, 0.0) then
            selJct.arrowFrontDistFromEnd = im.FloatPtr(max(0.0, min(selJct.arrowBackDistFromEnd[0] - selJct.arrowSize[0], selJct.arrowFrontDistFromEnd[0])))
          im.tooltip('The distance from the junction, at which the front arrows shall appear.')
          if im.InputFloat("Rear Arrow Distance###" .. tostring(wCtr), selJct.arrowBackDistFromEnd, 0.01, 0.0) then
            selJct.arrowBackDistFromEnd = im.FloatPtr(max(selJct.arrowFrontDistFromEnd[0] + selJct.arrowSize[0], min(50.0, selJct.arrowBackDistFromEnd[0])))
          im.TextColored(cols.greenB, 'Exit Road Parameters:')
          if im.InputFloat("Y-Exit Road Angle (deg)###" .. tostring(wCtr), selJct.theta, 1, 0.0) then
            selJct.theta = im.FloatPtr(max(-30.0, min(30.0, selJct.theta[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Road Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if isPedXBeingUsed then
            if im.InputFloat("Crossing Width###" .. tostring(wCtr), selJct.pedXWidth, 0.1, 0.0) then
              selJct.pedXWidth = im.FloatPtr(max(0.5, min(5.0, selJct.pedXWidth[0])))
          im.Columns(1)
          if im.InputFloat("Arrow Size###" .. tostring(wCtr), selJct.arrowSize, 0.01, 0.0) then
            selJct.arrowSize = im.FloatPtr(max(0.5, min(4.5, selJct.arrowSize[0])))
          im.tooltip('The size of the arrow decals.')
          if im.InputFloat("Front Arrow Distance###" .. tostring(wCtr), selJct.arrowFrontDistFromEnd, 0.01, 0.0) then
            selJct.arrowFrontDistFromEnd = im.FloatPtr(max(0.0, min(selJct.arrowBackDistFromEnd[0] - selJct.arrowSize[0], selJct.arrowFrontDistFromEnd[0])))
          im.tooltip('The distance from the junction, at which the front arrows shall appear.')
          if im.InputFloat("Rear Arrow Distance###" .. tostring(wCtr), selJct.arrowBackDistFromEnd, 0.01, 0.0) then
            selJct.arrowBackDistFromEnd = im.FloatPtr(max(selJct.arrowFrontDistFromEnd[0] + selJct.arrowSize[0], min(50.0, selJct.arrowBackDistFromEnd[0])))
          im.TextColored(cols.greenB, 'Center Circle Parameters:')
          if im.InputFloat("Center Circle Radius (deg)###" .. tostring(wCtr), selJct.extraRadRB, 0.1, 0.0) then
            selJct.extraRadRB = im.FloatPtr(max(-5.0, min(20.0, selJct.extraRadRB[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)

            if im.InputFloat("Sidewalk Corner Radius###" .. tostring(wCtr), selJct.bevel, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isTLights[0] then
            if im.InputFloat("Poles Lateral Offset###" .. tostring(wCtr), selJct.trafficLatOff, 0.1, 2.0) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          if isPedXBeingUsed then
            if im.InputFloat("Crossing Width###" .. tostring(wCtr), selJct.pedXWidth, 0.1, 0.0) then
              selJct.pedXWidth = im.FloatPtr(max(0.5, min(5.0, selJct.pedXWidth[0])))
          im.Columns(1)
          if im.InputFloat("Arrow Size###" .. tostring(wCtr), selJct.arrowSize, 0.01, 0.0) then
            selJct.arrowSize = im.FloatPtr(max(0.5, min(4.5, selJct.arrowSize[0])))
          im.tooltip('The size of the arrow decals.')
          if im.InputFloat("Front Arrow Distance###" .. tostring(wCtr), selJct.arrowFrontDistFromEnd, 0.01, 0.0) then
            selJct.arrowFrontDistFromEnd = im.FloatPtr(max(0.0, min(selJct.arrowBackDistFromEnd[0] - selJct.arrowSize[0], selJct.arrowFrontDistFromEnd[0])))
          im.tooltip('The distance from the junction, at which the front arrows shall appear.')
          if im.InputFloat("Rear Arrow Distance###" .. tostring(wCtr), selJct.arrowBackDistFromEnd, 0.01, 0.0) then
            selJct.arrowBackDistFromEnd = im.FloatPtr(max(selJct.arrowFrontDistFromEnd[0] + selJct.arrowSize[0], min(50.0, selJct.arrowBackDistFromEnd[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))
          im.TextColored(cols.greenB, 'Sidewalk Parameters:')
          if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
            selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

          if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
            jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.InputFloat("Taper Section Length###" .. tostring(wCtr), selJct.s2Length, 0.1, 0.0) then
            selJct.s2Length = im.FloatPtr(max(1.0, min(80.0, selJct.s2Length[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(1.0, min(50.0, selJct.capLength[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Inner Taper Width###" .. tostring(wCtr), selJct.sepWidthI, 0.1, 0.0) then
            selJct.sepWidthI = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthI[0])))

          if im.InputFloat("Outer Taper Width###" .. tostring(wCtr), selJct.sepWidthO, 0.1, 0.0) then
            selJct.sepWidthO = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthO[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))

          if im.InputFloat("Taper Section Length###" .. tostring(wCtr), selJct.s2Length, 0.1, 0.0) then
            selJct.s2Length = im.FloatPtr(max(1.0, min(80.0, selJct.s2Length[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(1.0, min(50.0, selJct.capLength[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Hard Shoulder Width###" .. tostring(wCtr), selJct.hardWidth, 0.1, 0.0) then
            selJct.hardWidth = im.FloatPtr(max(0.0, min(10.0, selJct.hardWidth[0])))

          if im.InputFloat("Central Res Width###" .. tostring(wCtr), selJct.cResWidth, 0.1, 0.0) then
            selJct.cResWidth = im.FloatPtr(max(0.0, min(20.0, selJct.cResWidth[0])))

          if im.InputFloat("Inner Taper Width###" .. tostring(wCtr), selJct.sepWidthI, 0.1, 0.0) then
            selJct.sepWidthI = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthI[0])))

          if im.InputFloat("Outer Taper Width###" .. tostring(wCtr), selJct.sepWidthO, 0.1, 0.0) then
            selJct.sepWidthO = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthO[0])))

          if im.InputFloat("Taper Section Length###" .. tostring(wCtr), selJct.s2Length, 0.1, 0.0) then
            selJct.s2Length = im.FloatPtr(max(1.0, min(80.0, selJct.s2Length[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(1.0, min(50.0, selJct.capLength[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Hard Shoulder Width###" .. tostring(wCtr), selJct.hardWidth, 0.1, 0.0) then
            selJct.hardWidth = im.FloatPtr(max(0.0, min(10.0, selJct.hardWidth[0])))

          if im.InputFloat("Central Res Width###" .. tostring(wCtr), selJct.cResWidth, 0.1, 0.0) then
            selJct.cResWidth = im.FloatPtr(max(0.0, min(20.0, selJct.cResWidth[0])))

          if im.InputFloat("Inner Taper Width###" .. tostring(wCtr), selJct.sepWidthI, 0.1, 0.0) then
            selJct.sepWidthI = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthI[0])))

          if im.InputFloat("Outer Taper Width###" .. tostring(wCtr), selJct.sepWidthO, 0.1, 0.0) then
            selJct.sepWidthO = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthO[0])))
          if selJct.isSidewalk[0] then
            if im.InputFloat("Sidewalk Width###" .. tostring(wCtr), selJct.sidewalkWidth, 0.1, 2.0) then
              selJct.sidewalkWidth = im.FloatPtr(max(0.5, min(10.0, selJct.sidewalkWidth[0])))

            if im.InputFloat("Sidewalk Height###" .. tostring(wCtr), selJct.sidewalkHeight, 0.01, 0.1) then
              jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(0.5, min(20.0, selJct.capLength[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(1.0, min(50.0, selJct.capLength[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Hard Shoulder Width###" .. tostring(wCtr), selJct.hardWidth, 0.1, 0.0) then
            selJct.hardWidth = im.FloatPtr(max(0.0, min(10.0, selJct.hardWidth[0])))

          if im.InputFloat("Taper Section Length###" .. tostring(wCtr), selJct.s2Length, 0.1, 0.0) then
            selJct.s2Length = im.FloatPtr(max(1.0, min(80.0, selJct.s2Length[0])))

          if im.InputFloat("Split Section Length###" .. tostring(wCtr), selJct.s3Length, 0.1, 0.0) then
            selJct.s3Length = im.FloatPtr(max(1.0, min(80.0, selJct.s3Length[0])))

          if im.InputFloat("Exit Roads Length###" .. tostring(wCtr), selJct.capLength, 0.1, 0.0) then
            selJct.capLength = im.FloatPtr(max(1.0, min(50.0, selJct.capLength[0])))

          if im.InputFloat("Lane Width###" .. tostring(wCtr), selJct.laneWidthX, 0.1, 0.0) then
            selJct.laneWidthX = im.FloatPtr(max(1.0, min(20.0, selJct.laneWidthX[0])))

          if im.InputFloat("Hard Shoulder Width###" .. tostring(wCtr), selJct.hardWidth, 0.1, 0.0) then
            selJct.hardWidth = im.FloatPtr(max(0.0, min(10.0, selJct.hardWidth[0])))

          if im.InputFloat("Central Res Width###" .. tostring(wCtr), selJct.cResWidth, 0.1, 0.0) then
            selJct.cResWidth = im.FloatPtr(max(0.0, min(20.0, selJct.cResWidth[0])))

          if im.InputFloat("Inner Taper Width###" .. tostring(wCtr), selJct.sepWidthI, 0.1, 0.0) then
            selJct.sepWidthI = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthI[0])))

          if im.InputFloat("Outer Taper Width###" .. tostring(wCtr), selJct.sepWidthO, 0.1, 0.0) then
            selJct.sepWidthO = im.FloatPtr(max(0.0, min(20.0, selJct.sepWidthO[0])))
                -- 'Set Node Width' input box.
                if im.InputFloat("W###" .. tostring(wCtr), node.widths[i], 0.1, 0.0) then
                  node.widths[i] = im.FloatPtr(max(0.0, min(50.0, node.widths[i][0])))
                -- 'Set Node Left Relative Height' input box.
                if im.InputFloat("H(L)###" .. tostring(wCtr), node.heightsL[i], 0.1, 0.0) then
                  node.heightsL[i] = im.FloatPtr(max(0.0, min(5.0, node.heightsL[i][0])))
                -- 'Set Node Right Relative Height' input box.
                if im.InputFloat("H(R)###" .. tostring(wCtr), node.heightsR[i], 0.1, 0.0) then
                  node.heightsR[i] = im.FloatPtr(max(0.0, min(5.0, node.heightsR[i][0])))
                -- 'Set Node Width' input box.
                if im.InputFloat("W###" .. tostring(wCtr), node.widths[i], 0.1, 0.0) then
                  node.widths[i] = im.FloatPtr(max(0.0, min(50.0, node.widths[i][0])))
                -- 'Set Node Left Relative Height' input box.
                if im.InputFloat("H(L)###" .. tostring(wCtr), node.heightsL[i], 0.1, 0.0) then
                  node.heightsL[i] = im.FloatPtr(max(0.0, min(5.0, node.heightsL[i][0])))
                -- 'Set Node Right Relative Height' input box.
                if im.InputFloat("H(R)###" .. tostring(wCtr), node.heightsR[i], 0.1, 0.0) then
                  node.heightsR[i] = im.FloatPtr(max(0.0, min(5.0, node.heightsR[i][0])))
            local nodeHeight = im.FloatPtr(oldHeight)
            if im.InputFloat("Height", nodeHeight, 0.1, 0.0) then
              roadMgr.adjustHeight(nodeHeight[0], oldHeight, mfe.selectedNodeIdx, mfe.selectedRoadIdx)
            local oldRot = node.rot[0]
            im.InputFloat("Rotation", node.rot, 0.25, 0.0)
            im.tooltip('The lateral rotation at this node, in degrees.')
              im.PushItemWidth(-30)
              im.InputFloat("W###" .. tostring(wCtr), lane.width, 0.1, 0.0)
              wCtr = wCtr + 1
              im.PushItemWidth(-30)
              im.InputFloat("H(L)###" .. tostring(wCtr), lane.heightL, 0.01, 0.0)
              wCtr = wCtr + 1
              im.PushItemWidth(-30)
              im.InputFloat("H(R)###" .. tostring(wCtr), lane.heightR, 0.01, 0.0)
              wCtr = wCtr + 1
              im.PushItemWidth(-30)
              im.InputFloat("W###" .. tostring(wCtr), lane.width, 0.1, 0.0)
              wCtr = wCtr + 1
              im.PushItemWidth(-30)
              im.InputFloat("H(L)###" .. tostring(wCtr), lane.heightL, 0.01, 0.0)
              wCtr = wCtr + 1
              im.PushItemWidth(-30)
              im.InputFloat("H(R)###" .. tostring(wCtr), lane.heightR, 0.01, 0.0)
              wCtr = wCtr + 1
        im.PushItemWidth(-1)
        im.InputFloat("Offset", importCustomOffset, 0.1, 0.0)
        im.tooltip('Sets the custom vertical offset amount.')
@/lua/common/extensions/ui/flowgraph/editor.lua
    local imVal = im.FloatPtr(displayOptions.allowEditing and variable.baseValue or variable.value)
    if im.InputFloat("##input" .. name, imVal, nil, nil, nil, im.InputTextFlags_EnterReturnsTrue) then
      if displayOptions.allowEditing then
@/lua/ge/extensions/editor/trafficManager.lua
              im.PushItemWidth(inputWidth)
              if im.InputFloat(stateData.name.."##trafficManagerControllerState"..i, var, 0.1, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
                state.duration = math.max(0, var[0])
        im.PushItemWidth(inputWidth)
        if im.InputFloat("Initial Delay##trafficManagerControllerState", var, 0.01, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
          currSequence.startTime = var[0]
@/lua/ge/extensions/editor/sensorConfigurationEditor.lua
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the field of view of the sensor.')
        im.PushItemWidth(130)
        im.InputFloat("Near Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the near plane distance of the sensor (min depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Far Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the far plane distance of the sensor (max depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("Vertical Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the vertical field of view, in degrees.')
        im.PushItemWidth(130)
        im.InputFloat("Horizontal Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the horizontal field of view, in degrees.')
        im.PushItemWidth(130)
        im.InputFloat("Max Detection Range ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the sensor maximum detection range, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the field of view of the sensor.')
        im.PushItemWidth(130)
        im.InputFloat("Near Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the near plane distance of the sensor (min depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Far Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the far plane distance of the sensor (max depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Range Roundness ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip("Set the 'roundness' of the beam shape.")
        im.PushItemWidth(130)
        im.InputFloat("Range Cutoff Sensitivity ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sensitivity of the range cutoff.')
        im.PushItemWidth(130)
        im.InputFloat("Range Shape ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Focus ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sharpness of the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Min Cutoff ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f m")
        im.tooltip('Set the near plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Range Direct Max Cutoff ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f m")
        im.tooltip('Set the far plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Sensitivity ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the detection sensitivity.")
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the field of view of the sensor.')
        im.PushItemWidth(130)
        im.InputFloat("Near Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the near plane distance of the sensor (min depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Far Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the far plane distance of the sensor (max depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Range Roundness ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip("Set the 'roundness' of the beam shape.")
        im.PushItemWidth(130)
        im.InputFloat("Range Cutoff Sensitivity ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sensitivity of the range cutoff.')
        im.PushItemWidth(130)
        im.InputFloat("Range Shape ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Focus ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sharpness of the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Min Cutoff ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f m")
        im.tooltip('Set the near plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Range Direct Max Cutoff ###" .. tostring(ctr), uiVal, 1.0, nil, "%.4f m")
        im.tooltip('Set the far plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Min Range ###" .. tostring(ctr), uiVal, 1, nil, "%.2f")
        im.tooltip("Set the minimum range to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Max Range ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the maximum range to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Min Velocity ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the minimum velocity to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Max Velocity ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the maximum velocity to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Azimuth Half-Angle ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip("Set the azimuth half-angle, used in data display.")
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Update Time", uiVal, 0.01, 60.0, "%.3f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("Data Collect Time", uiVal, 0.1, 360.0, "%.3f s")
        im.tooltip('Set the time between new batch data packets being made available to user.')
        im.PushItemWidth(130)
        im.InputFloat("Smoother Strength", uiVal, 0.0, 5.0, "%.1f")
        im.tooltip('Set the strength of the smoothing of the accelerometer and gyroscopic data.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis, relative to vehicle center.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Update Time", uiVal, 0.01, 60.0, "%.3f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("Data Collect Time", uiVal, 0.1, 360.0, "%.3f s")
        im.tooltip('Set the time between new batch data packets being made available to user.')
        im.PushItemWidth(130)
        im.InputFloat("Origin Longitude", uiVal, 0.01, 359.9, "%.6f deg")
        im.tooltip('Set the longitude of the origin position.')
        im.PushItemWidth(130)
        im.InputFloat("Origin Latitude", uiVal, 0.01, 359.9, "%.6f deg")
        im.tooltip('Set the latitude of the origin position.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Update Time", uiVal, 0.01, 60.0, "%.3f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("Data Collect Time", uiVal, 0.1, 360.0, "%.3f s")
        im.tooltip('Set the time between new batch data packets being made available to user.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Update Time", uiVal, 0.01, 60.0, "%.3f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("Data Collect Time", uiVal, 0.1, 360.0, "%.3f s")
        im.tooltip('Set the time between new batch data packets being made available to user.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Update Time", uiVal, 0.01, 60.0, "%.3f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("Data Collect Time", uiVal, 0.1, 360.0, "%.3f s")
        im.tooltip('Set the time between new batch data packets being made available to user.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Update Time", uiVal, 0.01, 60.0, "%.3f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("Data Collect Time", uiVal, 0.1, 360.0, "%.3f s")
        im.tooltip('Set the time between new batch data packets being made available to user.')
@/lua/ge/extensions/core/input/vibrationDebug.lua
  if veh then
    if imgui.InputFloat("Wheel Slip Force Multiplier", wheelSlipForceMult, 0.1, 1.0, "%.2f") then
      veh:queueLuaCommand("hydros.setWheelSlipForceMultiplier("..wheelSlipForceMult[0]..")")
    end
    if imgui.InputFloat("Jerk Force Multiplier", jerkForceMult, 0.1, 1.0, "%.2f") then
      veh:queueLuaCommand("hydros.setJerkForceMultiplier("..jerkForceMult[0]..")")
    end
    if imgui.InputFloat("Wheel Slip Min", wheelSlipMin, 0.1, 1.0, "%.2f") then
      veh:queueLuaCommand("hydros.setWheelSlipMin("..wheelSlipMin[0]..")")
    end
    if imgui.InputFloat("Jerk Min", jerkMin, 0.1, 1.0, "%.2f") then
      veh:queueLuaCommand("hydros.setJerkMin("..jerkMin[0]..")")
@/lua/ge/extensions/editor/raceEditor/segments.lua
          capsuleRadius[0] = cap.radius
          if im.InputFloat("Radius", capsuleRadius, 0.1, 0.5, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f", im.InputTextFlags_EnterReturnsTrue) then
            local old = segment:onSerialize()
@/lua/ge/extensions/editor/scriptAIEditor.lua
            im.PushItemWidth(100)
            im.InputFloat("start", tr.vModeTStart, 1, 0.0)
            im.tooltip('The start time at which to execute this trajectory.')
            im.PushItemWidth(100)
            im.InputFloat("end", tr.vModeTEnd, 1, 60.0)
            im.tooltip('The end time at which to execute this trajectory.')
          im.PushItemWidth(110)
          im.InputFloat(" Velocity (kph)", tr.inputVelocity, 10.0, 1.0)
          im.tooltip('Enter a velocity to be set along the full length of this trajectory.')
          local tOld = n.t[0]
          if im.InputFloat("Time##" .. tostring(ctr), n.t, 0.1, 1.0) then
            isChange = true
          im.NextColumn()
          if im.InputFloat("Smoothness##" .. tostring(ctr + 1), n.smoothness, 0.1, 0.1) then
            isChange = true
@/lua/ge/extensions/util/screenshotCreator.lua

        im.InputFloat("##mul", ctrls.multiplyRes)
        im.SameLine()
@/lua/ge/extensions/editor/util/transformUtil.lua
    if self.oneDimensionalScale then
      if im.InputFloat("##Scl", self.inputScl, nil, nil, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f") then
        self.scl = self.inputScl[0]
      if self.oneDimensionalScale then
        if im.InputFloat(self.objectName .. " Scale", self.inputScl, nil, nil, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f", im.InputTextFlags_EnterReturnsTrue) then
          self.scl = self.inputScl[0]
      if self.oneDimensionalScale then
        if im.InputFloat("Scl", self.inputScl, nil, nil, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f", im.InputTextFlags_EnterReturnsTrue) then
          self.scl = self.inputScl[0]
@/lua/ge/extensions/editor/missionEditor/conditions.lua
  im.PushItemWidth(120)
  if im.InputFloat("##"..'valueInput'..index, self.fields[val]) then
    self.mission._dirty = true
  im.PushItemWidth(120)
  if im.InputFloat("##"..'numericInput'..index..self.name, self.fields[val]) then
    self.mission._dirty = true
  if not self.fields[val] then self.fields[val] = im.FloatPtr(condition.level) end
  if im.InputFloat("Min Career Level##"..'displayCareerLevelCondition'..index..self.name, self.fields[val]) then
    self.mission._dirty = true
@/lua/ge/extensions/editor/api/gui.lua
  if not extra_flags then extra_flags = imgui.InputTextFlags_None end
  local res =  imgui.InputFloat(label, v, step, step_fast, format, extra_flags)
  if editEnded then
@/lua/ge/extensions/editor/rallyEditor/drivelineTab.lua
      local label = string.format("Speed Limit kph (%.0f mph)", speedLimitMph)
      if im.InputFloat(label, speedLimitPtr, 1.0, 10.0, "%.0f") then
        self.drivelineV3.properties.speedLimitKph = math.max(0, speedLimitPtr[0])
@/lua/ge/extensions/editor/roadEditor.lua
  local defaultWidthPtr = im.FloatPtr(editor.getPreference("roadEditor.general.defaultWidth"))
  if im.InputFloat("##Default Width", defaultWidthPtr, 0.1, 0.5, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f") then
    editor.setPreference("roadEditor.general.defaultWidth", defaultWidthPtr[0])
@/lua/ge/extensions/editor/dynamicDecals/widgets.lua
  im.PushItemWidth(im.GetContentRegionAvailWidth() + (widgetOptions.widthMod or 0))
  if im.InputFloat(widgetId, editor.getTempFloat_NumberNumber(baseProp.getMod and baseProp.getMod(value) or value), 1, 10, baseProp.format) then
    local newVal = editor.getTempFloat_NumberNumber()
  im.PushItemWidth(width)
  if im.InputFloat(string.format("%s_x", widgetId), editor.getTempFloat_NumberNumber(baseProp.getMod and baseProp.getMod(value[1]) or value[1]), 1, 10, baseProp.format) then
    local newVal = editor.getTempFloat_NumberNumber()
  im.PushItemWidth(width)
  if im.InputFloat(string.format("%s_y", widgetId), editor.getTempFloat_NumberNumber(baseProp.getMod and baseProp.getMod(value[2]) or value[2]), 1, 10, baseProp.format) then
    local newVal = editor.getTempFloat_NumberNumber()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if float_v == nil then log("E", "", "Parameter 'float_v' of function 'InputFloat' cannot be nil, as the c type is 'float *'") ; return end
  return imgui.InputFloat(string_label, float_v, float_step, float_step_fast, string_format, ImGuiInputTextFlags_flags)
end
@/lua/ge/extensions/util/vehicleRopeDebug.lua
        im.PushItemWidth(-1)
        if im.InputFloat("##BasePosAX", uiPtrs.anchorAX, 0.001, 0.01, "%.4f") then
          selectedRope.basePosA = vec3(uiPtrs.anchorAX[0], uiPtrs.anchorAY[0], uiPtrs.anchorAZ[0])
        im.PushItemWidth(-1)
        if im.InputFloat("##BasePosAY", uiPtrs.anchorAY, 0.001, 0.01, "%.4f") then
          selectedRope.basePosA = vec3(uiPtrs.anchorAX[0], uiPtrs.anchorAY[0], uiPtrs.anchorAZ[0])
        im.PushItemWidth(-1)
        if im.InputFloat("##BasePosAZ", uiPtrs.anchorAZ, 0.001, 0.01, "%.4f") then
          selectedRope.basePosA = vec3(uiPtrs.anchorAX[0], uiPtrs.anchorAY[0], uiPtrs.anchorAZ[0])
        im.PushItemWidth(-1)
        if im.InputFloat("##BasePosBX", uiPtrs.anchorBX, 0.001, 0.01, "%.4f") then
          selectedRope.basePosB = vec3(uiPtrs.anchorBX[0], uiPtrs.anchorBY[0], uiPtrs.anchorBZ[0])
        im.PushItemWidth(-1)
        if im.InputFloat("##BasePosBY", uiPtrs.anchorBY, 0.001, 0.01, "%.4f") then
          selectedRope.basePosB = vec3(uiPtrs.anchorBX[0], uiPtrs.anchorBY[0], uiPtrs.anchorBZ[0])
        im.PushItemWidth(-1)
        if im.InputFloat("##BasePosBZ", uiPtrs.anchorBZ, 0.001, 0.01, "%.4f") then
          selectedRope.basePosB = vec3(uiPtrs.anchorBX[0], uiPtrs.anchorBY[0], uiPtrs.anchorBZ[0])
        im.PushItemWidth(-1)
        if im.InputFloat("##BaseDirAX", uiPtrs.baseDirAX, 0.001, 0.01, "%.4f") then
          if selectedRope.baseDirA then selectedRope.baseDirA = vec3(uiPtrs.baseDirAX[0], uiPtrs.baseDirAY[0], uiPtrs.baseDirAZ[0]) end
        im.PushItemWidth(-1)
        if im.InputFloat("##BaseDirAY", uiPtrs.baseDirAY, 0.001, 0.01, "%.4f") then
          if selectedRope.baseDirA then selectedRope.baseDirA = vec3(uiPtrs.baseDirAX[0], uiPtrs.baseDirAY[0], uiPtrs.baseDirAZ[0]) end
        im.PushItemWidth(-1)
        if im.InputFloat("##BaseDirAZ", uiPtrs.baseDirAZ, 0.001, 0.01, "%.4f") then
          if selectedRope.baseDirA then selectedRope.baseDirA = vec3(uiPtrs.baseDirAX[0], uiPtrs.baseDirAY[0], uiPtrs.baseDirAZ[0]) end
        im.PushItemWidth(-1)
        if im.InputFloat("##BaseDirBX", uiPtrs.baseDirBX, 0.001, 0.01, "%.4f") then
          if selectedRope.baseDirB then selectedRope.baseDirB = vec3(uiPtrs.baseDirBX[0], uiPtrs.baseDirBY[0], uiPtrs.baseDirBZ[0]) end
        im.PushItemWidth(-1)
        if im.InputFloat("##BaseDirBY", uiPtrs.baseDirBY, 0.001, 0.01, "%.4f") then
          if selectedRope.baseDirB then selectedRope.baseDirB = vec3(uiPtrs.baseDirBX[0], uiPtrs.baseDirBY[0], uiPtrs.baseDirBZ[0]) end
        im.PushItemWidth(-1)
        if im.InputFloat("##BaseDirBZ", uiPtrs.baseDirBZ, 0.001, 0.01, "%.4f") then
          if selectedRope.baseDirB then selectedRope.baseDirB = vec3(uiPtrs.baseDirBX[0], uiPtrs.baseDirBY[0], uiPtrs.baseDirBZ[0]) end
        im.TableSetColumnIndex(1)
        if im.InputFloat("##GravityX", uiPtrs.gravityX, 0, 0, "%.2f") then
          selectedRope.gravity = vec3(uiPtrs.gravityX[0], uiPtrs.gravityY[0], uiPtrs.gravityZ[0])
        im.TableSetColumnIndex(2)
        if im.InputFloat("##GravityY", uiPtrs.gravityY, 0, 0, "%.2f") then
          selectedRope.gravity = vec3(uiPtrs.gravityX[0], uiPtrs.gravityY[0], uiPtrs.gravityZ[0])
        im.TableSetColumnIndex(3)
        if im.InputFloat("##GravityZ", uiPtrs.gravityZ, 0, 0, "%.2f") then
          selectedRope.gravity = vec3(uiPtrs.gravityX[0], uiPtrs.gravityY[0], uiPtrs.gravityZ[0])
      end
      if im.InputFloat("Young's Modulus", uiPtrs.youngsModulus, 1e5, 1e9, "%.0f") then
        selectedRope.youngsModulus = uiPtrs.youngsModulus[0]
      -- C1, C2, C3 inputs disabled - TODO: Figure out correct type
      -- if im.InputFloat("C1", uiPtrs.c1) then
      --   selectedRope.c1 = uiPtrs.c1[0]
      -- end
      -- if im.InputFloat("C2", uiPtrs.c2) then
      --   selectedRope.c2 = uiPtrs.c2[0]
      -- end
      -- if im.InputFloat("C3", uiPtrs.c3) then
      --   selectedRope.c3 = uiPtrs.c3[0]
@/lua/ge/extensions/core/ropeVisualTest.lua
        im.TableSetColumnIndex(1)
        if im.InputFloat("##AnchorAX", uiPtrs.anchorAX, 0, 0, "%.1f") then
          selectedRope.anchorA = vec3(uiPtrs.anchorAX[0], uiPtrs.anchorAY[0], uiPtrs.anchorAZ[0])
        im.TableSetColumnIndex(2)
        if im.InputFloat("##AnchorAY", uiPtrs.anchorAY, 0, 0, "%.1f") then
          selectedRope.anchorA = vec3(uiPtrs.anchorAX[0], uiPtrs.anchorAY[0], uiPtrs.anchorAZ[0])
        im.TableSetColumnIndex(3)
        if im.InputFloat("##AnchorAZ", uiPtrs.anchorAZ, 0, 0, "%.1f") then
          selectedRope.anchorA = vec3(uiPtrs.anchorAX[0], uiPtrs.anchorAY[0], uiPtrs.anchorAZ[0])
        im.TableSetColumnIndex(1)
        if im.InputFloat("##AnchorBX", uiPtrs.anchorBX, 0, 0, "%.1f") then
          selectedRope.anchorB = vec3(uiPtrs.anchorBX[0], uiPtrs.anchorBY[0], uiPtrs.anchorBZ[0])
        im.TableSetColumnIndex(2)
        if im.InputFloat("##AnchorBY", uiPtrs.anchorBY, 0, 0, "%.1f") then
          selectedRope.anchorB = vec3(uiPtrs.anchorBX[0], uiPtrs.anchorBY[0], uiPtrs.anchorBZ[0])
        im.TableSetColumnIndex(3)
        if im.InputFloat("##AnchorBZ", uiPtrs.anchorBZ, 0, 0, "%.1f") then
          selectedRope.anchorB = vec3(uiPtrs.anchorBX[0], uiPtrs.anchorBY[0], uiPtrs.anchorBZ[0])
        im.TableSetColumnIndex(1)
        if im.InputFloat("##DirAX", uiPtrs.dirAX, 0, 0, "%.2f") then
          local prevLength = selectedRope.dirA:length()
        im.TableSetColumnIndex(2)
        if im.InputFloat("##DirAY", uiPtrs.dirAY, 0, 0, "%.2f") then
          local prevLength = selectedRope.dirA:length()
        im.TableSetColumnIndex(3)
        if im.InputFloat("##DirAZ", uiPtrs.dirAZ, 0, 0, "%.2f") then
          local prevLength = selectedRope.dirA:length()
        im.TableSetColumnIndex(1)
        if im.InputFloat("##DirBX", uiPtrs.dirBX, 0, 0, "%.2f") then
          local prevLength = selectedRope.dirB:length()
        im.TableSetColumnIndex(2)
        if im.InputFloat("##DirBY", uiPtrs.dirBY, 0, 0, "%.2f") then
          local prevLength = selectedRope.dirB:length()
        im.TableSetColumnIndex(3)
        if im.InputFloat("##DirBZ", uiPtrs.dirBZ, 0, 0, "%.2f") then
          local prevLength = selectedRope.dirB:length()
        im.TableSetColumnIndex(1)
        if im.InputFloat("##GravityX", uiPtrs.gravityX, 0, 0, "%.2f") then
          selectedRope.gravity = vec3(uiPtrs.gravityX[0], uiPtrs.gravityY[0], uiPtrs.gravityZ[0])
        im.TableSetColumnIndex(2)
        if im.InputFloat("##GravityY", uiPtrs.gravityY, 0, 0, "%.2f") then
          selectedRope.gravity = vec3(uiPtrs.gravityX[0], uiPtrs.gravityY[0], uiPtrs.gravityZ[0])
        im.TableSetColumnIndex(3)
        if im.InputFloat("##GravityZ", uiPtrs.gravityZ, 0, 0, "%.2f") then
          selectedRope.gravity = vec3(uiPtrs.gravityX[0], uiPtrs.gravityY[0], uiPtrs.gravityZ[0])
      end
      if im.InputFloat("Young's Modulus", uiPtrs.youngsModulus, 1e5, 1e9, "%.0f") then
        selectedRope.youngsModulus = uiPtrs.youngsModulus[0]
      -- C1, C2, C3 inputs disabled - TODO: Figure out correct type
      -- if im.InputFloat("C1", uiPtrs.c1) then
      --   ropeParams.c1 = uiPtrs.c1[0]
      -- end
      -- if im.InputFloat("C2", uiPtrs.c2) then
      --   ropeParams.c2 = uiPtrs.c2[0]
      -- end
      -- if im.InputFloat("C3", uiPtrs.c3) then
      --   ropeParams.c3 = uiPtrs.c3[0]
@/lua/ge/extensions/editor/multiSpawnManager.lua
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Model Population Power##editGroup", imValues.modelPopPower, 0.05, nil, "%.2f") then
      imValues.modelPopPower[0] = math.max(0, imValues.modelPopPower[0])
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Config Population Power##editGroup", imValues.configPopPower, 0.05, nil, "%.2f") then
      imValues.configPopPower[0] = math.max(0, imValues.configPopPower[0])
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Population Decrease Factor##editGroup", imValues.popDecreaseFactor, 0.01, nil, "%.2f") then
      imValues.popDecreaseFactor[0] = math.max(0, imValues.popDecreaseFactor[0])
@/lua/ge/extensions/ui/bindingsLegend.lua
    im.PushItemWidth(120)
    if im.InputFloat("Fade delay (sec)", var, 0.5, 1.0, "%.1f", im.InputTextFlags_EnterReturnsTrue) then
      fadeDelaySeconds = math.max(0, var[0])
@/lua/ge/extensions/editor/crawlEditor/waypoints.lua
  local pathnodeRadius = im.FloatPtr(pathnode.radius or 5.0)
  if im.InputFloat("Radius", pathnodeRadius, 0.1, 1.0, "%.1f", im.InputTextFlags_EnterReturnsTrue) then
    if pathnodeRadius[0] < 0 then
@/lua/ge/extensions/editor/mapSensorEditor.lua
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the field of view of the sensor.')
        im.PushItemWidth(130)
        im.InputFloat("Near Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the near plane distance of the sensor (min depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Far Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the far plane distance of the sensor (max depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("Vertical Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the vertical field of view, in degrees.')
        im.PushItemWidth(130)
        im.InputFloat("Horizontal Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the horizontal field of view, in degrees.')
        im.PushItemWidth(130)
        im.InputFloat("Max Detection Range ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the sensor maximum detection range, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the field of view of the sensor.')
        im.PushItemWidth(130)
        im.InputFloat("Near Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the near plane distance of the sensor (min depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Far Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the far plane distance of the sensor (max depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Range Roundness ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip("Set the 'roundness' of the beam shape.")
        im.PushItemWidth(130)
        im.InputFloat("Range Cutoff Sensitivity ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sensitivity of the range cutoff.')
        im.PushItemWidth(130)
        im.InputFloat("Range Shape ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Focus ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sharpness of the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Min Cutoff ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f m")
        im.tooltip('Set the near plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Range Direct Max Cutoff ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f m")
        im.tooltip('Set the far plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Sensitivity ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the detection sensitivity.")
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
        im.PushItemWidth(130)
        im.InputFloat("[X-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the X-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Y-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Y-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("[Z-Axis] ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f m")
        im.tooltip('Set the sensor position on the Z-Axis.')
        im.PushItemWidth(130)
        im.InputFloat("Field Of View ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip('Set the field of view of the sensor.')
        im.PushItemWidth(130)
        im.InputFloat("Near Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the near plane distance of the sensor (min depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Far Plane Distance ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f m")
        im.tooltip('Set the far plane distance of the sensor (max depth cutoff).')
        im.PushItemWidth(130)
        im.InputFloat("Range Roundness ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip("Set the 'roundness' of the beam shape.")
        im.PushItemWidth(130)
        im.InputFloat("Range Cutoff Sensitivity ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sensitivity of the range cutoff.')
        im.PushItemWidth(130)
        im.InputFloat("Range Shape ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Focus ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f")
        im.tooltip('Set the sharpness of the shape across the beam range.')
        im.PushItemWidth(130)
        im.InputFloat("Range Min Cutoff ###" .. tostring(ctr), uiVal, 0.1, nil, "%.4f m")
        im.tooltip('Set the near plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Range Direct Max Cutoff ###" .. tostring(ctr), uiVal, 1.0, nil, "%.4f m")
        im.tooltip('Set the far plane, in meters.')
        im.PushItemWidth(130)
        im.InputFloat("Min Range ###" .. tostring(ctr), uiVal, 1, nil, "%.2f")
        im.tooltip("Set the minimum range to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Max Range ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the maximum range to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Min Velocity ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the minimum velocity to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Max Velocity ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f")
        im.tooltip("Set the maximum velocity to display in the data.")
        im.PushItemWidth(130)
        im.InputFloat("Azimuth Half-Angle ###" .. tostring(ctr), uiVal, 1.0, nil, "%.2f deg")
        im.tooltip("Set the azimuth half-angle, used in data display.")
        im.PushItemWidth(130)
        im.InputFloat("Sensor Refresh Rate ###" .. tostring(ctr), uiVal, 0.01, nil, "%.4f s")
        im.tooltip('Set the time between sensor updates.')
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Default Duration##ctrlDefinitionStateLight", var, 0.1, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
      currData.duration = math.max(0, var[0])
      im.PushItemWidth(inputWidth)
      if im.InputFloat("Flashing Lights Interval##ctrlDefinitionStateLight", var, 0.1, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
        currData.flashingInterval = math.max(0, var[0])
            im.PushItemWidth(columnWidth - 10)
            if im.InputFloat("##controllerState"..i, var, 0.1, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
              state.duration = math.max(-1, var[0])
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Start Delay##sequence", var, 0.01, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
      currSequence.startTime = var[0]
        im.PushItemWidth(inputWidth)
        if im.InputFloat("Phase "..i.."##sequencePhase", var, 0.1, 0.1, "%.2f", im.InputTextFlags_EnterReturnsTrue) then
          phase.startTime = clamp(var[0], 0, currSequence.totalDuration)
@/lua/ge/extensions/editor/cosimulationSignalEditor.lua
      im.PushItemWidth(110)
      im.InputFloat("3rd Party Computation Time", compTime3rdParty, 1e-4, 0.0, "%.5f s")
      compTime3rdParty = im.FloatPtr(max(1e-4, min(1e4, compTime3rdParty[0])))
      im.PushItemWidth(110)
      im.InputFloat("UDP Ping Time", pingTime, 1e-5, 0.0, "%.5f s")
      pingTime = im.FloatPtr(max(1e-5, min(1e4, pingTime[0])))
@/lua/ge/extensions/editor/util/editorElementHelper.lua
  local displayOpts = type(e.displayOptions) == 'table' and e.displayOptions or {}
  editEnded[0] = im.InputFloat('##'..e.fieldName, e.ptr, displayOpts.stepSmall or 1, displayOpts.stepLarge or 5, displayOpts.format or nil, im.InputTextFlags_EnterReturnsTrue)
  if editEnded[0] then
  im.Separator()
  editEnded[0] = im.InputFloat("##Best Result", e.best) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Medium Result", e.medium) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Best Result", e.best) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Medium Result", e.medium) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Worst Result", e.worst) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Medium Result", e.medium) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Worst Result", e.worst) or editEnded[0] im.NextColumn()
  im.Columns(1)
@/lua/ge/extensions/flowgraph/nodes/vehicle/ai/scriptAI/followPath.lua
  local sclFloat = im.FloatPtr(self.timeScale)
  if im.InputFloat("Timescale",sclFloat,0.05, 1) then
    if sclFloat[0] < 0.25 then
@/lua/ge/extensions/gameplay/missions/missionTypes/editorHelper.lua
  im.PushItemWidth(im.GetContentRegionAvailWidth())
  editEnded[0] = im.InputFloat('##'..e.fieldName, e.ptr, 1, 5, nil, im.InputTextFlags_EnterReturnsTrue)
  if editEnded[0] then
  im.Separator()
  editEnded[0] = im.InputFloat("##Best Result", e.best) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Medium Result", e.medium) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Best Result", e.best) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Medium Result", e.medium) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Worst Result", e.worst) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Medium Result", e.medium) or editEnded[0] im.NextColumn()
  editEnded[0] = im.InputFloat("##Worst Result", e.worst) or editEnded[0] im.NextColumn()
  im.Columns(1)
@/lua/ge/extensions/editor/raceEditor/pathnodes.lua
        pathnodeRadius[0] = node.navRadiusScale
        if im.InputFloat("Radius Multiplier",pathnodeRadius, 0.01, 0.1, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f", im.InputTextFlags_EnterReturnsTrue) then
          if pathnodeRadius[0] < 0 then
        pathnodeRadius[0] = node.radius
        if im.InputFloat("Radius",pathnodeRadius, 0.1, 0.5, "%0." .. editor.getPreference("ui.general.floatDigitCount") .. "f", im.InputTextFlags_EnterReturnsTrue) then
          if pathnodeRadius[0] < 0 then
@/lua/ge/extensions/editor/gen/ui.lua
				local v_spacing = im.FloatPtr(R.ui.spacing)
	--            if im.InputFloat("Spacing###", v_spacing, 0.1, 20.0) then
				im.PushItemWidth(im.GetWindowWidth() - 2*(margin + marginInCol + 40))
						local laneL,laneR = im.IntPtr(D.ui.laneL),im.IntPtr(D.ui.laneR)
						if im.InputFloat('Lanes R', laneR, 1) then
							if laneR[0] < 0 then
@/lua/ge/extensions/editor/camPathEditor.lua
      im.PushItemWidth(200 * im.uiscale[0])
      im.InputFloat('##speed', speed, 0.1, 1.0, '%.1f')
      im.PopItemWidth()
      if
        im.InputFloat(
          '##globalTime',
@/lua/ge/extensions/editor/util/vehicleFilterUtil.lua
        local maxPtr = im.FloatPtr(filter.values.max)
        local minChanged = im.InputFloat("Min##min", minPtr)
        im.SameLine()
        im.SameLine()
        local maxChanged = im.InputFloat("Max##max", maxPtr)
        im.PopItemWidth()
        local maxPtr = im.FloatPtr(filter.values.max)
        local minChanged = im.InputFloat("Min##min", minPtr)
        im.SameLine()
        im.SameLine()
        local maxChanged = im.InputFloat("Max##max", maxPtr)
        im.PopItemWidth()
    local weightPtr = im.FloatPtr(setting.weight or 1.0)
    if im.InputFloat("Weight##weight", weightPtr, 0.1, 1.0, "%.2f") then
      setting.weight = math.max(0.1, weightPtr[0])
          local maxPtr = im.FloatPtr(filter.values.max)
          local minChanged = im.InputFloat("Min##min", minPtr)
          im.SameLine()
          im.SameLine()
          local maxChanged = im.InputFloat("Max##max", maxPtr)
          im.PopItemWidth()
          local maxPtr = im.FloatPtr(filter.values.max)
          local minChanged = im.InputFloat("Min##min", minPtr)
          im.SameLine()
          im.SameLine()
          local maxChanged = im.InputFloat("Max##max", maxPtr)
          im.PopItemWidth()
@/lua/ge/extensions/editor/meshEditor.lua
  local defaultWidthPtr = im.FloatPtr(editor.getPreference(M.preferencesName .. ".general.defaultWidth"))
  if im.InputFloat("##Default Width", defaultWidthPtr, 0.1, 0.5) then
    editor.setPreference(M.preferencesName .. ".general.defaultWidth", defaultWidthPtr[0])
  local defaultDepthPtr = im.FloatPtr(editor.getPreference(M.preferencesName .. ".general.defaultDepth"))
  if im.InputFloat("##Default Depth", defaultDepthPtr, 0.1, 0.5) then
    editor.setPreference(M.preferencesName .. ".general.defaultDepth", defaultDepthPtr[0])
@/lua/ge/extensions/flowgraph/nodes/vehicle/customPartsConfigProvider.lua
        local valNum = im.FloatPtr(self.partConfig[field][key])
        if im.InputFloat("##inputValPart" .. i ..field, valNum, nil,nil,nil, im.InputTextFlags_EnterReturnsTrue) then
          self.partConfig[field][ffi.string(keyText)] = valNum[0]
      self._valNum = self._valNum or im.FloatPtr(0)
      im.InputFloat("##AddValPart", self._valNum)
      im.SameLine()
@/lua/ge/extensions/editor/terrainEditor.lua
    im.PushItemWidth(im.GetContentRegionAvailWidth())
    im.InputFloat('##MetersPerPixel', terrainImpExp.metersPerPixel, 0.1, 1, "%.1f")
    im.PopItemWidth()
    im.PushItemWidth(im.GetContentRegionAvailWidth())
    im.InputFloat('##MaxHeight', terrainImpExp.heightScale, 1, 5, "%.1f")
    im.PopItemWidth()
      im.PushItemWidth(inputPosWidth)
      if im.InputFloat("##transformPosX", terrainImpExp.transformPos.x) then
        terrainImpExp.applyTransform[0] = true
      im.SameLine()
      if im.InputFloat("##transformPosY", terrainImpExp.transformPos.y) then
        terrainImpExp.applyTransform[0] = true
      im.SameLine()
      if im.InputFloat("##transformPosZ", terrainImpExp.transformPos.z) then
        terrainImpExp.applyTransform[0] = true
@/lua/ge/extensions/editor/trafficDebug.lua
  im.PushItemWidth(100)
  if im.InputFloat("Respawn Rate", var, 0.1, nil, "%.1f") then
    gameplay_traffic.setTrafficVars({spawnValue = clamp(var[0], 0, 3)})
  im.PushItemWidth(100)
  if im.InputFloat("Respawn Direction Bias", var, 0.1, nil, "%.1f") then
    gameplay_traffic.setTrafficVars({spawnDirBias = clamp(var[0], -1, 1)})
  im.PushItemWidth(100)
  if im.InputFloat("AI Aggression", var, 0.05, nil, "%.2f") then
    gameplay_traffic.setTrafficVars({baseAggression = clamp(var[0], 0.1, 2)})
  im.PushItemWidth(100)
  if im.InputFloat("AI Speed Limit", var, 0.5, nil, "%.1f") then
    gameplay_traffic.setTrafficVars({speedLimit = clamp(var[0], -1, 100)})
  im.PushItemWidth(100)
  if im.InputFloat("Parking Spot Probability", var, 0.05, nil, "%.2f") then
    gameplay_parking.setParkingVars({baseProbability = clamp(var[0], 0, 1)})
  im.PushItemWidth(100)
  if im.InputFloat("Parking Spot Uniformity", var, 0.05, nil, "%.2f") then
    gameplay_parking.setParkingVars({neatness = clamp(var[0], 0, 1)})
  im.PushItemWidth(100)
  if im.InputFloat("Parking Spot Precision Judgement", var, 0.05, nil, "%.2f") then
    gameplay_parking.setParkingVars({precision = clamp(var[0], 0, 1)})
@/lua/ge/extensions/editor/missionEditor/setupModules.lua
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Respawn Rate##traffic", self.trafficRespawnRateInput, 0.1, nil, "%.2f") then
      setupModule.respawnRate = self.trafficRespawnRateInput[0]
    im.PushItemWidth(inputWidth)
    if im.InputFloat("##tod", self.todInput) then
      self.todInput[0] = clamp(self.todInput[0], 0, 1)
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Time Scale##environment", self.todScaleInput, 0.1, nil, "%.2f") then
      self.todScaleInput[0] = math.max(0, self.todScaleInput[0])
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Wind Speed##environment", self.windSpeedInput, 0.1, nil, "%.2f") then
      self.windSpeedInput[0] = math.max(0, self.windSpeedInput[0])
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Wind Direction##environment", self.windDirectionInput, 1, nil, "%.2f") then
      self.windDirectionInput[0] = clamp(self.windDirectionInput[0], 0, 360)
    im.PushItemWidth(inputWidth)
    if im.InputFloat("Fog Density##environment", self.fogDensityInput, 0.001, nil, "%.3f") then
      self.fogDensityInput[0] = clamp(self.fogDensityInput[0], 0, 1)