feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -16,6 +16,13 @@
|
|||
Adds a collision polygon to the tile on the given TileSet physics layer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_occluder_polygon">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<description>
|
||||
Adds an occlusion polygon to the tile on the TileSet occlusion layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_polygon_one_way_margin" qualifiers="const">
|
||||
<return type="float" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
|
|
@ -57,7 +64,7 @@
|
|||
<return type="Variant" />
|
||||
<param index="0" name="layer_name" type="String" />
|
||||
<description>
|
||||
Returns the custom data value for custom data layer named [param layer_name].
|
||||
Returns the custom data value for custom data layer named [param layer_name]. To check if a custom data layer exists, use [method has_custom_data].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_custom_data_by_layer_id" qualifiers="const">
|
||||
|
|
@ -78,7 +85,7 @@
|
|||
[param flip_h], [param flip_v], and [param transpose] allow transforming the returned polygon.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_occluder" qualifiers="const">
|
||||
<method name="get_occluder" qualifiers="const" deprecated="Use [method get_occluder_polygon] instead.">
|
||||
<return type="OccluderPolygon2D" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<param index="1" name="flip_h" type="bool" default="false" />
|
||||
|
|
@ -89,6 +96,25 @@
|
|||
[param flip_h], [param flip_v], and [param transpose] allow transforming the returned polygon.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_occluder_polygon" qualifiers="const">
|
||||
<return type="OccluderPolygon2D" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<param index="1" name="polygon_index" type="int" />
|
||||
<param index="2" name="flip_h" type="bool" default="false" />
|
||||
<param index="3" name="flip_v" type="bool" default="false" />
|
||||
<param index="4" name="transpose" type="bool" default="false" />
|
||||
<description>
|
||||
Returns the occluder polygon at index [param polygon_index] from the TileSet occlusion layer with index [param layer_id].
|
||||
The [param flip_h], [param flip_v], and [param transpose] parameters can be [code]true[/code] to transform the returned polygon.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_occluder_polygons_count" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<description>
|
||||
Returns the number of occluder polygons of the tile in the TileSet occlusion layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_terrain_peering_bit" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
||||
|
|
@ -96,6 +122,13 @@
|
|||
Returns the tile's terrain bit for the given [param peering_bit] direction. To check that a direction is valid, use [method is_valid_terrain_peering_bit].
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_custom_data" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="layer_name" type="String" />
|
||||
<description>
|
||||
Returns whether there exists a custom data layer named [param layer_name].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_collision_polygon_one_way" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
|
|
@ -119,6 +152,14 @@
|
|||
Removes the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_occluder_polygon">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<param index="1" name="polygon_index" type="int" />
|
||||
<description>
|
||||
Removes the polygon at index [param polygon_index] for TileSet occlusion layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_collision_polygon_one_way">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
|
|
@ -134,7 +175,7 @@
|
|||
<param index="1" name="polygon_index" type="int" />
|
||||
<param index="2" name="one_way_margin" type="float" />
|
||||
<description>
|
||||
Enables/disables one-way collisions on the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
|
||||
Sets the one-way margin (for one-way platforms) of the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_collision_polygon_points">
|
||||
|
|
@ -194,7 +235,7 @@
|
|||
Sets the navigation polygon for the TileSet navigation layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_occluder">
|
||||
<method name="set_occluder" deprecated="Use [method set_occluder_polygon] instead.">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<param index="1" name="occluder_polygon" type="OccluderPolygon2D" />
|
||||
|
|
@ -202,6 +243,23 @@
|
|||
Sets the occluder for the TileSet occlusion layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_occluder_polygon">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<param index="1" name="polygon_index" type="int" />
|
||||
<param index="2" name="polygon" type="OccluderPolygon2D" />
|
||||
<description>
|
||||
Sets the occluder for polygon with index [param polygon_index] in the TileSet occlusion layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_occluder_polygons_count">
|
||||
<return type="void" />
|
||||
<param index="0" name="layer_id" type="int" />
|
||||
<param index="1" name="polygons_count" type="int" />
|
||||
<description>
|
||||
Sets the occluder polygon count in the TileSet occlusion layer with index [param layer_id].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_terrain_peering_bit">
|
||||
<return type="void" />
|
||||
<param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue