Synced
ImGuiSliderFlags
Section titled “ImGuiSliderFlags”
- Defines the supported slider flags choices at the Editor presentation boundary.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: System.Enum
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public enum InnoEditor.ImGui.ImGuiSliderFlags : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | ImGuiSliderFlags.AlwaysClamp | Selects the always clamp presentation behavior. |
| Fields | ImGuiSliderFlags.ClampOnInput | Clamp value to min/max bounds when input manually with Ctrl+Click. By default Ctrl+Click allows going out of bounds. |
| Fields | ImGuiSliderFlags.ClampZeroRange | Clamp even if min==max==0.0f. Otherwise due to legacy reason DragXXX functions don’t clamp with those values. When your clamping limits are dynamic you almost always want to use it. |
| Fields | ImGuiSliderFlags.ColorMarkers | DragScalarN(), SliderScalarN(): Draw R/G/B/A color markers on each component. |
| Fields | ImGuiSliderFlags.InvalidMask | Selects the invalid mask presentation behavior. |
| Fields | ImGuiSliderFlags.Logarithmic | Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits. |
| Fields | ImGuiSliderFlags.NoInput | Disable Ctrl+Click or Enter key allowing to input text directly into the widget. |
| Fields | ImGuiSliderFlags.None | Uses the ordinary behavior without additional options. |
| Fields | ImGuiSliderFlags.NoRoundToFormat | Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits). |
| Fields | ImGuiSliderFlags.NoSpeedTweaks | Disable keyboard modifiers altering tweak speed. Useful if you want to alter tweak speed yourself based on your own logic. |
| Fields | ImGuiSliderFlags.WrapAround | Enable wrapping around from max to min and from min to max. Only supported by DragXXX() functions for now. |