limboai/doc_classes/BehaviorTreeView.xml

41 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="BehaviorTreeView" inherits="Control" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
<brief_description>
Visualizes the current state of a [BehaviorTree] instance.
</brief_description>
<description>
Visualizes the current state of a [BehaviorTree] instance. See also [BehaviorTreeData].
</description>
<tutorials>
</tutorials>
<methods>
<method name="clear">
<return type="void" />
<description>
Clears the tree view.
</description>
</method>
<method name="update_tree">
<return type="void" />
<param index="0" name="behavior_tree_data" type="BehaviorTreeData" />
<description>
Updates the representation of a [BehaviorTree] instance. See also [BehaviorTreeData].
</description>
</method>
</methods>
2024-02-17 14:03:18 +00:00
<members>
<member name="update_interval_msec" type="int" setter="set_update_interval_msec" getter="get_update_interval_msec" default="0">
2024-02-17 21:05:06 +00:00
Minimum delay between two updates (in milliseconds). Set to higher values for a lower CPU load.
2024-02-17 14:03:18 +00:00
</member>
</members>
<signals>
<signal name="task_selected">
<param index="0" name="type_name" type="String" />
<param index="1" name="script_path" type="String" />
<description>
Emitted when a task item is selected in [BehaviorTreeView].
</description>
</signal>
</signals>
</class>