public static unsafe bool ColorEdit3(string label, ref ImVec3 color, bool showAlpha) { ImVec3 localColor = color; bool result = ImGuiNative.igColorEdit3(label, &localColor); if (result) { color = localColor; } return(result); }
public static unsafe bool ColorEdit3(string label, ref Vector3 color, ColorEditFlags flags = ColorEditFlags.Default) { Vector3 localColor = color; bool result = ImGuiNative.igColorEdit3(label, &localColor, flags); if (result) { color = localColor; } return(result); }
public static unsafe bool ColorEdit3(string label, ref float r, ref float g, ref float b, bool showAlpha) { Vector3 localColor = new Vector3(r, g, b); bool result = ImGuiNative.igColorEdit3(label, &localColor); if (result) { r = localColor.X; g = localColor.Y; b = localColor.Z; } return(result); }
public static unsafe bool ColorEdit3(string label, ref float r, ref float g, ref float b, ColorEditFlags flags = ColorEditFlags.Default) { Vector3 localColor = new Vector3(r, g, b); bool result = ImGuiNative.igColorEdit3(label, &localColor, flags); if (result) { r = localColor.X; g = localColor.Y; b = localColor.Z; } return(result); }
public static bool ColorEdit3(string label, Vector3 color) { return(ImGuiNative.igColorEdit3(label, color)); }