diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-10 12:03:50 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-10 12:03:50 +0100 |
| commit | 352434668923978f54f2236f20116fc96ebc9173 (patch) | |
| tree | ef5cf1879648813ec1e00b25c567117e93362b1d | |
| parent | 74f3d168c80e34088a2f41a206f8473f52201dc7 (diff) | |
| parent | f5409dc132ae81c2819f30882a88fd3205fc046f (diff) | |
| download | redot-engine-352434668923978f54f2236f20116fc96ebc9173.tar.gz | |
Merge pull request #87024 from jsjtxietian/CollisionPolygon2D-polygon
Mention `CollisionPolygon2D.polygon` is local to the given CollisionPolygon2D
| -rw-r--r-- | doc/classes/CollisionPolygon2D.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/CollisionPolygon2D.xml b/doc/classes/CollisionPolygon2D.xml index d6f3b7cb5d..acb3f66c17 100644 --- a/doc/classes/CollisionPolygon2D.xml +++ b/doc/classes/CollisionPolygon2D.xml @@ -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> |
