Added polygon antialiasing, but it does not work on nvidia. Will have to try something else..
This commit is contained in:
parent
01e447f3df
commit
8fc6bb8f77
11 changed files with 46 additions and 15 deletions
|
|
@ -47,6 +47,7 @@ class Polygon2D : public Node2D {
|
|||
float tex_rot;
|
||||
bool invert;
|
||||
float invert_border;
|
||||
bool antialiased;
|
||||
|
||||
Vector2 offset;
|
||||
mutable bool rect_cache_dirty;
|
||||
|
|
@ -87,6 +88,9 @@ public:
|
|||
void set_invert(bool p_invert);
|
||||
bool get_invert() const;
|
||||
|
||||
void set_antialiased(bool p_antialiased);
|
||||
bool get_antialiased() const;
|
||||
|
||||
void set_invert_border(float p_invert_border);
|
||||
float get_invert_border() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue