summaryrefslogtreecommitdiff
path: root/doc/classes/Line2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Line2D.xml')
-rw-r--r--doc/classes/Line2D.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml
index b5983e00b9..bed5bbaea7 100644
--- a/doc/classes/Line2D.xml
+++ b/doc/classes/Line2D.xml
@@ -5,7 +5,6 @@
</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>
@@ -94,7 +93,7 @@
<member name="sharp_limit" type="float" setter="set_sharp_limit" getter="get_sharp_limit" default="2.0">
The direction difference in radians between vector points. This value is only used if [code]joint mode[/code] is set to [constant LINE_JOINT_SHARP].
</member>
- <member name="texture" type="Texture" setter="set_texture" getter="get_texture">
+ <member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
The texture used for the line's texture. Uses [code]texture_mode[/code] for drawing style.
</member>
<member name="texture_mode" type="int" setter="set_texture_mode" getter="get_texture_mode" enum="Line2D.LineTextureMode" default="0">