Merge pull request #64659 from Streq/patch-1
add polygons property description in Polygon2D
This commit is contained in:
commit
51cd380167
|
@ -92,6 +92,7 @@
|
||||||
[b]Note:[/b] This returns a copy of the [PackedVector2Array] rather than a reference.
|
[b]Note:[/b] This returns a copy of the [PackedVector2Array] rather than a reference.
|
||||||
</member>
|
</member>
|
||||||
<member name="polygons" type="Array" setter="set_polygons" getter="get_polygons" default="[]">
|
<member name="polygons" type="Array" setter="set_polygons" getter="get_polygons" default="[]">
|
||||||
|
The list of polygons, in case more than one is being represented. Every individual polygon is stored as a [PackedInt32Array] where each [int] is an index to a point in [member polygon]. If empty, this property will be ignored, and the resulting single polygon will be composed of all points in [member polygon], using the order they are stored in.
|
||||||
</member>
|
</member>
|
||||||
<member name="skeleton" type="NodePath" setter="set_skeleton" getter="get_skeleton" default="NodePath("")">
|
<member name="skeleton" type="NodePath" setter="set_skeleton" getter="get_skeleton" default="NodePath("")">
|
||||||
</member>
|
</member>
|
||||||
|
|
Loading…
Reference in New Issue