2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-03-31 00:22:57 +08:00
|
|
|
<class name="ProximityGroup3D" inherits="Node3D" version="4.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2019-06-22 07:04:47 +08:00
|
|
|
General-purpose proximity detection node.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-06-22 07:04:47 +08:00
|
|
|
General-purpose proximity detection node.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="broadcast">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="name" type="String">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="parameters" type="Variant">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2020-03-31 00:22:57 +08:00
|
|
|
<member name="dispatch_mode" type="int" setter="set_dispatch_mode" getter="get_dispatch_mode" enum="ProximityGroup3D.DispatchMode" default="0">
|
2018-01-12 06:38:35 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="grid_radius" type="Vector3" setter="set_grid_radius" getter="get_grid_radius" default="Vector3( 1, 1, 1 )">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="group_name" type="String" setter="set_group_name" getter="get_group_name" default="""">
|
2018-01-12 06:38:35 +08:00
|
|
|
</member>
|
2017-09-13 04:42:36 +08:00
|
|
|
</members>
|
|
|
|
<signals>
|
|
|
|
<signal name="broadcast">
|
2018-01-13 18:43:30 +08:00
|
|
|
<argument index="0" name="group_name" type="String">
|
2017-09-13 04:42:36 +08:00
|
|
|
</argument>
|
|
|
|
<argument index="1" name="parameters" type="Array">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
<constants>
|
2018-01-12 06:38:35 +08:00
|
|
|
<constant name="MODE_PROXY" value="0" enum="DispatchMode">
|
|
|
|
</constant>
|
|
|
|
<constant name="MODE_SIGNAL" value="1" enum="DispatchMode">
|
|
|
|
</constant>
|
2017-09-13 04:42:36 +08:00
|
|
|
</constants>
|
|
|
|
</class>
|