igSliderFloat3() private method

private igSliderFloat3 ( string label, Vector3 &v, float v_min, float v_max, string display_format, float power ) : bool
label string
v Vector3
v_min float
v_max float
display_format string
power float
return bool
Example #1
0
        public static bool SliderVector3(string label, ref Color value, float min, float max, string displayText, float power)
        {
            System.Numerics.Vector3 vec3 = value.ToNumericsVector3();
            bool result = ImGuiNative.igSliderFloat3(label, ref vec3, min, max, displayText, power);

            value = new Color(vec3.X, vec3.Y, vec3.Z);
            return(result);
        }
Example #2
0
 public static bool SliderVector3(string label, ref Vector3 value, float min, float max, string displayText, float power)
 {
     return(ImGuiNative.igSliderFloat3(label, ref value, min, max, displayText, power));
 }
Example #3
0
 public static bool SliderImVec3(string label, ref ImVec3 value, float min, float max, string displayText, float power)
 => ImGuiNative.igSliderFloat3(label, ref value, min, max, displayText, power);