Skip to content

Commit

Permalink
Mention CollisionPolygon2D.polygon is local to the given CollisionPol…
Browse files Browse the repository at this point in the history
…ygon2D
  • Loading branch information
jsjtxietian committed Jan 10, 2024
1 parent c8c483c commit f5409dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/CollisionPolygon2D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</member>
<member name="polygon" type="PackedVector2Array" setter="set_polygon" getter="get_polygon" default="PackedVector2Array()">
The polygon's list of vertices. Each point will be connected to the next, and the final point will be connected to the first.
[b]Note:[/b] The returned vertices are in the local coordinate space of the given [CollisionPolygon2D].
[b]Warning:[/b] The returned value is a clone of the [PackedVector2Array], not a reference.
</member>
</members>
Expand Down

0 comments on commit f5409dc

Please sign in to comment.