private igDragFloat3 ( string label, Vector3 &v, float v_speed, float v_min, float v_max, string display_format, float power ) : bool | ||
label | string | |
v | Vector3 | |
v_speed | float | |
v_min | float | |
v_max | float | |
display_format | string | |
power | float | |
return | bool |
public static bool DragVector3(string label, ref Color value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f) { System.Numerics.Vector3 vec3 = value.ToNumericsVector3(); bool result = ImGuiNative.igDragFloat3(label, ref vec3, dragSpeed, min, max, displayFormat, dragPower); value = new Color(vec3.X, vec3.Y, vec3.Z); return(result); }
public static bool DragVector3(string label, ref Vector3 value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f) { return(ImGuiNative.igDragFloat3(label, ref value, dragSpeed, min, max, displayFormat, dragPower)); }
public static bool DragImVec3(string label, ref ImVec3 value, float min, float max, float dragSpeed = 1f, string displayFormat = "%f", float dragPower = 1f) => ImGuiNative.igDragFloat3(label, ref value, dragSpeed, min, max, displayFormat, dragPower);