2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-01-26 16:01:49 +01:00
|
|
|
<class name="ProximityGroup" inherits="Spatial" version="3.2">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2019-06-22 01:04:47 +02:00
|
|
|
General-purpose proximity detection node.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-06-22 01:04:47 +02:00
|
|
|
General-purpose proximity detection node.
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="broadcast">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
2020-12-11 14:26:50 +01:00
|
|
|
<argument index="0" name="method" type="String">
|
2017-09-12 22:42:36 +02:00
|
|
|
</argument>
|
|
|
|
<argument index="1" name="parameters" type="Variant">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="dispatch_mode" type="int" setter="set_dispatch_mode" getter="get_dispatch_mode" enum="ProximityGroup.DispatchMode" default="0">
|
2018-01-11 23:38:35 +01:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="grid_radius" type="Vector3" setter="set_grid_radius" getter="get_grid_radius" default="Vector3( 1, 1, 1 )">
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="group_name" type="String" setter="set_group_name" getter="get_group_name" default="""">
|
2018-01-11 23:38:35 +01:00
|
|
|
</member>
|
2017-09-12 22:42:36 +02:00
|
|
|
</members>
|
|
|
|
<signals>
|
|
|
|
<signal name="broadcast">
|
2020-12-11 14:26:50 +01:00
|
|
|
<argument index="0" name="method" type="String">
|
2017-09-12 22:42:36 +02:00
|
|
|
</argument>
|
|
|
|
<argument index="1" name="parameters" type="Array">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
<constants>
|
2018-01-11 23:38:35 +01:00
|
|
|
<constant name="MODE_PROXY" value="0" enum="DispatchMode">
|
|
|
|
</constant>
|
|
|
|
<constant name="MODE_SIGNAL" value="1" enum="DispatchMode">
|
|
|
|
</constant>
|
2017-09-12 22:42:36 +02:00
|
|
|
</constants>
|
|
|
|
</class>
|