mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
c6cea6e9b3
Thanks to @bojidar-bg's impressive work in #29380.
48 lines
1.4 KiB
XML
48 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ProximityGroup" inherits="Spatial" category="Core" version="3.2">
|
|
<brief_description>
|
|
General-purpose proximity detection node.
|
|
</brief_description>
|
|
<description>
|
|
General-purpose proximity detection node.
|
|
</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>
|
|
<member name="dispatch_mode" type="int" setter="set_dispatch_mode" getter="get_dispatch_mode" enum="ProximityGroup.DispatchMode" default="0">
|
|
</member>
|
|
<member name="grid_radius" type="Vector3" setter="set_grid_radius" getter="get_grid_radius" default="Vector3( 1, 1, 1 )">
|
|
</member>
|
|
<member name="group_name" type="String" setter="set_group_name" getter="get_group_name" default="""">
|
|
</member>
|
|
</members>
|
|
<signals>
|
|
<signal name="broadcast">
|
|
<argument index="0" name="group_name" type="String">
|
|
</argument>
|
|
<argument index="1" name="parameters" type="Array">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</signal>
|
|
</signals>
|
|
<constants>
|
|
<constant name="MODE_PROXY" value="0" enum="DispatchMode">
|
|
</constant>
|
|
<constant name="MODE_SIGNAL" value="1" enum="DispatchMode">
|
|
</constant>
|
|
</constants>
|
|
</class>
|