limboai/doc_classes/BehaviorTreeData.xml

23 lines
1.1 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="BehaviorTreeData" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
<brief_description>
Represents current state of a [BehaviorTree] instance.
</brief_description>
<description>
This class is used by the LimboAI debugger for the serialization and deserialization of [BehaviorTree] instance data.
Additionally, it can be used with [BehaviorTreeView] to visualize the current state of a [BehaviorTree] instance. It is meant to be utilized in custom in-game tools.
</description>
<tutorials>
</tutorials>
<methods>
2024-08-03 11:14:31 +00:00
<method name="create_from_bt_instance" qualifiers="static">
<return type="BehaviorTreeData" />
2024-08-03 11:14:31 +00:00
<param index="0" name="bt_instance" type="BTInstance" />
<description>
2024-08-03 11:14:31 +00:00
Returns current state of the [param bt_instance] encoded as a [BehaviorTreeData], suitable for use with [BehaviorTreeView].
Behavior tree instance can be acquired with [method BTPlayer.get_bt_instance].
</description>
</method>
</methods>
</class>