2018-07-26 17:56:21 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="AnimationNode" inherits="Resource" category="Core" version="3.1">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="add_input">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="name" type="String">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="blend_animation">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="animation" type="String">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="time" type="float">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="delta" type="float">
|
|
|
|
</argument>
|
|
|
|
<argument index="3" name="seeked" type="bool">
|
|
|
|
</argument>
|
|
|
|
<argument index="4" name="blend" type="float">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="blend_input">
|
|
|
|
<return type="float">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="input_index" type="int">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="time" type="float">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="seek" type="bool">
|
|
|
|
</argument>
|
|
|
|
<argument index="3" name="blend" type="float">
|
|
|
|
</argument>
|
|
|
|
<argument index="4" name="filter" type="int" enum="AnimationNode.FilterAction" default="0">
|
|
|
|
</argument>
|
|
|
|
<argument index="5" name="optimize" type="bool" default="true">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="blend_node">
|
|
|
|
<return type="float">
|
|
|
|
</return>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="0" name="name" type="String">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="1" name="node" type="AnimationNode">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="2" name="time" type="float">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="3" name="seek" type="bool">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="4" name="blend" type="float">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="5" name="filter" type="int" enum="AnimationNode.FilterAction" default="0">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="6" name="optimize" type="bool" default="true">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2018-08-21 06:35:30 +08:00
|
|
|
<method name="get_caption" qualifiers="virtual">
|
2018-07-26 17:56:21 +08:00
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_input_count" qualifiers="const">
|
|
|
|
<return type="int">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_input_name">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="input" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2018-08-21 06:35:30 +08:00
|
|
|
<method name="get_parameter" qualifiers="const">
|
|
|
|
<return type="Variant">
|
2018-07-26 17:56:21 +08:00
|
|
|
</return>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="0" name="name" type="String">
|
|
|
|
</argument>
|
2018-07-26 17:56:21 +08:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="has_filter" qualifiers="virtual">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_path_filtered" qualifiers="const">
|
|
|
|
<return type="bool">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="path" type="NodePath">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="process" qualifiers="virtual">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="time" type="float">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="seek" type="bool">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_input">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="index" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_filter_path">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="path" type="NodePath">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="enable" type="bool">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2018-08-21 06:35:30 +08:00
|
|
|
<method name="set_parameter">
|
2018-07-26 17:56:21 +08:00
|
|
|
<return type="void">
|
|
|
|
</return>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="0" name="name" type="String">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
2018-08-21 06:35:30 +08:00
|
|
|
<argument index="1" name="value" type="Variant">
|
2018-07-26 17:56:21 +08:00
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="filter_enabled" type="bool" setter="set_filter_enabled" getter="is_filter_enabled">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<signals>
|
|
|
|
<signal name="removed_from_graph">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2018-08-21 06:35:30 +08:00
|
|
|
<signal name="tree_changed">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2018-07-26 17:56:21 +08:00
|
|
|
</signals>
|
|
|
|
<constants>
|
|
|
|
<constant name="FILTER_IGNORE" value="0" enum="FilterAction">
|
|
|
|
</constant>
|
|
|
|
<constant name="FILTER_PASS" value="1" enum="FilterAction">
|
|
|
|
</constant>
|
|
|
|
<constant name="FILTER_STOP" value="2" enum="FilterAction">
|
|
|
|
</constant>
|
|
|
|
<constant name="FILTER_BLEND" value="3" enum="FilterAction">
|
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|