diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-28 22:30:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 22:30:23 +0100 |
commit | 6a5ffb8f6eb1ff36d3fa69659e48b7a6b77d1f2a (patch) | |
tree | cd3d751c628382a8c8b2e896f6ffb89386dbd71e | |
parent | 52abb748f8104c896895c5ffe40744b00b4973db (diff) | |
parent | 8ea77b96b26a0d64992c3b23214c74cf5bda30e5 (diff) |
Merge pull request #35675 from Calinou/doc-2d-polygon-limits
Mention 2D polygon limits and how to increase them in the documentation
-rw-r--r-- | doc/classes/Line2D.xml | 1 | ||||
-rw-r--r-- | doc/classes/Polygon2D.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index aa3739cf74..342683cc29 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -5,6 +5,7 @@ </brief_description> <description> A line through several points in 2D space. + [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> 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> |