private igSliderFloat2 ( string label, Vector2 &v, float v_min, float v_max, string display_format, float power ) : bool | ||
label | string | |
v | Vector2 | |
v_min | float | |
v_max | float | |
display_format | string | |
power | float | |
Результат | bool |
public static bool SliderVector2(string label, ref Vector2 value, float min, float max, string displayText, float power) { System.Numerics.Vector2 vec2 = value.ToNumericsVector2(); bool result = ImGuiNative.igSliderFloat2(label, ref vec2, min, max, displayText, power); value = new Vector2(vec2.X, vec2.Y); return(result); }
public static bool SliderVector2(string label, ref Vector2 value, float min, float max, string displayText, float power) { return(ImGuiNative.igSliderFloat2(label, ref value, min, max, displayText, power)); }
public static bool SliderImVec2(string label, ref ImVec2 value, float min, float max, string displayText, float power) => ImGuiNative.igSliderFloat2(label, ref value, min, max, displayText, power);