//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// return the delta from the initial clicking position while the mouse button is pressed or was just
/// released. This is locked and return 0.0f until the mouse moves past a distance threshold at least
/// once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
///
///
/// C++:
/// imgui.h:1131
/// ,
/// imgui.cpp:10423
///
ImVec2 GetMouseDragDelta(ImGuiMouseButton button = 0, float lock_threshold = -1.0f)
///
///
///
///
/// Inputs Utilities: Mouse
/// - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right.
/// - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle.
/// - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')
///
///
/// Return the delta from the initial clicking position while the mouse button is clicked or was just released.
/// This is locked and return 0.0f until the mouse moves past a distance threshold at least once.
/// NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window.
///
///
[LibraryImport("imgui")]
public static unsafe partial float2 GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold);
}
}
}