Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
This commit is contained in:
parent
fe46b2ac0c
commit
d4993b74fc
42 changed files with 234 additions and 236 deletions
|
@ -62,8 +62,8 @@ void _ResourceLoader::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("load:Resource","path","type_hint", "p_no_cache"),&_ResourceLoader::load,DEFVAL(""), DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("get_recognized_extensions_for_type","type"),&_ResourceLoader::get_recognized_extensions_for_type);
|
||||
ObjectTypeDB::bind_method(_MD("set_abort_on_missing_resources","abort"),&_ResourceLoader::set_abort_on_missing_resources);
|
||||
ObjectTypeDB::bind_method(_MD("get_dependencies"),&_ResourceLoader::get_dependencies);
|
||||
ObjectTypeDB::bind_method(_MD("has"),&_ResourceLoader::has);
|
||||
ObjectTypeDB::bind_method(_MD("get_dependencies","path"),&_ResourceLoader::get_dependencies);
|
||||
ObjectTypeDB::bind_method(_MD("has","path"),&_ResourceLoader::has);
|
||||
}
|
||||
|
||||
_ResourceLoader::_ResourceLoader() {
|
||||
|
@ -96,7 +96,7 @@ _ResourceSaver *_ResourceSaver::singleton=NULL;
|
|||
|
||||
void _ResourceSaver::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("save","path","resource:Resource"),&_ResourceSaver::save, DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("save","path","resource:Resource","flags"),&_ResourceSaver::save,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("get_recognized_extensions","type"),&_ResourceSaver::get_recognized_extensions);
|
||||
|
||||
BIND_CONSTANT(FLAG_RELATIVE_PATHS);
|
||||
|
@ -812,7 +812,7 @@ void _OS::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_unix_time"),&_OS::get_unix_time);
|
||||
ObjectTypeDB::bind_method(_MD("get_system_time_msec"), &_OS::get_system_time_msec);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_icon"),&_OS::set_icon);
|
||||
ObjectTypeDB::bind_method(_MD("set_icon","icon"),&_OS::set_icon);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("delay_usec","usec"),&_OS::delay_usec);
|
||||
ObjectTypeDB::bind_method(_MD("delay_msec","msec"),&_OS::delay_msec);
|
||||
|
@ -851,9 +851,9 @@ void _OS::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_frames_per_second"),&_OS::get_frames_per_second);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("print_all_textures_by_size"),&_OS::print_all_textures_by_size);
|
||||
ObjectTypeDB::bind_method(_MD("print_resources_by_type"),&_OS::print_resources_by_type);
|
||||
ObjectTypeDB::bind_method(_MD("print_resources_by_type","types"),&_OS::print_resources_by_type);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("native_video_play"),&_OS::native_video_play);
|
||||
ObjectTypeDB::bind_method(_MD("native_video_play","path","volume","audio_track","subtitle_track"),&_OS::native_video_play);
|
||||
ObjectTypeDB::bind_method(_MD("native_video_is_playing"),&_OS::native_video_is_playing);
|
||||
ObjectTypeDB::bind_method(_MD("native_video_stop"),&_OS::native_video_stop);
|
||||
ObjectTypeDB::bind_method(_MD("native_video_pause"),&_OS::native_video_pause);
|
||||
|
|
|
@ -1390,11 +1390,11 @@ void Globals::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("localize_path","path"),&Globals::localize_path);
|
||||
ObjectTypeDB::bind_method(_MD("globalize_path","path"),&Globals::globalize_path);
|
||||
ObjectTypeDB::bind_method(_MD("save"),&Globals::save);
|
||||
ObjectTypeDB::bind_method(_MD("has_singleton"),&Globals::has_singleton);
|
||||
ObjectTypeDB::bind_method(_MD("get_singleton"),&Globals::get_singleton_object);
|
||||
ObjectTypeDB::bind_method(_MD("load_resource_pack"),&Globals::_load_resource_pack);
|
||||
ObjectTypeDB::bind_method(_MD("has_singleton","name"),&Globals::has_singleton);
|
||||
ObjectTypeDB::bind_method(_MD("get_singleton","name"),&Globals::get_singleton_object);
|
||||
ObjectTypeDB::bind_method(_MD("load_resource_pack","pack"),&Globals::_load_resource_pack);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("save_custom"),&Globals::_save_custom_bnd);
|
||||
ObjectTypeDB::bind_method(_MD("save_custom","file"),&Globals::_save_custom_bnd);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -736,7 +736,7 @@ void ConfigFile::_bind_methods(){
|
|||
ObjectTypeDB::bind_method(_MD("has_section_key","section","key"),&ConfigFile::has_section_key);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_sections"),&ConfigFile::_get_sections);
|
||||
ObjectTypeDB::bind_method(_MD("get_section_keys"),&ConfigFile::_get_section_keys);
|
||||
ObjectTypeDB::bind_method(_MD("get_section_keys","section"),&ConfigFile::_get_section_keys);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("load:Error","path"),&ConfigFile::load);
|
||||
ObjectTypeDB::bind_method(_MD("save:Error","path"),&ConfigFile::save);
|
||||
|
|
|
@ -385,15 +385,15 @@ void XMLParser::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_node_data"),&XMLParser::get_node_data);
|
||||
ObjectTypeDB::bind_method(_MD("get_node_offset"),&XMLParser::get_node_offset);
|
||||
ObjectTypeDB::bind_method(_MD("get_attribute_count"),&XMLParser::get_attribute_count);
|
||||
ObjectTypeDB::bind_method(_MD("get_attribute_name"),&XMLParser::get_attribute_name);
|
||||
ObjectTypeDB::bind_method(_MD("get_attribute_value"),(String (XMLParser::*)(int) const) &XMLParser::get_attribute_value);
|
||||
ObjectTypeDB::bind_method(_MD("has_attribute"),&XMLParser::has_attribute);
|
||||
ObjectTypeDB::bind_method(_MD("get_named_attribute_value"), (String (XMLParser::*)(const String&) const) &XMLParser::get_attribute_value);
|
||||
ObjectTypeDB::bind_method(_MD("get_named_attribute_value_safe"), &XMLParser::get_attribute_value_safe);
|
||||
ObjectTypeDB::bind_method(_MD("get_attribute_name","idx"),&XMLParser::get_attribute_name);
|
||||
ObjectTypeDB::bind_method(_MD("get_attribute_value","idx"),(String (XMLParser::*)(int) const) &XMLParser::get_attribute_value);
|
||||
ObjectTypeDB::bind_method(_MD("has_attribute","name"),&XMLParser::has_attribute);
|
||||
ObjectTypeDB::bind_method(_MD("get_named_attribute_value","name"), (String (XMLParser::*)(const String&) const) &XMLParser::get_attribute_value);
|
||||
ObjectTypeDB::bind_method(_MD("get_named_attribute_value_safe","name"), &XMLParser::get_attribute_value_safe);
|
||||
ObjectTypeDB::bind_method(_MD("is_empty"),&XMLParser::is_empty);
|
||||
ObjectTypeDB::bind_method(_MD("get_current_line"),&XMLParser::get_current_line);
|
||||
ObjectTypeDB::bind_method(_MD("skip_section"),&XMLParser::skip_section);
|
||||
ObjectTypeDB::bind_method(_MD("seek"),&XMLParser::seek);
|
||||
ObjectTypeDB::bind_method(_MD("seek","pos"),&XMLParser::seek);
|
||||
ObjectTypeDB::bind_method(_MD("open","file"),&XMLParser::open);
|
||||
ObjectTypeDB::bind_method(_MD("open_buffer","buffer"),&XMLParser::open_buffer);
|
||||
|
||||
|
|
|
@ -1550,7 +1550,7 @@ void Object::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get","property"),&Object::_get_bind);
|
||||
ObjectTypeDB::bind_method(_MD("get_property_list"),&Object::_get_property_list_bind);
|
||||
ObjectTypeDB::bind_method(_MD("get_method_list"),&Object::_get_method_list_bind);
|
||||
ObjectTypeDB::bind_method(_MD("notification","what"),&Object::notification,DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("notification","what","reversed"),&Object::notification,DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("get_instance_ID"),&Object::get_instance_ID);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_script","script:Script"),&Object::set_script);
|
||||
|
@ -1615,7 +1615,7 @@ void Object::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("callv:Variant","method","arg_array"),&Object::callv);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("has_method"),&Object::has_method);
|
||||
ObjectTypeDB::bind_method(_MD("has_method","method"),&Object::has_method);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_signal_list"),&Object::_get_signal_list);
|
||||
|
||||
|
|
|
@ -62,8 +62,8 @@ void Input::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_mouse_mode","mode"),&Input::set_mouse_mode);
|
||||
ObjectTypeDB::bind_method(_MD("get_mouse_mode"),&Input::get_mouse_mode);
|
||||
ObjectTypeDB::bind_method(_MD("warp_mouse_pos","to"),&Input::warp_mouse_pos);
|
||||
ObjectTypeDB::bind_method(_MD("action_press"),&Input::action_press);
|
||||
ObjectTypeDB::bind_method(_MD("action_release"),&Input::action_release);
|
||||
ObjectTypeDB::bind_method(_MD("action_press","action"),&Input::action_press);
|
||||
ObjectTypeDB::bind_method(_MD("action_release","action"),&Input::action_release);
|
||||
ObjectTypeDB::bind_method(_MD("set_custom_mouse_cursor","image:Texture","hotspot"),&Input::set_custom_mouse_cursor,DEFVAL(Vector2()));
|
||||
|
||||
BIND_CONSTANT( MOUSE_MODE_VISIBLE );
|
||||
|
|
|
@ -278,7 +278,7 @@ void Resource::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_import_metadata","metadata"),&Resource::set_import_metadata);
|
||||
ObjectTypeDB::bind_method(_MD("get_import_metadata"),&Resource::get_import_metadata);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("duplicate"),&Resource::duplicate,DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("duplicate","subresources"),&Resource::duplicate,DEFVAL(false));
|
||||
ADD_SIGNAL( MethodInfo("changed") );
|
||||
ADD_PROPERTY( PropertyInfo(Variant::STRING,"resource/path",PROPERTY_HINT_NONE,"",PROPERTY_USAGE_EDITOR ), _SCS("set_path"),_SCS("get_path"));
|
||||
ADD_PROPERTYNZ( PropertyInfo(Variant::STRING,"resource/name"), _SCS("set_name"),_SCS("get_name"));
|
||||
|
|
|
@ -670,10 +670,10 @@ void TranslationServer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_locale","locale"),&TranslationServer::set_locale);
|
||||
ObjectTypeDB::bind_method(_MD("get_locale"),&TranslationServer::get_locale);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("translate"),&TranslationServer::translate);
|
||||
ObjectTypeDB::bind_method(_MD("translate","message"),&TranslationServer::translate);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("add_translation"),&TranslationServer::add_translation);
|
||||
ObjectTypeDB::bind_method(_MD("remove_translation"),&TranslationServer::remove_translation);
|
||||
ObjectTypeDB::bind_method(_MD("add_translation","translation:Translation"),&TranslationServer::add_translation);
|
||||
ObjectTypeDB::bind_method(_MD("remove_translation","translation:Translation"),&TranslationServer::remove_translation);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("clear"),&TranslationServer::clear);
|
||||
|
||||
|
|
|
@ -4147,7 +4147,7 @@
|
|||
<method name="sample_set_data">
|
||||
<argument index="0" name="sample" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="RawArray">
|
||||
<argument index="1" name="data" type="RawArray">
|
||||
</argument>
|
||||
<description>
|
||||
Set the sample data for a given sample as an array of bytes. The length must be equal to the sample lenght expected in bytes or an error will be produced.
|
||||
|
@ -5960,7 +5960,7 @@
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_zoom">
|
||||
<argument index="0" name="arg0" type="Vector2">
|
||||
<argument index="0" name="zoom" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -6218,7 +6218,7 @@
|
|||
</argument>
|
||||
<argument index="1" name="pos" type="Vector2">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="Color">
|
||||
<argument index="2" name="modulate" type="Color" default="Color(1,1,1,1)">
|
||||
</argument>
|
||||
<description>
|
||||
Draw a texture at a given position.
|
||||
|
@ -7209,7 +7209,7 @@
|
|||
</description>
|
||||
<methods>
|
||||
<method name="set_build_mode">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="build_mode" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -7284,7 +7284,7 @@
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_build_mode">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="build_mode" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Set whether the polygon is to be a [ConvexPolygon2D] ([code]build_mode[/code]=0), or a [ConcavePolygon2D] ([code]build_mode[/code]=1).
|
||||
|
@ -7298,7 +7298,7 @@
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_trigger">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="trigger" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Set whether this polygon is a trigger. A trigger polygon detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked).
|
||||
|
@ -7338,7 +7338,7 @@
|
|||
</description>
|
||||
<methods>
|
||||
<method name="resource_changed">
|
||||
<argument index="0" name="arg0" type="Object">
|
||||
<argument index="0" name="resource" type="Object">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -7998,7 +7998,7 @@
|
|||
<method name="get_section_keys" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="section" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -9720,7 +9720,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_show_hidden_files">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="show" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -10313,6 +10313,12 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_length" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_autoplay">
|
||||
<argument index="0" name="enabled" type="bool">
|
||||
</argument>
|
||||
|
@ -10333,24 +10339,18 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_channel_volumeidx" qualifiers="const">
|
||||
<method name="get_channel_volume" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_length" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_channel_last_note_time" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -10737,7 +10737,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_show_hidden_files">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="show" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -11039,9 +11039,9 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<method name="get_kerning_pair" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="char_a" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="int">
|
||||
<argument index="1" name="char_b" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return a kerning pair as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character.
|
||||
|
@ -11829,7 +11829,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<method name="has_singleton" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -11837,7 +11837,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<method name="get_singleton" qualifiers="const">
|
||||
<return type="Object">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -11845,7 +11845,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<method name="load_resource_pack">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="pack" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -11853,7 +11853,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
<method name="save_custom">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="file" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -12369,7 +12369,7 @@ This approximation makes straight segments between each point, then subdivides t
|
|||
</description>
|
||||
</method>
|
||||
<method name="resource_changed">
|
||||
<argument index="0" name="arg0" type="Object">
|
||||
<argument index="0" name="resource" type="Object">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -13690,13 +13690,13 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="action_press">
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="action" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="action_release">
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="action" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -15781,7 +15781,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="get_parameter" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="variable" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -15797,7 +15797,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="get_color" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="color" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -17090,9 +17090,9 @@ returns:= "username=user&password=pass"
|
|||
</argument>
|
||||
<argument index="1" name="arrays" type="Array">
|
||||
</argument>
|
||||
<argument index="2" name="morph_arrays" type="Array">
|
||||
<argument index="2" name="morph_arrays" type="Array" default="Array()">
|
||||
</argument>
|
||||
<argument index="3" name="arg3" type="bool" default="Array()">
|
||||
<argument index="3" name="alphasort" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
Create a new surface ([method get_surface_count] that will become surf_idx for this.
|
||||
|
@ -17765,7 +17765,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_instance_count">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="count" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Set the amount of instnces that is going to be drawn. Changing this number will erase all the existing instance transform and color data.
|
||||
|
@ -17779,9 +17779,9 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_instance_transform">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="instance" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="Transform">
|
||||
<argument index="1" name="transform" type="Transform">
|
||||
</argument>
|
||||
<description>
|
||||
Set the transform for a specific instance.
|
||||
|
@ -17790,16 +17790,16 @@ returns:= "username=user&password=pass"
|
|||
<method name="get_instance_transform" qualifiers="const">
|
||||
<return type="Transform">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="instance" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the transform of a specific instance.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_instance_color">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="instance" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="Color">
|
||||
<argument index="1" name="color" type="Color">
|
||||
</argument>
|
||||
<description>
|
||||
Set the color of a specific instance.
|
||||
|
@ -17808,14 +17808,14 @@ returns:= "username=user&password=pass"
|
|||
<method name="get_instance_color" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="instance" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Get the color of a specific instance.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_aabb">
|
||||
<argument index="0" name="arg0" type="AABB">
|
||||
<argument index="0" name="visibility_aabb" type="AABB">
|
||||
</argument>
|
||||
<description>
|
||||
Set the visibility AABB. If not provided, MultiMesh will not be visible.
|
||||
|
@ -18662,7 +18662,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="add_to_group">
|
||||
<argument index="0" name="group" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="bool" default="false">
|
||||
<argument index="1" name="persistent" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
Add a node to a group. Groups are helpers to name and organize group of nodes, like for example: "Enemies", "Collectables", etc. A [Node] can be in any number of groups. Nodes can be assigned a group at any time, but will not be added to it until they are inside the scene tree (see [method is_inside_scene]).
|
||||
|
@ -19113,7 +19113,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="edit_set_pivot">
|
||||
<argument index="0" name="arg0" type="Vector2">
|
||||
<argument index="0" name="pivot" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -19121,7 +19121,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="get_relative_transform" qualifiers="const">
|
||||
<return type="Matrix32">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="Object">
|
||||
<argument index="0" name="parent" type="Object">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -19590,7 +19590,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_icon">
|
||||
<argument index="0" name="arg0" type="Image">
|
||||
<argument index="0" name="icon" type="Image">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -19755,7 +19755,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="print_resources_by_type">
|
||||
<argument index="0" name="arg0" type="StringArray">
|
||||
<argument index="0" name="types" type="StringArray">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -19763,13 +19763,13 @@ returns:= "username=user&password=pass"
|
|||
<method name="native_video_play">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="path" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="float">
|
||||
<argument index="1" name="volume" type="float">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="String">
|
||||
<argument index="2" name="audio_track" type="String">
|
||||
</argument>
|
||||
<argument index="3" name="arg3" type="String">
|
||||
<argument index="3" name="subtitle_track" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -19996,7 +19996,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="notification">
|
||||
<argument index="0" name="what" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="bool" default="false">
|
||||
<argument index="1" name="reversed" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
Notify the object of something.
|
||||
|
@ -20146,7 +20146,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="has_method" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="method" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -20474,7 +20474,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="select">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Select an item by index and make it the current item.
|
||||
|
@ -20573,7 +20573,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="flush">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="verbose" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -20910,7 +20910,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_ignore_camera_zoom">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="ignore" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -21173,7 +21173,7 @@ returns:= "username=user&password=pass"
|
|||
<method name="get_randomness" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="variable" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the randomness for a specific variable of the particle system. Randomness produces small changes from the default each time a particle is emitted.
|
||||
|
@ -21230,7 +21230,7 @@ returns:= "username=user&password=pass"
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_emit_timeout">
|
||||
<argument index="0" name="arg0" type="float">
|
||||
<argument index="0" name="timeout" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -22742,11 +22742,11 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="area_set_monitor_callback">
|
||||
<argument index="0" name="receiver" type="RID">
|
||||
<argument index="0" name="area" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="method" type="Object">
|
||||
<argument index="1" name="receiver" type="Object">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="String">
|
||||
<argument index="2" name="method" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -23056,9 +23056,9 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="body_set_one_way_collision_direction">
|
||||
<argument index="0" name="normal" type="RID">
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="Vector2">
|
||||
<argument index="1" name="normal" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -23066,15 +23066,15 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="body_get_one_way_collision_direction" qualifiers="const">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="RID">
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="body_set_one_way_collision_max_depth">
|
||||
<argument index="0" name="normal" type="RID">
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="float">
|
||||
<argument index="1" name="depth" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -23082,7 +23082,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="body_get_one_way_collision_max_depth" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="RID">
|
||||
<argument index="0" name="body" type="RID">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -23110,7 +23110,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="2" name="method" type="String">
|
||||
</argument>
|
||||
<argument index="3" name="arg3" type="var">
|
||||
<argument index="3" name="userdata" type="var" default="NULL">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -23234,7 +23234,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_process_info">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="process_info" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -24259,11 +24259,11 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="area_set_monitor_callback">
|
||||
<argument index="0" name="receiver" type="RID">
|
||||
<argument index="0" name="area" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="method" type="Object">
|
||||
<argument index="1" name="receiver" type="Object">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="String">
|
||||
<argument index="2" name="method" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -24867,7 +24867,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_process_info">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="process_info" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -25858,7 +25858,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="set_item_checked">
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="bool">
|
||||
<argument index="1" name="checked" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Set the checkstate status of the item at index "idx".
|
||||
|
@ -26546,12 +26546,6 @@ This method controls whether the position between two cached points is interpola
|
|||
Return value mapped to 0 to 1 (unit) range.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_rounded_values" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_val">
|
||||
<argument index="0" name="value" type="float">
|
||||
</argument>
|
||||
|
@ -26599,11 +26593,17 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_rounded_values">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="enabled" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_rounded_values" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_exp_unit_value">
|
||||
<argument index="0" name="enabled" type="bool">
|
||||
</argument>
|
||||
|
@ -27403,7 +27403,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="duplicate">
|
||||
<return type="Object">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="bool" default="false">
|
||||
<argument index="0" name="subresources" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -27592,7 +27592,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_dependencies">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="path" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -27600,7 +27600,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="has">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="path" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -27686,7 +27686,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="1" name="resource" type="Resource">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="int" default="0">
|
||||
<argument index="2" name="flags" type="int" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
Save a resource to disk, to a given path.
|
||||
|
@ -27792,7 +27792,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="1" name="expand" type="bool">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="int">
|
||||
<argument index="2" name="ratio" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -27852,7 +27852,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="scroll_to_line">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="line" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -29578,7 +29578,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_nodes_in_group">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="group" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -30183,13 +30183,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="scalar_const_node_get_value">
|
||||
<method name="scalar_const_node_get_value" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
@ -30203,13 +30203,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="vec_const_node_get_value">
|
||||
<method name="vec_const_node_get_value" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
@ -30223,13 +30223,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="rgb_const_node_get_value">
|
||||
<method name="rgb_const_node_get_value" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="Color">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
@ -30243,13 +30243,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="xform_const_node_get_value">
|
||||
<method name="xform_const_node_get_value" qualifiers="const">
|
||||
<return type="Transform">
|
||||
</return>
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="Transform">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
@ -30263,13 +30263,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="texture_node_get_filter_size">
|
||||
<method name="texture_node_get_filter_size" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
@ -30283,13 +30283,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="texture_node_get_filter_strength">
|
||||
<method name="texture_node_get_filter_strength" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="float">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
@ -31927,7 +31927,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="play">
|
||||
<argument index="0" name="arg0" type="float" default="0">
|
||||
<argument index="0" name="offset" type="float" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -33159,7 +33159,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="play">
|
||||
<argument index="0" name="arg0" type="float" default="0">
|
||||
<argument index="0" name="offset" type="float" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -33838,9 +33838,9 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="draw" qualifiers="const">
|
||||
<argument index="0" name="arg0" type="RID">
|
||||
<argument index="0" name="canvas_item" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="Rect2">
|
||||
<argument index="1" name="rect" type="Rect2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -33993,7 +33993,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_expand_margin_size" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="margin" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the expand margin size (from enum MARGIN_*). Parts of the image below the size of the margin (and in the direction of the margin) will not expand.
|
||||
|
@ -34034,7 +34034,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_margin_size" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="margin" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -34050,7 +34050,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_expand_margin_size" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="margin" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -34592,7 +34592,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_line" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="line" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the text of a specific line.
|
||||
|
@ -34601,7 +34601,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="cursor_set_column">
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="bool">
|
||||
<argument index="1" name="adjust_viewport" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -34609,7 +34609,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="cursor_set_line">
|
||||
<argument index="0" name="line" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="bool">
|
||||
<argument index="1" name="adjust_viewport" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -34951,7 +34951,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="2" name="modulate" type="Color" default="Color(1,1,1,1)">
|
||||
</argument>
|
||||
<argument index="3" name="arg3" type="bool" default="false">
|
||||
<argument index="3" name="transpose" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -34965,7 +34965,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)">
|
||||
</argument>
|
||||
<argument index="4" name="arg4" type="bool" default="false">
|
||||
<argument index="4" name="transpose" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -34979,7 +34979,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)">
|
||||
</argument>
|
||||
<argument index="4" name="arg4" type="bool" default="false">
|
||||
<argument index="4" name="transpose" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -35324,7 +35324,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_icon_list" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="type" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -35370,7 +35370,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_stylebox_list" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="type" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -35416,7 +35416,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_font_list" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="type" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -35462,7 +35462,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_color_list" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="type" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -35508,7 +35508,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_constant_list" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="type" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -35528,7 +35528,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_type_list" qualifiers="const">
|
||||
<return type="StringArray">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="type" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -36700,19 +36700,19 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="translate" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="message" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_translation">
|
||||
<argument index="0" name="arg0" type="Object">
|
||||
<argument index="0" name="translation" type="Translation">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_translation">
|
||||
<argument index="0" name="arg0" type="Object">
|
||||
<argument index="0" name="translation" type="Translation">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -36750,17 +36750,17 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_column_min_width">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="int">
|
||||
<argument index="1" name="min_width" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_column_expand">
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="arg1" type="bool">
|
||||
<argument index="1" name="expand" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -36768,13 +36768,13 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_column_width" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_hide_root">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
<argument index="0" name="enable" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -37334,7 +37334,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</argument>
|
||||
<argument index="1" name="button" type="Texture">
|
||||
</argument>
|
||||
<argument index="2" name="arg2" type="int">
|
||||
<argument index="2" name="button_idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -39232,7 +39232,7 @@ This method controls whether the position between two cached points is interpola
|
|||
</description>
|
||||
</method>
|
||||
<method name="set_render_target_to_screen_rect">
|
||||
<argument index="0" name="arg0" type="Rect2">
|
||||
<argument index="0" name="rect" type="Rect2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -41370,7 +41370,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_attribute_name" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -41378,7 +41378,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_attribute_value" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -41386,7 +41386,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="has_attribute" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -41394,7 +41394,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_named_attribute_value" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -41402,7 +41402,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="get_named_attribute_value_safe" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="String">
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -41426,7 +41426,7 @@ This method controls whether the position between two cached points is interpola
|
|||
<method name="seek">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="int">
|
||||
<argument index="0" name="pos" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
|
|
@ -1096,7 +1096,7 @@ void GridMap::_bind_methods() {
|
|||
|
||||
// ObjectTypeDB::bind_method(_MD("_recreate_octants"),&GridMap::_recreate_octants);
|
||||
ObjectTypeDB::bind_method(_MD("_update_dirty_map_callback"),&GridMap::_update_dirty_map_callback);
|
||||
ObjectTypeDB::bind_method(_MD("resource_changed"),&GridMap::resource_changed);
|
||||
ObjectTypeDB::bind_method(_MD("resource_changed","resource"),&GridMap::resource_changed);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_center_x","enable"),&GridMap::set_center_x);
|
||||
ObjectTypeDB::bind_method(_MD("get_center_x"),&GridMap::get_center_x);
|
||||
|
|
|
@ -503,7 +503,7 @@ void Camera2D::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_camera_pos"),&Camera2D::get_camera_pos);
|
||||
ObjectTypeDB::bind_method(_MD("get_camera_screen_center"),&Camera2D::get_camera_screen_center);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_zoom"),&Camera2D::set_zoom);
|
||||
ObjectTypeDB::bind_method(_MD("set_zoom","zoom"),&Camera2D::set_zoom);
|
||||
ObjectTypeDB::bind_method(_MD("get_zoom"),&Camera2D::get_zoom);
|
||||
|
||||
|
||||
|
|
|
@ -1080,7 +1080,7 @@ void CanvasItem::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("draw_line","from","to","color","width"),&CanvasItem::draw_line,DEFVAL(1.0));
|
||||
ObjectTypeDB::bind_method(_MD("draw_rect","rect","color"),&CanvasItem::draw_rect);
|
||||
ObjectTypeDB::bind_method(_MD("draw_circle","pos","radius","color"),&CanvasItem::draw_circle);
|
||||
ObjectTypeDB::bind_method(_MD("draw_texture","texture:Texture","pos"),&CanvasItem::draw_texture);
|
||||
ObjectTypeDB::bind_method(_MD("draw_texture","texture:Texture","pos","modulate"),&CanvasItem::draw_texture,DEFVAL(Color(1,1,1,1)));
|
||||
ObjectTypeDB::bind_method(_MD("draw_texture_rect","texture:Texture","rect","tile","modulate","transpose"),&CanvasItem::draw_texture_rect,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw_texture_rect_region","texture:Texture","rect","src_rect","modulate","transpose"),&CanvasItem::draw_texture_rect_region,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw_style_box","style_box:StyleBox","rect"),&CanvasItem::draw_style_box);
|
||||
|
|
|
@ -257,10 +257,10 @@ void CollisionPolygon2D::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_polygon","polygon"),&CollisionPolygon2D::set_polygon);
|
||||
ObjectTypeDB::bind_method(_MD("get_polygon"),&CollisionPolygon2D::get_polygon);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_build_mode"),&CollisionPolygon2D::set_build_mode);
|
||||
ObjectTypeDB::bind_method(_MD("set_build_mode","build_mode"),&CollisionPolygon2D::set_build_mode);
|
||||
ObjectTypeDB::bind_method(_MD("get_build_mode"),&CollisionPolygon2D::get_build_mode);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_trigger"),&CollisionPolygon2D::set_trigger);
|
||||
ObjectTypeDB::bind_method(_MD("set_trigger","trigger"),&CollisionPolygon2D::set_trigger);
|
||||
ObjectTypeDB::bind_method(_MD("is_trigger"),&CollisionPolygon2D::is_trigger);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("_set_shape_range","shape_range"),&CollisionPolygon2D::_set_shape_range);
|
||||
|
|
|
@ -394,9 +394,9 @@ void Node2D::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_z_as_relative","enable"),&Node2D::set_z_as_relative);
|
||||
ObjectTypeDB::bind_method(_MD("is_z_relative"),&Node2D::is_z_relative);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("edit_set_pivot"),&Node2D::edit_set_pivot);
|
||||
ObjectTypeDB::bind_method(_MD("edit_set_pivot","pivot"),&Node2D::edit_set_pivot);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_relative_transform"),&Node2D::get_relative_transform);
|
||||
ObjectTypeDB::bind_method(_MD("get_relative_transform","parent"),&Node2D::get_relative_transform);
|
||||
|
||||
ADD_PROPERTYNZ(PropertyInfo(Variant::VECTOR2,"transform/pos"),_SCS("set_pos"),_SCS("get_pos"));
|
||||
ADD_PROPERTYNZ(PropertyInfo(Variant::REAL,"transform/rot",PROPERTY_HINT_RANGE,"-1440,1440,0.1"),_SCS("_set_rotd"),_SCS("_get_rotd"));
|
||||
|
|
|
@ -193,7 +193,7 @@ void ParallaxBackground::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_limit_begin"),&ParallaxBackground::get_limit_begin);
|
||||
ObjectTypeDB::bind_method(_MD("set_limit_end","ofs"),&ParallaxBackground::set_limit_end);
|
||||
ObjectTypeDB::bind_method(_MD("get_limit_end"),&ParallaxBackground::get_limit_end);
|
||||
ObjectTypeDB::bind_method(_MD("set_ignore_camera_zoom"), &ParallaxBackground::set_ignore_camera_zoom);
|
||||
ObjectTypeDB::bind_method(_MD("set_ignore_camera_zoom","ignore"), &ParallaxBackground::set_ignore_camera_zoom);
|
||||
ObjectTypeDB::bind_method(_MD("is_ignore_camera_zoom"), &ParallaxBackground::is_ignore_camera_zoom);
|
||||
|
||||
|
||||
|
|
|
@ -402,7 +402,7 @@ int CollisionShape::_get_update_shape_index() const{
|
|||
void CollisionShape::_bind_methods() {
|
||||
|
||||
//not sure if this should do anything
|
||||
ObjectTypeDB::bind_method(_MD("resource_changed"),&CollisionShape::resource_changed);
|
||||
ObjectTypeDB::bind_method(_MD("resource_changed","resource"),&CollisionShape::resource_changed);
|
||||
ObjectTypeDB::bind_method(_MD("set_shape","shape"),&CollisionShape::set_shape);
|
||||
ObjectTypeDB::bind_method(_MD("get_shape"),&CollisionShape::get_shape);
|
||||
ObjectTypeDB::bind_method(_MD("_add_to_collision_object"),&CollisionShape::_add_to_collision_object);
|
||||
|
|
|
@ -236,7 +236,7 @@ void CollisionPolygon::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("_add_to_collision_object"),&CollisionPolygon::_add_to_collision_object);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_build_mode"),&CollisionPolygon::set_build_mode);
|
||||
ObjectTypeDB::bind_method(_MD("set_build_mode","build_mode"),&CollisionPolygon::set_build_mode);
|
||||
ObjectTypeDB::bind_method(_MD("get_build_mode"),&CollisionPolygon::get_build_mode);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_depth","depth"),&CollisionPolygon::set_depth);
|
||||
|
|
|
@ -487,9 +487,9 @@ bool Light::is_editor_only() const{
|
|||
void Light::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_parameter","variable","value"), &Light::set_parameter );
|
||||
ObjectTypeDB::bind_method(_MD("get_parameter"), &Light::get_parameter );
|
||||
ObjectTypeDB::bind_method(_MD("get_parameter","variable"), &Light::get_parameter );
|
||||
ObjectTypeDB::bind_method(_MD("set_color","color","value"), &Light::set_color );
|
||||
ObjectTypeDB::bind_method(_MD("get_color"), &Light::get_color );
|
||||
ObjectTypeDB::bind_method(_MD("get_color","color"), &Light::get_color );
|
||||
ObjectTypeDB::bind_method(_MD("set_project_shadows","enable"), &Light::set_project_shadows );
|
||||
ObjectTypeDB::bind_method(_MD("has_project_shadows"), &Light::has_project_shadows );
|
||||
ObjectTypeDB::bind_method(_MD("set_projector","projector:Texture"), &Light::set_projector );
|
||||
|
|
|
@ -422,14 +422,14 @@ void Particles::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_variable","variable","value"),&Particles::set_variable);
|
||||
ObjectTypeDB::bind_method(_MD("get_variable","variable"),&Particles::get_variable);
|
||||
ObjectTypeDB::bind_method(_MD("set_randomness","variable","randomness"),&Particles::set_randomness);
|
||||
ObjectTypeDB::bind_method(_MD("get_randomness"),&Particles::get_randomness);
|
||||
ObjectTypeDB::bind_method(_MD("get_randomness","variable"),&Particles::get_randomness);
|
||||
ObjectTypeDB::bind_method(_MD("set_color_phase_pos","phase","pos"),&Particles::set_color_phase_pos);
|
||||
ObjectTypeDB::bind_method(_MD("get_color_phase_pos","phase"),&Particles::get_color_phase_pos);
|
||||
ObjectTypeDB::bind_method(_MD("set_color_phase_color","phase","color"),&Particles::set_color_phase_color);
|
||||
ObjectTypeDB::bind_method(_MD("get_color_phase_color","phase"),&Particles::get_color_phase_color);
|
||||
ObjectTypeDB::bind_method(_MD("set_material","material:Material"),&Particles::set_material);
|
||||
ObjectTypeDB::bind_method(_MD("get_material:Material"),&Particles::get_material);
|
||||
ObjectTypeDB::bind_method(_MD("set_emit_timeout"),&Particles::set_emit_timeout);
|
||||
ObjectTypeDB::bind_method(_MD("set_emit_timeout","timeout"),&Particles::set_emit_timeout);
|
||||
ObjectTypeDB::bind_method(_MD("get_emit_timeout"),&Particles::get_emit_timeout);
|
||||
ObjectTypeDB::bind_method(_MD("set_height_from_velocity","enable"),&Particles::set_height_from_velocity);
|
||||
ObjectTypeDB::bind_method(_MD("has_height_from_velocity"),&Particles::has_height_from_velocity);
|
||||
|
|
|
@ -332,7 +332,7 @@ void SpatialStreamPlayer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&SpatialStreamPlayer::set_stream);
|
||||
ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&SpatialStreamPlayer::get_stream);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("play"),&SpatialStreamPlayer::play,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("play","offset"),&SpatialStreamPlayer::play,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("stop"),&SpatialStreamPlayer::stop);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("is_playing"),&SpatialStreamPlayer::is_playing);
|
||||
|
|
|
@ -312,16 +312,14 @@ void EventPlayer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_pos"),&EventPlayer::get_pos);
|
||||
ObjectTypeDB::bind_method(_MD("seek_pos","time"),&EventPlayer::seek_pos);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_length"),&EventPlayer::get_length);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_autoplay","enabled"),&EventPlayer::set_autoplay);
|
||||
ObjectTypeDB::bind_method(_MD("has_autoplay"),&EventPlayer::has_autoplay);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_channel_volume","idx","channel_volume"),&EventPlayer::set_channel_volume);
|
||||
ObjectTypeDB::bind_method(_MD("get_channel_volume""idx"),&EventPlayer::get_channel_volume);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_length"),&EventPlayer::get_length);
|
||||
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_channel_last_note_time"),&EventPlayer::get_channel_last_note_time);
|
||||
ObjectTypeDB::bind_method(_MD("get_channel_volume","idx"),&EventPlayer::get_channel_volume);
|
||||
ObjectTypeDB::bind_method(_MD("get_channel_last_note_time","idx"),&EventPlayer::get_channel_last_note_time);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("_set_play","play"),&EventPlayer::_set_play);
|
||||
ObjectTypeDB::bind_method(_MD("_get_play"),&EventPlayer::_get_play);
|
||||
|
|
|
@ -333,7 +333,7 @@ void StreamPlayer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&StreamPlayer::set_stream);
|
||||
ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&StreamPlayer::get_stream);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("play"),&StreamPlayer::play,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("play","offset"),&StreamPlayer::play,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("stop"),&StreamPlayer::stop);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("is_playing"),&StreamPlayer::is_playing);
|
||||
|
|
|
@ -650,7 +650,7 @@ void FileDialog::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_vbox:VBoxContainer"),&FileDialog::get_vbox);
|
||||
ObjectTypeDB::bind_method(_MD("set_access","access"),&FileDialog::set_access);
|
||||
ObjectTypeDB::bind_method(_MD("get_access"),&FileDialog::get_access);
|
||||
ObjectTypeDB::bind_method(_MD("set_show_hidden_files"),&FileDialog::set_show_hidden_files);
|
||||
ObjectTypeDB::bind_method(_MD("set_show_hidden_files","show"),&FileDialog::set_show_hidden_files);
|
||||
ObjectTypeDB::bind_method(_MD("is_showing_hidden_files"),&FileDialog::is_showing_hidden_files);
|
||||
ObjectTypeDB::bind_method(_MD("_select_drive"),&FileDialog::_select_drive);
|
||||
ObjectTypeDB::bind_method(_MD("_make_dir"),&FileDialog::_make_dir);
|
||||
|
|
|
@ -304,7 +304,7 @@ void OptionButton::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_item_count"),&OptionButton::get_item_count);
|
||||
ObjectTypeDB::bind_method(_MD("add_separator"),&OptionButton::add_separator);
|
||||
ObjectTypeDB::bind_method(_MD("clear"),&OptionButton::clear);
|
||||
ObjectTypeDB::bind_method(_MD("select"),&OptionButton::select);
|
||||
ObjectTypeDB::bind_method(_MD("select","idx"),&OptionButton::select);
|
||||
ObjectTypeDB::bind_method(_MD("get_selected"),&OptionButton::get_selected);
|
||||
ObjectTypeDB::bind_method(_MD("get_selected_ID"),&OptionButton::get_selected_ID);
|
||||
ObjectTypeDB::bind_method(_MD("get_selected_metadata"),&OptionButton::get_selected_metadata);
|
||||
|
|
|
@ -898,7 +898,7 @@ void PopupMenu::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_item_icon","idx","icon"),&PopupMenu::set_item_icon);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_accelerator","idx","accel"),&PopupMenu::set_item_accelerator);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_metadata","idx","metadata"),&PopupMenu::set_item_metadata);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_checked","idx"),&PopupMenu::set_item_checked);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_checked","idx","checked"),&PopupMenu::set_item_checked);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_disabled","idx","disabled"),&PopupMenu::set_item_disabled);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_submenu","idx","submenu"),&PopupMenu::set_item_submenu);
|
||||
ObjectTypeDB::bind_method(_MD("set_item_as_separator","idx","enable"),&PopupMenu::set_item_as_separator);
|
||||
|
|
|
@ -1939,7 +1939,7 @@ void RichTextLabel::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("push_meta","data"),&RichTextLabel::push_meta);
|
||||
ObjectTypeDB::bind_method(_MD("push_underline"),&RichTextLabel::push_underline);
|
||||
ObjectTypeDB::bind_method(_MD("push_table","columns"),&RichTextLabel::push_table);
|
||||
ObjectTypeDB::bind_method(_MD("set_table_column_expand","column","expand"),&RichTextLabel::set_table_column_expand);
|
||||
ObjectTypeDB::bind_method(_MD("set_table_column_expand","column","expand","ratio"),&RichTextLabel::set_table_column_expand);
|
||||
ObjectTypeDB::bind_method(_MD("push_cell"),&RichTextLabel::push_cell);
|
||||
ObjectTypeDB::bind_method(_MD("pop"),&RichTextLabel::pop);
|
||||
|
||||
|
@ -1956,7 +1956,7 @@ void RichTextLabel::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("get_v_scroll"),&RichTextLabel::get_v_scroll);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("scroll_to_line"),&RichTextLabel::scroll_to_line);
|
||||
ObjectTypeDB::bind_method(_MD("scroll_to_line","line"),&RichTextLabel::scroll_to_line);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_tab_size","spaces"),&RichTextLabel::set_tab_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_tab_size"),&RichTextLabel::get_tab_size);
|
||||
|
|
|
@ -3742,10 +3742,10 @@ void TextEdit::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("get_line_count"),&TextEdit::get_line_count);
|
||||
ObjectTypeDB::bind_method(_MD("get_text"),&TextEdit::get_text);
|
||||
ObjectTypeDB::bind_method(_MD("get_line"),&TextEdit::get_line);
|
||||
ObjectTypeDB::bind_method(_MD("get_line","line"),&TextEdit::get_line);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("cursor_set_column","column"),&TextEdit::cursor_set_column);
|
||||
ObjectTypeDB::bind_method(_MD("cursor_set_line","line"),&TextEdit::cursor_set_line);
|
||||
ObjectTypeDB::bind_method(_MD("cursor_set_column","column","adjust_viewport"),&TextEdit::cursor_set_column,DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("cursor_set_line","line","adjust_viewport"),&TextEdit::cursor_set_line,DEFVAL(false));
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("cursor_get_column"),&TextEdit::cursor_get_column);
|
||||
ObjectTypeDB::bind_method(_MD("cursor_get_line"),&TextEdit::cursor_get_line);
|
||||
|
|
|
@ -672,7 +672,7 @@ void TreeItem::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("clear_custom_bg_color","column"),&TreeItem::clear_custom_bg_color);
|
||||
ObjectTypeDB::bind_method(_MD("get_custom_bg_color","column"),&TreeItem::get_custom_bg_color);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("add_button","column","button:Texture"),&TreeItem::add_button);
|
||||
ObjectTypeDB::bind_method(_MD("add_button","column","button:Texture","button_idx"),&TreeItem::add_button);
|
||||
ObjectTypeDB::bind_method(_MD("get_button_count","column"),&TreeItem::get_button_count);
|
||||
ObjectTypeDB::bind_method(_MD("get_button:Texture","column","button_idx"),&TreeItem::get_button);
|
||||
ObjectTypeDB::bind_method(_MD("erase_button","column","button_idx"),&TreeItem::erase_button);
|
||||
|
@ -3193,11 +3193,11 @@ void Tree::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("create_item:TreeItem","parent:TreeItem"),&Tree::_create_item,DEFVAL((Object*)NULL));
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_root:TreeItem"),&Tree::get_root);
|
||||
ObjectTypeDB::bind_method(_MD("set_column_min_width"),&Tree::set_column_min_width);
|
||||
ObjectTypeDB::bind_method(_MD("set_column_expand"),&Tree::set_column_expand);
|
||||
ObjectTypeDB::bind_method(_MD("get_column_width"),&Tree::get_column_width);
|
||||
ObjectTypeDB::bind_method(_MD("set_column_min_width","column","min_width"),&Tree::set_column_min_width);
|
||||
ObjectTypeDB::bind_method(_MD("set_column_expand","column","expand"),&Tree::set_column_expand);
|
||||
ObjectTypeDB::bind_method(_MD("get_column_width","column"),&Tree::get_column_width);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_hide_root"),&Tree::set_hide_root);
|
||||
ObjectTypeDB::bind_method(_MD("set_hide_root","enable"),&Tree::set_hide_root);
|
||||
ObjectTypeDB::bind_method(_MD("get_next_selected:TreeItem","from:TreeItem"),&Tree::_get_next_selected);
|
||||
ObjectTypeDB::bind_method(_MD("get_selected:TreeItem"),&Tree::get_selected);
|
||||
ObjectTypeDB::bind_method(_MD("get_selected_column"),&Tree::get_selected_column);
|
||||
|
|
|
@ -2001,7 +2001,7 @@ void Node::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("is_greater_than","node:Node"),&Node::is_greater_than);
|
||||
ObjectTypeDB::bind_method(_MD("get_path"),&Node::get_path);
|
||||
ObjectTypeDB::bind_method(_MD("get_path_to","node:Node"),&Node::get_path_to);
|
||||
ObjectTypeDB::bind_method(_MD("add_to_group","group"),&Node::add_to_group,DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("add_to_group","group","persistent"),&Node::add_to_group,DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("remove_from_group","group"),&Node::remove_from_group);
|
||||
ObjectTypeDB::bind_method(_MD("is_in_group","group"),&Node::is_in_group);
|
||||
ObjectTypeDB::bind_method(_MD("move_child","child_node:Node","to_pos"),&Node::move_child);
|
||||
|
|
|
@ -1586,7 +1586,7 @@ void SceneTree::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("notify_group","call_flags","group","notification"),&SceneTree::notify_group);
|
||||
ObjectTypeDB::bind_method(_MD("set_group","call_flags","group","property","value"),&SceneTree::set_group);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_nodes_in_group"),&SceneTree::_get_nodes_in_group);
|
||||
ObjectTypeDB::bind_method(_MD("get_nodes_in_group","group"),&SceneTree::_get_nodes_in_group);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_root:Viewport"),&SceneTree::get_root);
|
||||
|
||||
|
|
|
@ -1456,7 +1456,7 @@ void Viewport::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("set_as_audio_listener_2d","enable"), &Viewport::set_as_audio_listener_2d);
|
||||
ObjectTypeDB::bind_method(_MD("is_audio_listener_2d","enable"), &Viewport::is_audio_listener_2d);
|
||||
ObjectTypeDB::bind_method(_MD("set_render_target_to_screen_rect"), &Viewport::set_render_target_to_screen_rect);
|
||||
ObjectTypeDB::bind_method(_MD("set_render_target_to_screen_rect","rect"), &Viewport::set_render_target_to_screen_rect);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_mouse_pos"), &Viewport::get_mouse_pos);
|
||||
ObjectTypeDB::bind_method(_MD("warp_mouse","to_pos"), &Viewport::warp_mouse);
|
||||
|
|
|
@ -517,7 +517,7 @@ void Font::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_descent"),&Font::get_descent);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("add_kerning_pair","char_a","char_b","kerning"),&Font::add_kerning_pair);
|
||||
ObjectTypeDB::bind_method(_MD("get_kerning_pair"),&Font::get_kerning_pair);
|
||||
ObjectTypeDB::bind_method(_MD("get_kerning_pair","char_a","char_b"),&Font::get_kerning_pair);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("add_texture","texture:Texture"),&Font::add_texture);
|
||||
ObjectTypeDB::bind_method(_MD("add_char","character","texture","rect","align","advance"),&Font::add_char,DEFVAL(Point2()),DEFVAL(-1));
|
||||
|
|
|
@ -971,7 +971,7 @@ void Mesh::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_morph_target_mode","mode"),&Mesh::set_morph_target_mode);
|
||||
ObjectTypeDB::bind_method(_MD("get_morph_target_mode"),&Mesh::get_morph_target_mode);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("add_surface","primitive","arrays","morph_arrays"),&Mesh::add_surface,DEFVAL(Array()));
|
||||
ObjectTypeDB::bind_method(_MD("add_surface","primitive","arrays","morph_arrays","alphasort"),&Mesh::add_surface,DEFVAL(Array()),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("get_surface_count"),&Mesh::get_surface_count);
|
||||
ObjectTypeDB::bind_method(_MD("surface_remove","surf_idx"),&Mesh::surface_remove);
|
||||
ObjectTypeDB::bind_method(_MD("surface_get_array_len","surf_idx"),&Mesh::surface_get_array_len);
|
||||
|
|
|
@ -224,13 +224,13 @@ void MultiMesh::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("set_mesh","mesh:Mesh"),&MultiMesh::set_mesh);
|
||||
ObjectTypeDB::bind_method(_MD("get_mesh:Mesh"),&MultiMesh::get_mesh);
|
||||
ObjectTypeDB::bind_method(_MD("set_instance_count"),&MultiMesh::set_instance_count);
|
||||
ObjectTypeDB::bind_method(_MD("set_instance_count","count"),&MultiMesh::set_instance_count);
|
||||
ObjectTypeDB::bind_method(_MD("get_instance_count"),&MultiMesh::get_instance_count);
|
||||
ObjectTypeDB::bind_method(_MD("set_instance_transform"),&MultiMesh::set_instance_transform);
|
||||
ObjectTypeDB::bind_method(_MD("get_instance_transform"),&MultiMesh::get_instance_transform);
|
||||
ObjectTypeDB::bind_method(_MD("set_instance_color"),&MultiMesh::set_instance_color);
|
||||
ObjectTypeDB::bind_method(_MD("get_instance_color"),&MultiMesh::get_instance_color);
|
||||
ObjectTypeDB::bind_method(_MD("set_aabb"),&MultiMesh::set_aabb);
|
||||
ObjectTypeDB::bind_method(_MD("set_instance_transform","instance","transform"),&MultiMesh::set_instance_transform);
|
||||
ObjectTypeDB::bind_method(_MD("get_instance_transform","instance"),&MultiMesh::get_instance_transform);
|
||||
ObjectTypeDB::bind_method(_MD("set_instance_color","instance","color"),&MultiMesh::set_instance_color);
|
||||
ObjectTypeDB::bind_method(_MD("get_instance_color","instance"),&MultiMesh::get_instance_color);
|
||||
ObjectTypeDB::bind_method(_MD("set_aabb","visibility_aabb"),&MultiMesh::set_aabb);
|
||||
ObjectTypeDB::bind_method(_MD("get_aabb"),&MultiMesh::get_aabb);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("generate_aabb"),&MultiMesh::generate_aabb);
|
||||
|
|
|
@ -83,7 +83,7 @@ void StyleBox::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_center_size"),&StyleBox::get_center_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_offset"),&StyleBox::get_offset);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("draw"),&StyleBox::draw);
|
||||
ObjectTypeDB::bind_method(_MD("draw","canvas_item","rect"),&StyleBox::draw);
|
||||
|
||||
ADD_PROPERTYI( PropertyInfo( Variant::REAL, "content_margin/left", PROPERTY_HINT_RANGE,"-1,2048,1" ), _SCS("set_default_margin"),_SCS("get_default_margin"), MARGIN_LEFT );
|
||||
ADD_PROPERTYI( PropertyInfo( Variant::REAL, "content_margin/right", PROPERTY_HINT_RANGE,"-1,2048,1" ), _SCS("set_default_margin"),_SCS("get_default_margin"), MARGIN_RIGHT );
|
||||
|
@ -182,10 +182,10 @@ void StyleBoxTexture::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_texture:Texture"),&StyleBoxTexture::get_texture);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_margin_size","margin","size"),&StyleBoxTexture::set_margin_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_margin_size"),&StyleBoxTexture::get_margin_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_margin_size","margin"),&StyleBoxTexture::get_margin_size);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_expand_margin_size","margin","size"),&StyleBoxTexture::set_expand_margin_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_expand_margin_size"),&StyleBoxTexture::get_expand_margin_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_expand_margin_size","margin"),&StyleBoxTexture::get_expand_margin_size);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_draw_center","enable"),&StyleBoxTexture::set_draw_center);
|
||||
ObjectTypeDB::bind_method(_MD("get_draw_center"),&StyleBoxTexture::get_draw_center);
|
||||
|
@ -392,7 +392,7 @@ void StyleBoxImageMask::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("set_expand","expand"),&StyleBoxImageMask::set_expand);
|
||||
ObjectTypeDB::bind_method(_MD("get_expand"),&StyleBoxImageMask::get_expand);
|
||||
ObjectTypeDB::bind_method(_MD("set_expand_margin_size","margin","size"),&StyleBoxImageMask::set_expand_margin_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_expand_margin_size"),&StyleBoxImageMask::get_expand_margin_size);
|
||||
ObjectTypeDB::bind_method(_MD("get_expand_margin_size","margin"),&StyleBoxImageMask::get_expand_margin_size);
|
||||
|
||||
ADD_PROPERTY( PropertyInfo(Variant::IMAGE, "image"), _SCS("set_image"), _SCS("get_image"));
|
||||
ADD_PROPERTY( PropertyInfo(Variant::BOOL, "expand"), _SCS("set_expand"), _SCS("get_expand"));
|
||||
|
|
|
@ -70,9 +70,9 @@ void Texture::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("has_alpha"),&Texture::has_alpha);
|
||||
ObjectTypeDB::bind_method(_MD("set_flags","flags"),&Texture::set_flags);
|
||||
ObjectTypeDB::bind_method(_MD("get_flags"),&Texture::get_flags);
|
||||
ObjectTypeDB::bind_method(_MD("draw","canvas_item","pos","modulate"),&Texture::draw,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw_rect","canvas_item","rect","tile","modulate"),&Texture::draw_rect,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw_rect_region","canvas_item","rect","src_rect","modulate"),&Texture::draw_rect_region,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw","canvas_item","pos","modulate","transpose"),&Texture::draw,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw_rect","canvas_item","rect","tile","modulate","transpose"),&Texture::draw_rect,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
ObjectTypeDB::bind_method(_MD("draw_rect_region","canvas_item","rect","src_rect","modulate","transpose"),&Texture::draw_rect_region,DEFVAL(Color(1,1,1)),DEFVAL(false));
|
||||
|
||||
BIND_CONSTANT( FLAG_MIPMAPS );
|
||||
BIND_CONSTANT( FLAG_REPEAT );
|
||||
|
|
|
@ -552,36 +552,36 @@ void Theme::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_icon:Texture","name","type"),&Theme::get_icon);
|
||||
ObjectTypeDB::bind_method(_MD("has_icon","name","type"),&Theme::has_icon);
|
||||
ObjectTypeDB::bind_method(_MD("clear_icon","name","type"),&Theme::clear_icon);
|
||||
ObjectTypeDB::bind_method(_MD("get_icon_list"),&Theme::_get_icon_list);
|
||||
ObjectTypeDB::bind_method(_MD("get_icon_list","type"),&Theme::_get_icon_list);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_stylebox","name","type","texture:StyleBox"),&Theme::set_stylebox);
|
||||
ObjectTypeDB::bind_method(_MD("get_stylebox:StyleBox","name","type"),&Theme::get_stylebox);
|
||||
ObjectTypeDB::bind_method(_MD("has_stylebox","name","type"),&Theme::has_stylebox);
|
||||
ObjectTypeDB::bind_method(_MD("clear_stylebox","name","type"),&Theme::clear_stylebox);
|
||||
ObjectTypeDB::bind_method(_MD("get_stylebox_list"),&Theme::_get_stylebox_list);
|
||||
ObjectTypeDB::bind_method(_MD("get_stylebox_list","type"),&Theme::_get_stylebox_list);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_font","name","type","font:Font"),&Theme::set_font);
|
||||
ObjectTypeDB::bind_method(_MD("get_font:Font","name","type"),&Theme::get_font);
|
||||
ObjectTypeDB::bind_method(_MD("has_font","name","type"),&Theme::has_font);
|
||||
ObjectTypeDB::bind_method(_MD("clear_font","name","type"),&Theme::clear_font);
|
||||
ObjectTypeDB::bind_method(_MD("get_font_list"),&Theme::_get_font_list);
|
||||
ObjectTypeDB::bind_method(_MD("get_font_list","type"),&Theme::_get_font_list);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_color","name","type","color"),&Theme::set_color);
|
||||
ObjectTypeDB::bind_method(_MD("get_color","name","type"),&Theme::get_color);
|
||||
ObjectTypeDB::bind_method(_MD("has_color","name","type"),&Theme::has_color);
|
||||
ObjectTypeDB::bind_method(_MD("clear_color","name","type"),&Theme::clear_color);
|
||||
ObjectTypeDB::bind_method(_MD("get_color_list"),&Theme::_get_color_list);
|
||||
ObjectTypeDB::bind_method(_MD("get_color_list","type"),&Theme::_get_color_list);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_constant","name","type","constant"),&Theme::set_constant);
|
||||
ObjectTypeDB::bind_method(_MD("get_constant","name","type"),&Theme::get_constant);
|
||||
ObjectTypeDB::bind_method(_MD("has_constant","name","type"),&Theme::has_constant);
|
||||
ObjectTypeDB::bind_method(_MD("clear_constant","name","type"),&Theme::clear_constant);
|
||||
ObjectTypeDB::bind_method(_MD("get_constant_list"),&Theme::_get_constant_list);
|
||||
ObjectTypeDB::bind_method(_MD("get_constant_list","type"),&Theme::_get_constant_list);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_default_font","font"),&Theme::set_default_theme_font);
|
||||
ObjectTypeDB::bind_method(_MD("get_default_font"),&Theme::get_default_theme_font);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_type_list"),&Theme::_get_type_list);
|
||||
ObjectTypeDB::bind_method(_MD("get_type_list","type"),&Theme::_get_type_list);
|
||||
|
||||
ObjectTypeDB::bind_method("copy_default_theme",&Theme::copy_default_theme);
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ void AudioServer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("sample_get_length","sample"), &AudioServer::sample_get_length );
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("sample_set_signed_data","sample","data"), &AudioServer::sample_set_signed_data );
|
||||
ObjectTypeDB::bind_method(_MD("sample_set_data","sample"), &AudioServer::sample_set_data );
|
||||
ObjectTypeDB::bind_method(_MD("sample_set_data","sample","data"), &AudioServer::sample_set_data );
|
||||
ObjectTypeDB::bind_method(_MD("sample_get_data","sample"), &AudioServer::sample_get_data );
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("sample_set_mix_rate","sample","mix_rate"), &AudioServer::sample_set_mix_rate );
|
||||
|
|
|
@ -548,7 +548,7 @@ void Physics2DServer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("area_attach_object_instance_ID","area","id"),&Physics2DServer::area_attach_object_instance_ID);
|
||||
ObjectTypeDB::bind_method(_MD("area_get_object_instance_ID","area"),&Physics2DServer::area_get_object_instance_ID);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("area_set_monitor_callback","receiver","method"),&Physics2DServer::area_set_monitor_callback);
|
||||
ObjectTypeDB::bind_method(_MD("area_set_monitor_callback","area","receiver","method"),&Physics2DServer::area_set_monitor_callback);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("body_create","mode","init_sleeping"),&Physics2DServer::body_create,DEFVAL(BODY_MODE_RIGID),DEFVAL(false));
|
||||
|
||||
|
@ -606,17 +606,17 @@ void Physics2DServer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("body_set_max_contacts_reported","body","amount"),&Physics2DServer::body_set_max_contacts_reported);
|
||||
ObjectTypeDB::bind_method(_MD("body_get_max_contacts_reported","body"),&Physics2DServer::body_get_max_contacts_reported);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("body_set_one_way_collision_direction","normal"),&Physics2DServer::body_set_one_way_collision_direction);
|
||||
ObjectTypeDB::bind_method(_MD("body_get_one_way_collision_direction"),&Physics2DServer::body_get_one_way_collision_direction);
|
||||
ObjectTypeDB::bind_method(_MD("body_set_one_way_collision_direction","body","normal"),&Physics2DServer::body_set_one_way_collision_direction);
|
||||
ObjectTypeDB::bind_method(_MD("body_get_one_way_collision_direction","body"),&Physics2DServer::body_get_one_way_collision_direction);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("body_set_one_way_collision_max_depth","normal"),&Physics2DServer::body_set_one_way_collision_max_depth);
|
||||
ObjectTypeDB::bind_method(_MD("body_get_one_way_collision_max_depth"),&Physics2DServer::body_get_one_way_collision_max_depth);
|
||||
ObjectTypeDB::bind_method(_MD("body_set_one_way_collision_max_depth","body","depth"),&Physics2DServer::body_set_one_way_collision_max_depth);
|
||||
ObjectTypeDB::bind_method(_MD("body_get_one_way_collision_max_depth","body"),&Physics2DServer::body_get_one_way_collision_max_depth);
|
||||
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("body_set_omit_force_integration","body","enable"),&Physics2DServer::body_set_omit_force_integration);
|
||||
ObjectTypeDB::bind_method(_MD("body_is_omitting_force_integration","body"),&Physics2DServer::body_is_omitting_force_integration);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("body_set_force_integration_callback","body","receiver","method"),&Physics2DServer::body_set_force_integration_callback);
|
||||
ObjectTypeDB::bind_method(_MD("body_set_force_integration_callback","body","receiver","method","userdata"),&Physics2DServer::body_set_force_integration_callback,DEFVAL(Variant()));
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("body_test_motion","body","motion","margin","result:Physics2DTestMotionResult"),&Physics2DServer::_body_test_motion,DEFVAL(0.08),DEFVAL(Variant()));
|
||||
|
||||
|
@ -638,7 +638,7 @@ void Physics2DServer::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("set_active","active"),&Physics2DServer::set_active);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_process_info"),&Physics2DServer::get_process_info);
|
||||
ObjectTypeDB::bind_method(_MD("get_process_info","process_info"),&Physics2DServer::get_process_info);
|
||||
|
||||
// ObjectTypeDB::bind_method(_MD("init"),&Physics2DServer::init);
|
||||
// ObjectTypeDB::bind_method(_MD("step"),&Physics2DServer::step);
|
||||
|
|
|
@ -467,7 +467,7 @@ void PhysicsServer::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("area_attach_object_instance_ID","area","id"),&PhysicsServer::area_attach_object_instance_ID);
|
||||
ObjectTypeDB::bind_method(_MD("area_get_object_instance_ID","area"),&PhysicsServer::area_get_object_instance_ID);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("area_set_monitor_callback","receiver","method"),&PhysicsServer::area_set_monitor_callback);
|
||||
ObjectTypeDB::bind_method(_MD("area_set_monitor_callback","area","receiver","method"),&PhysicsServer::area_set_monitor_callback);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("area_set_ray_pickable","area","enable"),&PhysicsServer::area_set_ray_pickable);
|
||||
ObjectTypeDB::bind_method(_MD("area_is_ray_pickable","area"),&PhysicsServer::area_is_ray_pickable);
|
||||
|
@ -671,7 +671,7 @@ void PhysicsServer::_bind_methods() {
|
|||
//ObjectTypeDB::bind_method(_MD("flush_queries"),&PhysicsServer::flush_queries);
|
||||
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("get_process_info"),&PhysicsServer::get_process_info);
|
||||
ObjectTypeDB::bind_method(_MD("get_process_info","process_info"),&PhysicsServer::get_process_info);
|
||||
|
||||
BIND_CONSTANT( SHAPE_PLANE );
|
||||
BIND_CONSTANT( SHAPE_RAY );
|
||||
|
|
|
@ -1071,7 +1071,7 @@ void EditorFileDialog::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_vbox:VBoxContainer"),&EditorFileDialog::get_vbox);
|
||||
ObjectTypeDB::bind_method(_MD("set_access","access"),&EditorFileDialog::set_access);
|
||||
ObjectTypeDB::bind_method(_MD("get_access"),&EditorFileDialog::get_access);
|
||||
ObjectTypeDB::bind_method(_MD("set_show_hidden_files"),&EditorFileDialog::set_show_hidden_files);
|
||||
ObjectTypeDB::bind_method(_MD("set_show_hidden_files","show"),&EditorFileDialog::set_show_hidden_files);
|
||||
ObjectTypeDB::bind_method(_MD("is_showing_hidden_files"),&EditorFileDialog::is_showing_hidden_files);
|
||||
ObjectTypeDB::bind_method(_MD("_select_drive"),&EditorFileDialog::_select_drive);
|
||||
ObjectTypeDB::bind_method(_MD("_make_dir"),&EditorFileDialog::_make_dir);
|
||||
|
|
|
@ -26,7 +26,7 @@ void PCKPacker::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("pck_start","pck_name","alignment"),&PCKPacker::pck_start);
|
||||
ObjectTypeDB::bind_method(_MD("add_file","pck_path","source_path"),&PCKPacker::add_file);
|
||||
ObjectTypeDB::bind_method(_MD("flush"),&PCKPacker::flush);
|
||||
ObjectTypeDB::bind_method(_MD("flush","verbose"),&PCKPacker::flush);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue