diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-25 18:10:58 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-25 22:02:36 +0100 |
commit | a7e1df4b1d72ee4d81274450063e0b89103d72b2 (patch) | |
tree | ecebffb161df0624224b7535f954695b76bdd06d /doc/classes/NavigationPolygon.xml | |
parent | 2ead439370ab220043df3fe1effc239ee597c1cd (diff) |
doc: Sync classref for Packed{Int,Float}{32,64}Array additions
Diffstat (limited to 'doc/classes/NavigationPolygon.xml')
-rw-r--r-- | doc/classes/NavigationPolygon.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/NavigationPolygon.xml b/doc/classes/NavigationPolygon.xml index 908617fb91..da291b7337 100644 --- a/doc/classes/NavigationPolygon.xml +++ b/doc/classes/NavigationPolygon.xml @@ -18,7 +18,7 @@ var polygon = NavigationPolygon.new() var vertices = PackedVector2Array([Vector2(0, 0), Vector2(0, 50), Vector2(50, 50), Vector2(50, 0)]) polygon.set_vertices(vertices) - var indices = PackedIntArray(0, 3, 1) + var indices = PackedInt32Array(0, 3, 1) polygon.add_polygon(indices) $NavigationPolygonInstance.navpoly = polygon [/codeblock] @@ -49,7 +49,7 @@ <method name="add_polygon"> <return type="void"> </return> - <argument index="0" name="polygon" type="PackedIntArray"> + <argument index="0" name="polygon" type="PackedInt32Array"> </argument> <description> Adds a polygon using the indices of the vertices you get when calling [method get_vertices]. @@ -86,12 +86,12 @@ </description> </method> <method name="get_polygon"> - <return type="PackedIntArray"> + <return type="PackedInt32Array"> </return> <argument index="0" name="idx" type="int"> </argument> <description> - Returns a [PackedIntArray] containing the indices of the vertices of a created polygon. + Returns a [PackedInt32Array] containing the indices of the vertices of a created polygon. </description> </method> <method name="get_polygon_count" qualifiers="const"> |