diff --git a/core/color.h b/core/color.h index 97cb7a3ed..0aca209ed 100644 --- a/core/color.h +++ b/core/color.h @@ -85,6 +85,8 @@ struct _NO_DISCARD_CLASS_ Color { bool is_equal_approx(const Color &p_color) const; + Color clamp(const Color &p_min = Color(0, 0, 0, 0), const Color &p_max = Color(1, 1, 1, 1)) const; + void invert(); void contrast(); Color inverted() const;