virtualx-engine/doc/classes/PolygonPathFinder.xml
Rémi Verschelde 81064cc239
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00

62 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="PolygonPathFinder" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="find_path">
<return type="PackedVector2Array" />
<param index="0" name="from" type="Vector2" />
<param index="1" name="to" type="Vector2" />
<description>
</description>
</method>
<method name="get_bounds" qualifiers="const">
<return type="Rect2" />
<description>
</description>
</method>
<method name="get_closest_point" qualifiers="const">
<return type="Vector2" />
<param index="0" name="point" type="Vector2" />
<description>
</description>
</method>
<method name="get_intersections" qualifiers="const">
<return type="PackedVector2Array" />
<param index="0" name="from" type="Vector2" />
<param index="1" name="to" type="Vector2" />
<description>
</description>
</method>
<method name="get_point_penalty" qualifiers="const">
<return type="float" />
<param index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="is_point_inside" qualifiers="const">
<return type="bool" />
<param index="0" name="point" type="Vector2" />
<description>
</description>
</method>
<method name="set_point_penalty">
<return type="void" />
<param index="0" name="idx" type="int" />
<param index="1" name="penalty" type="float" />
<description>
</description>
</method>
<method name="setup">
<return type="void" />
<param index="0" name="points" type="PackedVector2Array" />
<param index="1" name="connections" type="PackedInt32Array" />
<description>
</description>
</method>
</methods>
</class>