Skip to content

Commit

Permalink
Merge pull request #87024 from jsjtxietian/CollisionPolygon2D-polygon
Browse files Browse the repository at this point in the history
Mention `CollisionPolygon2D.polygon` is local to the given CollisionPolygon2D
  • Loading branch information
akien-mga committed Jan 10, 2024
2 parents 74f3d16 + f5409dc commit 3524346
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 3524346

Please sign in to comment.