Time elapsed since last frame, in seconds. Default value: 1.0f / 10.0f.
publicfloatDeltaTime
Résultat
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
Résultat
Vector2
DisplaySize public_oe property
Display size, in pixels. For clamping windows positions. Default value: [unset]
publicVector2DisplaySize
Résultat
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
Résultat
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
Résultat
Vector2
FontAllowUserScaling public_oe property
Allow user scaling text of individual window with CTRL+Wheel. Default value: false.
publicbyteFontAllowUserScaling
Résultat
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
Résultat
NativeFontAtlas*
FontGlobalScale public_oe property
Global scale all fonts. Default value: 1.0f.
publicfloatFontGlobalScale
Résultat
float
Framerate public_oe property
Framerate estimation, in frame per second. Rolling average estimation based on IO.DeltaTime over 120 frames.
publicfloatFramerate
Résultat
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
Résultat
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
Résultat
System.IntPtr
ImeWindowHandle public_oe property
(Windows) Set this to your HWND to get automatic IME cursor positioning.
publicIntPtr,SystemImeWindowHandle
Résultat
System.IntPtr
IniFilename public_oe property
Path to .ini file. NULL to disable .ini saving. Default value: "imgui.ini"
publicIntPtr,SystemIniFilename
Résultat
System.IntPtr
IniSavingRate public_oe property
Maximum time between saving positions/sizes to .ini file, in seconds. Default value: 5.0f.
publicfloatIniSavingRate
Résultat
float
KeyAlt public_oe property
Keyboard modifier pressed: Alt
publicbyteKeyAlt
Résultat
byte
KeyCtrl public_oe property
Keyboard modifier pressed: Control.
publicbyteKeyCtrl
Résultat
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
Résultat
float
KeyRepeatRate public_oe property
When holding a key/button, rate at which it repeats, in seconds. Default value: 0.020f.
publicfloatKeyRepeatRate
Résultat
float
KeyShift public_oe property
Keyboard modifier pressed: Shift
publicbyteKeyShift
Résultat
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
Résultat
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
Résultat
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
Résultat
System.IntPtr
MetricsActiveWindows public_oe property
Number of visible windows (exclude child windows)
publicintMetricsActiveWindows
Résultat
int
MetricsAllocs public_oe property
Number of active memory allocations.
publicintMetricsAllocs
Résultat
int
MetricsRenderIndices public_oe property
Indices output during last call to Render() = number of triangles * 3
publicintMetricsRenderIndices
Résultat
int
MetricsRenderVertices public_oe property
Vertices output during last call to Render().
publicintMetricsRenderVertices
Résultat
int
MouseClickedPos0 public_oe property
Position at time of clicking
publicVector2MouseClickedPos0
Résultat
Vector2
MouseClickedPos1 public_oe property
Position at time of clicking
publicVector2MouseClickedPos1
Résultat
Vector2
MouseClickedPos2 public_oe property
Position at time of clicking
publicVector2MouseClickedPos2
Résultat
Vector2
MouseClickedPos3 public_oe property
Position at time of clicking
publicVector2MouseClickedPos3
Résultat
Vector2
MouseClickedPos4 public_oe property
Position at time of clicking
publicVector2MouseClickedPos4
Résultat
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
Résultat
Vector2
MouseDoubleClickMaxDist public_oe property
Distance threshold to stay in to validate a double-click, in pixels. Default Value: 6.0f.
publicfloatMouseDoubleClickMaxDist
Résultat
float
MouseDoubleClickTime public_oe property
Time for a double-click, in seconds. Default value: 0.30f.
publicfloatMouseDoubleClickTime
Résultat
float
MouseDragThreshold public_oe property
Distance threshold before considering we are dragging. Default Value: 6.0f.
publicfloatMouseDragThreshold
Résultat
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
Résultat
byte
MousePos public_oe property
Mouse position, in pixels (set to -1,-1 if no mouse / on another screen, etc.).
publicVector2MousePos
Résultat
Vector2
MousePosPrev public_oe property
Previous mouse position
publicVector2MousePosPrev
Résultat
Vector2
MouseWheel public_oe property
Mouse wheel: 1 unit scrolls about 5 lines text.
publicfloatMouseWheel
Résultat
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
Résultat
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
Résultat
System.IntPtr
UserData public_oe property
Store your own data for retrieval by callbacks. Default value: IntPtr.Zero.
publicIntPtr,SystemUserData
Résultat
System.IntPtr
WantCaptureKeyboard public_oe property
Widget is active (= ImGui will use your keyboard input).
publicbyteWantCaptureKeyboard
Résultat
byte
WantCaptureMouse public_oe property
Mouse is hovering a window or widget is active (= ImGui will use your mouse input).
publicbyteWantCaptureMouse
Résultat
byte
WantTextInput public_oe property
Some text input widget is active, which will read input characters from the InputCharacters array.