Time elapsed since last frame, in seconds. Default value: 1.0f / 10.0f.
publicfloatDeltaTime
return
float
DisplayFramebufferScale public_oe property
For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui. Default value: (1.0f, 1.0f).
publicVector2DisplayFramebufferScale
return
Vector2
DisplaySize public_oe property
Display size, in pixels. For clamping windows positions. Default value: [unset]
publicVector2DisplaySize
return
Vector2
DisplayVisibleMax public_oe property
If the values are the same, we defaults to Min=0.0f) and Max=DisplaySize. Default value: (0.0f, 0.0f).
publicVector2DisplayVisibleMax
return
Vector2
DisplayVisibleMin public_oe property
If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area. Default value: (0.0f, 0.0f)
publicVector2DisplayVisibleMin
return
Vector2
FontAllowUserScaling public_oe property
Allow user scaling text of individual window with CTRL+Wheel. Default value: false.
publicbyteFontAllowUserScaling
return
byte
FontAtlas public_oe property
Load and assemble one or more fonts into a single tightly packed texture. Output to Fonts array. Default value: [auto]
publicNativeFontAtlas*FontAtlas
return
NativeFontAtlas*
FontGlobalScale public_oe property
Global scale all fonts. Default value: 1.0f.
publicfloatFontGlobalScale
return
float
Framerate public_oe property
Framerate estimation, in frame per second. Rolling average estimation based on IO.DeltaTime over 120 frames.
publicfloatFramerate
return
float
GetClipboardTextFn public_oe property
Optional: access OS clipboard (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures)
publicIntPtr,SystemGetClipboardTextFn
return
System.IntPtr
ImeSetInputScreenPosFn public_oe property
Optional: notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME in Windows) (default to use native imm32 api on Windows)
publicIntPtr,SystemImeSetInputScreenPosFn
return
System.IntPtr
ImeWindowHandle public_oe property
(Windows) Set this to your HWND to get automatic IME cursor positioning.
publicIntPtr,SystemImeWindowHandle
return
System.IntPtr
IniFilename public_oe property
Path to .ini file. NULL to disable .ini saving. Default value: "imgui.ini"
publicIntPtr,SystemIniFilename
return
System.IntPtr
IniSavingRate public_oe property
Maximum time between saving positions/sizes to .ini file, in seconds. Default value: 5.0f.
publicfloatIniSavingRate
return
float
KeyAlt public_oe property
Keyboard modifier pressed: Alt
publicbyteKeyAlt
return
byte
KeyCtrl public_oe property
Keyboard modifier pressed: Control.
publicbyteKeyCtrl
return
byte
KeyRepeatDelay public_oe property
When holding a key/button, time before it starts repeating, in seconds. (for actions where 'repeat' is active). Default value: 0.250f.
publicfloatKeyRepeatDelay
return
float
KeyRepeatRate public_oe property
When holding a key/button, rate at which it repeats, in seconds. Default value: 0.020f.
publicfloatKeyRepeatRate
return
float
KeyShift public_oe property
Keyboard modifier pressed: Shift
publicbyteKeyShift
return
byte
LogFilename public_oe property
Path to .log file (default parameter to ImGui::LogToFile when no file is specified). Default value: "imgui_log.txt"
publicIntPtr,SystemLogFilename
return
System.IntPtr
MemAllocFn public_oe property
Optional: override memory allocations. MemFreeFn() may be called with a NULL pointer. (default to posix malloc/free)
publicIntPtr,SystemMemAllocFn
return
System.IntPtr
MemFreeFn public_oe property
Optional: override memory allocations. MemFreeFn() may be called with a NULL pointer. (default to posix malloc/free)
publicIntPtr,SystemMemFreeFn
return
System.IntPtr
MetricsActiveWindows public_oe property
Number of visible windows (exclude child windows)
publicintMetricsActiveWindows
return
int
MetricsAllocs public_oe property
Number of active memory allocations.
publicintMetricsAllocs
return
int
MetricsRenderIndices public_oe property
Indices output during last call to Render() = number of triangles * 3
publicintMetricsRenderIndices
return
int
MetricsRenderVertices public_oe property
Vertices output during last call to Render().
publicintMetricsRenderVertices
return
int
MouseClickedPos0 public_oe property
Position at time of clicking
publicVector2MouseClickedPos0
return
Vector2
MouseClickedPos1 public_oe property
Position at time of clicking
publicVector2MouseClickedPos1
return
Vector2
MouseClickedPos2 public_oe property
Position at time of clicking
publicVector2MouseClickedPos2
return
Vector2
MouseClickedPos3 public_oe property
Position at time of clicking
publicVector2MouseClickedPos3
return
Vector2
MouseClickedPos4 public_oe property
Position at time of clicking
publicVector2MouseClickedPos4
return
Vector2
MouseDelta public_oe property
Mouse delta. Note that this is zero if either current or previous position are negative to allow mouse enabling/disabling.
publicVector2MouseDelta
return
Vector2
MouseDoubleClickMaxDist public_oe property
Distance threshold to stay in to validate a double-click, in pixels. Default Value: 6.0f.
publicfloatMouseDoubleClickMaxDist
return
float
MouseDoubleClickTime public_oe property
Time for a double-click, in seconds. Default value: 0.30f.
publicfloatMouseDoubleClickTime
return
float
MouseDragThreshold public_oe property
Distance threshold before considering we are dragging. Default Value: 6.0f.
publicfloatMouseDragThreshold
return
float
MouseDrawCursor public_oe property
Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor).
publicbyteMouseDrawCursor
return
byte
MousePos public_oe property
Mouse position, in pixels (set to -1,-1 if no mouse / on another screen, etc.).
publicVector2MousePos
return
Vector2
MousePosPrev public_oe property
Previous mouse position
publicVector2MousePosPrev
return
Vector2
MouseWheel public_oe property
Mouse wheel: 1 unit scrolls about 5 lines text.
publicfloatMouseWheel
return
float
RenderDrawListsFn public_oe property
Rendering function, will be called in Render(). Alternatively you can keep this to NULL and call GetDrawData() after Render() to get the same pointer.
publicIntPtr,SystemRenderDrawListsFn
return
System.IntPtr
SetClipboardTextFn public_oe property
Optional: access OS clipboard (default to use native Win32 clipboard on Windows, otherwise uses a private clipboard. Override to access OS clipboard on other architectures)
publicIntPtr,SystemSetClipboardTextFn
return
System.IntPtr
UserData public_oe property
Store your own data for retrieval by callbacks. Default value: IntPtr.Zero.
publicIntPtr,SystemUserData
return
System.IntPtr
WantCaptureKeyboard public_oe property
Widget is active (= ImGui will use your keyboard input).
publicbyteWantCaptureKeyboard
return
byte
WantCaptureMouse public_oe property
Mouse is hovering a window or widget is active (= ImGui will use your mouse input).
publicbyteWantCaptureMouse
return
byte
WantTextInput public_oe property
Some text input widget is active, which will read input characters from the InputCharacters array.