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