2022-04-07 19:49:28 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="AnimationLibrary" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="add_animation">
|
|
|
|
<return type="int" enum="Error" />
|
|
|
|
<argument index="0" name="name" type="StringName" />
|
|
|
|
<argument index="1" name="animation" type="Animation" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_animation" qualifiers="const">
|
|
|
|
<return type="Animation" />
|
|
|
|
<argument index="0" name="name" type="StringName" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_animation_list" qualifiers="const">
|
|
|
|
<return type="StringName[]" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="has_animation" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="name" type="StringName" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_animation">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="name" type="StringName" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="rename_animation">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="name" type="StringName" />
|
|
|
|
<argument index="1" name="newname" type="StringName" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="_data" type="Dictionary" setter="_set_data" getter="_get_data" default="{}">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<signals>
|
|
|
|
<signal name="animation_added">
|
2022-06-12 11:06:45 +08:00
|
|
|
<argument index="0" name="name" type="StringName" />
|
2022-04-07 19:49:28 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="animation_removed">
|
2022-06-12 11:06:45 +08:00
|
|
|
<argument index="0" name="name" type="StringName" />
|
2022-04-07 19:49:28 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="animation_renamed">
|
2022-06-12 11:06:45 +08:00
|
|
|
<argument index="0" name="name" type="StringName" />
|
|
|
|
<argument index="1" name="to_name" type="StringName" />
|
2022-04-07 19:49:28 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
</class>
|