Add warnings to docs for methods that return copies, not refs.
This commit is contained in:
parent
1174d10e3c
commit
ec94370053
4 changed files with 4 additions and 4 deletions
|
|
@ -99,7 +99,7 @@
|
|||
The offset applied to each vertex.
|
||||
</member>
|
||||
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
|
||||
The polygon's list of vertices. The final point will be connected to the first.
|
||||
The polygon's list of vertices. The final point will be connected to the first. Note that this returns a copy of the [PoolVector2Array] rather than a reference.
|
||||
</member>
|
||||
<member name="polygons" type="Array" setter="set_polygons" getter="get_polygons">
|
||||
</member>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue