mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
doc: Sync classref with current source
Fix various missing arguments in bindings.
This commit is contained in:
parent
fd16dd48cb
commit
391e46830f
@ -773,7 +773,7 @@ Vector<int> MultiplayerAPI::get_network_connected_peers() const {
|
||||
|
||||
void MultiplayerAPI::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_root_node", "node"), &MultiplayerAPI::set_root_node);
|
||||
ClassDB::bind_method(D_METHOD("send_bytes", "bytes", "id"), &MultiplayerAPI::send_bytes, DEFVAL(NetworkedMultiplayerPeer::TARGET_PEER_BROADCAST), DEFVAL(NetworkedMultiplayerPeer::TRANSFER_MODE_RELIABLE));
|
||||
ClassDB::bind_method(D_METHOD("send_bytes", "bytes", "id", "mode"), &MultiplayerAPI::send_bytes, DEFVAL(NetworkedMultiplayerPeer::TARGET_PEER_BROADCAST), DEFVAL(NetworkedMultiplayerPeer::TRANSFER_MODE_RELIABLE));
|
||||
ClassDB::bind_method(D_METHOD("has_network_peer"), &MultiplayerAPI::has_network_peer);
|
||||
ClassDB::bind_method(D_METHOD("get_network_peer"), &MultiplayerAPI::get_network_peer);
|
||||
ClassDB::bind_method(D_METHOD("get_network_unique_id"), &MultiplayerAPI::get_network_unique_id);
|
||||
|
@ -92,7 +92,7 @@ PoolByteArray StreamPeerSSL::get_project_cert_array() {
|
||||
void StreamPeerSSL::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("poll"), &StreamPeerSSL::poll);
|
||||
ClassDB::bind_method(D_METHOD("accept_stream"), &StreamPeerSSL::accept_stream);
|
||||
ClassDB::bind_method(D_METHOD("accept_stream", "base"), &StreamPeerSSL::accept_stream);
|
||||
ClassDB::bind_method(D_METHOD("connect_to_stream", "stream", "validate_certs", "for_hostname"), &StreamPeerSSL::connect_to_stream, DEFVAL(false), DEFVAL(String()));
|
||||
ClassDB::bind_method(D_METHOD("get_status"), &StreamPeerSSL::get_status);
|
||||
ClassDB::bind_method(D_METHOD("disconnect_from_stream"), &StreamPeerSSL::disconnect_from_stream);
|
||||
|
@ -202,7 +202,7 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="convert">
|
||||
<return type="Object">
|
||||
<return type="Variant">
|
||||
</return>
|
||||
<argument index="0" name="what" type="Variant">
|
||||
</argument>
|
||||
@ -394,7 +394,7 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="funcref">
|
||||
<return type="Object">
|
||||
<return type="FuncRef">
|
||||
</return>
|
||||
<argument index="0" name="instance" type="Object">
|
||||
</argument>
|
||||
@ -411,6 +411,12 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_stack">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="hash">
|
||||
<return type="int">
|
||||
</return>
|
||||
@ -541,7 +547,7 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="load">
|
||||
<return type="Object">
|
||||
<return type="Resource">
|
||||
</return>
|
||||
<argument index="0" name="path" type="String">
|
||||
</argument>
|
||||
@ -676,6 +682,12 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="print_debug" qualifiers="vararg">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="print_stack">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -1076,7 +1088,7 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="weakref">
|
||||
<return type="Object">
|
||||
<return type="WeakRef">
|
||||
</return>
|
||||
<argument index="0" name="obj" type="Object">
|
||||
</argument>
|
||||
|
@ -883,6 +883,10 @@
|
||||
<constant name="BUTTON_MIDDLE" value="3" enum="ButtonList">
|
||||
Middle Mouse Button
|
||||
</constant>
|
||||
<constant name="BUTTON_XBUTTON1" value="8" enum="ButtonList">
|
||||
</constant>
|
||||
<constant name="BUTTON_XBUTTON2" value="9" enum="ButtonList">
|
||||
</constant>
|
||||
<constant name="BUTTON_WHEEL_UP" value="4" enum="ButtonList">
|
||||
Mouse wheel up
|
||||
</constant>
|
||||
@ -904,6 +908,10 @@
|
||||
<constant name="BUTTON_MASK_MIDDLE" value="4" enum="ButtonList">
|
||||
Middle Mouse Button Mask
|
||||
</constant>
|
||||
<constant name="BUTTON_MASK_XBUTTON1" value="128" enum="ButtonList">
|
||||
</constant>
|
||||
<constant name="BUTTON_MASK_XBUTTON2" value="256" enum="ButtonList">
|
||||
</constant>
|
||||
<constant name="JOY_BUTTON_0" value="0" enum="JoystickList">
|
||||
Joypad Button 0
|
||||
</constant>
|
||||
@ -1073,6 +1081,20 @@
|
||||
<constant name="JOY_ANALOG_R2" value="7" enum="JoystickList">
|
||||
Joypad Right Analog Trigger
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_NOTE_OFF" value="8" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_NOTE_ON" value="9" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_AFTERTOUCH" value="10" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_CONTROL_CHANGE" value="11" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_PROGRAM_CHANGE" value="12" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_CHANNEL_PRESSURE" value="13" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="MIDI_MESSAGE_PITCH_BEND" value="14" enum="MidiMessageList">
|
||||
</constant>
|
||||
<constant name="OK" value="0" enum="Error">
|
||||
Functions that return Error return OK when no error occurred. Most functions don't return errors and/or just print errors to STDOUT.
|
||||
</constant>
|
||||
|
1045
doc/classes/AnimatedTexture.xml
Normal file
1045
doc/classes/AnimatedTexture.xml
Normal file
File diff suppressed because it is too large
Load Diff
213
doc/classes/AnimationNode.xml
Normal file
213
doc/classes/AnimationNode.xml
Normal file
@ -0,0 +1,213 @@
|
||||
<?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="_parent_set" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="parent" type="Object">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<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>
|
||||
<argument index="0" name="node" type="AnimationNode">
|
||||
</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="get_caption" qualifiers="virtual">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_input_activity" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="input" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_input_connection">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="input" type="int">
|
||||
</argument>
|
||||
<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>
|
||||
<method name="get_parent" qualifiers="const">
|
||||
<return type="AnimationNode">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_position" qualifiers="const">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_tree" qualifiers="const">
|
||||
<return type="AnimationTree">
|
||||
</return>
|
||||
<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>
|
||||
<method name="set_parent">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="parent" type="Object">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_position">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="position" type="Vector2">
|
||||
</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>
|
||||
</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>
|
21
doc/classes/AnimationNodeAdd2.xml
Normal file
21
doc/classes/AnimationNodeAdd2.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeAdd2" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="amount" type="float" setter="set_amount" getter="get_amount">
|
||||
</member>
|
||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
21
doc/classes/AnimationNodeAdd3.xml
Normal file
21
doc/classes/AnimationNodeAdd3.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeAdd3" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="amount" type="float" setter="set_amount" getter="get_amount">
|
||||
</member>
|
||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
25
doc/classes/AnimationNodeAnimation.xml
Normal file
25
doc/classes/AnimationNodeAnimation.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeAnimation" inherits="AnimationRootNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="get_playback_time" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="animation" type="String" setter="set_animation" getter="get_animation">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
21
doc/classes/AnimationNodeBlend2.xml
Normal file
21
doc/classes/AnimationNodeBlend2.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlend2" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="amount" type="float" setter="set_amount" getter="get_amount">
|
||||
</member>
|
||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
21
doc/classes/AnimationNodeBlend3.xml
Normal file
21
doc/classes/AnimationNodeBlend3.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlend3" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="amount" type="float" setter="set_amount" getter="get_amount">
|
||||
</member>
|
||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
89
doc/classes/AnimationNodeBlendSpace1D.xml
Normal file
89
doc/classes/AnimationNodeBlendSpace1D.xml
Normal file
@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlendSpace1D" inherits="AnimationRootNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_blend_point">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="node" type="AnimationRootNode">
|
||||
</argument>
|
||||
<argument index="1" name="pos" type="float">
|
||||
</argument>
|
||||
<argument index="2" name="at_index" type="int" default="-1">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_blend_point_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_blend_point_node" qualifiers="const">
|
||||
<return type="AnimationRootNode">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_blend_point_position" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_blend_point">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_blend_point_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="node" type="AnimationRootNode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_blend_point_position">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="pos" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="blend_pos" type="float" setter="set_blend_pos" getter="get_blend_pos">
|
||||
</member>
|
||||
<member name="max_space" type="float" setter="set_max_space" getter="get_max_space">
|
||||
</member>
|
||||
<member name="min_space" type="float" setter="set_min_space" getter="get_min_space">
|
||||
</member>
|
||||
<member name="snap" type="float" setter="set_snap" getter="get_snap">
|
||||
</member>
|
||||
<member name="value_label" type="String" setter="set_value_label" getter="get_value_label">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
131
doc/classes/AnimationNodeBlendSpace2D.xml
Normal file
131
doc/classes/AnimationNodeBlendSpace2D.xml
Normal file
@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlendSpace2D" inherits="AnimationRootNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_blend_point">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="node" type="AnimationRootNode">
|
||||
</argument>
|
||||
<argument index="1" name="pos" type="Vector2">
|
||||
</argument>
|
||||
<argument index="2" name="at_index" type="int" default="-1">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_triangle">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="x" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="y" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="z" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="at_index" type="int" default="-1">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_blend_point_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_blend_point_node" qualifiers="const">
|
||||
<return type="AnimationRootNode">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_blend_point_position" qualifiers="const">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_triangle_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_triangle_point">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="triangle" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_blend_point">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_triangle">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="triangle" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_blend_point_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="node" type="AnimationRootNode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_blend_point_position">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="point" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="pos" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="auto_triangles" type="bool" setter="set_auto_triangles" getter="get_auto_triangles">
|
||||
</member>
|
||||
<member name="blend_position" type="Vector2" setter="set_blend_position" getter="get_blend_position">
|
||||
</member>
|
||||
<member name="max_space" type="Vector2" setter="set_max_space" getter="get_max_space">
|
||||
</member>
|
||||
<member name="min_space" type="Vector2" setter="set_min_space" getter="get_min_space">
|
||||
</member>
|
||||
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap">
|
||||
</member>
|
||||
<member name="x_label" type="String" setter="set_x_label" getter="get_x_label">
|
||||
</member>
|
||||
<member name="y_label" type="String" setter="set_y_label" getter="get_y_label">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
97
doc/classes/AnimationNodeBlendTree.xml
Normal file
97
doc/classes/AnimationNodeBlendTree.xml
Normal file
@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeBlendTree" inherits="AnimationRootNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="node" type="AnimationNode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="connect_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="input_node" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="input_index" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="output_node" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="disconnect_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="input_node" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="input_index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node" qualifiers="const">
|
||||
<return type="AnimationNode">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_node" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="rename_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="new_name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="CONNECTION_OK" value="0">
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_NO_INPUT" value="1">
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_NO_INPUT_INDEX" value="2">
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_NO_OUTPUT" value="3">
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_SAME_NODE" value="4">
|
||||
</constant>
|
||||
<constant name="CONNECTION_ERROR_CONNECTION_EXISTS" value="5">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
65
doc/classes/AnimationNodeOneShot.xml
Normal file
65
doc/classes/AnimationNodeOneShot.xml
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeOneShot" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="get_mix_mode" qualifiers="const">
|
||||
<return type="int" enum="AnimationNodeOneShot.MixMode">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_active" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_mix_mode">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="mode" type="int" enum="AnimationNodeOneShot.MixMode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="start">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="stop">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="autorestart" type="bool" setter="set_autorestart" getter="has_autorestart">
|
||||
</member>
|
||||
<member name="autorestart_delay" type="float" setter="set_autorestart_delay" getter="get_autorestart_delay">
|
||||
</member>
|
||||
<member name="autorestart_random_delay" type="float" setter="set_autorestart_random_delay" getter="get_autorestart_random_delay">
|
||||
</member>
|
||||
<member name="fadein_time" type="float" setter="set_fadein_time" getter="get_fadein_time">
|
||||
</member>
|
||||
<member name="fadeout_time" type="float" setter="set_fadeout_time" getter="get_fadeout_time">
|
||||
</member>
|
||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="MIX_MODE_BLEND" value="0" enum="MixMode">
|
||||
</constant>
|
||||
<constant name="MIX_MODE_ADD" value="1" enum="MixMode">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/AnimationNodeOutput.xml
Normal file
15
doc/classes/AnimationNodeOutput.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeOutput" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
221
doc/classes/AnimationNodeStateMachine.xml
Normal file
221
doc/classes/AnimationNodeStateMachine.xml
Normal file
@ -0,0 +1,221 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeStateMachine" inherits="AnimationRootNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="node" type="AnimationNode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_transition">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="to" type="String">
|
||||
</argument>
|
||||
<argument index="2" name="transition" type="AnimationNodeStateMachineTransition">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_current_node" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_end_node" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_graph_offset" qualifiers="const">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node" qualifiers="const">
|
||||
<return type="AnimationNode">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_name" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="node" type="AnimationNode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_start_node" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition" qualifiers="const">
|
||||
<return type="AnimationNodeStateMachineTransition">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_from" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_to" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_travel_path" qualifiers="const">
|
||||
<return type="PoolStringArray">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_node" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_transition">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="to" type="String">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="AnimationNodeStateMachineTransition">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_playing" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_transition">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="to" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_transition_by_index">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="rename_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="new_name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_end_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_graph_offset">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_start_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="start">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="node" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="stop">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="travel">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="to_node" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
33
doc/classes/AnimationNodeStateMachineTransition.xml
Normal file
33
doc/classes/AnimationNodeStateMachineTransition.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeStateMachineTransition" inherits="Resource" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="auto_advance" type="bool" setter="set_auto_advance" getter="has_auto_advance">
|
||||
</member>
|
||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
||||
</member>
|
||||
<member name="priority" type="int" setter="set_priority" getter="get_priority">
|
||||
</member>
|
||||
<member name="switch_mode" type="int" setter="set_switch_mode" getter="get_switch_mode" enum="AnimationNodeStateMachineTransition.SwitchMode">
|
||||
</member>
|
||||
<member name="xfade_time" type="float" setter="set_xfade_time" getter="get_xfade_time">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="SWITCH_MODE_IMMEDIATE" value="0" enum="SwitchMode">
|
||||
</constant>
|
||||
<constant name="SWITCH_MODE_SYNC" value="1" enum="SwitchMode">
|
||||
</constant>
|
||||
<constant name="SWITCH_MODE_AT_END" value="2" enum="SwitchMode">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
19
doc/classes/AnimationNodeTimeScale.xml
Normal file
19
doc/classes/AnimationNodeTimeScale.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeTimeScale" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="scale" type="float" setter="set_scale" getter="get_scale">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
19
doc/classes/AnimationNodeTimeSeek.xml
Normal file
19
doc/classes/AnimationNodeTimeSeek.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeTimeSeek" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="seek_pos" type="float" setter="set_seek_pos" getter="get_seek_pos">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
151
doc/classes/AnimationNodeTransition.xml
Normal file
151
doc/classes/AnimationNodeTransition.xml
Normal file
@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationNodeTransition" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="current" type="int" setter="set_current" getter="get_current">
|
||||
</member>
|
||||
<member name="input_0/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_0/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_1/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_1/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_10/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_10/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_11/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_11/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_12/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_12/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_13/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_13/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_14/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_14/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_15/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_15/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_16/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_16/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_17/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_17/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_18/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_18/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_19/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_19/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_2/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_2/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_20/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_20/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_21/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_21/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_22/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_22/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_23/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_23/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_24/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_24/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_25/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_25/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_26/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_26/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_27/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_27/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_28/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_28/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_29/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_29/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_3/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_3/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_30/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_30/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_31/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_31/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_4/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_4/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_5/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_5/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_6/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_6/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_7/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_7/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_8/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_8/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_9/auto_advance" type="bool" setter="set_input_as_auto_advance" getter="is_input_set_as_auto_advance">
|
||||
</member>
|
||||
<member name="input_9/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||
</member>
|
||||
<member name="input_count" type="int" setter="set_enabled_inputs" getter="get_enabled_inputs">
|
||||
</member>
|
||||
<member name="xfade_time" type="float" setter="set_cross_fade_time" getter="get_cross_fade_time">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -271,6 +271,10 @@
|
||||
Notifies when an animation starts playing.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="caches_cleared">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
<constant name="ANIMATION_PROCESS_PHYSICS" value="0" enum="AnimationProcessMode">
|
||||
|
15
doc/classes/AnimationRootNode.xml
Normal file
15
doc/classes/AnimationRootNode.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationRootNode" inherits="AnimationNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
37
doc/classes/AnimationTree.xml
Normal file
37
doc/classes/AnimationTree.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AnimationTree" inherits="Node" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="get_root_motion_transform" qualifiers="const">
|
||||
<return type="Transform">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="active" type="bool" setter="set_active" getter="is_active">
|
||||
</member>
|
||||
<member name="anim_player" type="NodePath" setter="set_animation_player" getter="get_animation_player">
|
||||
</member>
|
||||
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="AnimationTree.AnimationProcessMode">
|
||||
</member>
|
||||
<member name="root_motion_track" type="NodePath" setter="set_root_motion_track" getter="get_root_motion_track">
|
||||
</member>
|
||||
<member name="tree_root" type="AnimationNode" setter="set_tree_root" getter="get_tree_root">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="ANIMATION_PROCESS_PHYSICS" value="0" enum="AnimationProcessMode">
|
||||
</constant>
|
||||
<constant name="ANIMATION_PROCESS_IDLE" value="1" enum="AnimationProcessMode">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
@ -26,7 +26,7 @@
|
||||
</argument>
|
||||
<argument index="2" name="blend_shapes" type="Array" default="[ ]">
|
||||
</argument>
|
||||
<argument index="3" name="compress_flags" type="int" default="97792">
|
||||
<argument index="3" name="compress_flags" type="int" default="97280">
|
||||
</argument>
|
||||
<description>
|
||||
Creates a new surface.
|
||||
|
@ -65,6 +65,8 @@
|
||||
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
||||
The [AudioStream] object to be played.
|
||||
</member>
|
||||
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused">
|
||||
</member>
|
||||
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db">
|
||||
Volume of sound, in dB.
|
||||
</member>
|
||||
|
@ -71,6 +71,8 @@
|
||||
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
||||
The [AudioStream] object to be played.
|
||||
</member>
|
||||
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused">
|
||||
</member>
|
||||
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db">
|
||||
Base volume without dampening.
|
||||
</member>
|
||||
|
@ -95,6 +95,8 @@
|
||||
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
||||
The [AudioStream] object to be played.
|
||||
</member>
|
||||
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused">
|
||||
</member>
|
||||
<member name="unit_db" type="float" setter="set_unit_db" getter="get_unit_db">
|
||||
Base sound level unaffected by dampening, in dB.
|
||||
</member>
|
||||
|
197
doc/classes/CPUParticles.xml
Normal file
197
doc/classes/CPUParticles.xml
Normal file
@ -0,0 +1,197 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="CPUParticles" inherits="GeometryInstance" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="convert_from_particles">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="particles" type="Node">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="restart">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="amount" type="int" setter="set_amount" getter="get_amount">
|
||||
</member>
|
||||
<member name="angle" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="angle_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="angle_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="angular_velocity" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="angular_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="angular_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="anim_loop" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
||||
</member>
|
||||
<member name="anim_offset" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="anim_offset_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="anim_offset_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="anim_speed" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="anim_speed_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color">
|
||||
</member>
|
||||
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp">
|
||||
</member>
|
||||
<member name="damping" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="damping_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles.DrawOrder">
|
||||
</member>
|
||||
<member name="emission_box_extents" type="Vector3" setter="set_emission_box_extents" getter="get_emission_box_extents">
|
||||
</member>
|
||||
<member name="emission_colors" type="PoolColorArray" setter="set_emission_colors" getter="get_emission_colors">
|
||||
</member>
|
||||
<member name="emission_normals" type="PoolVector3Array" setter="set_emission_normals" getter="get_emission_normals">
|
||||
</member>
|
||||
<member name="emission_points" type="PoolVector3Array" setter="set_emission_points" getter="get_emission_points">
|
||||
</member>
|
||||
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles.EmissionShape">
|
||||
</member>
|
||||
<member name="emission_sphere_radius" type="float" setter="set_emission_sphere_radius" getter="get_emission_sphere_radius">
|
||||
</member>
|
||||
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
||||
</member>
|
||||
<member name="explosiveness" type="float" setter="set_explosiveness_ratio" getter="get_explosiveness_ratio">
|
||||
</member>
|
||||
<member name="fixed_fps" type="int" setter="set_fixed_fps" getter="get_fixed_fps">
|
||||
</member>
|
||||
<member name="flag_align_y" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
||||
</member>
|
||||
<member name="flag_disable_z" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
||||
</member>
|
||||
<member name="flag_rotate_y" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
||||
</member>
|
||||
<member name="flatness" type="float" setter="set_flatness" getter="get_flatness">
|
||||
</member>
|
||||
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta">
|
||||
</member>
|
||||
<member name="gravity" type="Vector3" setter="set_gravity" getter="get_gravity">
|
||||
</member>
|
||||
<member name="hue_variation" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="hue_variation_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="hue_variation_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="initial_velocity" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="initial_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime">
|
||||
</member>
|
||||
<member name="linear_accel" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="linear_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="linear_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates">
|
||||
</member>
|
||||
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
|
||||
</member>
|
||||
<member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot">
|
||||
</member>
|
||||
<member name="preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time">
|
||||
</member>
|
||||
<member name="radial_accel" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="radial_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="radial_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio">
|
||||
</member>
|
||||
<member name="scale" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="scale_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="scale_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale">
|
||||
</member>
|
||||
<member name="spread" type="float" setter="set_spread" getter="get_spread">
|
||||
</member>
|
||||
<member name="tangential_accel" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="tangential_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="tangential_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="DRAW_ORDER_INDEX" value="0" enum="DrawOrder">
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_LIFETIME" value="1" enum="DrawOrder">
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_VIEW_DEPTH" value="2" enum="DrawOrder">
|
||||
</constant>
|
||||
<constant name="PARAM_INITIAL_LINEAR_VELOCITY" value="0" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_ANGULAR_VELOCITY" value="1" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_LINEAR_ACCEL" value="2" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_RADIAL_ACCEL" value="3" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_TANGENTIAL_ACCEL" value="4" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_DAMPING" value="5" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_ANGLE" value="6" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_SCALE" value="7" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_HUE_VARIATION" value="8" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_ANIM_SPEED" value="9" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_ANIM_OFFSET" value="10" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="PARAM_MAX" value="11" enum="Parameter">
|
||||
</constant>
|
||||
<constant name="FLAG_ALIGN_Y_TO_VELOCITY" value="0" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_ROTATE_Y" value="1" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_MAX" value="4" enum="Flags">
|
||||
</constant>
|
||||
<constant name="EMISSION_SHAPE_POINT" value="0" enum="EmissionShape">
|
||||
</constant>
|
||||
<constant name="EMISSION_SHAPE_SPHERE" value="1" enum="EmissionShape">
|
||||
</constant>
|
||||
<constant name="EMISSION_SHAPE_BOX" value="2" enum="EmissionShape">
|
||||
</constant>
|
||||
<constant name="EMISSION_SHAPE_POINTS" value="3" enum="EmissionShape">
|
||||
</constant>
|
||||
<constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="4" enum="EmissionShape">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
@ -15,18 +15,33 @@
|
||||
<method name="Color">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="r" type="float">
|
||||
</argument>
|
||||
<argument index="1" name="g" type="float">
|
||||
</argument>
|
||||
<argument index="2" name="b" type="float">
|
||||
</argument>
|
||||
<argument index="3" name="a" type="float">
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a color from an RGBA profile using values between 0 and 1 (float).
|
||||
Constructs a color from an HTML hexadecimal color string in ARGB or RGB format. See also [method @GDScript.ColorN].
|
||||
The following string formats are supported:
|
||||
[code]"#ff00ff00"[/code] - ARGB format with '#'
|
||||
[code]"ff00ff00"[/code] - ARGB format
|
||||
[code]"#ff00ff"[/code] - RGB format with '#'
|
||||
[code]"ff00ff"[/code] - RGB format
|
||||
[codeblock]
|
||||
var c = Color(0.2, 1.0, .7, .8) # a color of an RGBA(51, 255, 178, 204)
|
||||
# The following code creates the same color of an RGBA(178, 217, 10, 255)
|
||||
var c1 = Color("#ffb2d90a") # ARGB format with '#'
|
||||
var c2 = Color("ffb2d90a") # ARGB format
|
||||
var c3 = Color("#b2d90a") # RGB format with '#'
|
||||
var c4 = Color("b2d90a") # RGB format
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="Color">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="from" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a color from a 32-bit integer (each byte represents a component of the RGBA profile).
|
||||
[codeblock]
|
||||
var c = Color(274) # a color of an RGBA(0, 0, 1, 18)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
@ -49,33 +64,18 @@
|
||||
<method name="Color">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="from" type="int">
|
||||
<argument index="0" name="r" type="float">
|
||||
</argument>
|
||||
<argument index="1" name="g" type="float">
|
||||
</argument>
|
||||
<argument index="2" name="b" type="float">
|
||||
</argument>
|
||||
<argument index="3" name="a" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a color from a 32-bit integer (each byte represents a component of the RGBA profile).
|
||||
Constructs a color from an RGBA profile using values between 0 and 1 (float).
|
||||
[codeblock]
|
||||
var c = Color(274) # a color of an RGBA(0, 0, 1, 18)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="Color">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Constructs a color from an HTML hexadecimal color string in ARGB or RGB format. See also [method @GDScript.ColorN].
|
||||
The following string formats are supported:
|
||||
[code]"#ff00ff00"[/code] - ARGB format with '#'
|
||||
[code]"ff00ff00"[/code] - ARGB format
|
||||
[code]"#ff00ff"[/code] - RGB format with '#'
|
||||
[code]"ff00ff"[/code] - RGB format
|
||||
[codeblock]
|
||||
# The following code creates the same color of an RGBA(178, 217, 10, 255)
|
||||
var c1 = Color("#ffb2d90a") # ARGB format with '#'
|
||||
var c2 = Color("ffb2d90a") # ARGB format
|
||||
var c3 = Color("#b2d90a") # RGB format with '#'
|
||||
var c4 = Color("b2d90a") # RGB format
|
||||
var c = Color(0.2, 1.0, .7, .8) # a color of an RGBA(51, 255, 178, 204)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
@ -187,6 +187,50 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_abgr32">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 32-bit integer in ABGR format (each byte represents a component of the ABGR profile). ABGR is the reversed version of the default format.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_abgr32()) # Prints 4281565439
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_abgr64">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 64-bit integer in ABGR format (each word represents a component of the ABGR profile). ABGR is the reversed version of the default format.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_abgr64()) # Prints -225178692812801
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_argb32">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 32-bit integer in ARGB format (each byte represents a component of the ARGB profile). ARGB is more compatible with DirectX.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_argb32()) # Prints 4294934323
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_argb64">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 64-bit integer in ARGB format (each word represents a component of the ARGB profile). ARGB is more compatible with DirectX.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_argb64()) # Prints -2147470541
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_html">
|
||||
<return type="String">
|
||||
</return>
|
||||
@ -202,28 +246,6 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_argb32">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 32-bit integer in ARGB format (each byte represents a component of the ARGB profile). ARGB is more compatible with DirectX.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_argb32()) # Prints 4294934323
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_abgr32">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 32-bit integer in ABGR format (each byte represents a component of the ABGR profile). ABGR is the reversed version of the default format.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_abgr32()) # Prints 4281565439
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_rgba32">
|
||||
<return type="int">
|
||||
</return>
|
||||
@ -235,28 +257,6 @@
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_argb64">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 64-bit integer in ARGB format (each word represents a component of the ARGB profile). ARGB is more compatible with DirectX.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_argb64()) # Prints -2147470541
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_abgr64">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
Returns the color's 64-bit integer in ABGR format (each word represents a component of the ABGR profile). ABGR is the reversed version of the default format.
|
||||
[codeblock]
|
||||
var c = Color(1, .5, .2)
|
||||
print(c.to_abgr64()) # Prints -225178692812801
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="to_rgba64">
|
||||
<return type="int">
|
||||
</return>
|
||||
|
@ -25,15 +25,15 @@
|
||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color">
|
||||
The currently selected color.
|
||||
</member>
|
||||
<member name="deferred_mode" type="bool" setter="set_deferred_mode" getter="is_deferred_mode">
|
||||
If [code]true[/code], the color will apply only after user releases mouse button, otherwise it will apply immediatly even in mouse motion event (which can cause performance issues).
|
||||
</member>
|
||||
<member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha">
|
||||
If [code]true[/code], shows an alpha channel slider (transparency).
|
||||
</member>
|
||||
<member name="raw_mode" type="bool" setter="set_raw_mode" getter="is_raw_mode">
|
||||
If [code]true[/code], allows the color R, G, B component values to go beyond 1.0, which can be used for certain special operations that require it (like tinting without darkening or rendering sprites in HDR).
|
||||
</member>
|
||||
<member name="deferred_mode" type="bool" setter="set_deferred_mode" getter="is_deferred_mode">
|
||||
If [code]true[/code], the color will apply only after user releases mouse button, otherwise it will apply immediatly even in mouse motion event (which can cause performance issues).
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="color_changed">
|
||||
|
@ -18,7 +18,7 @@
|
||||
Returns the [code]ColorPicker[/code] that this [code]ColorPickerButton[/code] toggles.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_popup" qualifiers="const">
|
||||
<method name="get_popup">
|
||||
<return type="PopupPanel">
|
||||
</return>
|
||||
<description>
|
||||
|
@ -36,6 +36,14 @@
|
||||
Replaces Godot 2's [code]_input_event[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_make_custom_tooltip" qualifiers="virtual">
|
||||
<return type="Object">
|
||||
</return>
|
||||
<argument index="0" name="for_text" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="accept_event">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -73,6 +73,12 @@
|
||||
Update a file information. Call this if an external program (not Godot) modified the file.
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_script_classes">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<signals>
|
||||
<signal name="filesystem_changed">
|
||||
|
@ -63,6 +63,22 @@
|
||||
Returns the path to the file at index [code]idx[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_file_script_class_extends" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_file_script_class_name" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_file_type" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
|
@ -9,6 +9,12 @@
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="refresh">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<signals>
|
||||
<signal name="object_id_selected">
|
||||
@ -17,12 +23,24 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="property_edited">
|
||||
<argument index="0" name="property" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="property_keyed">
|
||||
<argument index="0" name="property" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="property_selected">
|
||||
<argument index="0" name="property" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="resource_selected">
|
||||
<argument index="0" name="res" type="Object">
|
||||
</argument>
|
||||
@ -31,6 +49,10 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="restart_requested">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -21,6 +21,12 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_tooltip_text" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_property" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -7,7 +7,7 @@
|
||||
The imported scene can be automatically modified right after import by specifying a 'custom script' that inherits from this class. The [method post_import]-method receives the imported scene's root-node and returns the modified version of the scene
|
||||
</description>
|
||||
<tutorials>
|
||||
http://docs.godotengine.org/en/latest/learning/workflow/assets/importing_scenes.html?highlight=post%20import
|
||||
<link>http://docs.godotengine.org/en/latest/learning/workflow/assets/importing_scenes.html?highlight=post%20import</link>
|
||||
</tutorials>
|
||||
<demos>
|
||||
[codeblock]
|
||||
|
@ -203,6 +203,8 @@
|
||||
</member>
|
||||
<member name="ss_reflections_roughness" type="bool" setter="set_ssr_rough" getter="is_ssr_rough">
|
||||
</member>
|
||||
<member name="ssao_ao_channel_affect" type="float" setter="set_ssao_ao_channel_affect" getter="get_ssao_ao_channel_affect">
|
||||
</member>
|
||||
<member name="ssao_bias" type="float" setter="set_ssao_bias" getter="get_ssao_bias">
|
||||
</member>
|
||||
<member name="ssao_blur" type="int" setter="set_ssao_blur" getter="is_ssao_blur_enabled" enum="Environment.SSAOBlur">
|
||||
|
@ -59,7 +59,7 @@
|
||||
Will allow the GeometryInstance to be used when baking lights using a [GIProbe] and/or any other form of baked lighting.
|
||||
Added documentation for GeometryInstance and VisualInstance
|
||||
</constant>
|
||||
<constant name="FLAG_MAX" value="1" enum="Flags">
|
||||
<constant name="FLAG_MAX" value="2" enum="Flags">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
@ -85,6 +85,12 @@
|
||||
Return an Array containing the list of connections. A connection consists in a structure of the form {from_slot: 0, from: "GraphNode name 0", to_slot: 1, to: "GraphNode name 1" }
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_zoom_hbox">
|
||||
<return type="HBoxContainer">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_node_connected">
|
||||
<return type="bool">
|
||||
</return>
|
||||
@ -140,6 +146,22 @@
|
||||
Removes the possibility to disconnect nodes when dragging from the slot at the right if it has the specified type.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_connection_activity">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="from_port" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="to" type="String">
|
||||
</argument>
|
||||
<argument index="3" name="to_port" type="int">
|
||||
</argument>
|
||||
<argument index="4" name="amount" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_selected">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -248,6 +270,8 @@
|
||||
<constants>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="activity" type="Color">
|
||||
</theme_item>
|
||||
<theme_item name="bezier_len_neg" type="int">
|
||||
</theme_item>
|
||||
<theme_item name="bezier_len_pos" type="int">
|
||||
@ -262,6 +286,10 @@
|
||||
</theme_item>
|
||||
<theme_item name="more" type="Texture">
|
||||
</theme_item>
|
||||
<theme_item name="port_grab_distance_horizontal" type="int">
|
||||
</theme_item>
|
||||
<theme_item name="port_grab_distance_vertical" type="int">
|
||||
</theme_item>
|
||||
<theme_item name="reset" type="Texture">
|
||||
</theme_item>
|
||||
<theme_item name="snap" type="Texture">
|
||||
|
@ -76,13 +76,13 @@
|
||||
</argument>
|
||||
<argument index="1" name="floor_normal" type="Vector3" default="Vector3( 0, 0, 0 )">
|
||||
</argument>
|
||||
<argument index="2" name="infinite_inertia" type="bool" default="true">
|
||||
<argument index="2" name="slope_stop_min_velocity" type="float" default="0.05">
|
||||
</argument>
|
||||
<argument index="3" name="slope_stop_min_velocity" type="float" default="0.05">
|
||||
<argument index="3" name="max_slides" type="int" default="4">
|
||||
</argument>
|
||||
<argument index="4" name="max_slides" type="int" default="4">
|
||||
<argument index="4" name="floor_max_angle" type="float" default="0.785398">
|
||||
</argument>
|
||||
<argument index="5" name="floor_max_angle" type="float" default="0.785398">
|
||||
<argument index="5" name="infinite_inertia" type="bool" default="true">
|
||||
</argument>
|
||||
<description>
|
||||
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody[/code] or [RigidBody], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes.
|
||||
|
@ -64,6 +64,10 @@
|
||||
</argument>
|
||||
<argument index="1" name="infinite_inertia" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="2" name="exclude_raycast_shapes" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="3" name="test_only" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
Moves the body along the vector [code]rel_vec[/code]. The body will stop if it collides. Returns a [KinematicCollision2D], which contains information about the collision.
|
||||
</description>
|
||||
@ -93,6 +97,26 @@
|
||||
Returns the movement that remained when the body stopped. To get more detailed information about collisions that occurred, use [method get_slide_collision].
|
||||
</description>
|
||||
</method>
|
||||
<method name="move_and_slide_with_snap">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="linear_velocity" type="Vector2">
|
||||
</argument>
|
||||
<argument index="1" name="snap" type="Vector2">
|
||||
</argument>
|
||||
<argument index="2" name="floor_normal" type="Vector2" default="Vector2( 0, 0 )">
|
||||
</argument>
|
||||
<argument index="3" name="infinite_inertia" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="4" name="slope_stop_min_velocity" type="float" default="5">
|
||||
</argument>
|
||||
<argument index="5" name="max_bounces" type="int" default="4">
|
||||
</argument>
|
||||
<argument index="6" name="floor_max_angle" type="float" default="0.785398">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="test_move">
|
||||
<return type="bool">
|
||||
</return>
|
||||
@ -111,6 +135,8 @@
|
||||
<member name="collision/safe_margin" type="float" setter="set_safe_margin" getter="get_safe_margin">
|
||||
If the body is at least this close to another body, this body will consider them to be colliding.
|
||||
</member>
|
||||
<member name="motion/sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -134,5 +134,7 @@
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_WM_ABOUT" value="91">
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_CRASH" value="92">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
@ -121,7 +121,7 @@
|
||||
</constant>
|
||||
<constant name="ARRAY_FLAG_USE_16_BIT_BONES" value="524288" enum="ArrayFormat">
|
||||
</constant>
|
||||
<constant name="ARRAY_COMPRESS_DEFAULT" value="97792" enum="ArrayFormat">
|
||||
<constant name="ARRAY_COMPRESS_DEFAULT" value="97280" enum="ArrayFormat">
|
||||
</constant>
|
||||
<constant name="ARRAY_VERTEX" value="0" enum="ArrayType">
|
||||
</constant>
|
||||
|
@ -71,6 +71,8 @@
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int" default="0">
|
||||
</argument>
|
||||
<argument index="2" name="mode" type="int" enum="NetworkedMultiplayerPeer.TransferMode" default="2">
|
||||
</argument>
|
||||
<description>
|
||||
Sends the given raw [code]bytes[/code] to a specific peer identified by [code]id[/code] (see [method NetworkedMultiplayerPeer.set_target_peer]). Default ID is [code]0[/code], i.e. broadcast to all peers.
|
||||
</description>
|
||||
|
@ -733,6 +733,14 @@
|
||||
Enables or disabled internal processing for this node. Internal processing happens in isolation from the normal [method _process] calls and is used by some nodes internally to guarantee proper functioning even if the node is paused or processing is disabled for scripting ([method set_process]). Only useful for advanced uses to manipulate built-in nodes behaviour.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_process_priority">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="priority" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_process_unhandled_input">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -147,6 +147,12 @@
|
||||
Returns the command line arguments passed to the engine.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_connected_midi_inputs">
|
||||
<return type="PoolStringArray">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_date" qualifiers="const">
|
||||
<return type="Dictionary">
|
||||
</return>
|
||||
|
@ -106,7 +106,9 @@
|
||||
<constant name="PHYSICS_3D_ISLAND_COUNT" value="26" enum="Monitor">
|
||||
Number of islands in the 3D physics engine.
|
||||
</constant>
|
||||
<constant name="MONITOR_MAX" value="27" enum="Monitor">
|
||||
<constant name="AUDIO_OUTPUT_LATENCY" value="27" enum="Monitor">
|
||||
</constant>
|
||||
<constant name="MONITOR_MAX" value="28" enum="Monitor">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
@ -11,6 +11,58 @@
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_central_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="force" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="offset" type="Vector2">
|
||||
</argument>
|
||||
<argument index="1" name="force" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_torque">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="torque" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_central_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="impulse" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="offset" type="Vector2">
|
||||
</argument>
|
||||
<argument index="1" name="impulse" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_torque_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="impulse" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_contact_collider" qualifiers="const">
|
||||
<return type="RID">
|
||||
</return>
|
||||
|
@ -287,6 +287,16 @@
|
||||
Sets the transform matrix for an area.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_central_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="force" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_collision_exception">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -324,6 +334,26 @@
|
||||
Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_torque">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="torque" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_apply_central_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="impulse" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_apply_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -337,6 +367,16 @@
|
||||
Adds a positioned impulse to the applied force and torque. Both the force and the offset from the body origin are in global coordinates.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_apply_torque_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="impulse" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_attach_object_instance_id">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -35,6 +35,14 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_central_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="j" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
15
doc/classes/PhysicsMaterial.xml
Normal file
15
doc/classes/PhysicsMaterial.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="PhysicsMaterial" inherits="Resource" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -294,6 +294,16 @@
|
||||
Sets the transform matrix for an area.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_central_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="force" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_collision_exception">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -305,6 +315,18 @@
|
||||
Adds a body to the list of bodies exempt from collisions.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="force" type="Vector3">
|
||||
</argument>
|
||||
<argument index="2" name="position" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_shape">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -318,6 +340,26 @@
|
||||
Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_add_torque">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="torque" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_apply_central_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="impulse" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_apply_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -136,6 +136,8 @@
|
||||
<method name="add_separator">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="label" type="String" default="""">
|
||||
</argument>
|
||||
<description>
|
||||
Add a separator between items. Separators also occupy an index.
|
||||
</description>
|
||||
@ -507,7 +509,7 @@
|
||||
</member>
|
||||
<member name="hide_on_state_item_selection" type="bool" setter="set_hide_on_state_item_selection" getter="is_hide_on_state_item_selection">
|
||||
</member>
|
||||
<member name="submenu_popup_delay" type="real" setter="set_submenu_popup_delay" getter="get_submenu_popup_delay">
|
||||
<member name="submenu_popup_delay" type="float" setter="set_submenu_popup_delay" getter="get_submenu_popup_delay">
|
||||
Sets the delay time for the submenu item to popup on mouse hovering. If the popup menu is added as a child of another (acting as a submenu), it will inherit the delay time of the parent menu item. Default value: [code]0.3[/code] seconds.
|
||||
</member>
|
||||
</members>
|
||||
@ -553,6 +555,10 @@
|
||||
</theme_item>
|
||||
<theme_item name="hseparation" type="int">
|
||||
</theme_item>
|
||||
<theme_item name="labeled_separator_left" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="labeled_separator_right" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="panel" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="panel_disabled" type="StyleBox">
|
||||
|
@ -559,6 +559,8 @@
|
||||
<member name="physics/2d/thread_model" type="int" setter="" getter="">
|
||||
Set whether physics is run on the main thread or a separate one. Running the server on a thread increases performance, but restricts API Access to only physics process.
|
||||
</member>
|
||||
<member name="physics/3d/active_soft_world" type="bool" setter="" getter="">
|
||||
</member>
|
||||
<member name="physics/3d/physics_engine" type="String" setter="" getter="">
|
||||
</member>
|
||||
<member name="physics/common/physics_fps" type="int" setter="" getter="">
|
||||
@ -615,8 +617,6 @@
|
||||
</member>
|
||||
<member name="rendering/quality/intended_usage/framebuffer_allocation.mobile" type="int" setter="" getter="">
|
||||
</member>
|
||||
<member name="rendering/quality/intended_usage/framebuffer_mode" type="int" setter="" getter="">
|
||||
</member>
|
||||
<member name="rendering/quality/reflections/high_quality_ggx" type="bool" setter="" getter="">
|
||||
For reflection probes and panorama backgrounds (sky), use a high amount of samples to create ggx blurred versions (used for roughness).
|
||||
</member>
|
||||
|
@ -24,6 +24,40 @@
|
||||
Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default it works in addition to the usual physics behavior, but [method set_use_custom_integrator] allows you to disable the default behavior and do fully custom force integration for a body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_central_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="force" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="force" type="Vector3">
|
||||
</argument>
|
||||
<argument index="1" name="position" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_torque">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="torque" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_central_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="impulse" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -117,6 +151,8 @@
|
||||
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="RigidBody.Mode">
|
||||
The body mode from the MODE_* enum. Modes include: MODE_STATIC, MODE_KINEMATIC, MODE_RIGID, and MODE_CHARACTER.
|
||||
</member>
|
||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||
</member>
|
||||
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping">
|
||||
If [code]true[/code] RigidBody is sleeping and will not calculate forces until woken up by a collision or the [code]apply_impulse[/code] method.
|
||||
</member>
|
||||
|
@ -23,6 +23,14 @@
|
||||
Allows you to read and safely modify the simulation state for the object. Use this instead of [Node._physics_process] if you need to directly change the body's [code]position[/code] or other physics properties. By default it works in addition to the usual physics behavior, but [member custom_integrator] allows you to disable the default behavior and write custom force integration for a body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_central_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="force" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_force">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -34,6 +42,22 @@
|
||||
Adds a positioned force to the body. Both the force and the offset from the body origin are in global coordinates.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_torque">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="torque" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_central_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="impulse" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -45,6 +69,14 @@
|
||||
Applies a positioned impulse to the body (which will be affected by the body mass and shape). This is the equivalent of hitting a billiard ball with a cue: a force that is applied instantaneously. Both the impulse and the offset from the body origin are in global coordinates.
|
||||
</description>
|
||||
</method>
|
||||
<method name="apply_torque_impulse">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="torque" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_colliding_bodies" qualifiers="const">
|
||||
<return type="Array">
|
||||
</return>
|
||||
@ -130,6 +162,8 @@
|
||||
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="RigidBody2D.Mode">
|
||||
The body's mode. See [code]MODE_*[/code] constants. Default value: [code]MODE_RIGID[/code].
|
||||
</member>
|
||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||
</member>
|
||||
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping">
|
||||
If [code]true[/code] the body is sleeping and will not calculate forces until woken up by a collision or by using [method apply_impulse] or [method add_force].
|
||||
</member>
|
||||
|
27
doc/classes/RootMotionView.xml
Normal file
27
doc/classes/RootMotionView.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="RootMotionView" inherits="VisualInstance" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="animation_path" type="NodePath" setter="set_animation_path" getter="get_animation_path">
|
||||
</member>
|
||||
<member name="cell_size" type="float" setter="set_cell_size" getter="get_cell_size">
|
||||
</member>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color">
|
||||
</member>
|
||||
<member name="radius" type="float" setter="set_radius" getter="get_radius">
|
||||
</member>
|
||||
<member name="zero_y" type="bool" setter="set_zero_y" getter="get_zero_y">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -21,10 +21,8 @@
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="inherits" type="String">
|
||||
The dialog's "Inherits" field content.
|
||||
</argument>
|
||||
<argument index="1" name="path" type="String">
|
||||
The dialog's "Path" field content.
|
||||
</argument>
|
||||
<description>
|
||||
Prefills required fields to configure the ScriptCreateDialog for use.
|
||||
|
@ -15,10 +15,10 @@
|
||||
<members>
|
||||
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
||||
</member>
|
||||
<member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable">
|
||||
</member>
|
||||
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
||||
</member>
|
||||
<member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable">
|
||||
</member>
|
||||
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks">
|
||||
</member>
|
||||
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders">
|
||||
|
107
doc/classes/SoftBody.xml
Normal file
107
doc/classes/SoftBody.xml
Normal file
@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="SoftBody" inherits="MeshInstance" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_collision_exception_with">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="Node">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_layer_bit" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="bit" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_mask_bit" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="bit" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_ray_pickable" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_collision_exception_with">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="body" type="Node">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_collision_layer_bit">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bit" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_collision_mask_bit">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bit" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_ray_pickable">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="ray_pickable" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="areaAngular_stiffness" type="float" setter="set_areaAngular_stiffness" getter="get_areaAngular_stiffness">
|
||||
</member>
|
||||
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
||||
</member>
|
||||
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask">
|
||||
</member>
|
||||
<member name="damping_coefficient" type="float" setter="set_damping_coefficient" getter="get_damping_coefficient">
|
||||
</member>
|
||||
<member name="drag_coefficient" type="float" setter="set_drag_coefficient" getter="get_drag_coefficient">
|
||||
</member>
|
||||
<member name="linear_stiffness" type="float" setter="set_linear_stiffness" getter="get_linear_stiffness">
|
||||
</member>
|
||||
<member name="parent_collision_ignore" type="NodePath" setter="set_parent_collision_ignore" getter="get_parent_collision_ignore">
|
||||
</member>
|
||||
<member name="pose_matching_coefficient" type="float" setter="set_pose_matching_coefficient" getter="get_pose_matching_coefficient">
|
||||
</member>
|
||||
<member name="pressure_coefficient" type="float" setter="set_pressure_coefficient" getter="get_pressure_coefficient">
|
||||
</member>
|
||||
<member name="simulation_precision" type="int" setter="set_simulation_precision" getter="get_simulation_precision">
|
||||
</member>
|
||||
<member name="total_mass" type="float" setter="set_total_mass" getter="get_total_mass">
|
||||
</member>
|
||||
<member name="volume_stiffness" type="float" setter="set_volume_stiffness" getter="get_volume_stiffness">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -69,6 +69,12 @@
|
||||
Returns whether node notifies about its local transformation changes. Spatial will not propagate this by default.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_scale_disabled" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_set_as_toplevel" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
@ -190,6 +196,14 @@
|
||||
Makes the node ignore its parents transformations. Node transformations are only in global space.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_disable_scale">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="disable" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_identity">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -84,8 +84,12 @@
|
||||
</member>
|
||||
<member name="flags_albedo_tex_force_srgb" type="bool" setter="set_flag" getter="get_flag">
|
||||
</member>
|
||||
<member name="flags_disable_ambient_light" type="bool" setter="set_flag" getter="get_flag">
|
||||
</member>
|
||||
<member name="flags_do_not_receive_shadows" type="bool" setter="set_flag" getter="get_flag">
|
||||
</member>
|
||||
<member name="flags_ensure_correct_normals" type="bool" setter="set_flag" getter="get_flag">
|
||||
</member>
|
||||
<member name="flags_fixed_size" type="bool" setter="set_flag" getter="get_flag">
|
||||
</member>
|
||||
<member name="flags_no_depth_test" type="bool" setter="set_flag" getter="get_flag">
|
||||
@ -116,6 +120,8 @@
|
||||
</member>
|
||||
<member name="params_alpha_scissor_threshold" type="float" setter="set_alpha_scissor_threshold" getter="get_alpha_scissor_threshold">
|
||||
</member>
|
||||
<member name="params_billboard_keep_scale" type="bool" setter="set_flag" getter="get_flag">
|
||||
</member>
|
||||
<member name="params_billboard_mode" type="int" setter="set_billboard_mode" getter="get_billboard_mode" enum="SpatialMaterial.BillboardMode">
|
||||
</member>
|
||||
<member name="params_blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="SpatialMaterial.BlendMode">
|
||||
@ -304,23 +310,29 @@
|
||||
</constant>
|
||||
<constant name="FLAG_FIXED_SIZE" value="6" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_UV1_USE_TRIPLANAR" value="7" enum="Flags">
|
||||
<constant name="FLAG_BILLBOARD_KEEP_SCALE" value="7" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_UV2_USE_TRIPLANAR" value="8" enum="Flags">
|
||||
<constant name="FLAG_UV1_USE_TRIPLANAR" value="8" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_AO_ON_UV2" value="10" enum="Flags">
|
||||
<constant name="FLAG_UV2_USE_TRIPLANAR" value="9" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_EMISSION_ON_UV2" value="11" enum="Flags">
|
||||
<constant name="FLAG_AO_ON_UV2" value="11" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_USE_ALPHA_SCISSOR" value="12" enum="Flags">
|
||||
<constant name="FLAG_EMISSION_ON_UV2" value="12" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_TRIPLANAR_USE_WORLD" value="9" enum="Flags">
|
||||
<constant name="FLAG_USE_ALPHA_SCISSOR" value="13" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_ALBEDO_TEXTURE_FORCE_SRGB" value="13" enum="Flags">
|
||||
<constant name="FLAG_TRIPLANAR_USE_WORLD" value="10" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_DONT_RECEIVE_SHADOWS" value="14" enum="Flags">
|
||||
<constant name="FLAG_ALBEDO_TEXTURE_FORCE_SRGB" value="14" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_MAX" value="15" enum="Flags">
|
||||
<constant name="FLAG_DONT_RECEIVE_SHADOWS" value="15" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_DISABLE_AMBIENT_LIGHT" value="17" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_ENSURE_CORRECT_NORMALS" value="16" enum="Flags">
|
||||
</constant>
|
||||
<constant name="FLAG_MAX" value="18" enum="Flags">
|
||||
</constant>
|
||||
<constant name="DIFFUSE_BURLEY" value="0" enum="DiffuseMode">
|
||||
</constant>
|
||||
|
@ -58,6 +58,13 @@
|
||||
If [code]true[/code] the given animation will loop.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_animation_names" qualifiers="const">
|
||||
<return type="PoolStringArray">
|
||||
</return>
|
||||
<description>
|
||||
Returns an array containing the names associated to each animation. Values are placed in alphabetical order.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_animation_speed" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
@ -127,13 +134,6 @@
|
||||
Changes the animation's name to [code]newname[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_animation_names">
|
||||
<return type="PoolStringArray">
|
||||
</return>
|
||||
<description>
|
||||
Returns an array containing the names associated to each animation. Values are placed in alphabetical order.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_animation_loop">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -27,6 +27,8 @@
|
||||
<member name="friction" type="float" setter="set_friction" getter="get_friction">
|
||||
The body friction, from 0 (frictionless) to 1 (full friction).
|
||||
</member>
|
||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -26,6 +26,8 @@
|
||||
<member name="friction" type="float" setter="set_friction" getter="get_friction">
|
||||
The body's friction. Values range from [code]0[/code] (no friction) to [code]1[/code] (full friction).
|
||||
</member>
|
||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<method name="accept_stream">
|
||||
<return type="int" enum="Error">
|
||||
</return>
|
||||
<argument index="0" name="stream" type="StreamPeer">
|
||||
<argument index="0" name="base" type="StreamPeer">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
@ -55,17 +55,20 @@
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="blocking_handshake" type="bool" setter="set_blocking_handshake_enabled" getter="is_blocking_handshake_enabled">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="STATUS_DISCONNECTED" value="0" enum="Status">
|
||||
A status representing a [code]StreamPeerSSL[/code] that is disconnected.
|
||||
</constant>
|
||||
<constant name="STATUS_CONNECTED" value="1" enum="Status">
|
||||
<constant name="STATUS_CONNECTED" value="2" enum="Status">
|
||||
A status representing a [code]StreamPeerSSL[/code] that is connected to a host.
|
||||
</constant>
|
||||
<constant name="STATUS_ERROR_NO_CERTIFICATE" value="2" enum="Status">
|
||||
An errot status that shows the peer did not present a SSL certificate and validation was requested.
|
||||
<constant name="STATUS_ERROR" value="3" enum="Status">
|
||||
</constant>
|
||||
<constant name="STATUS_ERROR_HOSTNAME_MISMATCH" value="3" enum="Status">
|
||||
<constant name="STATUS_ERROR_HOSTNAME_MISMATCH" value="4" enum="Status">
|
||||
An error status that shows a mismatch in the SSL certificate domain presented by the host and the domain requested for validation.
|
||||
</constant>
|
||||
</constants>
|
||||
|
@ -13,7 +13,9 @@
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_color" getter="get_color">
|
||||
</member>
|
||||
<member name="grow" type="float" setter="set_grow" getter="get_grow">
|
||||
<member name="grow_begin" type="float" setter="set_grow_begin" getter="get_grow_begin">
|
||||
</member>
|
||||
<member name="grow_end" type="float" setter="set_grow_end" getter="get_grow_end">
|
||||
</member>
|
||||
<member name="thickness" type="int" setter="set_thickness" getter="get_thickness">
|
||||
</member>
|
||||
|
@ -170,7 +170,7 @@
|
||||
</return>
|
||||
<argument index="0" name="existing" type="ArrayMesh" default="null">
|
||||
</argument>
|
||||
<argument index="1" name="flags" type="int" default="97792">
|
||||
<argument index="1" name="flags" type="int" default="97280">
|
||||
</argument>
|
||||
<description>
|
||||
Returns a constructed [ArrayMesh] from current information passed in. If an existing [ArrayMesh] is passed in as an argument, will add an extra surface to the existing [ArrayMesh].
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="TabContainer" inherits="Control" category="Core" version="3.1">
|
||||
<class name="TabContainer" inherits="Container" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
Tabbed Container.
|
||||
</brief_description>
|
||||
|
@ -227,12 +227,6 @@
|
||||
Insert a given text at the cursor position.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_breakpoint_gutter_enabled" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_folded" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
@ -322,14 +316,6 @@
|
||||
Select all the text.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_breakpoint_gutter_enabled">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="enable" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_line_as_hidden">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -541,6 +527,8 @@
|
||||
</theme_item>
|
||||
<theme_item name="read_only" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="safe_line_number_color" type="Color">
|
||||
</theme_item>
|
||||
<theme_item name="selection_color" type="Color">
|
||||
</theme_item>
|
||||
<theme_item name="symbol_color" type="Color">
|
||||
|
15
doc/classes/TextFile.xml
Normal file
15
doc/classes/TextFile.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="TextFile" inherits="Resource" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -77,5 +77,11 @@
|
||||
<constant name="FILL_COUNTER_CLOCKWISE" value="5" enum="FillMode">
|
||||
Turns the node into a radial bar. The [member texture_progress] fills counter-clockwise. See [member radial_center_offset], [member radial_initial_angle] and [member radial_fill_degrees] to refine its behavior.
|
||||
</constant>
|
||||
<constant name="FILL_BILINEAR_LEFT_AND_RIGHT" value="6" enum="FillMode">
|
||||
</constant>
|
||||
<constant name="FILL_BILINEAR_TOP_AND_BOTTOM" value="7" enum="FillMode">
|
||||
</constant>
|
||||
<constant name="FILL_CLOCKWISE_AND_COUNTER_CLOCKWISE" value="8" enum="FillMode">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
@ -157,6 +157,16 @@
|
||||
If you need these to be immediately updated, you can call [method update_dirty_quadrants].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_celld">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="position" type="Vector2">
|
||||
</argument>
|
||||
<argument index="1" name="data" type="Dictionary">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_cellv">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -136,6 +136,14 @@
|
||||
Return the material of the tile.
|
||||
</description>
|
||||
</method>
|
||||
<method name="tile_get_modulate" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="tile_get_name" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
@ -292,6 +300,16 @@
|
||||
Set the material of the tile.
|
||||
</description>
|
||||
</method>
|
||||
<method name="tile_set_modulate">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="color" type="Color">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="tile_set_name">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -181,12 +181,6 @@
|
||||
Returns [code]true[/code] if any tweens are currently running. Note that this method doesn't consider tweens that have ended.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_stopped" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
@ -117,13 +117,13 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="redo">
|
||||
<return type="void">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="undo">
|
||||
<return type="void">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -973,8 +973,9 @@
|
||||
</return>
|
||||
<argument index="0" name="swap_buffers" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="1" name="frame_step" type="float" default="0.0">
|
||||
</argument>
|
||||
<description>
|
||||
Draws a frame.
|
||||
</description>
|
||||
</method>
|
||||
<method name="environment_create">
|
||||
@ -1206,13 +1207,15 @@
|
||||
</argument>
|
||||
<argument index="7" name="light_affect" type="float">
|
||||
</argument>
|
||||
<argument index="8" name="color" type="Color">
|
||||
<argument index="8" name="ao_channel_affect" type="float">
|
||||
</argument>
|
||||
<argument index="9" name="quality" type="int" enum="VisualServer.EnvironmentSSAOQuality">
|
||||
<argument index="9" name="color" type="Color">
|
||||
</argument>
|
||||
<argument index="10" name="blur" type="int" enum="VisualServer.EnvironmentSSAOBlur">
|
||||
<argument index="10" name="quality" type="int" enum="VisualServer.EnvironmentSSAOQuality">
|
||||
</argument>
|
||||
<argument index="11" name="bilateral_sharpness" type="float">
|
||||
<argument index="11" name="blur" type="int" enum="VisualServer.EnvironmentSSAOBlur">
|
||||
</argument>
|
||||
<argument index="12" name="bilateral_sharpness" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
@ -1273,8 +1276,9 @@
|
||||
</return>
|
||||
<argument index="0" name="swap_buffers" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="1" name="frame_step" type="float" default="0.0">
|
||||
</argument>
|
||||
<description>
|
||||
Draws a frame. Same as [method draw].
|
||||
</description>
|
||||
</method>
|
||||
<method name="force_sync">
|
||||
@ -2258,7 +2262,7 @@
|
||||
</argument>
|
||||
<argument index="3" name="blend_shapes" type="Array" default="[ ]">
|
||||
</argument>
|
||||
<argument index="4" name="compress_format" type="int" default="97792">
|
||||
<argument index="4" name="compress_format" type="int" default="97280">
|
||||
</argument>
|
||||
<description>
|
||||
Adds a surface generated from the Arrays to a mesh. See PRIMITIVE_TYPE_* constants for types.
|
||||
@ -2437,6 +2441,32 @@
|
||||
Returns the format of a mesh's surface.
|
||||
</description>
|
||||
</method>
|
||||
<method name="mesh_surface_get_format_offset" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="format" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="vertex_len" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="index_len" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="array_index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="mesh_surface_get_format_stride" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="format" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="vertex_len" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="index_len" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="mesh_surface_get_index_array" qualifiers="const">
|
||||
<return type="PoolByteArray">
|
||||
</return>
|
||||
@ -2494,6 +2524,20 @@
|
||||
Sets a mesh's surface's material.
|
||||
</description>
|
||||
</method>
|
||||
<method name="mesh_surface_update_region">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="mesh" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="surface" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="offset" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="data" type="PoolByteArray">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_allocate">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -2505,6 +2549,8 @@
|
||||
</argument>
|
||||
<argument index="3" name="color_format" type="int" enum="VisualServer.MultimeshColorFormat">
|
||||
</argument>
|
||||
<argument index="4" name="custom_data_format" type="int" enum="VisualServer.MultimeshCustomDataFormat" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
@ -2550,6 +2596,16 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_instance_get_custom_data" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="multimesh" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_instance_get_transform" qualifiers="const">
|
||||
<return type="Transform">
|
||||
</return>
|
||||
@ -2582,6 +2638,18 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_instance_set_custom_data">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="multimesh" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="index" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="custom_data" type="Color">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_instance_set_transform">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -2606,6 +2674,16 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_set_as_bulk_array">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="multimesh" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="array" type="PoolRealArray">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="multimesh_set_mesh">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -3746,7 +3824,11 @@
|
||||
</method>
|
||||
</methods>
|
||||
<signals>
|
||||
<signal name="frame_drawn_in_thread">
|
||||
<signal name="frame_post_draw">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="frame_pre_draw">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
@ -3919,7 +4001,7 @@
|
||||
<constant name="ARRAY_FLAG_USE_16_BIT_BONES" value="524288" enum="ArrayFormat">
|
||||
Flag used to mark that the array uses 16 bit bones instead of 8 bit.
|
||||
</constant>
|
||||
<constant name="ARRAY_COMPRESS_DEFAULT" value="97792" enum="ArrayFormat">
|
||||
<constant name="ARRAY_COMPRESS_DEFAULT" value="97280" enum="ArrayFormat">
|
||||
Used to set flags ARRAY_COMPRESS_VERTEX, ARRAY_COMPRESS_NORMAL, ARRAY_COMPRESS_TANGENT, ARRAY_COMPRESS_COLOR, ARRAY_COMPRESS_TEX_UV, ARRAY_COMPRESS_TEX_UV2 and ARRAY_COMPRESS_WEIGHTS quickly.
|
||||
</constant>
|
||||
<constant name="PRIMITIVE_POINTS" value="0" enum="PrimitiveType">
|
||||
@ -4126,7 +4208,9 @@
|
||||
</constant>
|
||||
<constant name="INSTANCE_FLAG_USE_BAKED_LIGHT" value="0" enum="InstanceFlags">
|
||||
</constant>
|
||||
<constant name="INSTANCE_FLAG_MAX" value="1" enum="InstanceFlags">
|
||||
<constant name="INSTANCE_FLAG_REDRAW_FRAME_IF_VISIBLE" value="1" enum="InstanceFlags">
|
||||
</constant>
|
||||
<constant name="INSTANCE_FLAG_MAX" value="2" enum="InstanceFlags">
|
||||
</constant>
|
||||
<constant name="SHADOW_CASTING_SETTING_OFF" value="0" enum="ShadowCastingSetting">
|
||||
</constant>
|
||||
|
183
doc/classes/VisualShader.xml
Normal file
183
doc/classes/VisualShader.xml
Normal file
@ -0,0 +1,183 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShader" inherits="Shader" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="add_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="node" type="VisualShaderNode">
|
||||
</argument>
|
||||
<argument index="2" name="position" type="Vector2">
|
||||
</argument>
|
||||
<argument index="3" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="can_connect_nodes" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="from_node" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="from_port" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="to_node" type="int">
|
||||
</argument>
|
||||
<argument index="4" name="to_port" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="connect_nodes">
|
||||
<return type="int" enum="Error">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="from_node" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="from_port" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="to_node" type="int">
|
||||
</argument>
|
||||
<argument index="4" name="to_port" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="disconnect_nodes">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="from_node" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="from_port" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="to_node" type="int">
|
||||
</argument>
|
||||
<argument index="4" name="to_port" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node" qualifiers="const">
|
||||
<return type="VisualShaderNode">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_connections" qualifiers="const">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_list" qualifiers="const">
|
||||
<return type="PoolIntArray">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_position" qualifiers="const">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_valid_node_id" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_node_connection" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="from_node" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="from_port" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="to_node" type="int">
|
||||
</argument>
|
||||
<argument index="4" name="to_port" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_mode">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="mode" type="int" enum="Shader.Mode">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_node_position">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="type" type="int" enum="VisualShader.Type">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="position" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="TYPE_VERTEX" value="0" enum="Type">
|
||||
</constant>
|
||||
<constant name="TYPE_FRAGMENT" value="1" enum="Type">
|
||||
</constant>
|
||||
<constant name="TYPE_LIGHT" value="2" enum="Type">
|
||||
</constant>
|
||||
<constant name="TYPE_MAX" value="3" enum="Type">
|
||||
</constant>
|
||||
<constant name="NODE_ID_INVALID" value="-1">
|
||||
</constant>
|
||||
<constant name="NODE_ID_OUTPUT" value="0">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
45
doc/classes/VisualShaderNode.xml
Normal file
45
doc/classes/VisualShaderNode.xml
Normal file
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNode" inherits="Resource" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="get_input_port_default_value" qualifiers="const">
|
||||
<return type="Variant">
|
||||
</return>
|
||||
<argument index="0" name="port" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_input_port_default_value">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="port" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="Variant">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="default_input_values" type="Array" setter="_set_default_input_values" getter="_get_default_input_values">
|
||||
</member>
|
||||
<member name="output_port_for_preview" type="int" setter="set_output_port_for_preview" getter="get_output_port_for_preview">
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="editor_refresh_request">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
19
doc/classes/VisualShaderNodeColorConstant.xml
Normal file
19
doc/classes/VisualShaderNodeColorConstant.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeColorConstant" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="constant" type="Color" setter="set_constant" getter="get_constant">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
37
doc/classes/VisualShaderNodeColorOp.xml
Normal file
37
doc/classes/VisualShaderNodeColorOp.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeColorOp" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeColorOp.Operator">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="OP_SCREEN" value="0" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_DIFFERENCE" value="1" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_DARKEN" value="2" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_LIGHTEN" value="3" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_OVERLAY" value="4" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_DODGE" value="5" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_BURN" value="6" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_SOFT_LIGHT" value="7" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_HARD_LIGHT" value="8" enum="Operator">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeColorUniform.xml
Normal file
15
doc/classes/VisualShaderNodeColorUniform.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeColorUniform" inherits="VisualShaderNodeUniform" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
27
doc/classes/VisualShaderNodeCubeMap.xml
Normal file
27
doc/classes/VisualShaderNodeCubeMap.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeCubeMap" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="cube_map" type="CubeMap" setter="set_cube_map" getter="get_cube_map">
|
||||
</member>
|
||||
<member name="texture_type" type="int" setter="set_texture_type" getter="get_texture_type" enum="VisualShaderNodeCubeMap.TextureType">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="TYPE_DATA" value="0" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_COLOR" value="1" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_NORMALMAP" value="2" enum="TextureType">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeCubeMapUniform.xml
Normal file
15
doc/classes/VisualShaderNodeCubeMapUniform.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeCubeMapUniform" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeDotProduct.xml
Normal file
15
doc/classes/VisualShaderNodeDotProduct.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeDotProduct" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
25
doc/classes/VisualShaderNodeInput.xml
Normal file
25
doc/classes/VisualShaderNodeInput.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeInput" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="input_name" type="String" setter="set_input_name" getter="get_input_name">
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="input_type_changed">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeOutput.xml
Normal file
15
doc/classes/VisualShaderNodeOutput.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeOutput" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
19
doc/classes/VisualShaderNodeScalarConstant.xml
Normal file
19
doc/classes/VisualShaderNodeScalarConstant.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeScalarConstant" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="constant" type="float" setter="set_constant" getter="get_constant">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
59
doc/classes/VisualShaderNodeScalarFunc.xml
Normal file
59
doc/classes/VisualShaderNodeScalarFunc.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeScalarFunc" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeScalarFunc.Function">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="FUNC_SIN" value="0" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_COS" value="1" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_TAN" value="2" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_ASIN" value="3" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_ACOS" value="4" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_ATAN" value="5" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_SINH" value="6" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_COSH" value="7" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_TANH" value="8" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_LOG" value="9" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_EXP" value="10" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_SQRT" value="11" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_ABS" value="12" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_SIGN" value="13" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_FLOOR" value="14" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_ROUND" value="15" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_CEIL" value="16" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_FRAC" value="17" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_SATURATE" value="18" enum="Function">
|
||||
</constant>
|
||||
<constant name="FUNC_NEGATE" value="19" enum="Function">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeScalarInterp.xml
Normal file
15
doc/classes/VisualShaderNodeScalarInterp.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeScalarInterp" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
37
doc/classes/VisualShaderNodeScalarOp.xml
Normal file
37
doc/classes/VisualShaderNodeScalarOp.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeScalarOp" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeScalarOp.Operator">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="OP_ADD" value="0" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_SUB" value="1" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_MUL" value="2" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_DIV" value="3" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_MOD" value="4" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_POW" value="5" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_MAX" value="6" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_MIN" value="7" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_ATAN2" value="8" enum="Operator">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeScalarUniform.xml
Normal file
15
doc/classes/VisualShaderNodeScalarUniform.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeScalarUniform" inherits="VisualShaderNodeUniform" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
37
doc/classes/VisualShaderNodeTexture.xml
Normal file
37
doc/classes/VisualShaderNodeTexture.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTexture" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="source" type="int" setter="set_source" getter="get_source" enum="VisualShaderNodeTexture.Source">
|
||||
</member>
|
||||
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
|
||||
</member>
|
||||
<member name="texture_type" type="int" setter="set_texture_type" getter="get_texture_type" enum="VisualShaderNodeTexture.TextureType">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="SOURCE_TEXTURE" value="0" enum="Source">
|
||||
</constant>
|
||||
<constant name="SOURCE_SCREEN" value="1" enum="Source">
|
||||
</constant>
|
||||
<constant name="SOURCE_2D_TEXTURE" value="2" enum="Source">
|
||||
</constant>
|
||||
<constant name="SOURCE_2D_NORMAL" value="3" enum="Source">
|
||||
</constant>
|
||||
<constant name="TYPE_DATA" value="0" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_COLOR" value="1" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_NORMALMAP" value="2" enum="TextureType">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
33
doc/classes/VisualShaderNodeTextureUniform.xml
Normal file
33
doc/classes/VisualShaderNodeTextureUniform.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTextureUniform" inherits="VisualShaderNodeUniform" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color_default" type="int" setter="set_color_default" getter="get_color_default" enum="VisualShaderNodeTextureUniform.ColorDefault">
|
||||
</member>
|
||||
<member name="texture_type" type="int" setter="set_texture_type" getter="get_texture_type" enum="VisualShaderNodeTextureUniform.TextureType">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="TYPE_DATA" value="0" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_COLOR" value="1" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_NORMALMAP" value="2" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="TYPE_ANISO" value="3" enum="TextureType">
|
||||
</constant>
|
||||
<constant name="COLOR_DEFAULT_WHITE" value="0" enum="ColorDefault">
|
||||
</constant>
|
||||
<constant name="COLOR_DEFAULT_BLACK" value="1" enum="ColorDefault">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeTransformCompose.xml
Normal file
15
doc/classes/VisualShaderNodeTransformCompose.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTransformCompose" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
19
doc/classes/VisualShaderNodeTransformConstant.xml
Normal file
19
doc/classes/VisualShaderNodeTransformConstant.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTransformConstant" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="constant" type="Transform" setter="set_constant" getter="get_constant">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
15
doc/classes/VisualShaderNodeTransformDecompose.xml
Normal file
15
doc/classes/VisualShaderNodeTransformDecompose.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTransformDecompose" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
23
doc/classes/VisualShaderNodeTransformMult.xml
Normal file
23
doc/classes/VisualShaderNodeTransformMult.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTransformMult" inherits="VisualShaderNode" category="Core" version="3.1">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeTransformMult.Operator">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="OP_AxB" value="0" enum="Operator">
|
||||
</constant>
|
||||
<constant name="OP_BxA" value="1" enum="Operator">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user