private igSliderFloat4 ( string label, Vector4 &v, float v_min, float v_max, string display_format, float power ) : bool | ||
label | string | |
v | Vector4 | |
v_min | float | |
v_max | float | |
display_format | string | |
power | float | |
Результат | bool |
public static bool SliderVector4(string label, ref Color value, float min, float max, string displayText, float power) { System.Numerics.Vector4 vec4 = value.ToNumericsVector4(); bool result = ImGuiNative.igSliderFloat4(label, ref vec4, min, max, displayText, power); value = new Color(vec4.X, vec4.Y, vec4.Z, vec4.W); return(result); }
public static bool SliderVector4(string label, ref Vector4 value, float min, float max, string displayText, float power) { return(ImGuiNative.igSliderFloat4(label, ref value, min, max, displayText, power)); }
public static bool SliderImVec4(string label, ref ImVec4 value, float min, float max, string displayText, float power) => ImGuiNative.igSliderFloat4(label, ref value, min, max, displayText, power);