diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-28 21:59:48 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-28 22:04:29 +0100 |
commit | 8ea77b96b26a0d64992c3b23214c74cf5bda30e5 (patch) | |
tree | c4cb368ec1715ba119ea50136f71ce43cbe07f4d /doc/classes/Polygon2D.xml | |
parent | 9aa9aa29183961acf04fa4c3fd584aea041bfd91 (diff) | |
download | redot-engine-8ea77b96b26a0d64992c3b23214c74cf5bda30e5.tar.gz |
Mention 2D polygon limits and how to increase them in the documentation
This closes #21793.
Diffstat (limited to 'doc/classes/Polygon2D.xml')
-rw-r--r-- | doc/classes/Polygon2D.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml index 3f6da2baf8..889c55780a 100644 --- a/doc/classes/Polygon2D.xml +++ b/doc/classes/Polygon2D.xml @@ -5,6 +5,7 @@ </brief_description> <description> A Polygon2D is defined by a set of points. Each point is connected to the next, with the final point being connected to the first, resulting in a closed polygon. Polygon2Ds can be filled with color (solid or gradient) or filled with a given texture. + [b]Note:[/b] By default, Godot can only draw up to 4,096 polygon points at a time. To increase this limit, open the Project Settings and increase [member ProjectSettings.rendering/limits/buffers/canvas_polygon_buffer_size_kb] and [member ProjectSettings.rendering/limits/buffers/canvas_polygon_index_buffer_size_kb]. </description> <tutorials> </tutorials> |