diff options
243 files changed, 27385 insertions, 11544 deletions
diff --git a/.gitattributes b/.gitattributes index 36620d50f5..1df99d85bf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ # Properly detect languages on Github *.h linguist-language=cpp +*.inc linguist-language=cpp drivers/* linguist-vendored *.cpp eol=lf diff --git a/SConstruct b/SConstruct index 691536c956..d168820f66 100644 --- a/SConstruct +++ b/SConstruct @@ -73,6 +73,7 @@ env_base.android_java_dirs=[] env_base.android_res_dirs=[] env_base.android_aidl_dirs=[] env_base.android_jni_dirs=[] +env_base.android_default_config=[] env_base.android_manifest_chunk="" env_base.android_permission_chunk="" env_base.android_appattributes_chunk="" @@ -88,6 +89,7 @@ env_base.__class__.android_add_java_dir=methods.android_add_java_dir env_base.__class__.android_add_res_dir=methods.android_add_res_dir env_base.__class__.android_add_aidl_dir=methods.android_add_aidl_dir env_base.__class__.android_add_jni_dir=methods.android_add_jni_dir +env_base.__class__.android_add_default_config=methods.android_add_default_config env_base.__class__.android_add_to_manifest = methods.android_add_to_manifest env_base.__class__.android_add_to_permissions = methods.android_add_to_permissions env_base.__class__.android_add_to_attributes = methods.android_add_to_attributes @@ -144,6 +146,7 @@ opts.Add('unix_global_settings_path', 'unix-specific path to system-wide setting opts.Add('disable_3d', 'Disable 3D nodes for smaller executable (yes/no)', "no") opts.Add('disable_advanced_gui', 'Disable advance 3D gui nodes and behaviors (yes/no)', "no") opts.Add('colored', 'Enable colored output for the compilation (yes/no)', 'no') +opts.Add('deprecated','Enable deprecated features (yes/no)','yes') opts.Add('extra_suffix', 'Custom extra suffix added to the base filename of all generated binary files.', '') opts.Add('vsproj', 'Generate Visual Studio Project. (yes/no)', 'no') @@ -179,6 +182,9 @@ if (env_base['target']=='debug'): env_base.Append(CPPFLAGS=['-DDEBUG_MEMORY_ALLOC']); env_base.Append(CPPFLAGS=['-DSCI_NAMESPACE']) +if (env_base['deprecated']!='no'): + env_base.Append(CPPFLAGS=['-DENABLE_DEPRECATED']); + env_base.platforms = {} diff --git a/bin/tests/test_math.cpp b/bin/tests/test_math.cpp index 9110f72620..8e08969fa4 100644 --- a/bin/tests/test_math.cpp +++ b/bin/tests/test_math.cpp @@ -125,10 +125,7 @@ MainLoop* test() { for (List<StringName>::Element *E=tl.front();E;E=E->next()) { Vector<uint8_t> m5b = E->get().operator String().md5_buffer(); - uint32_t *ub = (uint32_t*)m5b.ptr(); - //hashes.push_back(ihash(ihash2(ihash3(*ub)))); hashes.push_back(hashes.size()); - //hashes.push_back(E->get().hash()); } diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index ace7e7c7b7..6edc292b62 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -435,6 +435,18 @@ String _OS::get_locale() const { return OS::get_singleton()->get_locale(); } +String _OS::get_latin_keyboard_variant() const { + switch( OS::get_singleton()->get_latin_keyboard_variant() ) { + case OS::LATIN_KEYBOARD_QWERTY: return "QWERTY"; + case OS::LATIN_KEYBOARD_QWERTZ: return "QWERTZ"; + case OS::LATIN_KEYBOARD_AZERTY: return "AZERTY"; + case OS::LATIN_KEYBOARD_QZERTY: return "QZERTY"; + case OS::LATIN_KEYBOARD_DVORAK: return "DVORAK"; + case OS::LATIN_KEYBOARD_NEO : return "NEO"; + default: return "ERROR"; + } +} + String _OS::get_model_name() const { return OS::get_singleton()->get_model_name(); @@ -1097,6 +1109,7 @@ void _OS::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_ticks_msec"),&_OS::get_ticks_msec); ObjectTypeDB::bind_method(_MD("get_splash_tick_msec"),&_OS::get_splash_tick_msec); ObjectTypeDB::bind_method(_MD("get_locale"),&_OS::get_locale); + ObjectTypeDB::bind_method(_MD("get_latin_keyboard_variant"),&_OS::get_latin_keyboard_variant); ObjectTypeDB::bind_method(_MD("get_model_name"),&_OS::get_model_name); ObjectTypeDB::bind_method(_MD("get_custom_level"),&_OS::get_custom_level); diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 856d942d02..5bd427578a 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -192,6 +192,8 @@ public: Vector<String> get_cmdline_args(); String get_locale() const; + String get_latin_keyboard_variant() const; + String get_model_name() const; MainLoop *get_main_loop() const; diff --git a/core/event_queue.cpp b/core/event_queue.cpp index 53638c5431..958ef41132 100644 --- a/core/event_queue.cpp +++ b/core/event_queue.cpp @@ -92,7 +92,7 @@ Error EventQueue::push_call(uint32_t p_instance_ID, const StringName& p_method, *v=p_arg5; } - if (buffer_max_used>buffer_end); + if (buffer_end > buffer_max_used) buffer_max_used=buffer_end; return OK; diff --git a/core/hq2x.cpp b/core/hq2x.cpp index 6495c77b2a..7ebb505d64 100644 --- a/core/hq2x.cpp +++ b/core/hq2x.cpp @@ -91,7 +91,7 @@ _FORCE_INLINE_ static bool isDifferent( #define HQX_MIX_2(C0,C1,W0,W1) \ ((((C0 & MASK_RB) * W0 + (C1 & MASK_RB) * W1) / (W0 + W1)) & MASK_RB) | \ ((((C0 & MASK_G) * W0 + (C1 & MASK_G) * W1) / (W0 + W1)) & MASK_G) | \ - (((((C0 & MASK_A) >> 8) * W0 + ((C1 & MASK_A) >> 8) * W1) / (W0 + W1)) << 8) & MASK_A + ((((((C0 & MASK_A) >> 8) * W0 + ((C1 & MASK_A) >> 8) * W1) / (W0 + W1)) << 8) & MASK_A) /** * @brief Mixes three colors using the given weights. @@ -99,7 +99,7 @@ _FORCE_INLINE_ static bool isDifferent( #define HQX_MIX_3(C0,C1,C2,W0,W1,W2) \ ((((C0 & MASK_RB) * W0 + (C1 & MASK_RB) * W1 + (C2 & MASK_RB) * W2) / (W0 + W1 + W2)) & MASK_RB) | \ ((((C0 & MASK_G) * W0 + (C1 & MASK_G) * W1 + (C2 & MASK_G) * W2) / (W0 + W1 + W2)) & MASK_G) | \ - (((((C0 & MASK_A) >> 8) * W0 + ((C1 & MASK_A) >> 8) * W1 + ((C2 & MASK_A) >> 8) * W2) / (W0 + W1 + W2)) << 8) & MASK_A + ((((((C0 & MASK_A) >> 8) * W0 + ((C1 & MASK_A) >> 8) * W1 + ((C2 & MASK_A) >> 8) * W2) / (W0 + W1 + W2)) << 8) & MASK_A) #define MIX_00_4 *output = w[4]; diff --git a/core/image_quantize.cpp b/core/image_quantize.cpp index b8d4658fda..f6fe7a88a0 100644 --- a/core/image_quantize.cpp +++ b/core/image_quantize.cpp @@ -59,7 +59,6 @@ int Image::MCBlock::get_longest_axis_index() const { for(int i=0;i<4;i++) { int d = max_color.color.col[i]-min_color.color.col[i]; - //printf(" ai:%i - %i\n",i,d); if (d>max_dist) { max_index=i; max_dist=d; @@ -71,13 +70,11 @@ int Image::MCBlock::get_longest_axis_index() const { int Image::MCBlock::get_longest_axis_length() const { int max_dist=-1; - int max_index=0; for(int i=0;i<4;i++) { int d = max_color.color.col[i]-min_color.color.col[i]; if (d>max_dist) { - max_index=i; max_dist=d; } } @@ -117,8 +114,6 @@ void Image::MCBlock::shrink() { void Image::quantize() { - Image::Format orig_format=format; - bool has_alpha = detect_alpha()!=ALPHA_NONE; bool quantize_fast=OS::get_singleton()->has_environment("QUANTIZE_FAST"); diff --git a/core/io/marshalls.cpp b/core/io/marshalls.cpp index 60617e1237..c9bd38c654 100644 --- a/core/io/marshalls.cpp +++ b/core/io/marshalls.cpp @@ -685,7 +685,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int * if (count) { varray.resize(count); DVector<Vector2>::Write w = varray.write(); - const float *r = (const float*)buf; for(int i=0;i<(int)count;i++) { @@ -724,7 +723,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int * if (count) { varray.resize(count); DVector<Vector3>::Write w = varray.write(); - const float *r = (const float*)buf; for(int i=0;i<(int)count;i++) { @@ -764,7 +762,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int * if (count) { carray.resize(count); DVector<Color>::Write w = carray.write(); - const float *r = (const float*)buf; for(int i=0;i<(int)count;i++) { diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp index a42a922baf..0d545b16f5 100644 --- a/core/io/resource_format_xml.cpp +++ b/core/io/resource_format_xml.cpp @@ -1862,8 +1862,6 @@ void ResourceInteractiveLoaderXML::open(FileAccess *p_f) { } int major = version.get_slicec('.',0).to_int(); - int minor = version.get_slicec('.',1).to_int(); - if (major>VERSION_MAJOR) { error=ERR_FILE_UNRECOGNIZED; diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index 1bb80e74eb..f414f85df8 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -443,7 +443,6 @@ String ResourceLoader::get_resource_type(const String &p_path) { String remapped_path = PathRemap::get_singleton()->get_remap(local_path); String extension=remapped_path.extension(); - bool found=false; for (int i=0;i<loader_count;i++) { String result = loader[i]->get_resource_type(local_path); diff --git a/core/io/translation_loader_po.cpp b/core/io/translation_loader_po.cpp index 4ddb276a27..a22c57b941 100644 --- a/core/io/translation_loader_po.cpp +++ b/core/io/translation_loader_po.cpp @@ -47,7 +47,6 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S String msg_id; String msg_str; String config; - int msg_line=0; if (r_error) *r_error=ERR_FILE_CORRUPT; @@ -97,7 +96,6 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S status=STATUS_READING_ID; msg_id=""; msg_str=""; - msg_line=line; } if (l.begins_with("msgstr")) { @@ -111,7 +109,6 @@ RES TranslationLoaderPO::load_translation(FileAccess *f, Error *r_error, const S l=l.substr(6,l.length()).strip_edges(); status=STATUS_READING_STRING; - msg_line=line; } if (l=="" || l.begins_with("#")) { diff --git a/core/math/triangle_mesh.cpp b/core/math/triangle_mesh.cpp index adb9861092..7aea32a8a0 100644 --- a/core/math/triangle_mesh.cpp +++ b/core/math/triangle_mesh.cpp @@ -195,9 +195,6 @@ Vector3 TriangleMesh::get_area_normal(const AABB& p_aabb) const { int n_count=0; Vector3 n; - //for(int i=0;i<max_depth;i++) - // stack[i]=0; - int level=0; DVector<Triangle>::Read trianglesr = triangles.read(); @@ -205,7 +202,6 @@ Vector3 TriangleMesh::get_area_normal(const AABB& p_aabb) const { DVector<BVH>::Read bvhr=bvh.read(); const Triangle *triangleptr=trianglesr.ptr(); - const Vector3 *vertexptr=verticesr.ptr(); int pos=bvh.size()-1; const BVH *bvhptr = bvhr.ptr(); @@ -301,14 +297,7 @@ bool TriangleMesh::intersect_segment(const Vector3& p_begin,const Vector3& p_end real_t d=1e10; bool inters=false; - //for(int i=0;i<max_depth;i++) - // stack[i]=0; - int level=0; - //AABB ray_aabb; - //ray_aabb.pos=p_begin; - //ray_aabb.expand_to(p_end); - DVector<Triangle>::Read trianglesr = triangles.read(); DVector<Vector3>::Read verticesr=vertices.read(); @@ -431,9 +420,6 @@ bool TriangleMesh::intersect_ray(const Vector3& p_begin,const Vector3& p_dir,Vec real_t d=1e20; bool inters=false; - //for(int i=0;i<max_depth;i++) - // stack[i]=0; - int level=0; DVector<Triangle>::Read trianglesr = triangles.read(); diff --git a/core/message_queue.cpp b/core/message_queue.cpp index c69021f4f0..f3daa46c3d 100644 --- a/core/message_queue.cpp +++ b/core/message_queue.cpp @@ -320,7 +320,7 @@ void MessageQueue::_call_function(Object* p_target, const StringName& p_func, co void MessageQueue::flush() { - if (buffer_max_used<buffer_end); { + if (buffer_end > buffer_max_used) { buffer_max_used=buffer_end; //statistics(); } diff --git a/core/object.cpp b/core/object.cpp index 99d4a1f46a..dc3d531927 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1495,7 +1495,7 @@ void Object::disconnect(const StringName& p_signal, Object *p_to_object, const S ERR_EXPLAIN("Disconnecting nonexistent signal '"+p_signal+"', slot: "+itos(target._id)+":"+target.method); ERR_FAIL(); } - int prev = p_to_object->connections.size(); + p_to_object->connections.erase(s->slot_map[target].cE); s->slot_map.erase(target); diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp index 2d47645a66..8c79657c64 100644 --- a/core/os/input_event.cpp +++ b/core/os/input_event.cpp @@ -199,3 +199,62 @@ uint32_t InputEventKey::get_scancode_with_modifiers() const { return sc; } + +InputEvent InputEvent::xform_by(const Matrix32& p_xform) const { + + + InputEvent ev=*this; + + switch(ev.type) { + + case InputEvent::MOUSE_BUTTON: { + + Vector2 g = p_xform.xform(Vector2(ev.mouse_button.global_x,ev.mouse_button.global_y)); + Vector2 l = p_xform.xform(Vector2(ev.mouse_button.x,ev.mouse_button.y)); + ev.mouse_button.x=l.x; + ev.mouse_button.y=l.y; + ev.mouse_button.global_x=g.x; + ev.mouse_button.global_y=g.y; + + } break; + case InputEvent::MOUSE_MOTION: { + + Vector2 g = p_xform.xform(Vector2(ev.mouse_motion.global_x,ev.mouse_motion.global_y)); + Vector2 l = p_xform.xform(Vector2(ev.mouse_motion.x,ev.mouse_motion.y)); + Vector2 r = p_xform.basis_xform(Vector2(ev.mouse_motion.relative_x,ev.mouse_motion.relative_y)); + Vector2 s = p_xform.basis_xform(Vector2(ev.mouse_motion.speed_x,ev.mouse_motion.speed_y)); + ev.mouse_motion.x=l.x; + ev.mouse_motion.y=l.y; + ev.mouse_motion.global_x=g.x; + ev.mouse_motion.global_y=g.y; + ev.mouse_motion.relative_x=r.x; + ev.mouse_motion.relative_y=r.y; + ev.mouse_motion.speed_x=s.x; + ev.mouse_motion.speed_y=s.y; + + } break; + case InputEvent::SCREEN_TOUCH: { + + + Vector2 t = p_xform.xform(Vector2(ev.screen_touch.x,ev.screen_touch.y)); + ev.screen_touch.x=t.x; + ev.screen_touch.y=t.y; + + } break; + case InputEvent::SCREEN_DRAG: { + + + Vector2 t = p_xform.xform(Vector2(ev.screen_drag.x,ev.screen_drag.y)); + Vector2 r = p_xform.basis_xform(Vector2(ev.screen_drag.relative_x,ev.screen_drag.relative_y)); + Vector2 s = p_xform.basis_xform(Vector2(ev.screen_drag.speed_x,ev.screen_drag.speed_y)); + ev.screen_drag.x=t.x; + ev.screen_drag.y=t.y; + ev.screen_drag.relative_x=r.x; + ev.screen_drag.relative_y=r.y; + ev.screen_drag.speed_x=s.x; + ev.screen_drag.speed_y=s.y; + } break; + } + + return ev; +} diff --git a/core/os/input_event.h b/core/os/input_event.h index 0588374790..1c4f1dcf96 100644 --- a/core/os/input_event.h +++ b/core/os/input_event.h @@ -33,7 +33,7 @@ #include "typedefs.h" #include "os/copymem.h" #include "ustring.h" - +#include "math_2d.h" /** @author Juan Linietsky <reduzio@gmail.com> */ @@ -297,6 +297,8 @@ struct InputEvent { bool is_echo() const; void set_as_action(const String& p_action, bool p_pressed); + + InputEvent xform_by(const Matrix32& p_xform) const; bool operator==(const InputEvent &p_event) const; operator String() const; InputEvent() { zeromem(this,sizeof(InputEvent)); } diff --git a/core/path_db.cpp b/core/path_db.cpp index 7545088978..0956c4cd3f 100644 --- a/core/path_db.cpp +++ b/core/path_db.cpp @@ -329,7 +329,6 @@ NodePath::NodePath(const String& p_path) { Vector<StringName> subpath; int absolute=(path[0]=='/')?1:0;; - bool valid=false; bool last_is_slash=true; int slices=0; int subpath_pos=path.find(":"); @@ -373,7 +372,6 @@ NodePath::NodePath(const String& p_path) { if (last_is_slash) slices++; - valid=true; last_is_slash=false; } } diff --git a/core/path_remap.cpp b/core/path_remap.cpp index d4cb883f41..8f189187f2 100644 --- a/core/path_remap.cpp +++ b/core/path_remap.cpp @@ -59,12 +59,20 @@ String PathRemap::get_remap(const String& p_from) const { return p_from; } else { + const RemapData *ptr2=NULL; + String locale = TranslationServer::get_singleton()->get_locale(); if (ptr->locale.has(locale)) { if (OS::get_singleton()->is_stdout_verbose()) print_line("remap found: "+p_from+" -> "+ptr->locale[locale]); - return ptr->locale[locale]; + + ptr2=remap.getptr(ptr->locale[locale]); + + if (ptr2 && ptr2->always!=String()) //may have atlas or export remap too + return ptr2->always; + else + return ptr->locale[locale]; } int p = locale.find("_"); @@ -73,7 +81,14 @@ String PathRemap::get_remap(const String& p_from) const { if (ptr->locale.has(locale)) { if (OS::get_singleton()->is_stdout_verbose()) print_line("remap found: "+p_from+" -> "+ptr->locale[locale]); - return ptr->locale[locale]; + + ptr2=remap.getptr(ptr->locale[locale]); + + if (ptr2 && ptr2->always!=String()) //may have atlas or export remap too + return ptr2->always; + else + return ptr->locale[locale]; + } } diff --git a/core/pool_allocator.cpp b/core/pool_allocator.cpp index 849fd75f50..9f5fcf5f50 100644 --- a/core/pool_allocator.cpp +++ b/core/pool_allocator.cpp @@ -372,7 +372,6 @@ Error PoolAllocator::resize(ID p_mem,int p_new_size) { } //p_new_size = align(p_new_size) - int _total = pool_size; // - static_area_size; int _free = free_mem; // - static_area_size; if ((_free + aligned(e->len)) - alloc_size < 0) { diff --git a/core/resource.cpp b/core/resource.cpp index 97dee3e1d7..b80ec7012d 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -30,7 +30,7 @@ #include "core_string_names.h" #include <stdio.h> #include "os/file_access.h" - +#include "io/resource_loader.h" void ResourceImportMetadata::set_editor(const String& p_editor) { @@ -218,14 +218,36 @@ String Resource::get_name() const { return name; } -bool Resource::can_reload_from_file() { +bool Resource::editor_can_reload_from_file() { - return false; + return true; //by default yes } void Resource::reload_from_file() { + String path=get_path(); + if (!path.is_resource_file()) + return; + + Ref<Resource> s = ResourceLoader::load(path,get_type(),true); + + if (!s.is_valid()) + return; + + List<PropertyInfo> pi; + s->get_property_list(&pi); + + for (List<PropertyInfo>::Element *E=pi.front();E;E=E->next()) { + + if (!(E->get().usage&PROPERTY_USAGE_STORAGE)) + continue; + if (E->get().name=="resource/path") + continue; //do not change path + + set(E->get().name,s->get(E->get().name)); + + } } diff --git a/core/resource.h b/core/resource.h index 958414f62b..0673a4e89d 100644 --- a/core/resource.h +++ b/core/resource.h @@ -121,7 +121,7 @@ protected: void _take_over_path(const String& p_path); public: - virtual bool can_reload_from_file(); + virtual bool editor_can_reload_from_file(); virtual void reload_from_file(); void register_owner(Object *p_owner); diff --git a/core/script_language.h b/core/script_language.h index 51fb351fde..6d75b83aaf 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -78,6 +78,7 @@ class Script : public Resource { protected: + virtual bool editor_can_reload_from_file() { return false; } // this is handled by editor better void _notification( int p_what); static void _bind_methods(); diff --git a/core/ustring.cpp b/core/ustring.cpp index 3c22de35f1..6788ada1bb 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -3836,7 +3836,6 @@ String String::lpad(int min_length, const String& character) const { String String::sprintf(const Array& values, bool* error) const { String formatted; CharType* self = (CharType*)c_str(); - int num_items = values.size(); bool in_format = false; int value_index = 0; int min_chars; diff --git a/core/variant.cpp b/core/variant.cpp index 81d10f379a..31321dc0f3 100644 --- a/core/variant.cpp +++ b/core/variant.cpp @@ -1559,72 +1559,78 @@ Variant::operator String() const { case VECTOR2_ARRAY: { DVector<Vector2> vec = operator DVector<Vector2>(); - String str; + String str("["); for(int i=0;i<vec.size();i++) { if (i>0) str+=", "; str=str+Variant( vec[i] ); } + str += "]"; return str; } break; case VECTOR3_ARRAY: { DVector<Vector3> vec = operator DVector<Vector3>(); - String str; + String str("["); for(int i=0;i<vec.size();i++) { if (i>0) str+=", "; str=str+Variant( vec[i] ); } + str += "]"; return str; } break; case STRING_ARRAY: { DVector<String> vec = operator DVector<String>(); - String str; + String str("["); for(int i=0;i<vec.size();i++) { if (i>0) str+=", "; str=str+vec[i]; } + str += "]"; return str; } break; case INT_ARRAY: { DVector<int> vec = operator DVector<int>(); - String str; + String str("["); for(int i=0;i<vec.size();i++) { if (i>0) str+=", "; str=str+itos(vec[i]); } + str += "]"; return str; } break; case REAL_ARRAY: { DVector<real_t> vec = operator DVector<real_t>(); - String str; + String str("["); for(int i=0;i<vec.size();i++) { if (i>0) str+=", "; str=str+rtos(vec[i]); } + str += "]"; return str; } break; case ARRAY: { Array arr = operator Array(); - String str; + String str("["); for (int i=0; i<arr.size(); i++) { if (i) str+=", "; str += String(arr[i]); }; + str += "]"; return str; } break; diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 7b9dea4eab..7da4cef115 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -947,10 +947,22 @@ static void _call_##m_type##_##m_method(Variant& r_ret,Variant& p_self,const Var struct ConstantData { Map<StringName,int> value; +#ifdef DEBUG_ENABLED + List<StringName> value_ordered; +#endif }; static ConstantData* constant_data; + static void add_constant(int p_type, StringName p_constant_name, int p_constant_value) { + + constant_data[p_type].value[p_constant_name] = p_constant_value; +#ifdef DEBUG_ENABLED + constant_data[p_type].value_ordered.push_back(p_constant_name); +#endif + + } + }; _VariantCall::TypeFunc* _VariantCall::type_funcs=NULL; @@ -1241,9 +1253,15 @@ void Variant::get_numeric_constants_for_type(Variant::Type p_type, List<StringNa _VariantCall::ConstantData& cd = _VariantCall::constant_data[p_type]; +#ifdef DEBUG_ENABLED + for(List<StringName>::Element *E=cd.value_ordered.front();E;E=E->next()) { + + p_constants->push_back(E->get()); +#else for(Map<StringName,int>::Element *E=cd.value.front();E;E=E->next()) { p_constants->push_back(E->key()); +#endif } } @@ -1649,10 +1667,10 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC0(INPUT_EVENT,BOOL,InputEvent,is_pressed,varray()); ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action,STRING,"action",varray()); - ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_pressed,STRING,"is_action_pressed",varray()); - ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_released,STRING,"is_action_released",varray()); + ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_pressed,STRING,"action",varray()); + ADDFUNC1(INPUT_EVENT,BOOL,InputEvent,is_action_released,STRING,"action",varray()); ADDFUNC0(INPUT_EVENT,BOOL,InputEvent,is_echo,varray()); - ADDFUNC2(INPUT_EVENT,NIL,InputEvent,set_as_action,STRING,"action",BOOL,"pressed",varray()); + ADDFUNC2(INPUT_EVENT,NIL,InputEvent,set_as_action,STRING,"action",BOOL,"pressed",varray()); /* REGISTER CONSTRUCTORS */ @@ -1671,7 +1689,7 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl _VariantCall::add_constructor(_VariantCall::Plane_init3,Variant::PLANE,"normal",Variant::VECTOR3,"d",Variant::REAL); _VariantCall::add_constructor(_VariantCall::Quat_init1,Variant::QUAT,"x",Variant::REAL,"y",Variant::REAL,"z",Variant::REAL,"w",Variant::REAL); - _VariantCall::add_constructor(_VariantCall::Quat_init2,Variant::QUAT,"axis",Variant::VECTOR3,"angle",Variant::REAL); + _VariantCall::add_constructor(_VariantCall::Quat_init2,Variant::QUAT,"axis",Variant::VECTOR3,"angle",Variant::REAL); _VariantCall::add_constructor(_VariantCall::Color_init1,Variant::COLOR,"r",Variant::REAL,"g",Variant::REAL,"b",Variant::REAL,"a",Variant::REAL); _VariantCall::add_constructor(_VariantCall::Color_init2,Variant::COLOR,"r",Variant::REAL,"g",Variant::REAL,"b",Variant::REAL); @@ -1688,54 +1706,54 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl /* REGISTER CONSTANTS */ - _VariantCall::constant_data[Variant::VECTOR3].value["AXIS_X"]=Vector3::AXIS_X; - _VariantCall::constant_data[Variant::VECTOR3].value["AXIS_Y"]=Vector3::AXIS_Y; - _VariantCall::constant_data[Variant::VECTOR3].value["AXIS_Z"]=Vector3::AXIS_Z; - - _VariantCall::constant_data[Variant::INPUT_EVENT].value["NONE"]=InputEvent::NONE; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["KEY"]=InputEvent::KEY; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["MOUSE_MOTION"]=InputEvent::MOUSE_MOTION; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["MOUSE_BUTTON"]=InputEvent::MOUSE_BUTTON; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["JOYSTICK_MOTION"]=InputEvent::JOYSTICK_MOTION; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["JOYSTICK_BUTTON"]=InputEvent::JOYSTICK_BUTTON; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["SCREEN_TOUCH"]=InputEvent::SCREEN_TOUCH; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["SCREEN_DRAG"]=InputEvent::SCREEN_DRAG; - _VariantCall::constant_data[Variant::INPUT_EVENT].value["ACTION"]=InputEvent::ACTION; - - _VariantCall::constant_data[Variant::IMAGE].value["COMPRESS_BC"]=Image::COMPRESS_BC; - _VariantCall::constant_data[Variant::IMAGE].value["COMPRESS_PVRTC2"]=Image::COMPRESS_PVRTC2; - _VariantCall::constant_data[Variant::IMAGE].value["COMPRESS_PVRTC4"]=Image::COMPRESS_PVRTC4; - _VariantCall::constant_data[Variant::IMAGE].value["COMPRESS_ETC"]=Image::COMPRESS_ETC; - - - - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_GRAYSCALE"]=Image::FORMAT_GRAYSCALE; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_INTENSITY"]=Image::FORMAT_INTENSITY; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_GRAYSCALE_ALPHA"]=Image::FORMAT_GRAYSCALE_ALPHA; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_RGB"]=Image::FORMAT_RGB; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_RGBA"]=Image::FORMAT_RGBA; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_INDEXED"]=Image::FORMAT_INDEXED; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_INDEXED_ALPHA"]=Image::FORMAT_INDEXED_ALPHA; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_YUV_422"]=Image::FORMAT_YUV_422; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_YUV_444"]=Image::FORMAT_YUV_444; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_BC1"]=Image::FORMAT_BC1; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_BC2"]=Image::FORMAT_BC2; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_BC3"]=Image::FORMAT_BC3; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_BC4"]=Image::FORMAT_BC4; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_BC5"]=Image::FORMAT_BC5; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_PVRTC2"]=Image::FORMAT_PVRTC2; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_PVRTC2_ALPHA"]=Image::FORMAT_PVRTC2_ALPHA; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_PVRTC4"]=Image::FORMAT_PVRTC4; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_PVRTC4_ALPHA"]=Image::FORMAT_PVRTC4_ALPHA; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_ETC"]=Image::FORMAT_ETC; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_ATC"]=Image::FORMAT_ATC; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_ATC_ALPHA_EXPLICIT"]=Image::FORMAT_ATC_ALPHA_EXPLICIT; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_ATC_ALPHA_INTERPOLATED"]=Image::FORMAT_ATC_ALPHA_INTERPOLATED; - _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_CUSTOM"]=Image::FORMAT_CUSTOM; - - _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_NEAREST"]=Image::INTERPOLATE_NEAREST; - _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_BILINEAR"]=Image::INTERPOLATE_BILINEAR; - _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_CUBIC"]=Image::INTERPOLATE_CUBIC; + _VariantCall::add_constant(Variant::VECTOR3,"AXIS_X",Vector3::AXIS_X); + _VariantCall::add_constant(Variant::VECTOR3,"AXIS_Y",Vector3::AXIS_Y); + _VariantCall::add_constant(Variant::VECTOR3,"AXIS_Z",Vector3::AXIS_Z); + + + _VariantCall::add_constant(Variant::INPUT_EVENT,"NONE",InputEvent::NONE); + _VariantCall::add_constant(Variant::INPUT_EVENT,"KEY",InputEvent::KEY); + _VariantCall::add_constant(Variant::INPUT_EVENT,"MOUSE_MOTION",InputEvent::MOUSE_MOTION); + _VariantCall::add_constant(Variant::INPUT_EVENT,"MOUSE_BUTTON",InputEvent::MOUSE_BUTTON); + _VariantCall::add_constant(Variant::INPUT_EVENT,"JOYSTICK_MOTION",InputEvent::JOYSTICK_MOTION); + _VariantCall::add_constant(Variant::INPUT_EVENT,"JOYSTICK_BUTTON",InputEvent::JOYSTICK_BUTTON); + _VariantCall::add_constant(Variant::INPUT_EVENT,"SCREEN_TOUCH",InputEvent::SCREEN_TOUCH); + _VariantCall::add_constant(Variant::INPUT_EVENT,"SCREEN_DRAG",InputEvent::SCREEN_DRAG); + _VariantCall::add_constant(Variant::INPUT_EVENT,"ACTION",InputEvent::ACTION); + + + _VariantCall::add_constant(Variant::IMAGE,"COMPRESS_BC",Image::COMPRESS_BC); + _VariantCall::add_constant(Variant::IMAGE,"COMPRESS_PVRTC2",Image::COMPRESS_PVRTC2); + _VariantCall::add_constant(Variant::IMAGE,"COMPRESS_PVRTC4",Image::COMPRESS_PVRTC4); + _VariantCall::add_constant(Variant::IMAGE,"COMPRESS_ETC",Image::COMPRESS_ETC); + + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_GRAYSCALE",Image::FORMAT_GRAYSCALE); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_INTENSITY",Image::FORMAT_INTENSITY); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_GRAYSCALE_ALPHA",Image::FORMAT_GRAYSCALE_ALPHA); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_RGB",Image::FORMAT_RGB); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_RGBA",Image::FORMAT_RGBA); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_INDEXED",Image::FORMAT_INDEXED); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_INDEXED_ALPHA",Image::FORMAT_INDEXED_ALPHA); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_YUV_422",Image::FORMAT_YUV_422); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_YUV_444",Image::FORMAT_YUV_444); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_BC1",Image::FORMAT_BC1); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_BC2",Image::FORMAT_BC2); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_BC3",Image::FORMAT_BC3); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_BC4",Image::FORMAT_BC4); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_BC5",Image::FORMAT_BC5); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_PVRTC2",Image::FORMAT_PVRTC2); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_PVRTC2_ALPHA",Image::FORMAT_PVRTC2_ALPHA); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_PVRTC4",Image::FORMAT_PVRTC4); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_PVRTC4_ALPHA",Image::FORMAT_PVRTC4_ALPHA); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_ETC",Image::FORMAT_ETC); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_ATC",Image::FORMAT_ATC); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_ATC_ALPHA_EXPLICIT",Image::FORMAT_ATC_ALPHA_EXPLICIT); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_ATC_ALPHA_INTERPOLATED",Image::FORMAT_ATC_ALPHA_INTERPOLATED); + _VariantCall::add_constant(Variant::IMAGE,"FORMAT_CUSTOM",Image::FORMAT_CUSTOM); + + _VariantCall::add_constant(Variant::IMAGE,"INTERPOLATE_NEAREST",Image::INTERPOLATE_NEAREST); + _VariantCall::add_constant(Variant::IMAGE,"INTERPOLATE_BILINEAR",Image::INTERPOLATE_BILINEAR); + _VariantCall::add_constant(Variant::IMAGE,"INTERPOLATE_CUBIC",Image::INTERPOLATE_CUBIC); } void unregister_variant_methods() { diff --git a/core/variant_op.cpp b/core/variant_op.cpp index e549161de9..9182dcde1a 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -2911,6 +2911,14 @@ bool Variant::iter_init(Variant& r_iter,bool &valid) const { return ret; } break; + case STRING: { + + const String *str=reinterpret_cast<const String*>(_data._mem); + if (str->empty()) + return false; + r_iter = 0; + return true; + } break; case DICTIONARY: { const Dictionary *dic=reinterpret_cast<const Dictionary*>(_data._mem); @@ -3028,6 +3036,17 @@ bool Variant::iter_next(Variant& r_iter,bool &valid) const { return ret; } break; + + case STRING: { + + const String *str=reinterpret_cast<const String*>(_data._mem); + int idx = r_iter; + idx++; + if (idx >= str->size()) + return false; + r_iter = idx; + return true; + } break; case DICTIONARY: { const Dictionary *dic=reinterpret_cast<const Dictionary*>(_data._mem); @@ -3158,6 +3177,11 @@ Variant Variant::iter_get(const Variant& r_iter,bool &r_valid) const { return ret; } break; + case STRING: { + + const String *str=reinterpret_cast<const String*>(_data._mem); + return str->substr(r_iter,1); + } break; case DICTIONARY: { return r_iter; //iterator is the same as the key diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 805f64ad8a..dd00a0312c 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -2,10 +2,10 @@ <doc version="2.1.alpha.custom_build" name="Engine Types"> <class name="@GDScript" category="Core"> <brief_description> - Built-in GDScript functions. + Built-in GDScript functions. </brief_description> <description> - This contains the list of built-in gdscript functions. Mostly math functions and other utilities. Everything else is expanded by objects. + This contains the list of built-in gdscript functions. Mostly math functions and other utilities. Everything else is expanded by objects. </description> <methods> <method name="Color8"> @@ -20,7 +20,7 @@ <argument index="3" name="a8" type="int"> </argument> <description> - Make a color from red, green, blue and alpha. Arguments can range from 0 to 255. + Make a color from red, green, blue and alpha. Arguments can range from 0 to 255. </description> </method> <method name="abs"> @@ -29,7 +29,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Remove sign (works for integer and float). + Remove sign (works for integer and float). </description> </method> <method name="acos"> @@ -38,7 +38,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Arc-cosine. + Arc-cosine. </description> </method> <method name="asin"> @@ -47,7 +47,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Arc-sine. + Arc-sine. </description> </method> <method name="assert"> @@ -56,7 +56,7 @@ <argument index="0" name="condition" type="bool"> </argument> <description> - Assert that the condition is true. If the condition is false, generates an error. + Assert that the condition is true. If the condition is false, generates an error. </description> </method> <method name="atan"> @@ -65,7 +65,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Arc-tangent. + Arc-tangent. </description> </method> <method name="atan2"> @@ -76,7 +76,7 @@ <argument index="1" name="y" type="float"> </argument> <description> - Arc-tangent that takes a 2D vector as argument, returns the full -pi to +pi range. + Arc-tangent that takes a 2D vector as argument, returns the full -pi to +pi range. </description> </method> <method name="bytes2var"> @@ -85,7 +85,7 @@ <argument index="0" name="bytes" type="RawArray"> </argument> <description> - Decode a byte array back to a value. + Decode a byte array back to a value. </description> </method> <method name="ceil"> @@ -94,7 +94,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Ceiling (rounds up to nearest integer). + Ceiling (rounds up to nearest integer). </description> </method> <method name="clamp"> @@ -107,7 +107,7 @@ <argument index="2" name="max" type="float"> </argument> <description> - Clamp both values to a range. + Clamp both values to a range. </description> </method> <method name="convert"> @@ -118,7 +118,7 @@ <argument index="1" name="type" type="int"> </argument> <description> - Convert from a type to another in the best way possible. The "type" parameter uses the enum TYPE_* in [@Global Scope]. + Convert from a type to another in the best way possible. The "type" parameter uses the enum TYPE_* in [@Global Scope]. </description> </method> <method name="cos"> @@ -127,7 +127,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Standard cosine function. + Standard cosine function. </description> </method> <method name="cosh"> @@ -136,7 +136,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Hyperbolic cosine. + Hyperbolic cosine. </description> </method> <method name="db2linear"> @@ -145,7 +145,7 @@ <argument index="0" name="db" type="float"> </argument> <description> - Convert from decibels to linear energy (audio). + Convert from decibels to linear energy (audio). </description> </method> <method name="decimals"> @@ -154,7 +154,7 @@ <argument index="0" name="step" type="float"> </argument> <description> - Return the amount of decimals in the floating point value. + Return the amount of decimals in the floating point value. </description> </method> <method name="dectime"> @@ -167,7 +167,7 @@ <argument index="2" name="step" type="float"> </argument> <description> - Decreases time by a specified amount. + Decreases time by a specified amount. </description> </method> <method name="deg2rad"> @@ -176,7 +176,7 @@ <argument index="0" name="deg" type="float"> </argument> <description> - Convert from degrees to radians. + Convert from degrees to radians. </description> </method> <method name="dict2inst"> @@ -185,7 +185,7 @@ <argument index="0" name="dict" type="Dictionary"> </argument> <description> - Convert a previously converted instances to dictionary back into an instance. Useful for deserializing. + Convert a previously converted instances to dictionary back into an instance. Useful for deserializing. </description> </method> <method name="ease"> @@ -196,7 +196,7 @@ <argument index="1" name="curve" type="float"> </argument> <description> - Easing function, based on exponent. 0 is constant, 1 is linear, 0 to 1 is ease-in, 1+ is ease out. Negative values are in-out/out in. + Easing function, based on exponent. 0 is constant, 1 is linear, 0 to 1 is ease-in, 1+ is ease out. Negative values are in-out/out in. </description> </method> <method name="exp"> @@ -205,7 +205,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Exponential logarithm. + Exponential logarithm. </description> </method> <method name="floor"> @@ -214,7 +214,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Floor (rounds down to nearest integer). + Floor (rounds down to nearest integer). </description> </method> <method name="fmod"> @@ -225,7 +225,7 @@ <argument index="1" name="y" type="float"> </argument> <description> - Module (remainder of x/y). + Module (remainder of x/y). </description> </method> <method name="fposmod"> @@ -236,7 +236,7 @@ <argument index="1" name="y" type="float"> </argument> <description> - Module (remainder of x/y) that wraps equally in positive and negative. + Module (remainder of x/y) that wraps equally in positive and negative. </description> </method> <method name="funcref"> @@ -247,7 +247,7 @@ <argument index="1" name="funcname" type="String"> </argument> <description> - Return a reference to the specified function. + Return a reference to the specified function. </description> </method> <method name="hash"> @@ -256,7 +256,7 @@ <argument index="0" name="var:Variant" type="Variant"> </argument> <description> - Hash the variable passed and return an integer. + Hash the variable passed and return an integer. </description> </method> <method name="inst2dict"> @@ -265,7 +265,7 @@ <argument index="0" name="inst" type="Object"> </argument> <description> - Convert a script class instance to a dictionary (useful for serializing). + Convert a script class instance to a dictionary (useful for serializing). </description> </method> <method name="instance_from_id"> @@ -274,7 +274,7 @@ <argument index="0" name="instance_id" type="int"> </argument> <description> - Get an object by its ID. + Get an object by its ID. </description> </method> <method name="is_inf"> @@ -303,7 +303,7 @@ <argument index="2" name="weight" type="float"> </argument> <description> - Linear interpolates between two values by a normalized value. + Linear interpolates between two values by a normalized value. </description> </method> <method name="linear2db"> @@ -312,7 +312,7 @@ <argument index="0" name="nrg" type="float"> </argument> <description> - Convert from linear energy to decibels (audio). + Convert from linear energy to decibels (audio). </description> </method> <method name="load"> @@ -321,7 +321,7 @@ <argument index="0" name="path" type="String"> </argument> <description> - Load a resource from the filesystem, pass a valid path as argument. + Load a resource from the filesystem, pass a valid path as argument. </description> </method> <method name="log"> @@ -330,7 +330,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Natural logarithm. + Natural logarithm. </description> </method> <method name="max"> @@ -341,7 +341,7 @@ <argument index="1" name="b" type="float"> </argument> <description> - Return the maximum of two values. + Return the maximum of two values. </description> </method> <method name="min"> @@ -352,7 +352,7 @@ <argument index="1" name="b" type="float"> </argument> <description> - Return the minimum of two values. + Return the minimum of two values. </description> </method> <method name="nearest_po2"> @@ -361,7 +361,7 @@ <argument index="0" name="val" type="int"> </argument> <description> - Return the nearest larger power of 2 for an integer. + Return the nearest larger power of 2 for an integer. </description> </method> <method name="pow"> @@ -372,7 +372,7 @@ <argument index="1" name="y" type="float"> </argument> <description> - Power function, x elevate to y. + Power function, x elevate to y. </description> </method> <method name="preload"> @@ -381,7 +381,7 @@ <argument index="0" name="path" type="String"> </argument> <description> - Preload a resource from the filesystem. The resource is loaded during script parsing. + Preload a resource from the filesystem. The resource is loaded during script parsing. </description> </method> <method name="print"> @@ -392,14 +392,14 @@ <argument index="1" name="..." type="Variant"> </argument> <description> - Print one or more arguments to strings in the best way possible to a console line. + Print one or more arguments to strings in the best way possible to a console line. </description> </method> <method name="print_stack"> <return type="Nil"> </return> <description> - Print a stack track at code location, only works when running with debugger turned on. + Print a stack track at code location, only works when running with debugger turned on. </description> </method> <method name="printerr"> @@ -410,7 +410,7 @@ <argument index="1" name="..." type="Variant"> </argument> <description> - Print one or more arguments to strings in the best way possible to standard error line. + Print one or more arguments to strings in the best way possible to standard error line. </description> </method> <method name="printraw"> @@ -421,7 +421,7 @@ <argument index="1" name="..." type="Variant"> </argument> <description> - Print one or more arguments to strings in the best way possible to console. No newline is added at the end. + Print one or more arguments to strings in the best way possible to console. No newline is added at the end. </description> </method> <method name="prints"> @@ -432,7 +432,7 @@ <argument index="1" name="..." type="Variant"> </argument> <description> - Print one or more arguments to the console with a space between each argument. + Print one or more arguments to the console with a space between each argument. </description> </method> <method name="printt"> @@ -443,7 +443,7 @@ <argument index="1" name="..." type="Variant"> </argument> <description> - Print one or more arguments to the console with a tab between each argument. + Print one or more arguments to the console with a tab between each argument. </description> </method> <method name="rad2deg"> @@ -452,7 +452,7 @@ <argument index="0" name="rad" type="float"> </argument> <description> - Convert from radians to degrees. + Convert from radians to degrees. </description> </method> <method name="rand_range"> @@ -463,7 +463,7 @@ <argument index="1" name="to" type="float"> </argument> <description> - Random range, any floating point value between 'from' and 'to' + Random range, any floating point value between 'from' and 'to' </description> </method> <method name="rand_seed"> @@ -472,28 +472,28 @@ <argument index="0" name="seed" type="int"> </argument> <description> - Random from seed, pass a seed and an array with both number and new seed is returned. + Random from seed, pass a seed and an array with both number and new seed is returned. </description> </method> <method name="randf"> <return type="float"> </return> <description> - Random value (0 to 1 float). + Random value (0 to 1 float). </description> </method> <method name="randi"> <return type="int"> </return> <description> - Random 32 bits value (integer). To obtain a value from 0 to N, you can use remainder, like (for random from 0 to 19): randi() % 20. + Random 32 bits value (integer). To obtain a value from 0 to N, you can use remainder, like (for random from 0 to 19): randi() % 20. </description> </method> <method name="randomize"> <return type="Nil"> </return> <description> - Reset the seed of the random number generator with a new, different one. + Reset the seed of the random number generator with a new, different one. </description> </method> <method name="range"> @@ -502,7 +502,7 @@ <argument index="0" name="..." type="Variant"> </argument> <description> - Return an array with the given range. Range can be 1 argument N (0 to N-1), two arguments (initial, final-1) or three arguments (initial, final-1, increment). + Return an array with the given range. Range can be 1 argument N (0 to N-1), two arguments (initial, final-1) or three arguments (initial, final-1, increment). </description> </method> <method name="round"> @@ -511,7 +511,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Round to nearest integer. + Round to nearest integer. </description> </method> <method name="seed"> @@ -520,7 +520,7 @@ <argument index="0" name="seed" type="int"> </argument> <description> - Set seed for the random number generator. + Set seed for the random number generator. </description> </method> <method name="sign"> @@ -529,7 +529,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Return sign (-1 or +1). + Return sign (-1 or +1). </description> </method> <method name="sin"> @@ -538,7 +538,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Standard sine function. + Standard sine function. </description> </method> <method name="sinh"> @@ -547,7 +547,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Hyperbolic sine. + Hyperbolic sine. </description> </method> <method name="sqrt"> @@ -556,7 +556,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Square root. + Square root. </description> </method> <method name="stepify"> @@ -567,7 +567,7 @@ <argument index="1" name="step" type="float"> </argument> <description> - Snap float value to a given step. + Snap float value to a given step. </description> </method> <method name="str"> @@ -578,7 +578,7 @@ <argument index="1" name="..." type="Variant"> </argument> <description> - Convert one or more arguments to strings in the best way possible. + Convert one or more arguments to strings in the best way possible. </description> </method> <method name="str2var"> @@ -587,7 +587,7 @@ <argument index="0" name="string" type="String"> </argument> <description> - Convert a formatted string that was returned by [method var2str] to the original value. + Convert a formatted string that was returned by [method var2str] to the original value. </description> </method> <method name="tan"> @@ -596,7 +596,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Standard tangent function. + Standard tangent function. </description> </method> <method name="tanh"> @@ -605,7 +605,7 @@ <argument index="0" name="s" type="float"> </argument> <description> - Hyperbolic tangent. + Hyperbolic tangent. </description> </method> <method name="type_exists"> @@ -622,7 +622,7 @@ <argument index="0" name="what" type="Variant"> </argument> <description> - Return the internal type of the given Variant object, using the TYPE_* enum in [@Global Scope]. + Return the internal type of the given Variant object, using the TYPE_* enum in [@Global Scope]. </description> </method> <method name="var2bytes"> @@ -631,7 +631,7 @@ <argument index="0" name="var" type="Variant"> </argument> <description> - Encode a variable value to a byte array. + Encode a variable value to a byte array. </description> </method> <method name="var2str"> @@ -640,7 +640,7 @@ <argument index="0" name="var" type="Variant"> </argument> <description> - Convert a value to a formatted string that can later be parsed using [method str2var]. + Convert a value to a formatted string that can later be parsed using [method str2var]. </description> </method> <method name="weakref"> @@ -649,7 +649,7 @@ <argument index="0" name="obj" type="Object"> </argument> <description> - Return a weak reference to an object. + Return a weak reference to an object. </description> </method> <method name="yield"> @@ -660,9 +660,8 @@ <argument index="1" name="signal" type="String"> </argument> <description> - Stop the function execution and return the current state. Call resume on the state to resume execution. This makes the state invalid. - Returns anything that was passed to the resume function call. - If passed an object and a signal, the execution is resumed when the object's signal is emmited. + Stop the function execution and return the current state. Call resume on the state to resume execution. This makes the state invalid. + Returns anything that was passed to the resume function call. If passed an object and a signal, the execution is resumed when the object's signal is emmited. </description> </method> </methods> @@ -674,11 +673,11 @@ </class> <class name="@Global Scope" category="Core"> <brief_description> - Global scope constants and variables. + Global scope constants and variables. </brief_description> <description> - Global scope constants and variables. This is all that resides in the globals, constants regarding error codes, scancodes, property hints, etc. It's not much. - Singletons are also documented here, since they can be accessed from anywhere. + Global scope constants and variables. This is all that resides in the globals, constants regarding error codes, scancodes, property hints, etc. It's not much. + Singletons are also documented here, since they can be accessed from anywhere. </description> <methods> </methods> @@ -760,115 +759,23 @@ </member> </members> <constants> - <constant name="BUTTON_LEFT" value="1"> - Left Mouse Button - </constant> - <constant name="BUTTON_MASK_LEFT" value="1"> - </constant> - <constant name="BUTTON_MASK_RIGHT" value="2"> - </constant> - <constant name="BUTTON_RIGHT" value="2"> - Right Mouse Button - </constant> - <constant name="BUTTON_MIDDLE" value="3"> - Middle Mouse Button - </constant> - <constant name="BUTTON_MASK_MIDDLE" value="4"> - </constant> - <constant name="BUTTON_WHEEL_UP" value="4"> - Mouse wheel up - </constant> - <constant name="BUTTON_WHEEL_DOWN" value="5"> - Mouse wheel down - </constant> - <constant name="BUTTON_WHEEL_LEFT" value="6"> - Mouse wheel left button - </constant> - <constant name="BUTTON_WHEEL_RIGHT" value="7"> - Mouse wheel right button - </constant> - <constant name="ERR_FILE_NO_PERMISSION" value="10"> - </constant> - <constant name="ERR_FILE_ALREADY_IN_USE" value="11"> - </constant> - <constant name="ERR_FILE_CANT_OPEN" value="12"> - </constant> - <constant name="ERR_FILE_CANT_WRITE" value="13"> - </constant> - <constant name="ERR_FILE_CANT_READ" value="14"> - </constant> - <constant name="ERR_FILE_UNRECOGNIZED" value="15"> - </constant> - <constant name="ERR_FILE_CORRUPT" value="16"> - </constant> - <constant name="ERR_FILE_MISSING_DEPENDENCIES" value="17"> - </constant> - <constant name="ERR_FILE_EOF" value="18"> - </constant> - <constant name="ERR_CANT_OPEN" value="19"> - </constant> - <constant name="ERR_UNAVAILABLE" value="2"> - </constant> - <constant name="ERR_CANT_CREATE" value="20"> - </constant> - <constant name="ERR_ALREADY_IN_USE" value="22"> - </constant> - <constant name="ERR_LOCKED" value="23"> - </constant> - <constant name="ERR_TIMEOUT" value="24"> - </constant> - <constant name="ERR_CANT_AQUIRE_RESOURCE" value="28"> - </constant> - <constant name="ERR_UNCONFIGURED" value="3"> - </constant> - <constant name="ERR_INVALID_DATA" value="30"> - </constant> - <constant name="ERR_INVALID_PARAMETER" value="31"> - </constant> - <constant name="ERR_ALREADY_EXISTS" value="32"> - </constant> - <constant name="ERR_DOES_NOT_EXIST" value="33"> - </constant> - <constant name="ERR_DATABASE_CANT_READ" value="34"> - </constant> - <constant name="ERR_DATABASE_CANT_WRITE" value="35"> - </constant> - <constant name="ERR_COMPILATION_FAILED" value="36"> - </constant> - <constant name="ERR_METHOD_NOT_FOUND" value="37"> - </constant> - <constant name="ERR_LINK_FAILED" value="38"> - </constant> - <constant name="ERR_SCRIPT_FAILED" value="39"> - </constant> - <constant name="ERR_UNAUTHORIZED" value="4"> - </constant> - <constant name="ERR_CYCLIC_LINK" value="40"> - </constant> - <constant name="ERR_PARSE_ERROR" value="43"> - </constant> - <constant name="ERR_BUSY" value="44"> - </constant> - <constant name="ERR_HELP" value="46"> - </constant> - <constant name="ERR_BUG" value="47"> - </constant> - <constant name="ERR_WTF" value="49"> - </constant> - <constant name="ERR_PARAMETER_RANGE_ERROR" value="5"> - </constant> - <constant name="ERR_OUT_OF_MEMORY" value="6"> + <constant name="MARGIN_LEFT" value="0"> + Left margin, used usually for [Control] or [StyleBox] derived classes. </constant> - <constant name="ERR_FILE_NOT_FOUND" value="7"> + <constant name="MARGIN_TOP" value="1"> + Top margin, used usually for [Control] or [StyleBox] derived classes. </constant> - <constant name="ERR_FILE_BAD_DRIVE" value="8"> + <constant name="MARGIN_RIGHT" value="2"> + Right margin, used usually for [Control] or [StyleBox] derived classes. </constant> - <constant name="ERR_FILE_BAD_PATH" value="9"> + <constant name="MARGIN_BOTTOM" value="3"> + Bottom margin, used usually for [Control] or [StyleBox] derived classes. </constant> - <constant name="ERROR_QUERY_FAILED" value="21"> + <constant name="VERTICAL" value="1"> + General vertical alignment, used usually for [Separator], [ScrollBar], [Slider], etc. </constant> - <constant name="FAILED" value="1"> - Generic fail return error. + <constant name="HORIZONTAL" value="0"> + General horizontal alignment, used usually for [Separator], [ScrollBar], [Slider], etc. </constant> <constant name="HALIGN_LEFT" value="0"> Horizontal left alignment, usually for text-derived classes. @@ -879,232 +786,17 @@ <constant name="HALIGN_RIGHT" value="2"> Horizontal right alignment, usually for text-derived classes. </constant> - <constant name="HORIZONTAL" value="0"> - General horizontal alignment, used usually for [Separator], [ScrollBar], [Slider], etc. - </constant> - <constant name="JOY_ANALOG_0_X" value="0"> - Joystick Left Stick Horizontal Axis - </constant> - <constant name="JOY_AXIS_0" value="0"> - Joystick Left Stick Horizontal Axis - </constant> - <constant name="JOY_BUTTON_0" value="0"> - Joystick Button 0 - </constant> - <constant name="JOY_DS_B" value="0"> - </constant> - <constant name="JOY_SEGA_A" value="0"> - SEGA controller A button - </constant> - <constant name="JOY_SNES_B" value="0"> - Super Nintendo Entertaiment System controller B button - </constant> - <constant name="JOY_SONY_X" value="0"> - DUALSHOCK X button - </constant> - <constant name="JOY_XBOX_A" value="0"> - XBOX controller A button - </constant> - <constant name="JOY_ANALOG_0_Y" value="1"> - Joystick Left Stick Vertical Axis - </constant> - <constant name="JOY_AXIS_1" value="1"> - Joystick Left Stick Vertical Axis - </constant> - <constant name="JOY_BUTTON_1" value="1"> - Joystick Button 1 - </constant> - <constant name="JOY_DS_A" value="1"> - </constant> - <constant name="JOY_SEGA_B" value="1"> - SEGA controller B button - </constant> - <constant name="JOY_SNES_A" value="1"> - Super Nintendo Entertaiment System controller A button - </constant> - <constant name="JOY_SONY_CIRCLE" value="1"> - DUALSHOCK circle button - </constant> - <constant name="JOY_XBOX_B" value="1"> - XBOX controller B button - </constant> - <constant name="JOY_BUTTON_10" value="10"> - Joystick Button 10 - </constant> - <constant name="JOY_SELECT" value="10"> - Joystick Button Select - </constant> - <constant name="JOY_BUTTON_11" value="11"> - Joystick Button 11 - </constant> - <constant name="JOY_START" value="11"> - Joystick Button Start - </constant> - <constant name="JOY_BUTTON_12" value="12"> - Joystick Button 12 - </constant> - <constant name="JOY_DPAD_UP" value="12"> - Joystick DPad Up - </constant> - <constant name="JOY_BUTTON_13" value="13"> - Joystick Button 13 - </constant> - <constant name="JOY_DPAD_DOWN" value="13"> - Joystick DPad Down - </constant> - <constant name="JOY_BUTTON_14" value="14"> - Joystick Button 14 - </constant> - <constant name="JOY_DPAD_LEFT" value="14"> - Joystick DPad Left - </constant> - <constant name="JOY_BUTTON_15" value="15"> - Joystick Button 15 - </constant> - <constant name="JOY_DPAD_RIGHT" value="15"> - Joystick DPad Right - </constant> - <constant name="JOY_BUTTON_MAX" value="16"> - Joystick Button 16 - </constant> - <constant name="JOY_ANALOG_1_X" value="2"> - Joystick Right Stick Horizontal Axis - </constant> - <constant name="JOY_AXIS_2" value="2"> - Joystick Right Stick Horizontal Axis - </constant> - <constant name="JOY_BUTTON_2" value="2"> - Joystick Button 2 - </constant> - <constant name="JOY_DS_Y" value="2"> - </constant> - <constant name="JOY_SEGA_X" value="2"> - SEGA controller X button - </constant> - <constant name="JOY_SNES_Y" value="2"> - Super Nintendo Entertaiment System controller Y button - </constant> - <constant name="JOY_SONY_SQUARE" value="2"> - DUALSHOCK square button - </constant> - <constant name="JOY_XBOX_X" value="2"> - XBOX controller X button - </constant> - <constant name="JOY_ANALOG_1_Y" value="3"> - Joystick Right Stick Vertical Axis - </constant> - <constant name="JOY_AXIS_3" value="3"> - Joystick Right Stick Vertical Axis - </constant> - <constant name="JOY_BUTTON_3" value="3"> - Joystick Button 3 - </constant> - <constant name="JOY_DS_X" value="3"> - </constant> - <constant name="JOY_SEGA_Y" value="3"> - SEGA controller Y button - </constant> - <constant name="JOY_SNES_X" value="3"> - Super Nintendo Entertaiment System controller X button - </constant> - <constant name="JOY_SONY_TRIANGLE" value="3"> - DUALSHOCK triangle button - </constant> - <constant name="JOY_XBOX_Y" value="3"> - XBOX controller Y button - </constant> - <constant name="JOY_ANALOG_2_X" value="4"> - </constant> - <constant name="JOY_AXIS_4" value="4"> - </constant> - <constant name="JOY_BUTTON_4" value="4"> - Joystick Button 4 - </constant> - <constant name="JOY_L" value="4"> - Joystick Left Shoulder Button - </constant> - <constant name="JOY_ANALOG_2_Y" value="5"> - </constant> - <constant name="JOY_AXIS_5" value="5"> - </constant> - <constant name="JOY_BUTTON_5" value="5"> - Joystick Button 5 - </constant> - <constant name="JOY_R" value="5"> - Joystick Right Shoulder Button - </constant> - <constant name="JOY_ANALOG_L2" value="6"> - </constant> - <constant name="JOY_AXIS_6" value="6"> - Joystick Left Trigger Analog Axis - </constant> - <constant name="JOY_BUTTON_6" value="6"> - Joystick Button 6 - </constant> - <constant name="JOY_L2" value="6"> - Joystick Left Trigger - </constant> - <constant name="JOY_ANALOG_R2" value="7"> - </constant> - <constant name="JOY_AXIS_7" value="7"> - Joystick Right Trigger Analog Axis - </constant> - <constant name="JOY_BUTTON_7" value="7"> - Joystick Button 7 - </constant> - <constant name="JOY_R2" value="7"> - Joystick Right Trigger - </constant> - <constant name="JOY_AXIS_MAX" value="8"> - </constant> - <constant name="JOY_BUTTON_8" value="8"> - Joystick Button 8 - </constant> - <constant name="JOY_L3" value="8"> - Joystick Left Stick Click - </constant> - <constant name="JOY_BUTTON_9" value="9"> - Joystick Button 9 - </constant> - <constant name="JOY_R3" value="9"> - Joystick Right Stick Click - </constant> - <constant name="KEY_MODIFIER_MASK" value="-16777216"> - </constant> - <constant name="KEY_MASK_GROUP_SWITCH" value="1073741824"> - </constant> - <constant name="KEY_BRACELEFT" value="123"> - { key - </constant> - <constant name="KEY_BAR" value="124"> - | key - </constant> - <constant name="KEY_BRACERIGHT" value="125"> - } key - </constant> - <constant name="KEY_ASCIITILDE" value="126"> - ~ key - </constant> - <constant name="KEY_MASK_META" value="134217728"> - </constant> - <constant name="KEY_NOBREAKSPACE" value="160"> - </constant> - <constant name="KEY_EXCLAMDOWN" value="161"> - </constant> - <constant name="KEY_CENT" value="162"> - ¢ key - </constant> - <constant name="KEY_STERLING" value="163"> - </constant> - <constant name="KEY_CURRENCY" value="164"> + <constant name="VALIGN_TOP" value="0"> + Vertical top alignment, usually for text-derived classes. </constant> - <constant name="KEY_YEN" value="165"> + <constant name="VALIGN_CENTER" value="1"> + Vertical center alignment, usually for text-derived classes. </constant> - <constant name="KEY_BROKENBAR" value="166"> - ¦ key + <constant name="VALIGN_BOTTOM" value="2"> + Vertical bottom alignment, usually for text-derived classes. </constant> - <constant name="KEY_SECTION" value="167"> - § key + <constant name="SPKEY" value="16777216"> + Scancodes with this bit applied are non printable. </constant> <constant name="KEY_ESCAPE" value="16777217"> Escape Key @@ -1232,6 +924,54 @@ <constant name="KEY_F16" value="16777259"> F16 Key </constant> + <constant name="KEY_KP_ENTER" value="16777344"> + Enter Key on Numpad + </constant> + <constant name="KEY_KP_MULTIPLY" value="16777345"> + Multiply Key on Numpad + </constant> + <constant name="KEY_KP_DIVIDE" value="16777346"> + Divide Key on Numpad + </constant> + <constant name="KEY_KP_SUBTRACT" value="16777347"> + Subtract Key on Numpad + </constant> + <constant name="KEY_KP_PERIOD" value="16777348"> + Period Key on Numpad + </constant> + <constant name="KEY_KP_ADD" value="16777349"> + Add Key on Numpad + </constant> + <constant name="KEY_KP_0" value="16777350"> + Number 0 on Numpad + </constant> + <constant name="KEY_KP_1" value="16777351"> + Number 1 on Numpad + </constant> + <constant name="KEY_KP_2" value="16777352"> + Number 2 on Numpad + </constant> + <constant name="KEY_KP_3" value="16777353"> + Number 3 on Numpad + </constant> + <constant name="KEY_KP_4" value="16777354"> + Number 4 on Numpad + </constant> + <constant name="KEY_KP_5" value="16777355"> + Number 5 on Numpad + </constant> + <constant name="KEY_KP_6" value="16777356"> + Number 6 on Numpad + </constant> + <constant name="KEY_KP_7" value="16777357"> + Number 7 on Numpad + </constant> + <constant name="KEY_KP_8" value="16777358"> + Number 8 on Numpad + </constant> + <constant name="KEY_KP_9" value="16777359"> + Number 9 on Numpad + </constant> <constant name="KEY_SUPER_L" value="16777260"> Super Left key (windows key) </constant> @@ -1347,53 +1087,232 @@ </constant> <constant name="KEY_LAUNCHF" value="16777319"> </constant> - <constant name="KEY_KP_ENTER" value="16777344"> - Enter Key on Numpad + <constant name="KEY_UNKNOWN" value="33554431"> </constant> - <constant name="KEY_KP_MULTIPLY" value="16777345"> - Multiply Key on Numpad + <constant name="KEY_SPACE" value="32"> + Space Key </constant> - <constant name="KEY_KP_DIVIDE" value="16777346"> - Divide Key on Numpad + <constant name="KEY_EXCLAM" value="33"> + ! key </constant> - <constant name="KEY_KP_SUBTRACT" value="16777347"> - Subtract Key on Numpad + <constant name="KEY_QUOTEDBL" value="34"> + " key </constant> - <constant name="KEY_KP_PERIOD" value="16777348"> - Period Key on Numpad + <constant name="KEY_NUMBERSIGN" value="35"> + # key </constant> - <constant name="KEY_KP_ADD" value="16777349"> - Add Key on Numpad + <constant name="KEY_DOLLAR" value="36"> + $ key </constant> - <constant name="KEY_KP_0" value="16777350"> - Number 0 on Numpad + <constant name="KEY_PERCENT" value="37"> + % key </constant> - <constant name="KEY_KP_1" value="16777351"> - Number 1 on Numpad + <constant name="KEY_AMPERSAND" value="38"> + & key </constant> - <constant name="KEY_KP_2" value="16777352"> - Number 2 on Numpad + <constant name="KEY_APOSTROPHE" value="39"> + ' key </constant> - <constant name="KEY_KP_3" value="16777353"> - Number 3 on Numpad + <constant name="KEY_PARENLEFT" value="40"> + ( key </constant> - <constant name="KEY_KP_4" value="16777354"> - Number 4 on Numpad + <constant name="KEY_PARENRIGHT" value="41"> + ) key </constant> - <constant name="KEY_KP_5" value="16777355"> - Number 5 on Numpad + <constant name="KEY_ASTERISK" value="42"> + * key </constant> - <constant name="KEY_KP_6" value="16777356"> - Number 6 on Numpad + <constant name="KEY_PLUS" value="43"> + + key </constant> - <constant name="KEY_KP_7" value="16777357"> - Number 7 on Numpad + <constant name="KEY_COMMA" value="44"> + , key </constant> - <constant name="KEY_KP_8" value="16777358"> - Number 8 on Numpad + <constant name="KEY_MINUS" value="45"> + - key </constant> - <constant name="KEY_KP_9" value="16777359"> - Number 9 on Numpad + <constant name="KEY_PERIOD" value="46"> + . key + </constant> + <constant name="KEY_SLASH" value="47"> + / key + </constant> + <constant name="KEY_0" value="48"> + Number 0 + </constant> + <constant name="KEY_1" value="49"> + Number 1 + </constant> + <constant name="KEY_2" value="50"> + Number 2 + </constant> + <constant name="KEY_3" value="51"> + Number 3 + </constant> + <constant name="KEY_4" value="52"> + Number 4 + </constant> + <constant name="KEY_5" value="53"> + Number 5 + </constant> + <constant name="KEY_6" value="54"> + Number 6 + </constant> + <constant name="KEY_7" value="55"> + Number 7 + </constant> + <constant name="KEY_8" value="56"> + Number 8 + </constant> + <constant name="KEY_9" value="57"> + Number 9 + </constant> + <constant name="KEY_COLON" value="58"> + : key + </constant> + <constant name="KEY_SEMICOLON" value="59"> + ; key + </constant> + <constant name="KEY_LESS" value="60"> + Lower than key + </constant> + <constant name="KEY_EQUAL" value="61"> + = key + </constant> + <constant name="KEY_GREATER" value="62"> + Greater than key + </constant> + <constant name="KEY_QUESTION" value="63"> + ? key + </constant> + <constant name="KEY_AT" value="64"> + @ key + </constant> + <constant name="KEY_A" value="65"> + A Key + </constant> + <constant name="KEY_B" value="66"> + B Key + </constant> + <constant name="KEY_C" value="67"> + C Key + </constant> + <constant name="KEY_D" value="68"> + D Key + </constant> + <constant name="KEY_E" value="69"> + E Key + </constant> + <constant name="KEY_F" value="70"> + F Key + </constant> + <constant name="KEY_G" value="71"> + G Key + </constant> + <constant name="KEY_H" value="72"> + H Key + </constant> + <constant name="KEY_I" value="73"> + I Key + </constant> + <constant name="KEY_J" value="74"> + J Key + </constant> + <constant name="KEY_K" value="75"> + K Key + </constant> + <constant name="KEY_L" value="76"> + L Key + </constant> + <constant name="KEY_M" value="77"> + M Key + </constant> + <constant name="KEY_N" value="78"> + N Key + </constant> + <constant name="KEY_O" value="79"> + O Key + </constant> + <constant name="KEY_P" value="80"> + P Key + </constant> + <constant name="KEY_Q" value="81"> + Q Key + </constant> + <constant name="KEY_R" value="82"> + R Key + </constant> + <constant name="KEY_S" value="83"> + S Key + </constant> + <constant name="KEY_T" value="84"> + T Key + </constant> + <constant name="KEY_U" value="85"> + U Key + </constant> + <constant name="KEY_V" value="86"> + V Key + </constant> + <constant name="KEY_W" value="87"> + W Key + </constant> + <constant name="KEY_X" value="88"> + X Key + </constant> + <constant name="KEY_Y" value="89"> + Y Key + </constant> + <constant name="KEY_Z" value="90"> + Z Key + </constant> + <constant name="KEY_BRACKETLEFT" value="91"> + [ key + </constant> + <constant name="KEY_BACKSLASH" value="92"> + \ key + </constant> + <constant name="KEY_BRACKETRIGHT" value="93"> + ] key + </constant> + <constant name="KEY_ASCIICIRCUM" value="94"> + ^ key + </constant> + <constant name="KEY_UNDERSCORE" value="95"> + _ key + </constant> + <constant name="KEY_QUOTELEFT" value="96"> + </constant> + <constant name="KEY_BRACELEFT" value="123"> + { key + </constant> + <constant name="KEY_BAR" value="124"> + | key + </constant> + <constant name="KEY_BRACERIGHT" value="125"> + } key + </constant> + <constant name="KEY_ASCIITILDE" value="126"> + ~ key + </constant> + <constant name="KEY_NOBREAKSPACE" value="160"> + </constant> + <constant name="KEY_EXCLAMDOWN" value="161"> + </constant> + <constant name="KEY_CENT" value="162"> + ¢ key + </constant> + <constant name="KEY_STERLING" value="163"> + </constant> + <constant name="KEY_CURRENCY" value="164"> + </constant> + <constant name="KEY_YEN" value="165"> + </constant> + <constant name="KEY_BROKENBAR" value="166"> + ¦ key + </constant> + <constant name="KEY_SECTION" value="167"> + § key </constant> <constant name="KEY_DIAERESIS" value="168"> ¨ key @@ -1526,266 +1445,356 @@ </constant> <constant name="KEY_YDIAERESIS" value="255"> </constant> - <constant name="KEY_MASK_CMD" value="268435456"> + <constant name="KEY_CODE_MASK" value="33554431"> </constant> - <constant name="KEY_MASK_CTRL" value="268435456"> + <constant name="KEY_MODIFIER_MASK" value="-16777216"> </constant> - <constant name="KEY_SPACE" value="32"> - Space Key + <constant name="KEY_MASK_SHIFT" value="33554432"> </constant> - <constant name="KEY_EXCLAM" value="33"> - ! key + <constant name="KEY_MASK_ALT" value="67108864"> </constant> - <constant name="KEY_CODE_MASK" value="33554431"> + <constant name="KEY_MASK_META" value="134217728"> </constant> - <constant name="KEY_UNKNOWN" value="33554431"> + <constant name="KEY_MASK_CTRL" value="268435456"> </constant> - <constant name="KEY_MASK_SHIFT" value="33554432"> + <constant name="KEY_MASK_CMD" value="268435456"> </constant> - <constant name="KEY_QUOTEDBL" value="34"> - " key + <constant name="KEY_MASK_KPAD" value="536870912"> </constant> - <constant name="KEY_NUMBERSIGN" value="35"> - # key + <constant name="KEY_MASK_GROUP_SWITCH" value="1073741824"> </constant> - <constant name="KEY_DOLLAR" value="36"> - $ key + <constant name="BUTTON_LEFT" value="1"> + Left Mouse Button </constant> - <constant name="KEY_PERCENT" value="37"> - % key + <constant name="BUTTON_RIGHT" value="2"> + Right Mouse Button </constant> - <constant name="KEY_AMPERSAND" value="38"> - & key + <constant name="BUTTON_MIDDLE" value="3"> + Middle Mouse Button </constant> - <constant name="KEY_APOSTROPHE" value="39"> - ' key + <constant name="BUTTON_WHEEL_UP" value="4"> + Mouse wheel up </constant> - <constant name="KEY_PARENLEFT" value="40"> - ( key + <constant name="BUTTON_WHEEL_DOWN" value="5"> + Mouse wheel down </constant> - <constant name="KEY_PARENRIGHT" value="41"> - ) key + <constant name="BUTTON_WHEEL_LEFT" value="6"> + Mouse wheel left button </constant> - <constant name="KEY_ASTERISK" value="42"> - * key + <constant name="BUTTON_WHEEL_RIGHT" value="7"> + Mouse wheel right button </constant> - <constant name="KEY_PLUS" value="43"> - + key + <constant name="BUTTON_MASK_LEFT" value="1"> </constant> - <constant name="KEY_COMMA" value="44"> - , key + <constant name="BUTTON_MASK_RIGHT" value="2"> </constant> - <constant name="KEY_MINUS" value="45"> - - key + <constant name="BUTTON_MASK_MIDDLE" value="4"> </constant> - <constant name="KEY_PERIOD" value="46"> - . key + <constant name="JOY_BUTTON_0" value="0"> + Joystick Button 0 </constant> - <constant name="KEY_SLASH" value="47"> - / key + <constant name="JOY_BUTTON_1" value="1"> + Joystick Button 1 </constant> - <constant name="KEY_0" value="48"> - Number 0 + <constant name="JOY_BUTTON_2" value="2"> + Joystick Button 2 </constant> - <constant name="KEY_1" value="49"> - Number 1 + <constant name="JOY_BUTTON_3" value="3"> + Joystick Button 3 </constant> - <constant name="KEY_2" value="50"> - Number 2 + <constant name="JOY_BUTTON_4" value="4"> + Joystick Button 4 </constant> - <constant name="KEY_3" value="51"> - Number 3 + <constant name="JOY_BUTTON_5" value="5"> + Joystick Button 5 </constant> - <constant name="KEY_4" value="52"> - Number 4 + <constant name="JOY_BUTTON_6" value="6"> + Joystick Button 6 </constant> - <constant name="KEY_5" value="53"> - Number 5 + <constant name="JOY_BUTTON_7" value="7"> + Joystick Button 7 </constant> - <constant name="KEY_MASK_KPAD" value="536870912"> + <constant name="JOY_BUTTON_8" value="8"> + Joystick Button 8 </constant> - <constant name="KEY_6" value="54"> - Number 6 + <constant name="JOY_BUTTON_9" value="9"> + Joystick Button 9 </constant> - <constant name="KEY_7" value="55"> - Number 7 + <constant name="JOY_BUTTON_10" value="10"> + Joystick Button 10 </constant> - <constant name="KEY_8" value="56"> - Number 8 + <constant name="JOY_BUTTON_11" value="11"> + Joystick Button 11 </constant> - <constant name="KEY_9" value="57"> - Number 9 + <constant name="JOY_BUTTON_12" value="12"> + Joystick Button 12 </constant> - <constant name="KEY_COLON" value="58"> - : key + <constant name="JOY_BUTTON_13" value="13"> + Joystick Button 13 </constant> - <constant name="KEY_SEMICOLON" value="59"> - ; key + <constant name="JOY_BUTTON_14" value="14"> + Joystick Button 14 </constant> - <constant name="KEY_LESS" value="60"> - Lower than key + <constant name="JOY_BUTTON_15" value="15"> + Joystick Button 15 </constant> - <constant name="KEY_EQUAL" value="61"> - = key + <constant name="JOY_BUTTON_MAX" value="16"> + Joystick Button 16 </constant> - <constant name="KEY_GREATER" value="62"> - Greater than key + <constant name="JOY_SNES_A" value="1"> + Super Nintendo Entertaiment System controller A button </constant> - <constant name="KEY_QUESTION" value="63"> - ? key + <constant name="JOY_SNES_B" value="0"> + Super Nintendo Entertaiment System controller B button </constant> - <constant name="KEY_AT" value="64"> - @ key + <constant name="JOY_SNES_X" value="3"> + Super Nintendo Entertaiment System controller X button </constant> - <constant name="KEY_A" value="65"> - A Key + <constant name="JOY_SNES_Y" value="2"> + Super Nintendo Entertaiment System controller Y button </constant> - <constant name="KEY_B" value="66"> - B Key + <constant name="JOY_SONY_CIRCLE" value="1"> + DUALSHOCK circle button </constant> - <constant name="KEY_C" value="67"> - C Key + <constant name="JOY_SONY_X" value="0"> + DUALSHOCK X button </constant> - <constant name="KEY_MASK_ALT" value="67108864"> + <constant name="JOY_SONY_SQUARE" value="2"> + DUALSHOCK square button </constant> - <constant name="KEY_D" value="68"> - D Key + <constant name="JOY_SONY_TRIANGLE" value="3"> + DUALSHOCK triangle button </constant> - <constant name="KEY_E" value="69"> - E Key + <constant name="JOY_SEGA_B" value="1"> + SEGA controller B button </constant> - <constant name="KEY_F" value="70"> - F Key + <constant name="JOY_SEGA_A" value="0"> + SEGA controller A button </constant> - <constant name="KEY_G" value="71"> - G Key + <constant name="JOY_SEGA_X" value="2"> + SEGA controller X button </constant> - <constant name="KEY_H" value="72"> - H Key + <constant name="JOY_SEGA_Y" value="3"> + SEGA controller Y button </constant> - <constant name="KEY_I" value="73"> - I Key + <constant name="JOY_XBOX_B" value="1"> + XBOX controller B button </constant> - <constant name="KEY_J" value="74"> - J Key + <constant name="JOY_XBOX_A" value="0"> + XBOX controller A button </constant> - <constant name="KEY_K" value="75"> - K Key + <constant name="JOY_XBOX_X" value="2"> + XBOX controller X button </constant> - <constant name="KEY_L" value="76"> - L Key + <constant name="JOY_XBOX_Y" value="3"> + XBOX controller Y button </constant> - <constant name="KEY_M" value="77"> - M Key + <constant name="JOY_DS_A" value="1"> </constant> - <constant name="KEY_N" value="78"> - N Key + <constant name="JOY_DS_B" value="0"> </constant> - <constant name="KEY_O" value="79"> - O Key + <constant name="JOY_DS_X" value="3"> </constant> - <constant name="KEY_P" value="80"> - P Key + <constant name="JOY_DS_Y" value="2"> </constant> - <constant name="KEY_Q" value="81"> - Q Key + <constant name="JOY_SELECT" value="10"> + Joystick Button Select </constant> - <constant name="KEY_R" value="82"> - R Key + <constant name="JOY_START" value="11"> + Joystick Button Start </constant> - <constant name="KEY_S" value="83"> - S Key + <constant name="JOY_DPAD_UP" value="12"> + Joystick DPad Up </constant> - <constant name="KEY_T" value="84"> - T Key + <constant name="JOY_DPAD_DOWN" value="13"> + Joystick DPad Down </constant> - <constant name="KEY_U" value="85"> - U Key + <constant name="JOY_DPAD_LEFT" value="14"> + Joystick DPad Left </constant> - <constant name="KEY_V" value="86"> - V Key + <constant name="JOY_DPAD_RIGHT" value="15"> + Joystick DPad Right </constant> - <constant name="KEY_W" value="87"> - W Key + <constant name="JOY_L" value="4"> + Joystick Left Shoulder Button </constant> - <constant name="KEY_X" value="88"> - X Key + <constant name="JOY_L2" value="6"> + Joystick Left Trigger </constant> - <constant name="KEY_Y" value="89"> - Y Key + <constant name="JOY_L3" value="8"> + Joystick Left Stick Click </constant> - <constant name="KEY_Z" value="90"> - Z Key + <constant name="JOY_R" value="5"> + Joystick Right Shoulder Button </constant> - <constant name="KEY_BRACKETLEFT" value="91"> - [ key + <constant name="JOY_R2" value="7"> + Joystick Right Trigger </constant> - <constant name="KEY_BACKSLASH" value="92"> - \ key + <constant name="JOY_R3" value="9"> + Joystick Right Stick Click </constant> - <constant name="KEY_BRACKETRIGHT" value="93"> - ] key + <constant name="JOY_AXIS_0" value="0"> + Joystick Left Stick Horizontal Axis </constant> - <constant name="KEY_ASCIICIRCUM" value="94"> - ^ key + <constant name="JOY_AXIS_1" value="1"> + Joystick Left Stick Vertical Axis </constant> - <constant name="KEY_UNDERSCORE" value="95"> - _ key + <constant name="JOY_AXIS_2" value="2"> + Joystick Right Stick Horizontal Axis </constant> - <constant name="KEY_QUOTELEFT" value="96"> + <constant name="JOY_AXIS_3" value="3"> + Joystick Right Stick Vertical Axis </constant> - <constant name="MARGIN_LEFT" value="0"> - Left margin, used usually for [Control] or [StyleBox] derived classes. + <constant name="JOY_AXIS_4" value="4"> </constant> - <constant name="MARGIN_TOP" value="1"> - Top margin, used usually for [Control] or [StyleBox] derived classes. + <constant name="JOY_AXIS_5" value="5"> </constant> - <constant name="MARGIN_RIGHT" value="2"> - Right margin, used usually for [Control] or [StyleBox] derived classes. + <constant name="JOY_AXIS_6" value="6"> + Joystick Left Trigger Analog Axis </constant> - <constant name="MARGIN_BOTTOM" value="3"> - Bottom margin, used usually for [Control] or [StyleBox] derived classes. + <constant name="JOY_AXIS_7" value="7"> + Joystick Right Trigger Analog Axis </constant> - <constant name="METHOD_FLAGS_DEFAULT" value="1"> + <constant name="JOY_AXIS_MAX" value="8"> </constant> - <constant name="METHOD_FLAG_NORMAL" value="1"> + <constant name="JOY_ANALOG_0_X" value="0"> + Joystick Left Stick Horizontal Axis </constant> - <constant name="METHOD_FLAG_REVERSE" value="16"> + <constant name="JOY_ANALOG_0_Y" value="1"> + Joystick Left Stick Vertical Axis </constant> - <constant name="METHOD_FLAG_EDITOR" value="2"> + <constant name="JOY_ANALOG_1_X" value="2"> + Joystick Right Stick Horizontal Axis </constant> - <constant name="METHOD_FLAG_VIRTUAL" value="32"> + <constant name="JOY_ANALOG_1_Y" value="3"> + Joystick Right Stick Vertical Axis </constant> - <constant name="METHOD_FLAG_NOSCRIPT" value="4"> + <constant name="JOY_ANALOG_2_X" value="4"> </constant> - <constant name="METHOD_FLAG_FROM_SCRIPT" value="64"> + <constant name="JOY_ANALOG_2_Y" value="5"> </constant> - <constant name="METHOD_FLAG_CONST" value="8"> + <constant name="JOY_ANALOG_L2" value="6"> + </constant> + <constant name="JOY_ANALOG_R2" value="7"> </constant> <constant name="OK" value="0"> Functions that return Error return OK when everything went ok. Most functions don't return error anyway and/or just print errors to stdout. </constant> + <constant name="FAILED" value="1"> + Generic fail return error. + </constant> + <constant name="ERR_UNAVAILABLE" value="2"> + </constant> + <constant name="ERR_UNCONFIGURED" value="3"> + </constant> + <constant name="ERR_UNAUTHORIZED" value="4"> + </constant> + <constant name="ERR_PARAMETER_RANGE_ERROR" value="5"> + </constant> + <constant name="ERR_OUT_OF_MEMORY" value="6"> + </constant> + <constant name="ERR_FILE_NOT_FOUND" value="7"> + </constant> + <constant name="ERR_FILE_BAD_DRIVE" value="8"> + </constant> + <constant name="ERR_FILE_BAD_PATH" value="9"> + </constant> + <constant name="ERR_FILE_NO_PERMISSION" value="10"> + </constant> + <constant name="ERR_FILE_ALREADY_IN_USE" value="11"> + </constant> + <constant name="ERR_FILE_CANT_OPEN" value="12"> + </constant> + <constant name="ERR_FILE_CANT_WRITE" value="13"> + </constant> + <constant name="ERR_FILE_CANT_READ" value="14"> + </constant> + <constant name="ERR_FILE_UNRECOGNIZED" value="15"> + </constant> + <constant name="ERR_FILE_CORRUPT" value="16"> + </constant> + <constant name="ERR_FILE_MISSING_DEPENDENCIES" value="17"> + </constant> + <constant name="ERR_FILE_EOF" value="18"> + </constant> + <constant name="ERR_CANT_OPEN" value="19"> + </constant> + <constant name="ERR_CANT_CREATE" value="20"> + </constant> + <constant name="ERR_PARSE_ERROR" value="43"> + </constant> + <constant name="ERROR_QUERY_FAILED" value="21"> + </constant> + <constant name="ERR_ALREADY_IN_USE" value="22"> + </constant> + <constant name="ERR_LOCKED" value="23"> + </constant> + <constant name="ERR_TIMEOUT" value="24"> + </constant> + <constant name="ERR_CANT_AQUIRE_RESOURCE" value="28"> + </constant> + <constant name="ERR_INVALID_DATA" value="30"> + </constant> + <constant name="ERR_INVALID_PARAMETER" value="31"> + </constant> + <constant name="ERR_ALREADY_EXISTS" value="32"> + </constant> + <constant name="ERR_DOES_NOT_EXIST" value="33"> + </constant> + <constant name="ERR_DATABASE_CANT_READ" value="34"> + </constant> + <constant name="ERR_DATABASE_CANT_WRITE" value="35"> + </constant> + <constant name="ERR_COMPILATION_FAILED" value="36"> + </constant> + <constant name="ERR_METHOD_NOT_FOUND" value="37"> + </constant> + <constant name="ERR_LINK_FAILED" value="38"> + </constant> + <constant name="ERR_SCRIPT_FAILED" value="39"> + </constant> + <constant name="ERR_CYCLIC_LINK" value="40"> + </constant> + <constant name="ERR_BUSY" value="44"> + </constant> + <constant name="ERR_HELP" value="46"> + </constant> + <constant name="ERR_BUG" value="47"> + </constant> + <constant name="ERR_WTF" value="49"> + </constant> <constant name="PROPERTY_HINT_NONE" value="0"> No hint for edited property. </constant> <constant name="PROPERTY_HINT_RANGE" value="1"> Hints that the string is a range, defined as "min,max" or "min,max,step". This is valid for integers and floats. </constant> - <constant name="PROPERTY_USAGE_STORAGE" value="1"> - Property will be used as storage (default). + <constant name="PROPERTY_HINT_EXP_RANGE" value="2"> + Hints that the string is an exponential range, defined as "min,max" or "min,max,step". This is valid for integers and floats. + </constant> + <constant name="PROPERTY_HINT_ENUM" value="3"> + Property hint for an enumerated value, like "Hello,Something,Else". This is valid for integer, float and string properties. + </constant> + <constant name="PROPERTY_HINT_EXP_EASING" value="4"> + </constant> + <constant name="PROPERTY_HINT_LENGTH" value="5"> + </constant> + <constant name="PROPERTY_HINT_KEY_ACCEL" value="7"> + </constant> + <constant name="PROPERTY_HINT_FLAGS" value="8"> + Property hint for a bitmask description, for bits 0,1,2,3 and 5 the hint would be like "Bit0,Bit1,Bit2,Bit3,,Bit5". Valid only for integers. + </constant> + <constant name="PROPERTY_HINT_ALL_FLAGS" value="9"> + Property hint for a bitmask description that covers all 32 bits. Valid only for integers. </constant> <constant name="PROPERTY_HINT_FILE" value="10"> String property is a file (so pop up a file dialog when edited). Hint string can be a set of wildcards like "*.doc". </constant> - <constant name="PROPERTY_USAGE_STORE_IF_NONONE" value="1024"> - </constant> <constant name="PROPERTY_HINT_DIR" value="11"> String property is a directory (so pop up a file dialog when edited). </constant> <constant name="PROPERTY_HINT_GLOBAL_FILE" value="12"> </constant> - <constant name="PROPERTY_USAGE_BUNDLE" value="128"> - </constant> <constant name="PROPERTY_HINT_GLOBAL_DIR" value="13"> </constant> <constant name="PROPERTY_HINT_RESOURCE_TYPE" value="14"> @@ -1795,60 +1804,62 @@ </constant> <constant name="PROPERTY_HINT_COLOR_NO_ALPHA" value="16"> </constant> - <constant name="PROPERTY_USAGE_CHECKABLE" value="16"> - </constant> <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSY" value="17"> </constant> <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS" value="18"> </constant> - <constant name="PROPERTY_HINT_EXP_RANGE" value="2"> - Hints that the string is an exponential range, defined as "min,max" or "min,max,step". This is valid for integers and floats. + <constant name="PROPERTY_USAGE_STORAGE" value="1"> + Property will be used as storage (default). </constant> <constant name="PROPERTY_USAGE_EDITOR" value="2"> Property will be visible in editor (default). </constant> - <constant name="PROPERTY_USAGE_NO_INSTANCE_STATE" value="2048"> + <constant name="PROPERTY_USAGE_NETWORK" value="4"> </constant> - <constant name="PROPERTY_USAGE_CATEGORY" value="256"> + <constant name="PROPERTY_USAGE_EDITOR_HELPER" value="8"> </constant> - <constant name="PROPERTY_HINT_ENUM" value="3"> - Property hint for an enumerated value, like "Hello,Something,Else". This is valid for integer, float and string properties. + <constant name="PROPERTY_USAGE_CHECKABLE" value="16"> </constant> <constant name="PROPERTY_USAGE_CHECKED" value="32"> </constant> - <constant name="PROPERTY_HINT_EXP_EASING" value="4"> + <constant name="PROPERTY_USAGE_INTERNATIONALIZED" value="64"> </constant> - <constant name="PROPERTY_USAGE_NETWORK" value="4"> + <constant name="PROPERTY_USAGE_BUNDLE" value="128"> </constant> - <constant name="PROPERTY_USAGE_RESTART_IF_CHANGED" value="4096"> + <constant name="PROPERTY_USAGE_CATEGORY" value="256"> </constant> - <constant name="PROPERTY_HINT_LENGTH" value="5"> + <constant name="PROPERTY_USAGE_STORE_IF_NONZERO" value="512"> </constant> - <constant name="PROPERTY_USAGE_NOEDITOR" value="5"> + <constant name="PROPERTY_USAGE_STORE_IF_NONONE" value="1024"> </constant> - <constant name="PROPERTY_USAGE_STORE_IF_NONZERO" value="512"> + <constant name="PROPERTY_USAGE_NO_INSTANCE_STATE" value="2048"> </constant> - <constant name="PROPERTY_USAGE_INTERNATIONALIZED" value="64"> + <constant name="PROPERTY_USAGE_RESTART_IF_CHANGED" value="4096"> </constant> - <constant name="PROPERTY_HINT_KEY_ACCEL" value="7"> + <constant name="PROPERTY_USAGE_SCRIPT_VARIABLE" value="8192"> </constant> <constant name="PROPERTY_USAGE_DEFAULT" value="7"> Default usage (storage and editor). </constant> <constant name="PROPERTY_USAGE_DEFAULT_INTL" value="71"> </constant> - <constant name="PROPERTY_HINT_FLAGS" value="8"> - Property hint for a bitmask description, for bits 0,1,2,3 and 5 the hint would be like "Bit0,Bit1,Bit2,Bit3,,Bit5". Valid only for integers. + <constant name="PROPERTY_USAGE_NOEDITOR" value="5"> </constant> - <constant name="PROPERTY_USAGE_EDITOR_HELPER" value="8"> + <constant name="METHOD_FLAG_NORMAL" value="1"> </constant> - <constant name="PROPERTY_USAGE_SCRIPT_VARIABLE" value="8192"> + <constant name="METHOD_FLAG_EDITOR" value="2"> </constant> - <constant name="PROPERTY_HINT_ALL_FLAGS" value="9"> - Property hint for a bitmask description that covers all 32 bits. Valid only for integers. + <constant name="METHOD_FLAG_NOSCRIPT" value="4"> </constant> - <constant name="SPKEY" value="16777216"> - Scancodes with this bit applied are non printable. + <constant name="METHOD_FLAG_CONST" value="8"> + </constant> + <constant name="METHOD_FLAG_REVERSE" value="16"> + </constant> + <constant name="METHOD_FLAG_VIRTUAL" value="32"> + </constant> + <constant name="METHOD_FLAG_FROM_SCRIPT" value="64"> + </constant> + <constant name="METHOD_FLAGS_DEFAULT" value="1"> </constant> <constant name="TYPE_NIL" value="0"> Variable is of type nil (only applied for null). @@ -1856,6 +1867,30 @@ <constant name="TYPE_BOOL" value="1"> Variable is of type [bool]. </constant> + <constant name="TYPE_INT" value="2"> + Variable is of type [int]. + </constant> + <constant name="TYPE_REAL" value="3"> + Variable is of type [float]/real. + </constant> + <constant name="TYPE_STRING" value="4"> + Variable is of type [String]. + </constant> + <constant name="TYPE_VECTOR2" value="5"> + Variable is of type [Vector2]. + </constant> + <constant name="TYPE_RECT2" value="6"> + Variable is of type [Rect2]. + </constant> + <constant name="TYPE_VECTOR3" value="7"> + Variable is of type [Vector3]. + </constant> + <constant name="TYPE_MATRIX32" value="8"> + Variable is of type [Matrix32]. + </constant> + <constant name="TYPE_PLANE" value="9"> + Variable is of type [Plane]. + </constant> <constant name="TYPE_QUAT" value="10"> Variable is of type [Quat]. </constant> @@ -1886,9 +1921,6 @@ <constant name="TYPE_INPUT_EVENT" value="19"> Variable is of type [InputEvent]. </constant> - <constant name="TYPE_INT" value="2"> - Variable is of type [int]. - </constant> <constant name="TYPE_DICTIONARY" value="20"> Variable is of type [Dictionary]. </constant> @@ -1911,47 +1943,14 @@ </constant> <constant name="TYPE_MAX" value="29"> </constant> - <constant name="TYPE_REAL" value="3"> - Variable is of type [float]/real. - </constant> - <constant name="TYPE_STRING" value="4"> - Variable is of type [String]. - </constant> - <constant name="TYPE_VECTOR2" value="5"> - Variable is of type [Vector2]. - </constant> - <constant name="TYPE_RECT2" value="6"> - Variable is of type [Rect2]. - </constant> - <constant name="TYPE_VECTOR3" value="7"> - Variable is of type [Vector3]. - </constant> - <constant name="TYPE_MATRIX32" value="8"> - Variable is of type [Matrix32]. - </constant> - <constant name="TYPE_PLANE" value="9"> - Variable is of type [Plane]. - </constant> - <constant name="VALIGN_TOP" value="0"> - Vertical top alignment, usually for text-derived classes. - </constant> - <constant name="VALIGN_CENTER" value="1"> - Vertical center alignment, usually for text-derived classes. - </constant> - <constant name="VALIGN_BOTTOM" value="2"> - Vertical bottom alignment, usually for text-derived classes. - </constant> - <constant name="VERTICAL" value="1"> - General vertical alignment, used usually for [Separator], [ScrollBar], [Slider], etc. - </constant> </constants> </class> <class name="AABB" category="Built-In Types"> <brief_description> - Axis-Aligned Bounding Box. + Axis-Aligned Bounding Box. </brief_description> <description> - AABB provides an 3D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for simple (fast) overlap tests. + AABB provides an 3D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for simple (fast) overlap tests. </description> <methods> <method name="AABB"> @@ -1962,7 +1961,7 @@ <argument index="1" name="size" type="Vector3"> </argument> <description> - Optional constructor, accepts position and size. + Optional constructor, accepts position and size. </description> </method> <method name="encloses"> @@ -1971,7 +1970,7 @@ <argument index="0" name="with" type="AABB"> </argument> <description> - Return true if this [AABB] completely encloses another one. + Return true if this [AABB] completely encloses another one. </description> </method> <method name="expand"> @@ -1980,14 +1979,14 @@ <argument index="0" name="to_point" type="Vector3"> </argument> <description> - Return this [AABB] expanded to include a given point. + Return this [AABB] expanded to include a given point. </description> </method> <method name="get_area"> <return type="float"> </return> <description> - Get the area of the [AABB]. + Get the area of the [AABB]. </description> </method> <method name="get_endpoint"> @@ -1996,49 +1995,49 @@ <argument index="0" name="idx" type="int"> </argument> <description> - Get the position of the 8 endpoints of the [AABB] in space. + Get the position of the 8 endpoints of the [AABB] in space. </description> </method> <method name="get_longest_axis"> <return type="Vector3"> </return> <description> - Return the normalized longest axis of the [AABB]. + Return the normalized longest axis of the [AABB]. </description> </method> <method name="get_longest_axis_index"> <return type="int"> </return> <description> - Return the index of the longest axis of the [AABB] (according to [Vector3]::AXIS* enum). + Return the index of the longest axis of the [AABB] (according to [Vector3]::AXIS* enum). </description> </method> <method name="get_longest_axis_size"> <return type="float"> </return> <description> - Return the scalar length of the longest axis of the [AABB]. + Return the scalar length of the longest axis of the [AABB]. </description> </method> <method name="get_shortest_axis"> <return type="Vector3"> </return> <description> - Return the normalized shortest axis of the [AABB]. + Return the normalized shortest axis of the [AABB]. </description> </method> <method name="get_shortest_axis_index"> <return type="int"> </return> <description> - Return the index of the shortest axis of the [AABB] (according to [Vector3]::AXIS* enum). + Return the index of the shortest axis of the [AABB] (according to [Vector3]::AXIS* enum). </description> </method> <method name="get_shortest_axis_size"> <return type="float"> </return> <description> - Return the scalar length of the shortest axis of the [AABB]. + Return the scalar length of the shortest axis of the [AABB]. </description> </method> <method name="get_support"> @@ -2047,7 +2046,7 @@ <argument index="0" name="dir" type="Vector3"> </argument> <description> - Return the support point in a given direction. This is useful for collision detection algorithms. + Return the support point in a given direction. This is useful for collision detection algorithms. </description> </method> <method name="grow"> @@ -2056,21 +2055,21 @@ <argument index="0" name="by" type="float"> </argument> <description> - Return a copy of the [AABB] grown a given amount of units towards all the sides. + Return a copy of the [AABB] grown a given amount of units towards all the sides. </description> </method> <method name="has_no_area"> <return type="bool"> </return> <description> - Return true if the [AABB] is flat or empty. + Return true if the [AABB] is flat or empty. </description> </method> <method name="has_no_surface"> <return type="bool"> </return> <description> - Return true if the [AABB] is empty. + Return true if the [AABB] is empty. </description> </method> <method name="has_point"> @@ -2079,7 +2078,7 @@ <argument index="0" name="point" type="Vector3"> </argument> <description> - Return true if the [AABB] contains a point. + Return true if the [AABB] contains a point. </description> </method> <method name="intersection"> @@ -2088,7 +2087,7 @@ <argument index="0" name="with" type="AABB"> </argument> <description> - Return the intersection between two [AABB]. An empty AABB (size 0,0,0) is returned on failure. + Return the intersection between two [AABB]. An empty AABB (size 0,0,0) is returned on failure. </description> </method> <method name="intersects"> @@ -2097,7 +2096,7 @@ <argument index="0" name="with" type="AABB"> </argument> <description> - Return true if the [AABB] overlaps with another. + Return true if the [AABB] overlaps with another. </description> </method> <method name="intersects_plane"> @@ -2106,7 +2105,7 @@ <argument index="0" name="plane" type="Plane"> </argument> <description> - Return true if the [AABB] is at both sides of a plane. + Return true if the [AABB] is at both sides of a plane. </description> </method> <method name="intersects_segment"> @@ -2117,7 +2116,7 @@ <argument index="1" name="to" type="Vector3"> </argument> <description> - Return true if the [AABB] intersects the line segment between from and to + Return true if the [AABB] intersects the line segment between from and to </description> </method> <method name="merge"> @@ -2126,7 +2125,7 @@ <argument index="0" name="with" type="AABB"> </argument> <description> - Combine this [AABB] with another, a larger one is returned that contains both. + Combine this [AABB] with another, a larger one is returned that contains both. </description> </method> </methods> @@ -2146,10 +2145,10 @@ </class> <class name="AcceptDialog" inherits="WindowDialog" category="Core"> <brief_description> - Base dialog for user notification. + Base dialog for user notification. </brief_description> <description> - This dialog is useful for small notifications to the user about an event. It can only be accepted or closed, with the same result. + This dialog is useful for small notifications to the user about an event. It can only be accepted or closed, with the same result. </description> <methods> <method name="add_button"> @@ -2162,8 +2161,8 @@ <argument index="2" name="action" type="String" default=""""> </argument> <description> - Add custom button to the dialog and return the created button. - The button titled with [i]text[/i] and the [i]action[/i] will be passed to [custom_action] signal when it is pressed. + Add custom button to the dialog and return the created button. + The button titled with [i]text[/i] and the [i]action[/i] will be passed to [custom_action] signal when it is pressed. </description> </method> <method name="add_cancel"> @@ -2172,35 +2171,35 @@ <argument index="0" name="name" type="String"> </argument> <description> - Add custom cancel button to the dialog and return the created button. + Add custom cancel button to the dialog and return the created button. </description> </method> <method name="get_hide_on_ok" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the dialog will be hidden when accepted (default true). + Return true if the dialog will be hidden when accepted (default true). </description> </method> <method name="get_label"> <return type="Object"> </return> <description> - Return the label used for built-in text. + Return the label used for built-in text. </description> </method> <method name="get_ok"> <return type="Object"> </return> <description> - Return the OK Button. + Return the OK Button. </description> </method> <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> - Return the built-in label text. + Return the built-in label text. </description> </method> <method name="register_text_enter"> @@ -2209,35 +2208,35 @@ <argument index="0" name="line_edit" type="Object"> </argument> <description> - Register a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted. + Register a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted. </description> </method> <method name="set_hide_on_ok"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the dialog is hidden when accepted (default true). + Set whether the dialog is hidden when accepted (default true). </description> </method> <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> - Set the built-in label text. + Set the built-in label text. </description> </method> </methods> <signals> <signal name="confirmed"> <description> - Emitted when accepted. + Emitted when accepted. </description> </signal> <signal name="custom_action"> <argument index="0" name="action" type="String"> </argument> <description> - Emitted with a custom button is added. + Emitted with a custom button is added. </description> </signal> </signals> @@ -2246,10 +2245,10 @@ </class> <class name="AnimatedSprite" inherits="Node2D" category="Core"> <brief_description> - Sprite node that can use multiple textures for animation. + Sprite node that can use multiple textures for animation. </brief_description> <description> - Sprite node that can use multiple textures for animation. + Sprite node that can use multiple textures for animation. </description> <methods> <method name="get_animation" qualifiers="const"> @@ -2262,49 +2261,49 @@ <return type="int"> </return> <description> - Return the visible frame index. + Return the visible frame index. </description> </method> <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> - Return the color modulation for this sprite. + Return the color modulation for this sprite. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the offset of the sprite in the node origin. + Return the offset of the sprite in the node origin. </description> </method> <method name="get_sprite_frames" qualifiers="const"> <return type="SpriteFrames"> </return> <description> - Get the [SpriteFrames] resource, which contains all frames. + Get the [SpriteFrames] resource, which contains all frames. </description> </method> <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> - Return true when centered. See [method set_centered]. + Return true when centered. See [method set_centered]. </description> </method> <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> - Return true if sprite is flipped horizontally. + Return true if sprite is flipped horizontally. </description> </method> <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> - Return true if sprite is flipped vertically. + Return true if sprite is flipped vertically. </description> </method> <method name="is_playing" qualifiers="const"> @@ -2329,49 +2328,49 @@ <argument index="0" name="centered" type="bool"> </argument> <description> - When turned on, offset at (0,0) is the center of the sprite, when off, the top-left corner is. + When turned on, offset at (0,0) is the center of the sprite, when off, the top-left corner is. </description> </method> <method name="set_flip_h"> <argument index="0" name="flip_h" type="bool"> </argument> <description> - If true, sprite is flipped horizontally. + If true, sprite is flipped horizontally. </description> </method> <method name="set_flip_v"> <argument index="0" name="flip_v" type="bool"> </argument> <description> - If true, sprite is flipped vertically. + If true, sprite is flipped vertically. </description> </method> <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> - Set the visible sprite frame index (from the list of frames inside the [SpriteFrames] resource). + Set the visible sprite frame index (from the list of frames inside the [SpriteFrames] resource). </description> </method> <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> - Change the color modulation (multiplication) for this sprite. + Change the color modulation (multiplication) for this sprite. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the offset of the sprite in the node origin. Position varies depending on whether it is centered or not. + Set the offset of the sprite in the node origin. Position varies depending on whether it is centered or not. </description> </method> <method name="set_sprite_frames"> <argument index="0" name="sprite_frames" type="SpriteFrames"> </argument> <description> - Set the [SpriteFrames] resource, which contains all frames. + Set the [SpriteFrames] resource, which contains all frames. </description> </method> <method name="stop"> @@ -2382,7 +2381,7 @@ <signals> <signal name="frame_changed"> <description> - Emmited when frame is changed. + Emmited when frame is changed. </description> </signal> </signals> @@ -2459,11 +2458,11 @@ </class> <class name="Animation" inherits="Resource" category="Core"> <brief_description> - Contains data used to animate everything in the engine. + Contains data used to animate everything in the engine. </brief_description> <description> - An Animation resource contains data used to animate everything in the engine. Animations are divided into tracks, and each track must be linked to a node. The state of that node can be changed through time, by adding timed keys (events) to the track. - Animations are just data containers, and must be added to odes such as an [AnimationPlayer] or [AnimationTreePlayer] to be played back. + An Animation resource contains data used to animate everything in the engine. Animations are divided into tracks, and each track must be linked to a node. The state of that node can be changed through time, by adding timed keys (events) to the track. + Animations are just data containers, and must be added to odes such as an [AnimationPlayer] or [AnimationTreePlayer] to be played back. </description> <methods> <method name="add_track"> @@ -2474,12 +2473,12 @@ <argument index="1" name="at_pos" type="int" default="-1"> </argument> <description> - Add a track to the Animation. The track type must be specified as any of the values in the TYPE_* enumeration. + Add a track to the Animation. The track type must be specified as any of the values in the TYPE_* enumeration. </description> </method> <method name="clear"> <description> - Clear the animation (clear all tracks and reset all). + Clear the animation (clear all tracks and reset all). </description> </method> <method name="find_track" qualifiers="const"> @@ -2494,7 +2493,7 @@ <return type="float"> </return> <description> - Return the total length of the animation (in seconds). + Return the total length of the animation (in seconds). </description> </method> <method name="get_step" qualifiers="const"> @@ -2507,20 +2506,14 @@ <return type="int"> </return> <description> - Return the amount of tracks in the animation. + Return the amount of tracks in the animation. </description> </method> <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the animation has the loop flag set. - </description> - </method> - <method name="has_loop_interpolation" qualifiers="const"> - <return type="bool"> - </return> - <description> + Return whether the animation has the loop flag set. </description> </method> <method name="method_track_get_key_indices" qualifiers="const"> @@ -2533,7 +2526,7 @@ <argument index="2" name="delta" type="float"> </argument> <description> - Return all the key indices of a method track, given a position and delta time. + Return all the key indices of a method track, given a position and delta time. </description> </method> <method name="method_track_get_name" qualifiers="const"> @@ -2544,7 +2537,7 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Return the method name of a method track. + Return the method name of a method track. </description> </method> <method name="method_track_get_params" qualifiers="const"> @@ -2555,34 +2548,28 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Return the arguments values to be called on a method track for a given key in a given track. + Return the arguments values to be called on a method track for a given key in a given track. </description> </method> <method name="remove_track"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove a track by specifying the track index. + Remove a track by specifying the track index. </description> </method> <method name="set_length"> <argument index="0" name="time_sec" type="float"> </argument> <description> - Set the total length of the animation (in seconds). Note that length is not delimited by the last key, as this one may be before or after the end to ensure correct interpolation and looping. + Set the total length of the animation (in seconds). Note that length is not delimited by the last key, as this one may be before or after the end to ensure correct interpolation and looping. </description> </method> <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set a flag indicating that the animation must loop. This is uses for correct interpolation of animation cycles, and for hinting the player that it must restart the animation. - </description> - </method> - <method name="set_loop_interpolation"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> + Set a flag indicating that the animation must loop. This is uses for correct interpolation of animation cycles, and for hinting the player that it must restart the animation. </description> </method> <method name="set_step"> @@ -2601,7 +2588,7 @@ <argument index="2" name="exact" type="bool" default="false"> </argument> <description> - Find the key index by time in a given track. Optionally, only find it if the exact time is given. + Find the key index by time in a given track. Optionally, only find it if the exact time is given. </description> </method> <method name="track_get_interpolation_type" qualifiers="const"> @@ -2610,7 +2597,7 @@ <argument index="0" name="idx" type="int"> </argument> <description> - Return the interpolation type of a given track, from the INTERPOLATION_* enum. + Return the interpolation type of a given track, from the INTERPOLATION_* enum. </description> </method> <method name="track_get_key_count" qualifiers="const"> @@ -2619,7 +2606,7 @@ <argument index="0" name="idx" type="int"> </argument> <description> - Return the amount of keys in a given track. + Return the amount of keys in a given track. </description> </method> <method name="track_get_key_time" qualifiers="const"> @@ -2630,7 +2617,7 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Return the time at which the key is located. + Return the time at which the key is located. </description> </method> <method name="track_get_key_transition" qualifiers="const"> @@ -2641,7 +2628,7 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Return the transition curve (easing) for a specific key (see built-in math function "ease"). + Return the transition curve (easing) for a specific key (see built-in math function "ease"). </description> </method> <method name="track_get_key_value" qualifiers="const"> @@ -2650,7 +2637,7 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Return the value of a given key in a given track. + Return the value of a given key in a given track. </description> </method> <method name="track_get_path" qualifiers="const"> @@ -2659,7 +2646,7 @@ <argument index="0" name="idx" type="int"> </argument> <description> - Get the path of a track. for more information on the path format, see [method track_set_path] + Get the path of a track. for more information on the path format, see [method track_set_path] </description> </method> <method name="track_get_type" qualifiers="const"> @@ -2668,7 +2655,7 @@ <argument index="0" name="idx" type="int"> </argument> <description> - Get the type of a track. + Get the type of a track. </description> </method> <method name="track_insert_key"> @@ -2681,7 +2668,7 @@ <argument index="3" name="transition" type="float" default="1"> </argument> <description> - Insert a generic key in a given track. + Insert a generic key in a given track. </description> </method> <method name="track_is_imported" qualifiers="const"> @@ -2696,14 +2683,14 @@ <argument index="0" name="idx" type="int"> </argument> <description> - Move a track down. + Move a track down. </description> </method> <method name="track_move_up"> <argument index="0" name="idx" type="int"> </argument> <description> - Move a track up. + Move a track up. </description> </method> <method name="track_remove_key"> @@ -2712,7 +2699,7 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Remove a key by index in a given track. + Remove a key by index in a given track. </description> </method> <method name="track_remove_key_at_pos"> @@ -2721,7 +2708,7 @@ <argument index="1" name="pos" type="float"> </argument> <description> - Remove a key by position (seconds) in a given track. + Remove a key by position (seconds) in a given track. </description> </method> <method name="track_set_imported"> @@ -2738,7 +2725,7 @@ <argument index="1" name="interpolation" type="int"> </argument> <description> - Set the interpolation type of a given track, from the INTERPOLATION_* enum. + Set the interpolation type of a given track, from the INTERPOLATION_* enum. </description> </method> <method name="track_set_key_transition"> @@ -2749,7 +2736,7 @@ <argument index="2" name="transition" type="float"> </argument> <description> - Set the transition curve (easing) for a specific key (see built-in math function "ease"). + Set the transition curve (easing) for a specific key (see built-in math function "ease"). </description> </method> <method name="track_set_key_value"> @@ -2760,7 +2747,7 @@ <argument index="2" name="value" type="Variant"> </argument> <description> - Set the value of an existing key. + Set the value of an existing key. </description> </method> <method name="track_set_path"> @@ -2769,7 +2756,7 @@ <argument index="1" name="path" type="NodePath"> </argument> <description> - Set the path of a track. Paths must be valid scene-tree paths to a node, and must be specified starting from the parent node of the node that will reproduce the animation. Tracks that control properties or bones must append their name after the path, separated by ":". Example: "character/skeleton:ankle" or "character/mesh:transform/local" + Set the path of a track. Paths must be valid scene-tree paths to a node, and must be specified starting from the parent node of the node that will reproduce the animation. Tracks that control properties or bones must append their name after the path, separated by ":". Example: "character/skeleton:ankle" or "character/mesh:transform/local" </description> </method> <method name="transform_track_insert_key"> @@ -2786,7 +2773,7 @@ <argument index="4" name="scale" type="Vector3"> </argument> <description> - Insert a transform key for a transform track. + Insert a transform key for a transform track. </description> </method> <method name="transform_track_interpolate" qualifiers="const"> @@ -2797,7 +2784,7 @@ <argument index="1" name="time_sec" type="float"> </argument> <description> - Return the interpolated value of a transform track at a given time (in seconds). An array consisting of 3 elements: position ([Vector3]), rotation ([Quat]) and scale ([Vector3]). + Return the interpolated value of a transform track at a given time (in seconds). An array consisting of 3 elements: position ([Vector3]), rotation ([Quat]) and scale ([Vector3]). </description> </method> <method name="value_track_get_key_indices" qualifiers="const"> @@ -2810,7 +2797,7 @@ <argument index="2" name="delta" type="float"> </argument> <description> - Return all the key indices of a value track, given a position and delta time. + Return all the key indices of a value track, given a position and delta time. </description> </method> <method name="value_track_get_update_mode" qualifiers="const"> @@ -2831,15 +2818,6 @@ </method> </methods> <constants> - <constant name="INTERPOLATION_NEAREST" value="0"> - No interpolation (nearest value). - </constant> - <constant name="INTERPOLATION_LINEAR" value="1"> - Linear interpolation. - </constant> - <constant name="INTERPOLATION_CUBIC" value="2"> - Cubic interpolation. - </constant> <constant name="TYPE_VALUE" value="0"> Value tracks set values in node properties, but only those which can be Interpolated. </constant> @@ -2849,6 +2827,15 @@ <constant name="TYPE_METHOD" value="2"> Method tracks call functions with given arguments per key. </constant> + <constant name="INTERPOLATION_NEAREST" value="0"> + No interpolation (nearest value). + </constant> + <constant name="INTERPOLATION_LINEAR" value="1"> + Linear interpolation. + </constant> + <constant name="INTERPOLATION_CUBIC" value="2"> + Cubic interpolation. + </constant> <constant name="UPDATE_CONTINUOUS" value="0"> </constant> <constant name="UPDATE_DISCRETE" value="1"> @@ -2859,10 +2846,10 @@ </class> <class name="AnimationPlayer" inherits="Node" category="Core"> <brief_description> - Container and player of [Animation] resources. + Container and player of [Animation] resources. </brief_description> <description> - An animation player is used for general purpose playback of [Animation] resources. It contains a dictionary of animations (referenced by name) and custom blend times between their transitions. Additionally, animations can be played and blended in different channels. + An animation player is used for general purpose playback of [Animation] resources. It contains a dictionary of animations (referenced by name) and custom blend times between their transitions. Additionally, animations can be played and blended in different channels. </description> <methods> <method name="add_animation"> @@ -2873,14 +2860,14 @@ <argument index="1" name="animation" type="Animation"> </argument> <description> - Add an animation resource to the player, which will be later referenced by the "name" argument. + Add an animation resource to the player, which will be later referenced by the "name" argument. </description> </method> <method name="advance"> <argument index="0" name="delta" type="float"> </argument> <description> - Used to skip ahead or skip back in an animation. Delta is the time in seconds to skip. + Used to skip ahead or skip back in an animation. Delta is the time in seconds to skip. </description> </method> <method name="animation_get_next" qualifiers="const"> @@ -2901,12 +2888,12 @@ </method> <method name="clear_caches"> <description> - The animation player creates caches for faster access to the nodes it will animate. However, if a specific node is removed, it may not notice it, so clear_caches will force the player to search for the nodes again. + The animation player creates caches for faster access to the nodes it will animate. However, if a specific node is removed, it may not notice it, so clear_caches will force the player to search for the nodes again. </description> </method> <method name="clear_queue"> <description> - If animations are queued to play, clear them. + If animations are queued to play, clear them. </description> </method> <method name="find_animation" qualifiers="const"> @@ -2915,7 +2902,7 @@ <argument index="0" name="animation" type="Animation"> </argument> <description> - Find an animation name by resource. + Find an animation name by resource. </description> </method> <method name="get_animation" qualifiers="const"> @@ -2924,28 +2911,28 @@ <argument index="0" name="name" type="String"> </argument> <description> - Get an [Animation] resource by requesting a name. + Get an [Animation] resource by requesting a name. </description> </method> <method name="get_animation_list" qualifiers="const"> <return type="StringArray"> </return> <description> - Get the list of names of the animations stored in the player. + Get the list of names of the animations stored in the player. </description> </method> <method name="get_animation_process_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the mode in which the animation player processes. See [method set_animation_process_mode]. + Return the mode in which the animation player processes. See [method set_animation_process_mode]. </description> </method> <method name="get_autoplay" qualifiers="const"> <return type="String"> </return> <description> - Return the name of the animation that will be automatically played when the scene is loaded. + Return the name of the animation that will be automatically played when the scene is loaded. </description> </method> <method name="get_blend_time" qualifiers="const"> @@ -2956,56 +2943,56 @@ <argument index="1" name="anim_to" type="String"> </argument> <description> - Get the blend time between two animations, referenced by their names. + Get the blend time between two animations, referenced by their names. </description> </method> <method name="get_current_animation" qualifiers="const"> <return type="String"> </return> <description> - Return the name of the animation being played. + Return the name of the animation being played. </description> </method> <method name="get_current_animation_length" qualifiers="const"> <return type="float"> </return> <description> - Get the length (in seconds) of the currently being played animation. + Get the length (in seconds) of the currently being played animation. </description> </method> <method name="get_current_animation_pos" qualifiers="const"> <return type="float"> </return> <description> - Get the position (in seconds) of the currently being played animation. + Get the position (in seconds) of the currently being played animation. </description> </method> <method name="get_default_blend_time" qualifiers="const"> <return type="float"> </return> <description> - Return the default blend time between animations. + Return the default blend time between animations. </description> </method> <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> - Return the playback position (in seconds) in an animation channel (or channel 0 if none is provided). + Return the playback position (in seconds) in an animation channel (or channel 0 if none is provided). </description> </method> <method name="get_root" qualifiers="const"> <return type="NodePath"> </return> <description> - Return path to root node (see [method set_root]). + Return path to root node (see [method set_root]). </description> </method> <method name="get_speed" qualifiers="const"> <return type="float"> </return> <description> - Get the speed scaling ratio in a given animation channel (or channel 0 if none is provided). Default ratio is [i]1[/i] (no scaling). + Get the speed scaling ratio in a given animation channel (or channel 0 if none is provided). Default ratio is [i]1[/i] (no scaling). </description> </method> <method name="has_animation" qualifiers="const"> @@ -3014,21 +3001,21 @@ <argument index="0" name="name" type="String"> </argument> <description> - Request whether an [Animation] name exist within the player. + Request whether an [Animation] name exist within the player. </description> </method> <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the player is active. + Return true if the player is active. </description> </method> <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> - Return whether an animation is playing. + Return whether an animation is playing. </description> </method> <method name="play"> @@ -3041,7 +3028,7 @@ <argument index="3" name="from_end" type="bool" default="false"> </argument> <description> - Play a given animation by the animation name. Custom speed and blend times can be set. If custom speed is negative (-1), 'from_end' being true can play the animation backwards. + Play a given animation by the animation name. Custom speed and blend times can be set. If custom speed is negative (-1), 'from_end' being true can play the animation backwards. </description> </method> <method name="play_backwards"> @@ -3050,21 +3037,21 @@ <argument index="1" name="custom_blend" type="float" default="-1"> </argument> <description> - Play a given animation by the animation name in reverse. + Play a given animation by the animation name in reverse. </description> </method> <method name="queue"> <argument index="0" name="name" type="String"> </argument> <description> - Queue an animation for playback once the current one is done. + Queue an animation for playback once the current one is done. </description> </method> <method name="remove_animation"> <argument index="0" name="name" type="String"> </argument> <description> - Remove an animation from the player (by supplying the same name used to add it). + Remove an animation from the player (by supplying the same name used to add it). </description> </method> <method name="rename_animation"> @@ -3073,7 +3060,7 @@ <argument index="1" name="newname" type="String"> </argument> <description> - Rename an existing animation. + Rename an existing animation. </description> </method> <method name="seek"> @@ -3082,29 +3069,28 @@ <argument index="1" name="update" type="bool" default="false"> </argument> <description> - Seek the animation to a given position in time (in seconds). If 'update' is true, the animation will be updated too, otherwise it will be updated at process time. + Seek the animation to a given position in time (in seconds). If 'update' is true, the animation will be updated too, otherwise it will be updated at process time. </description> </method> <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> - Set the player as active (playing). If false, it - will do nothing. + Set the player as active (playing). If false, it will do nothing. </description> </method> <method name="set_animation_process_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the mode in which the animation player processes. By default, it processes on idle time (framerate dependent), but using fixed time works well for animating static collision bodies in 2D and 3D. See enum ANIMATION_PROCESS_*. + Set the mode in which the animation player processes. By default, it processes on idle time (framerate dependent), but using fixed time works well for animating static collision bodies in 2D and 3D. See enum ANIMATION_PROCESS_*. </description> </method> <method name="set_autoplay"> <argument index="0" name="name" type="String"> </argument> <description> - Set the name of the animation that will be automatically played when the scene is loaded. + Set the name of the animation that will be automatically played when the scene is loaded. </description> </method> <method name="set_blend_time"> @@ -3115,47 +3101,47 @@ <argument index="2" name="sec" type="float"> </argument> <description> - Specify a blend time (in seconds) between two animations, referenced by their names. + Specify a blend time (in seconds) between two animations, referenced by their names. </description> </method> <method name="set_current_animation"> <argument index="0" name="anim" type="String"> </argument> <description> - Set the current animation (even if no playback occurs). Using set_current_animation() and set_active() are similar to calling play(). + Set the current animation (even if no playback occurs). Using set_current_animation() and set_active() are similar to calling play(). </description> </method> <method name="set_default_blend_time"> <argument index="0" name="sec" type="float"> </argument> <description> - Set the default blend time between animations. + Set the default blend time between animations. </description> </method> <method name="set_root"> <argument index="0" name="path" type="NodePath"> </argument> <description> - AnimationPlayer resolves animation track paths from this node (which is relative to itself), by default root is "..", but it can be changed. + AnimationPlayer resolves animation track paths from this node (which is relative to itself), by default root is "..", but it can be changed. </description> </method> <method name="set_speed"> <argument index="0" name="speed" type="float"> </argument> <description> - Set a speed scaling ratio in a given animation channel (or channel 0 if none is provided). Default ratio is [i]1[/i] (no scaling). + Set a speed scaling ratio in a given animation channel (or channel 0 if none is provided). Default ratio is [i]1[/i] (no scaling). </description> </method> <method name="stop"> <argument index="0" name="reset" type="bool" default="true"> </argument> <description> - Stop the currently playing animation. + Stop the currently playing animation. </description> </method> <method name="stop_all"> <description> - Stop playback of animations (deprecated). + Stop playback of animations (deprecated). </description> </method> </methods> @@ -3166,19 +3152,19 @@ <argument index="1" name="new_name" type="String"> </argument> <description> - If the currently being played animation changes, this signal will notify of such change. + If the currently being played animation changes, this signal will notify of such change. </description> </signal> <signal name="animation_started"> <argument index="0" name="name" type="String"> </argument> <description> - Notifies when an animation starts playing. + Notifies when an animation starts playing. </description> </signal> <signal name="finished"> <description> - Notifies when an animation finished playing. + Notifies when an animation finished playing. </description> </signal> </signals> @@ -3193,10 +3179,10 @@ </class> <class name="AnimationTreePlayer" inherits="Node" category="Core"> <brief_description> - Animation Player that uses a node graph for the blending. + Animation Player that uses a node graph for the blending. </brief_description> <description> - Animation Player that uses a node graph for the blending. This kind of player is very useful when animating character or other skeleton based rigs, because it can combine several animations to form a desired pose. + Animation Player that uses a node graph for the blending. This kind of player is very useful when animating character or other skeleton based rigs, because it can combine several animations to form a desired pose. </description> <methods> <method name="add_node"> @@ -3205,7 +3191,7 @@ <argument index="1" name="id" type="String"> </argument> <description> - Add a node of a given type in the graph with given id. + Add a node of a given type in the graph with given id. </description> </method> <method name="advance"> @@ -3236,7 +3222,7 @@ <argument index="1" name="animation" type="Animation"> </argument> <description> - Set the animation for an animation node. + Set the animation for an animation node. </description> </method> <method name="animation_node_set_filter_path"> @@ -3399,7 +3385,7 @@ <argument index="0" name="node" type="String"> </argument> <description> - Check if a node exists (by name). + Check if a node exists (by name). </description> </method> <method name="node_get_input_count" qualifiers="const"> @@ -3408,7 +3394,7 @@ <argument index="0" name="id" type="String"> </argument> <description> - Return the input count for a given node. Different types of nodes have different amount of inputs. + Return the input count for a given node. Different types of nodes have different amount of inputs. </description> </method> <method name="node_get_input_source" qualifiers="const"> @@ -3419,7 +3405,7 @@ <argument index="1" name="idx" type="int"> </argument> <description> - Return the input source for a given node input. + Return the input source for a given node input. </description> </method> <method name="node_get_pos" qualifiers="const"> @@ -3436,7 +3422,7 @@ <argument index="0" name="id" type="String"> </argument> <description> - Get the node type, will return from NODE_* enum. + Get the node type, will return from NODE_* enum. </description> </method> <method name="node_rename"> @@ -3447,7 +3433,7 @@ <argument index="1" name="new_name" type="String"> </argument> <description> - Rename a node in the graph. + Rename a node in the graph. </description> </method> <method name="node_set_pos"> @@ -3732,24 +3718,24 @@ </class> <class name="Area" inherits="CollisionObject" category="Core"> <brief_description> - General purpose area detection and influence for 3D physics. + General purpose area detection and influence for 3D physics. </brief_description> <description> - General purpose area detection for 3D physics. Areas can be used for detection of objects that enter/exit them, as well as overriding space parameters (changing gravity, damping, etc). For this, use any space override different from AREA_SPACE_OVERRIDE_DISABLE and point gravity at the center of mass. + General purpose area detection for 3D physics. Areas can be used for detection of objects that enter/exit them, as well as overriding space parameters (changing gravity, damping, etc). For this, use any space override different from AREA_SPACE_OVERRIDE_DISABLE and point gravity at the center of mass. </description> <methods> <method name="get_angular_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the angular damp rate. + Return the angular damp rate. </description> </method> <method name="get_collision_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layers this area can scan for collisions. + Return the physics layers this area can scan for collisions. </description> </method> <method name="get_collision_mask_bit" qualifiers="const"> @@ -3758,35 +3744,35 @@ <argument index="0" name="bit" type="int"> </argument> <description> - Return an individual bit on the collision mask. + Return an individual bit on the collision mask. </description> </method> <method name="get_gravity" qualifiers="const"> <return type="float"> </return> <description> - Return the gravity intensity. + Return the gravity intensity. </description> </method> <method name="get_gravity_distance_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the falloff factor for point gravity. + Return the falloff factor for point gravity. </description> </method> <method name="get_gravity_vector" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the gravity vector. If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. + Return the gravity vector. If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. </description> </method> <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layer this area is in. + Return the physics layer this area is in. </description> </method> <method name="get_layer_mask_bit" qualifiers="const"> @@ -3795,63 +3781,63 @@ <argument index="0" name="bit" type="int"> </argument> <description> - Return an individual bit on the layer mask. + Return an individual bit on the layer mask. </description> </method> <method name="get_linear_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the linear damp rate. + Return the linear damp rate. </description> </method> <method name="get_overlapping_areas" qualifiers="const"> <return type="Array"> </return> <description> - Return a list of the areas that are totally or partially inside this area. + Return a list of the areas that are totally or partially inside this area. </description> </method> <method name="get_overlapping_bodies" qualifiers="const"> <return type="Array"> </return> <description> - Return a list of the bodies ([PhysicsBody]) that are totally or partially inside this area. + Return a list of the bodies ([PhysicsBody]) that are totally or partially inside this area. </description> </method> <method name="get_priority" qualifiers="const"> <return type="float"> </return> <description> - Return the processing order of this area. + Return the processing order of this area. </description> </method> <method name="get_space_override_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the space override mode. + Return the space override mode. </description> </method> <method name="is_gravity_a_point" qualifiers="const"> <return type="bool"> </return> <description> - Return whether gravity is a point. A point gravity will attract objects towards it, as opposed to a gravity vector, which moves them in a given direction. + Return whether gravity is a point. A point gravity will attract objects towards it, as opposed to a gravity vector, which moves them in a given direction. </description> </method> <method name="is_monitorable" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this area can be detected by other, monitoring, areas. + Return whether this area can be detected by other, monitoring, areas. </description> </method> <method name="is_monitoring_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this area detects bodies/areas entering/exiting it. + Return whether this area detects bodies/areas entering/exiting it. </description> </method> <method name="overlaps_area" qualifiers="const"> @@ -3860,7 +3846,7 @@ <argument index="0" name="area" type="Object"> </argument> <description> - Return whether the area passed is totally or partially inside this area. + Return whether the area passed is totally or partially inside this area. </description> </method> <method name="overlaps_body" qualifiers="const"> @@ -3869,22 +3855,22 @@ <argument index="0" name="body" type="Object"> </argument> <description> - Return whether the body passed is totally or partially inside this area. + Return whether the body passed is totally or partially inside this area. </description> </method> <method name="set_angular_damp"> <argument index="0" name="angular_damp" type="float"> </argument> <description> - Set the rate at which objects stop spinning in this area, if there are not any other forces making it spin. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. - In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. + Set the rate at which objects stop spinning in this area, if there are not any other forces making it spin. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. + In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. </description> </method> <method name="set_collision_mask"> <argument index="0" name="collision_mask" type="int"> </argument> <description> - Set the physics layers this area can scan for collisions. + Set the physics layers this area can scan for collisions. </description> </method> <method name="set_collision_mask_bit"> @@ -3893,53 +3879,53 @@ <argument index="1" name="value" type="bool"> </argument> <description> - Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. + Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. </description> </method> <method name="set_enable_monitoring"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether this area can detect bodies/areas entering/exiting it. + Set whether this area can detect bodies/areas entering/exiting it. </description> </method> <method name="set_gravity"> <argument index="0" name="gravity" type="float"> </argument> <description> - Set the gravity intensity. This is useful to alter the force of gravity without altering its direction. - This value multiplies the gravity vector, whether it is the given vector ([method set_gravity_vector]), or a calculated one (when using a center of gravity). + Set the gravity intensity. This is useful to alter the force of gravity without altering its direction. + This value multiplies the gravity vector, whether it is the given vector ([method set_gravity_vector]), or a calculated one (when using a center of gravity). </description> </method> <method name="set_gravity_distance_scale"> <argument index="0" name="distance_scale" type="float"> </argument> <description> - Set the falloff factor for point gravity. The greater this value is, the faster the strength of gravity decreases with the square of distance. + Set the falloff factor for point gravity. The greater this value is, the faster the strength of gravity decreases with the square of distance. </description> </method> <method name="set_gravity_is_point"> <argument index="0" name="enable" type="bool"> </argument> <description> - When overriding space parameters, this method sets whether this area has a center of gravity. To set/get the location of the center of gravity, use [method set_gravity_vector]/[method get_gravity_vector]. + When overriding space parameters, this method sets whether this area has a center of gravity. To set/get the location of the center of gravity, use [method set_gravity_vector]/[method get_gravity_vector]. </description> </method> <method name="set_gravity_vector"> <argument index="0" name="vector" type="Vector3"> </argument> <description> - Set the gravity vector. This vector does not have to be normalized. - If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. + Set the gravity vector. This vector does not have to be normalized. + If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. </description> </method> <method name="set_layer_mask"> <argument index="0" name="layer_mask" type="int"> </argument> <description> - Set the physics layers this area is in. - Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask]. - A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. + Set the physics layers this area is in. + Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask]. + A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. </description> </method> <method name="set_layer_mask_bit"> @@ -3948,42 +3934,42 @@ <argument index="1" name="value" type="bool"> </argument> <description> - Set/clear individual bits on the layer mask. This makes getting an area in/out of only one layer easier. + Set/clear individual bits on the layer mask. This makes getting an area in/out of only one layer easier. </description> </method> <method name="set_linear_damp"> <argument index="0" name="linear_damp" type="float"> </argument> <description> - Set the rate at which objects stop moving in this area, if there are not any other forces moving it. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. - In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. + Set the rate at which objects stop moving in this area, if there are not any other forces moving it. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. + In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. </description> </method> <method name="set_monitorable"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether this area can be detected by other, monitoring, areas. Only areas need to be marked as monitorable. Bodies are always so. + Set whether this area can be detected by other, monitoring, areas. Only areas need to be marked as monitorable. Bodies are always so. </description> </method> <method name="set_priority"> <argument index="0" name="priority" type="float"> </argument> <description> - Set the order in which the area is processed. Greater values mean the area gets processed first. This is useful for areas which have an space override different from AREA_SPACE_OVERRIDE_DISABLED or AREA_SPACE_OVERRIDE_COMBINE, as they replace values, and are thus order-dependent. - Areas with the same priority value get evaluated in an unpredictable order, and should be differentiated if evaluation order is to be important. + Set the order in which the area is processed. Greater values mean the area gets processed first. This is useful for areas which have an space override different from AREA_SPACE_OVERRIDE_DISABLED or AREA_SPACE_OVERRIDE_COMBINE, as they replace values, and are thus order-dependent. + Areas with the same priority value get evaluated in an unpredictable order, and should be differentiated if evaluation order is to be important. </description> </method> <method name="set_space_override_mode"> <argument index="0" name="enable" type="int"> </argument> <description> - Set the space override mode. This mode controls how an area affects gravity and damp. - AREA_SPACE_OVERRIDE_DISABLED: This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. - AREA_SPACE_OVERRIDE_COMBINE: This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. - AREA_SPACE_OVERRIDE_COMBINE_REPLACE: This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. - AREA_SPACE_OVERRIDE_REPLACE: This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. - AREA_SPACE_OVERRIDE_REPLACE_COMBINE: This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. + Set the space override mode. This mode controls how an area affects gravity and damp. + AREA_SPACE_OVERRIDE_DISABLED: This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. + AREA_SPACE_OVERRIDE_COMBINE: This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. + AREA_SPACE_OVERRIDE_COMBINE_REPLACE: This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. + AREA_SPACE_OVERRIDE_REPLACE: This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. + AREA_SPACE_OVERRIDE_REPLACE_COMBINE: This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. </description> </method> </methods> @@ -3992,7 +3978,7 @@ <argument index="0" name="area" type="Object"> </argument> <description> - This signal is triggered only once when an area enters this area. The only parameter passed is the area that entered this area. + This signal is triggered only once when an area enters this area. The only parameter passed is the area that entered this area. </description> </signal> <signal name="area_enter_shape"> @@ -4005,14 +3991,14 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when an area enters this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. + This signal triggers only once when an area enters this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. </description> </signal> <signal name="area_exit"> <argument index="0" name="area" type="Object"> </argument> <description> - This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area. + This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area. </description> </signal> <signal name="area_exit_shape"> @@ -4025,14 +4011,14 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when an area exits this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. + This signal triggers only once when an area exits this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. </description> </signal> <signal name="body_enter"> <argument index="0" name="body" type="Object"> </argument> <description> - This signal is triggered only once when a body enters this area. The only parameter passed is the body that entered this area. + This signal is triggered only once when a body enters this area. The only parameter passed is the body that entered this area. </description> </signal> <signal name="body_enter_shape"> @@ -4045,14 +4031,14 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when a body enters this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape of the body that entered this area, and the fourth one is the index of the shape in this area that reported the entering. + This signal triggers only once when a body enters this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape of the body that entered this area, and the fourth one is the index of the shape in this area that reported the entering. </description> </signal> <signal name="body_exit"> <argument index="0" name="body" type="Object"> </argument> <description> - This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area. + This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area. </description> </signal> <signal name="body_exit_shape"> @@ -4065,7 +4051,7 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when a body exits this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape exiting this area, and the fourth one is the index of the shape in this area that reported the exit. + This signal triggers only once when a body exits this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape exiting this area, and the fourth one is the index of the shape in this area that reported the exit. </description> </signal> </signals> @@ -4074,24 +4060,24 @@ </class> <class name="Area2D" inherits="CollisionObject2D" category="Core"> <brief_description> - General purpose area detection and influence for 2D physics. + General purpose area detection and influence for 2D physics. </brief_description> <description> - General purpose area detection for 2D physics. Areas can be used for detection of objects that enter/exit them, as well as overriding space parameters (changing gravity, damping, etc). For this, use any space override different from AREA_SPACE_OVERRIDE_DISABLE and point gravity at the center of mass. + General purpose area detection for 2D physics. Areas can be used for detection of objects that enter/exit them, as well as overriding space parameters (changing gravity, damping, etc). For this, use any space override different from AREA_SPACE_OVERRIDE_DISABLE and point gravity at the center of mass. </description> <methods> <method name="get_angular_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the angular damp rate. + Return the angular damp rate. </description> </method> <method name="get_collision_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layers this area can scan for collisions. + Return the physics layers this area can scan for collisions. </description> </method> <method name="get_collision_mask_bit" qualifiers="const"> @@ -4100,35 +4086,35 @@ <argument index="0" name="bit" type="int"> </argument> <description> - Return an individual bit on the collision mask. + Return an individual bit on the collision mask. </description> </method> <method name="get_gravity" qualifiers="const"> <return type="float"> </return> <description> - Return the gravity intensity. + Return the gravity intensity. </description> </method> <method name="get_gravity_distance_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the falloff factor for point gravity. + Return the falloff factor for point gravity. </description> </method> <method name="get_gravity_vector" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the gravity vector. If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. + Return the gravity vector. If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. </description> </method> <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layer this area is in. + Return the physics layer this area is in. </description> </method> <method name="get_layer_mask_bit" qualifiers="const"> @@ -4137,63 +4123,63 @@ <argument index="0" name="bit" type="int"> </argument> <description> - Return an individual bit on the layer mask. + Return an individual bit on the layer mask. </description> </method> <method name="get_linear_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the linear damp rate. + Return the linear damp rate. </description> </method> <method name="get_overlapping_areas" qualifiers="const"> <return type="Array"> </return> <description> - Return a list of the areas that are totally or partially inside this area. + Return a list of the areas that are totally or partially inside this area. </description> </method> <method name="get_overlapping_bodies" qualifiers="const"> <return type="Array"> </return> <description> - Return a list of the bodies ([PhysicsBody2D]) that are totally or partially inside this area. + Return a list of the bodies ([PhysicsBody2D]) that are totally or partially inside this area. </description> </method> <method name="get_priority" qualifiers="const"> <return type="float"> </return> <description> - Return the processing order of this area. + Return the processing order of this area. </description> </method> <method name="get_space_override_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the space override mode. + Return the space override mode. </description> </method> <method name="is_gravity_a_point" qualifiers="const"> <return type="bool"> </return> <description> - Return whether gravity is a point. A point gravity will attract objects towards it, as opposed to a gravity vector, which moves them in a given direction. + Return whether gravity is a point. A point gravity will attract objects towards it, as opposed to a gravity vector, which moves them in a given direction. </description> </method> <method name="is_monitorable" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this area can be detected by other, monitoring, areas. + Return whether this area can be detected by other, monitoring, areas. </description> </method> <method name="is_monitoring_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this area detects bodies/areas entering/exiting it. + Return whether this area detects bodies/areas entering/exiting it. </description> </method> <method name="overlaps_area" qualifiers="const"> @@ -4202,7 +4188,7 @@ <argument index="0" name="area" type="Object"> </argument> <description> - Return whether the area passed is totally or partially inside this area. + Return whether the area passed is totally or partially inside this area. </description> </method> <method name="overlaps_body" qualifiers="const"> @@ -4211,22 +4197,22 @@ <argument index="0" name="body" type="Object"> </argument> <description> - Return whether the body passed is totally or partially inside this area. + Return whether the body passed is totally or partially inside this area. </description> </method> <method name="set_angular_damp"> <argument index="0" name="angular_damp" type="float"> </argument> <description> - Set the rate at which objects stop spinning in this area, if there are not any other forces making it spin. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. - In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. + Set the rate at which objects stop spinning in this area, if there are not any other forces making it spin. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. + In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. </description> </method> <method name="set_collision_mask"> <argument index="0" name="collision_mask" type="int"> </argument> <description> - Set the physics layers this area can scan for collisions. + Set the physics layers this area can scan for collisions. </description> </method> <method name="set_collision_mask_bit"> @@ -4235,53 +4221,53 @@ <argument index="1" name="value" type="bool"> </argument> <description> - Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. + Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. </description> </method> <method name="set_enable_monitoring"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether this area can detect bodies/areas entering/exiting it. + Set whether this area can detect bodies/areas entering/exiting it. </description> </method> <method name="set_gravity"> <argument index="0" name="gravity" type="float"> </argument> <description> - Set the gravity intensity. This is useful to alter the force of gravity without altering its direction. - This value multiplies the gravity vector, whether it is the given vector ([method set_gravity_vector]), or a calculated one (when using a center of gravity). + Set the gravity intensity. This is useful to alter the force of gravity without altering its direction. + This value multiplies the gravity vector, whether it is the given vector ([method set_gravity_vector]), or a calculated one (when using a center of gravity). </description> </method> <method name="set_gravity_distance_scale"> <argument index="0" name="distance_scale" type="float"> </argument> <description> - Set the falloff factor for point gravity. The greater this value is, the faster the strength of gravity decreases with the square of distance. + Set the falloff factor for point gravity. The greater this value is, the faster the strength of gravity decreases with the square of distance. </description> </method> <method name="set_gravity_is_point"> <argument index="0" name="enable" type="bool"> </argument> <description> - When overriding space parameters, this method sets whether this area has a center of gravity. To set/get the location of the center of gravity, use [method set_gravity_vector]/[method get_gravity_vector]. + When overriding space parameters, this method sets whether this area has a center of gravity. To set/get the location of the center of gravity, use [method set_gravity_vector]/[method get_gravity_vector]. </description> </method> <method name="set_gravity_vector"> <argument index="0" name="vector" type="Vector2"> </argument> <description> - Set the gravity vector. This vector does not have to be normalized. - If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. + Set the gravity vector. This vector does not have to be normalized. + If gravity is a point (see [method is_gravity_a_point]), this will be the attraction center. </description> </method> <method name="set_layer_mask"> <argument index="0" name="layer_mask" type="int"> </argument> <description> - Set the physics layers this area is in. - Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask]. - A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. + Set the physics layers this area is in. + Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask]. + A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. </description> </method> <method name="set_layer_mask_bit"> @@ -4290,42 +4276,42 @@ <argument index="1" name="value" type="bool"> </argument> <description> - Set/clear individual bits on the layer mask. This makes getting an area in/out of only one layer easier. + Set/clear individual bits on the layer mask. This makes getting an area in/out of only one layer easier. </description> </method> <method name="set_linear_damp"> <argument index="0" name="linear_damp" type="float"> </argument> <description> - Set the rate at which objects stop moving in this area, if there are not any other forces moving it. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. - In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. + Set the rate at which objects stop moving in this area, if there are not any other forces moving it. The value is a fraction of its current speed, lost per second. Thus, a value of 1.0 should mean stopping immediately, and 0.0 means the object never stops. + In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. </description> </method> <method name="set_monitorable"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether this area can be detected by other, monitoring, areas. Only areas need to be marked as monitorable. Bodies are always so. + Set whether this area can be detected by other, monitoring, areas. Only areas need to be marked as monitorable. Bodies are always so. </description> </method> <method name="set_priority"> <argument index="0" name="priority" type="float"> </argument> <description> - Set the order in which the area is processed. Greater values mean the area gets processed first. This is useful for areas which have an space override different from AREA_SPACE_OVERRIDE_DISABLED or AREA_SPACE_OVERRIDE_COMBINE, as they replace values, and are thus order-dependent. - Areas with the same priority value get evaluated in an unpredictable order, and should be differentiated if evaluation order is to be important. + Set the order in which the area is processed. Greater values mean the area gets processed first. This is useful for areas which have an space override different from AREA_SPACE_OVERRIDE_DISABLED or AREA_SPACE_OVERRIDE_COMBINE, as they replace values, and are thus order-dependent. + Areas with the same priority value get evaluated in an unpredictable order, and should be differentiated if evaluation order is to be important. </description> </method> <method name="set_space_override_mode"> <argument index="0" name="enable" type="int"> </argument> <description> - Set the space override mode. This mode controls how an area affects gravity and damp. - AREA_SPACE_OVERRIDE_DISABLED: This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. - AREA_SPACE_OVERRIDE_COMBINE: This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. - AREA_SPACE_OVERRIDE_COMBINE_REPLACE: This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. - AREA_SPACE_OVERRIDE_REPLACE: This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. - AREA_SPACE_OVERRIDE_REPLACE_COMBINE: This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. + Set the space override mode. This mode controls how an area affects gravity and damp. + AREA_SPACE_OVERRIDE_DISABLED: This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. + AREA_SPACE_OVERRIDE_COMBINE: This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. + AREA_SPACE_OVERRIDE_COMBINE_REPLACE: This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. + AREA_SPACE_OVERRIDE_REPLACE: This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. + AREA_SPACE_OVERRIDE_REPLACE_COMBINE: This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. </description> </method> </methods> @@ -4334,7 +4320,7 @@ <argument index="0" name="area" type="Object"> </argument> <description> - This signal is triggered only once when an area enters this area. The only parameter passed is the area that entered this area. + This signal is triggered only once when an area enters this area. The only parameter passed is the area that entered this area. </description> </signal> <signal name="area_enter_shape"> @@ -4347,14 +4333,14 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when an area enters this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. + This signal triggers only once when an area enters this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. </description> </signal> <signal name="area_exit"> <argument index="0" name="area" type="Object"> </argument> <description> - This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area. + This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area. </description> </signal> <signal name="area_exit_shape"> @@ -4367,14 +4353,14 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when an area exits this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. + This signal triggers only once when an area exits this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering. </description> </signal> <signal name="body_enter"> <argument index="0" name="body" type="Object"> </argument> <description> - This signal is triggered only once when a body enters this area. The only parameter passed is the body that entered this area. + This signal is triggered only once when a body enters this area. The only parameter passed is the body that entered this area. </description> </signal> <signal name="body_enter_shape"> @@ -4387,14 +4373,14 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when a body enters this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape of the body that entered this area, and the fourth one is the index of the shape in this area that reported the entering. + This signal triggers only once when a body enters this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape of the body that entered this area, and the fourth one is the index of the shape in this area that reported the entering. </description> </signal> <signal name="body_exit"> <argument index="0" name="body" type="Object"> </argument> <description> - This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area. + This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area. </description> </signal> <signal name="body_exit_shape"> @@ -4407,7 +4393,7 @@ <argument index="3" name="area_shape" type="int"> </argument> <description> - This signal triggers only once when a body exits this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape exiting this area, and the fourth one is the index of the shape in this area that reported the exit. + This signal triggers only once when a body exits this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape exiting this area, and the fourth one is the index of the shape in this area that reported the exit. </description> </signal> </signals> @@ -4416,10 +4402,10 @@ </class> <class name="Array" category="Built-In Types"> <brief_description> - Generic array datatype. + Generic array datatype. </brief_description> <description> - Generic array, contains several elements of any type, accessible by numerical index starting at 0. Negative indices can be used to count from the right, like in Python. Arrays are always passed by reference. + Generic array, contains several elements of any type, accessible by numerical index starting at 0. Negative indices can be used to count from the right, like in Python. Arrays are always passed by reference. </description> <methods> <method name="Array"> @@ -4428,7 +4414,7 @@ <argument index="0" name="from" type="ColorArray"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="Array"> @@ -4437,7 +4423,7 @@ <argument index="0" name="from" type="Vector3Array"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="Array"> @@ -4446,7 +4432,7 @@ <argument index="0" name="from" type="Vector2Array"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="Array"> @@ -4455,7 +4441,7 @@ <argument index="0" name="from" type="StringArray"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="Array"> @@ -4464,7 +4450,7 @@ <argument index="0" name="from" type="RealArray"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="Array"> @@ -4473,7 +4459,7 @@ <argument index="0" name="from" type="IntArray"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="Array"> @@ -4482,19 +4468,19 @@ <argument index="0" name="from" type="RawArray"> </argument> <description> - Construct an array from a [RawArray]. + Construct an array from a [RawArray]. </description> </method> <method name="append"> <argument index="0" name="value" type="var"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="clear"> <description> - Clear the array (resize to 0). + Clear the array (resize to 0). </description> </method> <method name="count"> @@ -4503,21 +4489,21 @@ <argument index="0" name="value" type="var"> </argument> <description> - Return the amount of times an element is in the array. + Return the amount of times an element is in the array. </description> </method> <method name="empty"> <return type="bool"> </return> <description> - Return true if the array is empty (size==0). + Return true if the array is empty (size==0). </description> </method> <method name="erase"> <argument index="0" name="value" type="var"> </argument> <description> - Remove the first occurrence of a value from the array. + Remove the first occurrence of a value from the array. </description> </method> <method name="find"> @@ -4528,7 +4514,7 @@ <argument index="1" name="from" type="int" default="0"> </argument> <description> - Searches the array for a value and returns its index or -1 if not found. Optionally, the initial search index can be passed. + Searches the array for a value and returns its index or -1 if not found. Optionally, the initial search index can be passed. </description> </method> <method name="find_last"> @@ -4537,14 +4523,14 @@ <argument index="0" name="value" type="var"> </argument> <description> - Searches the array in reverse order for a value and returns its index or -1 if not found. + Searches the array in reverse order for a value and returns its index or -1 if not found. </description> </method> <method name="hash"> <return type="int"> </return> <description> - Return a hashed integer value representing the array contents. + Return a hashed integer value representing the array contents. </description> </method> <method name="insert"> @@ -4553,57 +4539,57 @@ <argument index="1" name="value" type="var"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="is_shared"> <return type="bool"> </return> <description> - Get whether this is a shared array instance. + Get whether this is a shared array instance. </description> </method> <method name="pop_back"> <description> - Remove the last element of the array. + Remove the last element of the array. </description> </method> <method name="pop_front"> <description> - Remove the first element of the array. + Remove the first element of the array. </description> </method> <method name="push_back"> <argument index="0" name="value" type="var"> </argument> <description> - Append an element at the end of the array. + Append an element at the end of the array. </description> </method> <method name="push_front"> <argument index="0" name="value" type="var"> </argument> <description> - Add an element at the beginning of the array. + Add an element at the beginning of the array. </description> </method> <method name="remove"> <argument index="0" name="pos" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="pos" type="int"> </argument> <description> - Resize the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are Null. + Resize the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are Null. </description> </method> <method name="rfind"> @@ -4614,19 +4600,19 @@ <argument index="1" name="from" type="int" default="-1"> </argument> <description> - Searches the array in reverse order. Optionally, a start search index can be passed. If negative, the start index is considered relative to the end of the array. + Searches the array in reverse order. Optionally, a start search index can be passed. If negative, the start index is considered relative to the end of the array. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the amount of elements in the array. + Return the amount of elements in the array. </description> </method> <method name="sort"> <description> - Sort the array using natural order. + Sort the array using natural order. </description> </method> <method name="sort_custom"> @@ -4635,7 +4621,7 @@ <argument index="1" name="func" type="String"> </argument> <description> - Sort the array using a custom method. The arguments are an object that holds the method and the name of such method. The custom method receives two arguments (a pair of elements from the array) and must return true if the first argument is less than the second, and return false otherwise. + Sort the array using a custom method. The arguments are an object that holds the method and the name of such method. The custom method receives two arguments (a pair of elements from the array) and must return true if the first argument is less than the second, and return false otherwise. </description> </method> </methods> @@ -4685,43 +4671,49 @@ </description> </method> </methods> + <signals> + <signal name="atlas_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> <class name="AudioServer" inherits="Object" category="Core"> <brief_description> - Server interface for low level audio access. + Server interface for low level audio access. </brief_description> <description> - AudioServer is a low level server interface for audio access. It is in charge of creating sample data (playable audio) as well as its playback via a voice interface. + AudioServer is a low level server interface for audio access. It is in charge of creating sample data (playable audio) as well as its playback via a voice interface. </description> <methods> <method name="free_rid"> <argument index="0" name="rid" type="RID"> </argument> <description> - Free a [RID] resource. + Free a [RID] resource. </description> </method> <method name="get_event_voice_global_volume_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the global scale for event-based stream playback. + Return the global scale for event-based stream playback. </description> </method> <method name="get_fx_global_volume_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the global scale for all voices. + Return the global scale for all voices. </description> </method> <method name="get_stream_global_volume_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the global scale for stream playback. + Return the global scale for stream playback. </description> </method> <method name="sample_create"> @@ -4734,8 +4726,8 @@ <argument index="2" name="length" type="int"> </argument> <description> - Create an audio sample, return a [RID] referencing it. The sample will be created with a given format (from the SAMPLE_FORMAT_* enum), a total length (in samples, not bytes), in either stereo or mono. - Even if a stereo sample consists of a left sample and a right sample, it still counts as one sample for length purposes. + Create an audio sample, return a [RID] referencing it. The sample will be created with a given format (from the SAMPLE_FORMAT_* enum), a total length (in samples, not bytes), in either stereo or mono. + Even if a stereo sample consists of a left sample and a right sample, it still counts as one sample for length purposes. </description> </method> <method name="sample_get_data" qualifiers="const"> @@ -4744,7 +4736,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the sample data as an array of bytes. The length will be the expected length in bytes. + Return the sample data as an array of bytes. The length will be the expected length in bytes. </description> </method> <method name="sample_get_description" qualifiers="const"> @@ -4753,7 +4745,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the description of an audio sample. Mainly used for organization. + Return the description of an audio sample. Mainly used for organization. </description> </method> <method name="sample_get_format" qualifiers="const"> @@ -4762,7 +4754,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the format of the audio sample, in the form of the SAMPLE_FORMAT_* enum. + Return the format of the audio sample, in the form of the SAMPLE_FORMAT_* enum. </description> </method> <method name="sample_get_length" qualifiers="const"> @@ -4771,7 +4763,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the length in samples (not bytes) of the audio sample. Even if a stereo sample consists of a left sample and a right sample, it still counts as one sample for length purposes. + Return the length in samples (not bytes) of the audio sample. Even if a stereo sample consists of a left sample and a right sample, it still counts as one sample for length purposes. </description> </method> <method name="sample_get_loop_begin" qualifiers="const"> @@ -4780,7 +4772,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the initial loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. + Return the initial loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> <method name="sample_get_loop_end" qualifiers="const"> @@ -4789,7 +4781,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the final loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. + Return the final loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> <method name="sample_get_loop_format" qualifiers="const"> @@ -4798,7 +4790,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the loop format for a sample, as a value from the SAMPLE_LOOP_* enum. + Return the loop format for a sample, as a value from the SAMPLE_LOOP_* enum. </description> </method> <method name="sample_get_mix_rate" qualifiers="const"> @@ -4807,7 +4799,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return the mix rate of the given sample. + Return the mix rate of the given sample. </description> </method> <method name="sample_is_stereo" qualifiers="const"> @@ -4816,7 +4808,7 @@ <argument index="0" name="sample" type="RID"> </argument> <description> - Return whether the sample is stereo (2 channels). + Return whether the sample is stereo (2 channels). </description> </method> <method name="sample_set_data"> @@ -4825,11 +4817,11 @@ <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 length expected in bytes or an error will be produced. The byte length can be calculated as follows: - Get the sample length ([method sample_get_length]). - If the sample format is SAMPLE_FORMAT_PCM16, multiply it by 2. - If the sample format is SAMPLE_FORMAT_IMA_ADPCM, divide it by 2 (rounding any fraction up), then add 4. - If the sample is stereo ([method sample_is_stereo]), multiply it by 2. + Set the sample data for a given sample as an array of bytes. The length must be equal to the sample length expected in bytes or an error will be produced. The byte length can be calculated as follows: + Get the sample length ([method sample_get_length]). + If the sample format is SAMPLE_FORMAT_PCM16, multiply it by 2. + If the sample format is SAMPLE_FORMAT_IMA_ADPCM, divide it by 2 (rounding any fraction up), then add 4. + If the sample is stereo ([method sample_is_stereo]), multiply it by 2. </description> </method> <method name="sample_set_description"> @@ -4838,7 +4830,7 @@ <argument index="1" name="description" type="String"> </argument> <description> - Set the description of an audio sample. Mainly used for organization. + Set the description of an audio sample. Mainly used for organization. </description> </method> <method name="sample_set_loop_begin"> @@ -4847,7 +4839,7 @@ <argument index="1" name="pos" type="int"> </argument> <description> - Set the initial loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. + Set the initial loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> <method name="sample_set_loop_end"> @@ -4856,7 +4848,7 @@ <argument index="1" name="pos" type="int"> </argument> <description> - Set the final loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. + Set the final loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> <method name="sample_set_loop_format"> @@ -4865,7 +4857,7 @@ <argument index="1" name="loop_format" type="int"> </argument> <description> - Set the loop format for a sample from the SAMPLE_LOOP_* enum. As a warning, Ping Pong loops may not be available on some hardware-mixing platforms. + Set the loop format for a sample from the SAMPLE_LOOP_* enum. As a warning, Ping Pong loops may not be available on some hardware-mixing platforms. </description> </method> <method name="sample_set_mix_rate"> @@ -4874,7 +4866,7 @@ <argument index="1" name="mix_rate" type="int"> </argument> <description> - Change the default mix rate of a given sample. + Change the default mix rate of a given sample. </description> </method> <method name="sample_set_signed_data"> @@ -4883,37 +4875,37 @@ <argument index="1" name="data" type="RealArray"> </argument> <description> - Set the sample data for a given sample as an array of floats. The length must be equal to the sample length or an error will be produced. - For this method, a stereo sample is made from two samples. Thus, in case of a stereo sample, the array length must be twice the length returned by [method sample_get_length]. - Trying to alter a SAMPLE_FORMAT_IMA_ADPCM sample is not supported. It will throw an error to the console, but will not alter the sample data. + Set the sample data for a given sample as an array of floats. The length must be equal to the sample length or an error will be produced. + For this method, a stereo sample is made from two samples. Thus, in case of a stereo sample, the array length must be twice the length returned by [method sample_get_length]. + Trying to alter a SAMPLE_FORMAT_IMA_ADPCM sample is not supported. It will throw an error to the console, but will not alter the sample data. </description> </method> <method name="set_event_voice_global_volume_scale"> <argument index="0" name="scale" type="float"> </argument> <description> - Set global scale for event-based stream ([EventStream]) playback. Default is 1.0. + Set global scale for event-based stream ([EventStream]) playback. Default is 1.0. </description> </method> <method name="set_fx_global_volume_scale"> <argument index="0" name="scale" type="float"> </argument> <description> - Set global scale for all voices (not including streams). Default is 1.0. + Set global scale for all voices (not including streams). Default is 1.0. </description> </method> <method name="set_stream_global_volume_scale"> <argument index="0" name="scale" type="float"> </argument> <description> - Set global scale for stream playback. Default is 1.0. + Set global scale for stream playback. Default is 1.0. </description> </method> <method name="voice_create"> <return type="RID"> </return> <description> - Allocate a voice for playback. Voices are persistent. A voice can play a single sample at the same time. See [method sample_create]. + Allocate a voice for playback. Voices are persistent. A voice can play a single sample at the same time. See [method sample_create]. </description> </method> <method name="voice_get_chorus" qualifiers="const"> @@ -4922,7 +4914,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current chorus send for a given voice (0 to 1). + Return the current chorus send for a given voice (0 to 1). </description> </method> <method name="voice_get_filter_cutoff" qualifiers="const"> @@ -4931,7 +4923,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current filter cutoff (in hz) for a given voice. + Return the current filter cutoff (in hz) for a given voice. </description> </method> <method name="voice_get_filter_resonance" qualifiers="const"> @@ -4940,7 +4932,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current filter resonance for a given voice. + Return the current filter resonance for a given voice. </description> </method> <method name="voice_get_filter_type" qualifiers="const"> @@ -4949,7 +4941,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current selected filter type for a given voice, from the FILTER_* enum. + Return the current selected filter type for a given voice, from the FILTER_* enum. </description> </method> <method name="voice_get_mix_rate" qualifiers="const"> @@ -4958,7 +4950,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current mix rate for a given voice. + Return the current mix rate for a given voice. </description> </method> <method name="voice_get_pan" qualifiers="const"> @@ -4967,7 +4959,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current pan for a given voice (-1 to +1 range). + Return the current pan for a given voice (-1 to +1 range). </description> </method> <method name="voice_get_pan_depth" qualifiers="const"> @@ -4976,7 +4968,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current pan depth for a given voice (-1 to +1 range). + Return the current pan depth for a given voice (-1 to +1 range). </description> </method> <method name="voice_get_pan_height" qualifiers="const"> @@ -4985,7 +4977,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current pan height for a given voice (-1 to +1 range). + Return the current pan height for a given voice (-1 to +1 range). </description> </method> <method name="voice_get_reverb" qualifiers="const"> @@ -4994,7 +4986,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current reverb send for a given voice (0 to 1). + Return the current reverb send for a given voice (0 to 1). </description> </method> <method name="voice_get_reverb_type" qualifiers="const"> @@ -5003,7 +4995,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current reverb type for a given voice from the REVERB_* enum. + Return the current reverb type for a given voice from the REVERB_* enum. </description> </method> <method name="voice_get_volume" qualifiers="const"> @@ -5012,7 +5004,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current volume for a given voice. + Return the current volume for a given voice. </description> </method> <method name="voice_is_positional" qualifiers="const"> @@ -5021,7 +5013,7 @@ <argument index="0" name="voice" type="RID"> </argument> <description> - Return whether the current voice is positional. See [method voice_set_positional]. + Return whether the current voice is positional. See [method voice_set_positional]. </description> </method> <method name="voice_play"> @@ -5030,7 +5022,7 @@ <argument index="1" name="sample" type="RID"> </argument> <description> - Start playback of a given voice using a given sample. If the voice was already playing it will be restarted. + Start playback of a given voice using a given sample. If the voice was already playing it will be restarted. </description> </method> <method name="voice_set_chorus"> @@ -5039,7 +5031,7 @@ <argument index="1" name="chorus" type="float"> </argument> <description> - Set chorus send post processing for the voice (from 0 to 1). + Set chorus send post processing for the voice (from 0 to 1). </description> </method> <method name="voice_set_filter"> @@ -5054,7 +5046,7 @@ <argument index="4" name="gain" type="float" default="0"> </argument> <description> - Set a resonant filter post processing for the voice. Filter type is a value from the FILTER_* enum. + Set a resonant filter post processing for the voice. Filter type is a value from the FILTER_* enum. </description> </method> <method name="voice_set_mix_rate"> @@ -5063,7 +5055,7 @@ <argument index="1" name="rate" type="int"> </argument> <description> - Set a different playback mix rate for the given voice. + Set a different playback mix rate for the given voice. </description> </method> <method name="voice_set_pan"> @@ -5076,7 +5068,7 @@ <argument index="3" name="height" type="float" default="0"> </argument> <description> - Change the pan of a currently playing voice and, optionally, the depth and height for a positional/3D sound. Panning values are expressed within the -1 to +1 range. + Change the pan of a currently playing voice and, optionally, the depth and height for a positional/3D sound. Panning values are expressed within the -1 to +1 range. </description> </method> <method name="voice_set_positional"> @@ -5085,7 +5077,7 @@ <argument index="1" name="enabled" type="bool"> </argument> <description> - Set whether a given voice is positional. This is only interpreted as a hint and used for backends that may support binaural encoding. + Set whether a given voice is positional. This is only interpreted as a hint and used for backends that may support binaural encoding. </description> </method> <method name="voice_set_reverb"> @@ -5096,7 +5088,7 @@ <argument index="2" name="reverb" type="float"> </argument> <description> - Set the reverb send post processing for the voice (from 0 to 1) and the reverb type, from the REVERB_* enum. + Set the reverb send post processing for the voice (from 0 to 1) and the reverb type, from the REVERB_* enum. </description> </method> <method name="voice_set_volume"> @@ -5105,18 +5097,36 @@ <argument index="1" name="volume" type="float"> </argument> <description> - Change the volume of a currently playing voice. Volume is expressed as linear gain where 0.0 is mute and 1.0 is default. + Change the volume of a currently playing voice. Volume is expressed as linear gain where 0.0 is mute and 1.0 is default. </description> </method> <method name="voice_stop"> <argument index="0" name="voice" type="RID"> </argument> <description> - Stop a given voice. + Stop a given voice. </description> </method> </methods> <constants> + <constant name="SAMPLE_FORMAT_PCM8" value="0"> + Sample format is 8 bits, signed. + </constant> + <constant name="SAMPLE_FORMAT_PCM16" value="1"> + Sample format is 16 bits, little-endian, signed. + </constant> + <constant name="SAMPLE_FORMAT_IMA_ADPCM" value="2"> + Sample format is IMA-ADPCM compressed. + </constant> + <constant name="SAMPLE_LOOP_NONE" value="0"> + Sample does not loop. + </constant> + <constant name="SAMPLE_LOOP_FORWARD" value="1"> + Sample loops in forward mode. + </constant> + <constant name="SAMPLE_LOOP_PING_PONG" value="2"> + Sample loops in a bidirectional way. + </constant> <constant name="FILTER_NONE" value="0"> Filter is disabled. </constant> @@ -5147,33 +5157,15 @@ <constant name="REVERB_HALL" value="3"> Large reverb room with long decay. </constant> - <constant name="SAMPLE_FORMAT_PCM8" value="0"> - Sample format is 8 bits, signed. - </constant> - <constant name="SAMPLE_LOOP_NONE" value="0"> - Sample does not loop. - </constant> - <constant name="SAMPLE_FORMAT_PCM16" value="1"> - Sample format is 16 bits, little-endian, signed. - </constant> - <constant name="SAMPLE_LOOP_FORWARD" value="1"> - Sample loops in forward mode. - </constant> - <constant name="SAMPLE_FORMAT_IMA_ADPCM" value="2"> - Sample format is IMA-ADPCM compressed. - </constant> - <constant name="SAMPLE_LOOP_PING_PONG" value="2"> - Sample loops in a bidirectional way. - </constant> </constants> </class> <class name="AudioServerSW" inherits="AudioServer" category="Core"> <brief_description> - Software implementation of [AudioServer]. + Software implementation of [AudioServer]. </brief_description> <description> - This is a software audio server. It does not use any kind of hardware acceleration. - This class does not expose any new method. + This is a software audio server. It does not use any kind of hardware acceleration. + This class does not expose any new method. </description> <methods> </methods> @@ -5182,10 +5174,10 @@ </class> <class name="AudioStream" inherits="Resource" category="Core"> <brief_description> - Base class for audio streams. + Base class for audio streams. </brief_description> <description> - Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample]. + Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample]. </description> <methods> </methods> @@ -5194,10 +5186,10 @@ </class> <class name="AudioStreamMPC" inherits="AudioStream" category="Core"> <brief_description> - MusePack audio stream driver. + MusePack audio stream driver. </brief_description> <description> - MusePack audio stream driver. + MusePack audio stream driver. </description> <methods> </methods> @@ -5206,10 +5198,10 @@ </class> <class name="AudioStreamOGGVorbis" inherits="AudioStream" category="Core"> <brief_description> - OGG Vorbis audio stream driver. + OGG Vorbis audio stream driver. </brief_description> <description> - OGG Vorbis audio stream driver. + OGG Vorbis audio stream driver. </description> <methods> </methods> @@ -5218,10 +5210,10 @@ </class> <class name="AudioStreamOpus" inherits="AudioStream" category="Core"> <brief_description> - Opus Codec audio stream driver. + Opus Codec audio stream driver. </brief_description> <description> - Opus Codec audio stream driver. + Opus Codec audio stream driver. </description> <methods> </methods> @@ -5310,10 +5302,10 @@ </class> <class name="AudioStreamSpeex" inherits="AudioStream" category="Core"> <brief_description> - Speex audio stream driver. + Speex audio stream driver. </brief_description> <description> - Speex audio stream driver. Speex is very useful for compressed speech. It allows loading a very large amount of speech in memory at little IO/latency cost. + Speex audio stream driver. Speex is very useful for compressed speech. It allows loading a very large amount of speech in memory at little IO/latency cost. </description> <methods> </methods> @@ -5322,38 +5314,38 @@ </class> <class name="BackBufferCopy" inherits="Node2D" category="Core"> <brief_description> - Copies a region of the screen (or the whole screen) to a buffer so it can be accessed with the texscreen() shader instruction. + Copies a region of the screen (or the whole screen) to a buffer so it can be accessed with the texscreen() shader instruction. </brief_description> <description> - Node for back-buffering the currently displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Accessing this buffer is done with the texscreen() shader instruction. + Node for back-buffering the currently displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Accessing this buffer is done with the texscreen() shader instruction. </description> <methods> <method name="get_copy_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the copy mode currently applied to the BackBufferCopy (refer to constants section). + Return the copy mode currently applied to the BackBufferCopy (refer to constants section). </description> </method> <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return the area covered by the BackBufferCopy. + Return the area covered by the BackBufferCopy. </description> </method> <method name="set_copy_mode"> <argument index="0" name="copy_mode" type="int"> </argument> <description> - Set the copy mode of the BackBufferCopy (refer to constants section). + Set the copy mode of the BackBufferCopy (refer to constants section). </description> </method> <method name="set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> - Defines the area covered by the BackBufferCopy. + Defines the area covered by the BackBufferCopy. </description> </method> </methods> @@ -5675,6 +5667,10 @@ </method> </methods> <constants> + <constant name="MODE_OCTREE" value="0"> + </constant> + <constant name="MODE_LIGHTMAPS" value="1"> + </constant> <constant name="BAKE_DIFFUSE" value="0"> </constant> <constant name="BAKE_SPECULAR" value="1"> @@ -5685,10 +5681,6 @@ </constant> <constant name="BAKE_MAX" value="5"> </constant> - <constant name="MODE_OCTREE" value="0"> - </constant> - <constant name="MODE_LIGHTMAPS" value="1"> - </constant> </constants> </class> <class name="BakedLightInstance" inherits="VisualInstance" category="Core"> @@ -5775,43 +5767,43 @@ </class> <class name="BaseButton" inherits="Control" category="Core"> <brief_description> - Provides a base class for different kinds of buttons. + Provides a base class for different kinds of buttons. </brief_description> <description> - BaseButton is the abstract base class for buttons, so it shouldn't be used directly (It doesn't display anything). Other types of buttons inherit from it. + BaseButton is the abstract base class for buttons, so it shouldn't be used directly (It doesn't display anything). Other types of buttons inherit from it. </description> <methods> <method name="_pressed" qualifiers="virtual"> <description> - Called when button is pressed. + Called when button is pressed. </description> </method> <method name="_toggled" qualifiers="virtual"> <argument index="0" name="pressed" type="bool"> </argument> <description> - Called when button is toggled (only if toggle_mode is active). + Called when button is toggled (only if toggle_mode is active). </description> </method> <method name="get_click_on_press" qualifiers="const"> <return type="bool"> </return> <description> - Return the state of the click_on_press property (see [method set_click_on_press]). + Return the state of the click_on_press property (see [method set_click_on_press]). </description> </method> <method name="get_draw_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overriding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum. + Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overriding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum. </description> </method> <method name="get_enabled_focus_mode" qualifiers="const"> <return type="int"> </return> <description> - Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]). + Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]). </description> </method> <method name="get_shortcut" qualifiers="const"> @@ -5824,56 +5816,56 @@ <return type="bool"> </return> <description> - Return whether the button is in disabled state (see [method set_disabled]). + Return whether the button is in disabled state (see [method set_disabled]). </description> </method> <method name="is_hovered" qualifiers="const"> <return type="bool"> </return> <description> - Return true if mouse entered the button before it exit. + Return true if mouse entered the button before it exit. </description> </method> <method name="is_pressed" qualifiers="const"> <return type="bool"> </return> <description> - If toggle_mode is active, return whether the button is toggled. If toggle_mode is not active, return whether the button is pressed down. + If toggle_mode is active, return whether the button is toggled. If toggle_mode is not active, return whether the button is pressed down. </description> </method> <method name="is_toggle_mode" qualifiers="const"> <return type="bool"> </return> <description> - Return the toggle_mode property (see [method set_toggle_mode]). + Return the toggle_mode property (see [method set_toggle_mode]). </description> </method> <method name="set_click_on_press"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the button click_on_press mode. This mode generates click events when a mouse button or key is just pressed (by default events are generated when the button/keys are released and both press and release occur in the visual area of the Button). + Set the button click_on_press mode. This mode generates click events when a mouse button or key is just pressed (by default events are generated when the button/keys are released and both press and release occur in the visual area of the Button). </description> </method> <method name="set_disabled"> <argument index="0" name="disabled" type="bool"> </argument> <description> - Set the button into disabled state. When a button is disabled, it can't be clicked or toggled. + Set the button into disabled state. When a button is disabled, it can't be clicked or toggled. </description> </method> <method name="set_enabled_focus_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Sets the focus access mode to use when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]). + Sets the focus access mode to use when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]). </description> </method> <method name="set_pressed"> <argument index="0" name="pressed" type="bool"> </argument> <description> - Set the button to pressed state (only if toggle_mode is active). + Set the button to pressed state (only if toggle_mode is active). </description> </method> <method name="set_shortcut"> @@ -5886,26 +5878,26 @@ <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the button toggle_mode property. Toggle mode makes the button flip state between pressed and unpressed each time its area is clicked. + Set the button toggle_mode property. Toggle mode makes the button flip state between pressed and unpressed each time its area is clicked. </description> </method> </methods> <signals> <signal name="pressed"> <description> - This signal is emitted every time the button is pressed or toggled. + This signal is emitted every time the button is pressed or toggled. </description> </signal> <signal name="released"> <description> - This signal is emitted when the button was released. + This signal is emitted when the button was released. </description> </signal> <signal name="toggled"> <argument index="0" name="pressed" type="bool"> </argument> <description> - This signal is emitted when the button was just toggled between pressed and normal states (only if toggle_mode is active). The new state is contained in the [i]pressed[/i] argument. + This signal is emitted when the button was just toggled between pressed and normal states (only if toggle_mode is active). The new state is contained in the [i]pressed[/i] argument. </description> </signal> </signals> @@ -6000,7 +5992,7 @@ <argument index="4" name="advance" type="float" default="-1"> </argument> <description> - Add a character to the font, where [i]character[/i] is the unicode value, [i]texture[/i] is the texture index, [i]rect[/i] is the region in the texture (in pixels!), [i]align[/i] is the (optional) alignment for the character and [i]advance[/i] is the (optional) advance. + Add a character to the font, where [i]character[/i] is the unicode value, [i]texture[/i] is the texture index, [i]rect[/i] is the region in the texture (in pixels!), [i]align[/i] is the (optional) alignment for the character and [i]advance[/i] is the (optional) advance. </description> </method> <method name="add_kerning_pair"> @@ -6011,19 +6003,19 @@ <argument index="2" name="kerning" type="int"> </argument> <description> - Add a kerning pair to the [BitmapFont] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character. + Add a kerning pair to the [BitmapFont] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character. </description> </method> <method name="add_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> - Add a texture to the [BitmapFont]. + Add a texture to the [BitmapFont]. </description> </method> <method name="clear"> <description> - Clear all the font data. + Clear all the font data. </description> </method> <method name="create_from_fnt"> @@ -6042,7 +6034,7 @@ <argument index="1" name="next" type="int" default="0"> </argument> <description> - Return the size of a character, optionally taking kerning into account if the next character is provided. + Return the size of a character, optionally taking kerning into account if the next character is provided. </description> </method> <method name="get_fallback" qualifiers="const"> @@ -6059,7 +6051,7 @@ <argument index="1" name="char_b" type="int"> </argument> <description> - Return a kerning pair as a difference. + Return a kerning pair as a difference. </description> </method> <method name="get_texture" qualifiers="const"> @@ -6080,7 +6072,7 @@ <argument index="0" name="px" type="float"> </argument> <description> - Set the font ascent (number of pixels above the baseline). + Set the font ascent (number of pixels above the baseline). </description> </method> <method name="set_distance_field_hint"> @@ -6099,7 +6091,7 @@ <argument index="0" name="px" type="float"> </argument> <description> - Set the total font height (ascent plus descent) in pixels. + Set the total font height (ascent plus descent) in pixels. </description> </method> </methods> @@ -6108,10 +6100,10 @@ </class> <class name="BoneAttachment" inherits="Spatial" category="Core"> <brief_description> - A node that will attach to a bone. + A node that will attach to a bone. </brief_description> <description> - This node must be the child of a [Skeleton] node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone. + This node must be the child of a [Skeleton] node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone. </description> <methods> </methods> @@ -6120,32 +6112,32 @@ </class> <class name="BoxContainer" inherits="Container" category="Core"> <brief_description> - Base class for Box containers. + Base class for Box containers. </brief_description> <description> - Base class for Box containers. It arranges children controls vertically or horizontally, and rearranges them automatically when their minimum size changes. + Base class for Box containers. It arranges children controls vertically or horizontally, and rearranges them automatically when their minimum size changes. </description> <methods> <method name="add_spacer"> <argument index="0" name="begin" type="bool"> </argument> <description> - Add a control to the box as a spacer. - If [i]begin[/i] is true the spacer control will be inserted in front of other children. + Add a control to the box as a spacer. + If [i]begin[/i] is true the spacer control will be inserted in front of other children. </description> </method> <method name="get_alignment" qualifiers="const"> <return type="int"> </return> <description> - Return the alignment of children in the container. + Return the alignment of children in the container. </description> </method> <method name="set_alignment"> <argument index="0" name="alignment" type="int"> </argument> <description> - Set the alignment of children in the container(Must be one of ALIGN_BEGIN, ALIGN_CENTER or ALIGN_END). + Set the alignment of children in the container(Must be one of ALIGN_BEGIN, ALIGN_CENTER or ALIGN_END). </description> </method> </methods> @@ -6163,24 +6155,24 @@ </class> <class name="BoxShape" inherits="Shape" category="Core"> <brief_description> - Box shape resource. + Box shape resource. </brief_description> <description> - Box shape resource, which can be set into a [PhysicsBody] or area. + Box shape resource, which can be set into a [PhysicsBody] or area. </description> <methods> <method name="get_extents" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the half extents of the shape. + Return the half extents of the shape. </description> </method> <method name="set_extents"> <argument index="0" name="extents" type="Vector3"> </argument> <description> - Set the half extents for the shape. + Set the half extents for the shape. </description> </method> </methods> @@ -6189,80 +6181,80 @@ </class> <class name="Button" inherits="BaseButton" category="Core"> <brief_description> - Standard themed Button. + Standard themed Button. </brief_description> <description> - Button is the standard themed button. It can contain text and an icon, and will display them according to the current [Theme]. + Button is the standard themed button. It can contain text and an icon, and will display them according to the current [Theme]. </description> <methods> <method name="get_button_icon" qualifiers="const"> <return type="Texture"> </return> <description> - Return the button icon. + Return the button icon. </description> </method> <method name="get_clip_text" qualifiers="const"> <return type="bool"> </return> <description> - Return the state of the [i]clip_text[/i] property (see [method set_clip_text]) + Return the state of the [i]clip_text[/i] property (see [method set_clip_text]) </description> </method> <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> - Return the button text. + Return the button text. </description> </method> <method name="get_text_align" qualifiers="const"> <return type="int"> </return> <description> - Return the text alignment policy. + Return the text alignment policy. </description> </method> <method name="is_flat" qualifiers="const"> <return type="bool"> </return> <description> - Return the state of the [i]flat[/i] property (see [method set_flat]). + Return the state of the [i]flat[/i] property (see [method set_flat]). </description> </method> <method name="set_button_icon"> <argument index="0" name="texture" type="Texture"> </argument> <description> - Set the icon that will be displayed next to the text inside the button area. + Set the icon that will be displayed next to the text inside the button area. </description> </method> <method name="set_clip_text"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the [i]clip_text[/i] property of a Button. When this property is enabled, text that is too large to fit the button is clipped, when disabled (default) the Button will always be wide enough to hold the text. + Set the [i]clip_text[/i] property of a Button. When this property is enabled, text that is too large to fit the button is clipped, when disabled (default) the Button will always be wide enough to hold the text. </description> </method> <method name="set_flat"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the [i]flat[/i] property of a Button. Flat buttons don't display decoration unless hovered or pressed. + Set the [i]flat[/i] property of a Button. Flat buttons don't display decoration unless hovered or pressed. </description> </method> <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> - Set the button text, which will be displayed inside the button area. + Set the button text, which will be displayed inside the button area. </description> </method> <method name="set_text_align"> <argument index="0" name="align" type="int"> </argument> <description> - Set the text alignment policy, using one of the ALIGN_* constants. + Set the text alignment policy, using one of the ALIGN_* constants. </description> </method> </methods> @@ -6304,18 +6296,18 @@ </class> <class name="ButtonArray" inherits="Control" category="Core"> <brief_description> - Array of Buttons. + Array of Buttons. </brief_description> <description> - Array of Buttons. A ButtonArray is useful to have an array of buttons laid out vertically or horizontally. Only one button can be selected, and is referenced by its index in the array (first button is 0, second button is 1, etc.). - This is useful [i]e.g.[/i] for joypad-friendly interfaces and option menus. + Array of Buttons. A ButtonArray is useful to have an array of buttons laid out vertically or horizontally. Only one button can be selected, and is referenced by its index in the array (first button is 0, second button is 1, etc.). + This is useful [i]e.g.[/i] for joypad-friendly interfaces and option menus. </description> <methods> <method name="add_button"> <argument index="0" name="text" type="String"> </argument> <description> - Append a new button to the array, with the specified text. + Append a new button to the array, with the specified text. </description> </method> <method name="add_icon_button"> @@ -6324,26 +6316,26 @@ <argument index="1" name="text" type="String" default=""""> </argument> <description> - Append a new button to the array, with the specified icon and text. + Append a new button to the array, with the specified icon and text. </description> </method> <method name="clear"> <description> - Remove all buttons from the array. + Remove all buttons from the array. </description> </method> <method name="erase_button"> <argument index="0" name="button_idx" type="int"> </argument> <description> - Remove the specified button in the array. + Remove the specified button in the array. </description> </method> <method name="get_button_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of buttons in the array. + Return the amount of buttons in the array. </description> </method> <method name="get_button_icon" qualifiers="const"> @@ -6352,7 +6344,7 @@ <argument index="0" name="button_idx" type="int"> </argument> <description> - Return the icon of the specified button. + Return the icon of the specified button. </description> </method> <method name="get_button_text" qualifiers="const"> @@ -6361,21 +6353,21 @@ <argument index="0" name="button_idx" type="int"> </argument> <description> - Return the text of the specified button. + Return the text of the specified button. </description> </method> <method name="get_hovered" qualifiers="const"> <return type="int"> </return> <description> - Return the index of the currently hovered button in the array. + Return the index of the currently hovered button in the array. </description> </method> <method name="get_selected" qualifiers="const"> <return type="int"> </return> <description> - Return the index of the currently selected button in the array. + Return the index of the currently selected button in the array. </description> </method> <method name="set_button_icon"> @@ -6384,7 +6376,7 @@ <argument index="1" name="icon" type="Texture"> </argument> <description> - Set the icon of the specified button. + Set the icon of the specified button. </description> </method> <method name="set_button_text"> @@ -6393,14 +6385,14 @@ <argument index="1" name="text" type="String"> </argument> <description> - Define the text of the specified button. + Define the text of the specified button. </description> </method> <method name="set_selected"> <argument index="0" name="button_idx" type="int"> </argument> <description> - Select a button in the array based on the given index. + Select a button in the array based on the given index. </description> </method> </methods> @@ -6409,7 +6401,7 @@ <argument index="0" name="button_idx" type="int"> </argument> <description> - A button has been selected, its index is given as the argument. + A button has been selected, its index is given as the argument. </description> </signal> </signals> @@ -6433,45 +6425,45 @@ </class> <class name="ButtonGroup" inherits="BoxContainer" category="Core"> <brief_description> - Group of Buttons. + Group of Buttons. </brief_description> <description> - Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed. + Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed. </description> <methods> <method name="get_button_list" qualifiers="const"> <return type="Array"> </return> <description> - Return the list of all the buttons in the group. + Return the list of all the buttons in the group. </description> </method> <method name="get_focused_button" qualifiers="const"> <return type="BaseButton"> </return> <description> - Return the focused button. + Return the focused button. </description> </method> <method name="get_pressed_button" qualifiers="const"> <return type="BaseButton"> </return> <description> - Return the pressed button. + Return the pressed button. </description> </method> <method name="get_pressed_button_index" qualifiers="const"> <return type="int"> </return> <description> - Return the index of the pressed button (by tree order). + Return the index of the pressed button (by tree order). </description> </method> <method name="set_pressed_button"> <argument index="0" name="button" type="BaseButton"> </argument> <description> - Set the button to be pressed. + Set the button to be pressed. </description> </method> </methods> @@ -6484,10 +6476,10 @@ </class> <class name="Camera" inherits="Spatial" category="Core"> <brief_description> - Camera node, displays from a point of view. + Camera node, displays from a point of view. </brief_description> <description> - Camera is a special node that displays what is visible from its current location. Cameras register themselves in the nearest [Viewport] node (when ascending the tree). Only one camera can be active per viewport. If no viewport is available ascending the tree, the Camera will register in the global viewport. In other words, a Camera just provides [i]3D[/i] display capabilities to a [Viewport], and, without one, a scene registered in that [Viewport] (or higher viewports) can't be displayed. + Camera is a special node that displays what is visible from its current location. Cameras register themselves in the nearest [Viewport] node (when ascending the tree). Only one camera can be active per viewport. If no viewport is available ascending the tree, the Camera will register in the global viewport. In other words, a Camera just provides [i]3D[/i] display capabilities to a [Viewport], and, without one, a scene registered in that [Viewport] (or higher viewports) can't be displayed. </description> <methods> <method name="clear_current"> @@ -6498,7 +6490,7 @@ <return type="Transform"> </return> <description> - Get the camera transform. Subclassed cameras (such as CharacterCamera) may provide different transforms than the [Node] transform. + Get the camera transform. Subclassed cameras (such as CharacterCamera) may provide different transforms than the [Node] transform. </description> </method> <method name="get_environment" qualifiers="const"> @@ -6553,7 +6545,7 @@ <return type="bool"> </return> <description> - Return whether the Camera is the current one in the [Viewport], or plans to become current (if outside the scene tree). + Return whether the Camera is the current one in the [Viewport], or plans to become current (if outside the scene tree). </description> </method> <method name="is_position_behind" qualifiers="const"> @@ -6566,7 +6558,7 @@ </method> <method name="make_current"> <description> - Make this camera the current Camera for the [Viewport] (see class description). If the Camera Node is outside the scene tree, it will attempt to become current once it's added. + Make this camera the current Camera for the [Viewport] (see class description). If the Camera Node is outside the scene tree, it will attempt to become current once it's added. </description> </method> <method name="project_local_ray_normal" qualifiers="const"> @@ -6591,7 +6583,7 @@ <argument index="0" name="screen_point" type="Vector2"> </argument> <description> - Return a normal vector in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin,normal) for object intersection or picking. + Return a normal vector in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin,normal) for object intersection or picking. </description> </method> <method name="project_ray_origin" qualifiers="const"> @@ -6600,7 +6592,7 @@ <argument index="0" name="screen_point" type="Vector2"> </argument> <description> - Return a 3D position in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin,normal) for object intersection or picking. + Return a 3D position in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin,normal) for object intersection or picking. </description> </method> <method name="set_environment"> @@ -6623,7 +6615,7 @@ <argument index="2" name="z_far" type="float"> </argument> <description> - Set the camera projection to orthogonal mode, by specifying a width and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. (As a hint, 2D games often use this projection, with values specified in pixels) + Set the camera projection to orthogonal mode, by specifying a width and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. (As a hint, 2D games often use this projection, with values specified in pixels) </description> </method> <method name="set_perspective"> @@ -6634,7 +6626,7 @@ <argument index="2" name="z_far" type="float"> </argument> <description> - Set the camera projection to perspective mode, by specifying a [i]FOV[/i] Y angle in degrees (FOV means Field of View), and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. + Set the camera projection to perspective mode, by specifying a [i]FOV[/i] Y angle in degrees (FOV means Field of View), and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. </description> </method> <method name="set_visible_layers"> @@ -6649,30 +6641,30 @@ <argument index="0" name="world_point" type="Vector3"> </argument> <description> - Return how a 3D point in worldspace maps to a 2D coordinate in the [Viewport] rectangle. + Return how a 3D point in worldspace maps to a 2D coordinate in the [Viewport] rectangle. </description> </method> </methods> <constants> - <constant name="KEEP_WIDTH" value="0"> - </constant> - <constant name="KEEP_HEIGHT" value="1"> - </constant> <constant name="PROJECTION_PERSPECTIVE" value="0"> Perspective Projection (object's size on the screen becomes smaller when far away). </constant> <constant name="PROJECTION_ORTHOGONAL" value="1"> Orthogonal Projection (objects remain the same size on the screen no matter how far away they are). </constant> + <constant name="KEEP_WIDTH" value="0"> + </constant> + <constant name="KEEP_HEIGHT" value="1"> + </constant> </constants> </class> <class name="Camera2D" inherits="Node2D" category="Core"> <brief_description> - Camera node for 2D scenes. + Camera node for 2D scenes. </brief_description> <description> - Camera node for 2D scenes. It forces the screen (current layer) to scroll following this node. This makes it easier (and faster) to program scrollable scenes than manually changing the position of [CanvasItem] based nodes. - This node is intended to be a simple helper get get things going quickly and it may happen often that more functionality is desired to change how the camera works. To make your own custom camera node, simply inherit from [Node2D] and change the transform of the canvas by calling get_viewport().set_canvas_transform(m) in [Viewport]. + Camera node for 2D scenes. It forces the screen (current layer) to scroll following this node. This makes it easier (and faster) to program scrollable scenes than manually changing the position of [CanvasItem] based nodes. + This node is intended to be a simple helper get get things going quickly and it may happen often that more functionality is desired to change how the camera works. To make your own custom camera node, simply inherit from [Node2D] and change the transform of the canvas by calling get_viewport().set_canvas_transform(m) in [Viewport]. </description> <methods> <method name="clear_current"> @@ -6681,7 +6673,18 @@ </method> <method name="force_update_scroll"> <description> - Force the camera to update scroll immediately. + Force the camera to update scroll immediately. + </description> + </method> + <method name="reset_smoothing"> + <description> + Set the camera's position immediately to its current smoothing destination. + This has no effect if smoothing is disabled. + </description> + </method> + <method name="align"> + <description> + Align the camera to the tracked node </description> </method> <method name="get_anchor_mode" qualifiers="const"> @@ -6694,7 +6697,7 @@ <return type="Vector2"> </return> <description> - Return the camera position. + Return the camera position. </description> </method> <method name="get_camera_screen_center" qualifiers="const"> @@ -6709,7 +6712,7 @@ <argument index="0" name="margin" type="int"> </argument> <description> - Return the margins needed to drag the camera (see [method set_drag_margin]). + Return the margins needed to drag the camera (see [method set_drag_margin]). </description> </method> <method name="get_follow_smoothing" qualifiers="const"> @@ -6730,14 +6733,14 @@ <argument index="0" name="margin" type="int"> </argument> <description> - Return the scrolling limit in pixels. + Return the scrolling limit in pixels. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the scroll offset. + Return the scroll offset. </description> </method> <method name="get_v_offset" qualifiers="const"> @@ -6756,7 +6759,7 @@ <return type="bool"> </return> <description> - Return true of this is the current camera (see [method make_current]). + Return true of this is the current camera (see [method make_current]). </description> </method> <method name="is_follow_smoothing_enabled" qualifiers="const"> @@ -6785,7 +6788,7 @@ </method> <method name="make_current"> <description> - Make this the current 2D camera for the scene (viewport and layer), in case there's many cameras in the scene. + Make this the current 2D camera for the scene (viewport and layer), in case there's many cameras in the scene. </description> </method> <method name="set_anchor_mode"> @@ -6800,7 +6803,7 @@ <argument index="1" name="drag_margin" type="float"> </argument> <description> - Set the margins needed to drag the camera (relative to the screen size). Margin uses the MARGIN_* enum. Drag margins of 0,0,0,0 will keep the camera at the center of the screen, while drag margins of 1,1,1,1 will only move when the camera is at the edges. + Set the margins needed to drag the camera (relative to the screen size). Margin uses the MARGIN_* enum. Drag margins of 0,0,0,0 will keep the camera at the center of the screen, while drag margins of 1,1,1,1 will only move when the camera is at the edges. </description> </method> <method name="set_enable_follow_smoothing"> @@ -6833,14 +6836,14 @@ <argument index="1" name="limit" type="int"> </argument> <description> - Set the scrolling limit in pixels. + Set the scrolling limit in pixels. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the scroll offset. Useful for looking around or camera shake animations. + Set the scroll offset. Useful for looking around or camera shake animations. </description> </method> <method name="set_rotating"> @@ -6869,27 +6872,27 @@ </method> </methods> <constants> - <constant name="ANCHOR_MODE_FIXED_TOP_LEFT" value="0"> - </constant> <constant name="ANCHOR_MODE_DRAG_CENTER" value="1"> </constant> + <constant name="ANCHOR_MODE_FIXED_TOP_LEFT" value="0"> + </constant> </constants> </class> <class name="CanvasItem" inherits="Node" category="Core"> <brief_description> - Base class of anything 2D. + Base class of anything 2D. </brief_description> <description> - Base class of anything 2D. Canvas items are laid out in a tree and children inherit and extend the transform of their parent. CanvasItem is extended by [Control], for anything GUI related, and by [Node2D] for anything 2D engine related. - Any CanvasItem can draw. For this, the "update" function must be called, then NOTIFICATION_DRAW will be received on idle time to request redraw. Because of this, canvas items don't need to be redraw on every frame, improving the performance significantly. Several functions for drawing on the CanvasItem are provided (see draw_* functions). They can only be used inside the notification, signal or _draw() overrides function, though. - Canvas items are draw in tree order. By default, children are on top of their parents so a root CanvasItem will be drawn behind everything (this can be changed per item though). - Canvas items can also be hidden (hiding also their subtree). They provide many means for changing standard parameters such as opacity (for it and the subtree) and self opacity, blend mode. - Ultimately, a transform notification can be requested, which will notify the node that its global position changed in case the parent tree changed. + Base class of anything 2D. Canvas items are laid out in a tree and children inherit and extend the transform of their parent. CanvasItem is extended by [Control], for anything GUI related, and by [Node2D] for anything 2D engine related. + Any CanvasItem can draw. For this, the "update" function must be called, then NOTIFICATION_DRAW will be received on idle time to request redraw. Because of this, canvas items don't need to be redraw on every frame, improving the performance significantly. Several functions for drawing on the CanvasItem are provided (see draw_* functions). They can only be used inside the notification, signal or _draw() overrides function, though. + Canvas items are draw in tree order. By default, children are on top of their parents so a root CanvasItem will be drawn behind everything (this can be changed per item though). + Canvas items can also be hidden (hiding also their subtree). They provide many means for changing standard parameters such as opacity (for it and the subtree) and self opacity, blend mode. + Ultimately, a transform notification can be requested, which will notify the node that its global position changed in case the parent tree changed. </description> <methods> <method name="_draw" qualifiers="virtual"> <description> - Called (if exists) to draw the canvas item. + Called (if exists) to draw the canvas item. </description> </method> <method name="draw_char"> @@ -6906,7 +6909,7 @@ <argument index="4" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> <description> - Draw a string character using a custom font. Returns the advance, depending on the char width and kerning with an optional next char. + Draw a string character using a custom font. Returns the advance, depending on the char width and kerning with an optional next char. </description> </method> <method name="draw_circle"> @@ -6917,7 +6920,7 @@ <argument index="2" name="color" type="Color"> </argument> <description> - Draw a colored circle. + Draw a colored circle. </description> </method> <method name="draw_colored_polygon"> @@ -6925,12 +6928,12 @@ </argument> <argument index="1" name="color" type="Color"> </argument> - <argument index="2" name="uvs" type="Vector2Array" default="Vector2Array()"> + <argument index="2" name="uvs" type="Vector2Array" default="Vector2Array([])"> </argument> <argument index="3" name="texture" type="Texture" default="NULL"> </argument> <description> - Draw a colored polygon of any amount of points, convex or concave. + Draw a colored polygon of any amount of points, convex or concave. </description> </method> <method name="draw_line"> @@ -6943,7 +6946,7 @@ <argument index="3" name="width" type="float" default="1"> </argument> <description> - Draw a line from a 2D point to another, with a given color and width. + Draw a line from a 2D point to another, with a given color and width. </description> </method> <method name="draw_polygon"> @@ -6951,12 +6954,12 @@ </argument> <argument index="1" name="colors" type="ColorArray"> </argument> - <argument index="2" name="uvs" type="Vector2Array" default="Vector2Array()"> + <argument index="2" name="uvs" type="Vector2Array" default="Vector2Array([])"> </argument> <argument index="3" name="texture" type="Texture" default="NULL"> </argument> <description> - Draw a polygon of any amount of points, convex or concave. + Draw a polygon of any amount of points, convex or concave. </description> </method> <method name="draw_primitive"> @@ -6971,7 +6974,7 @@ <argument index="4" name="width" type="float" default="1"> </argument> <description> - Draw a custom primitive, 1 point for a point, 2 points for a line, 3 points for a triangle and 4 points for a quad. + Draw a custom primitive, 1 point for a point, 2 points for a line, 3 points for a triangle and 4 points for a quad. </description> </method> <method name="draw_rect"> @@ -6980,7 +6983,7 @@ <argument index="1" name="color" type="Color"> </argument> <description> - Draw a colored rectangle. + Draw a colored rectangle. </description> </method> <method name="draw_set_transform"> @@ -6991,7 +6994,13 @@ <argument index="2" name="scale" type="Vector2"> </argument> <description> - Set a custom transform for drawing. Anything drawn afterwards will be transformed by this. + Set a custom transform for drawing. Anything drawn afterwards will be transformed by this. + </description> + </method> + <method name="draw_set_transform_matrix"> + <argument index="0" name="xform" type="Matrix32"> + </argument> + <description> </description> </method> <method name="draw_string"> @@ -7006,7 +7015,7 @@ <argument index="4" name="clip_w" type="int" default="-1"> </argument> <description> - Draw a string using a custom font. + Draw a string using a custom font. </description> </method> <method name="draw_style_box"> @@ -7015,7 +7024,7 @@ <argument index="1" name="rect" type="Rect2"> </argument> <description> - Draw a styled rectangle. + Draw a styled rectangle. </description> </method> <method name="draw_texture"> @@ -7026,7 +7035,7 @@ <argument index="2" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> <description> - Draw a texture at a given position. + Draw a texture at a given position. </description> </method> <method name="draw_texture_rect"> @@ -7041,7 +7050,7 @@ <argument index="4" name="transpose" type="bool" default="false"> </argument> <description> - Draw a textured rectangle at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. + Draw a textured rectangle at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. </description> </method> <method name="draw_texture_rect_region"> @@ -7056,21 +7065,21 @@ <argument index="4" name="transpose" type="bool" default="false"> </argument> <description> - Draw a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. + Draw a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. </description> </method> <method name="edit_get_state" qualifiers="const"> <return type="Variant"> </return> <description> - Used for editing, returns an opaque value representing the transform state. + Used for editing, returns an opaque value representing the transform state. </description> </method> <method name="edit_rotate"> <argument index="0" name="degrees" type="float"> </argument> <description> - Used for editing, handle rotation. + Used for editing, handle rotation. </description> </method> <method name="edit_set_rect"> @@ -7083,173 +7092,173 @@ <argument index="0" name="state" type="Variant"> </argument> <description> - Set the transform state of this CanvasItem. For [Node2D], this is an [Array] with (in order) a [Vector2] for position, a float for rotation and another [Vector2] for scale. For [Control] this is a [Rect2] with the position and size. + Set the transform state of this CanvasItem. For [Node2D], this is an [Array] with (in order) a [Vector2] for position, a float for rotation and another [Vector2] for scale. For [Control] this is a [Rect2] with the position and size. </description> </method> <method name="get_blend_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the current blending mode from enum BLEND_MODE_*. + Return the current blending mode from enum BLEND_MODE_*. </description> </method> <method name="get_canvas" qualifiers="const"> <return type="RID"> </return> <description> - Return the [RID] of the [World2D] canvas where this item is in. + Return the [RID] of the [World2D] canvas where this item is in. </description> </method> <method name="get_canvas_item" qualifiers="const"> <return type="RID"> </return> <description> - Return the canvas item RID used by [VisualServer] for this item. + Return the canvas item RID used by [VisualServer] for this item. </description> </method> <method name="get_canvas_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the transform matrix of this item's canvas. + Get the transform matrix of this item's canvas. </description> </method> <method name="get_global_mouse_pos" qualifiers="const"> <return type="Vector2"> </return> <description> - Get the global position of the mouse. + Get the global position of the mouse. </description> </method> <method name="get_global_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the global transform matrix of this item. + Get the global transform matrix of this item. </description> </method> <method name="get_global_transform_with_canvas" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the global transform matrix of this item in relation to the canvas. + Get the global transform matrix of this item in relation to the canvas. </description> </method> <method name="get_item_and_children_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Get a [Rect2] with the boundaries of this item and its children. + Get a [Rect2] with the boundaries of this item and its children. </description> </method> <method name="get_item_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return a rect containing the editable boundaries of the item. + Return a rect containing the editable boundaries of the item. </description> </method> <method name="get_light_mask" qualifiers="const"> <return type="int"> </return> <description> - Get this item's light mask number. + Get this item's light mask number. </description> </method> <method name="get_local_mouse_pos" qualifiers="const"> <return type="Vector2"> </return> <description> - Get the mouse position relative to this item's position. + Get the mouse position relative to this item's position. </description> </method> <method name="get_material" qualifiers="const"> <return type="CanvasItemMaterial"> </return> <description> - Get the material of this item. + Get the material of this item. </description> </method> <method name="get_opacity" qualifiers="const"> <return type="float"> </return> <description> - Return the canvas item opacity. This affects the canvas item and all the children. + Return the canvas item opacity. This affects the canvas item and all the children. </description> </method> <method name="get_self_opacity" qualifiers="const"> <return type="float"> </return> <description> - Return the canvas item self-opacity. + Return the canvas item self-opacity. </description> </method> <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the transform matrix of this item. + Get the transform matrix of this item. </description> </method> <method name="get_use_parent_material" qualifiers="const"> <return type="bool"> </return> <description> - Get whether this item uses its parent's material. + Get whether this item uses its parent's material. </description> </method> <method name="get_viewport_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Get the viewport's boundaries as a [Rect2]. + Get the viewport's boundaries as a [Rect2]. </description> </method> <method name="get_viewport_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get this item's transform in relation to the viewport. + Get this item's transform in relation to the viewport. </description> </method> <method name="get_world_2d" qualifiers="const"> <return type="Object"> </return> <description> - Get the [World2D] where this item is in. + Get the [World2D] where this item is in. </description> </method> <method name="hide"> <description> - Hide the CanvasItem currently visible. + Hide the CanvasItem currently visible. </description> </method> <method name="is_draw_behind_parent_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the item is drawn behind its parent. + Return whether the item is drawn behind its parent. </description> </method> <method name="is_hidden" qualifiers="const"> <return type="bool"> </return> <description> - Return true if this CanvasItem is hidden. Note that the CanvasItem may not be visible, but as long as it's not hidden ([method hide] called) the function will return false. + Return true if this CanvasItem is hidden. Note that the CanvasItem may not be visible, but as long as it's not hidden ([method hide] called) the function will return false. </description> </method> <method name="is_set_as_toplevel" qualifiers="const"> <return type="bool"> </return> <description> - Return if set as toplevel. See [method set_as_toplevel]. + Return if set as toplevel. See [method set_as_toplevel]. </description> </method> <method name="is_visible" qualifiers="const"> <return type="bool"> </return> <description> - Return true if this CanvasItem is visible. It may be invisible because itself or a parent canvas item is hidden. + Return true if this CanvasItem is visible. It may be invisible because itself or a parent canvas item is hidden. </description> </method> <method name="make_input_local" qualifiers="const"> @@ -7258,102 +7267,102 @@ <argument index="0" name="event" type="InputEvent"> </argument> <description> - Takes a global input event and convert to this item's coordinate system. + Takes a global input event and convert to this item's coordinate system. </description> </method> <method name="set_as_toplevel"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set as top level. This means that it will not inherit transform from parent canvas items. + Set as top level. This means that it will not inherit transform from parent canvas items. </description> </method> <method name="set_blend_mode"> <argument index="0" name="blend_mode" type="int"> </argument> <description> - Set the blending mode from enum BLEND_MODE_*. + Set the blending mode from enum BLEND_MODE_*. </description> </method> <method name="set_draw_behind_parent"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether the canvas item is drawn behind its parent. + Set whether the canvas item is drawn behind its parent. </description> </method> <method name="set_hidden"> <argument index="0" name="hidden" type="bool"> </argument> <description> - Set whether this item should be hidden or not. Note that no matter what is set here this item won't be shown if its parent or grandparents nodes are also hidden. A hidden CanvasItem make all children hidden too. + Set whether this item should be hidden or not. Note that no matter what is set here this item won't be shown if its parent or grandparents nodes are also hidden. A hidden CanvasItem make all children hidden too. </description> </method> <method name="set_light_mask"> <argument index="0" name="light_mask" type="int"> </argument> <description> - Set the ligtht mask number of this item. + Set the ligtht mask number of this item. </description> </method> <method name="set_material"> <argument index="0" name="material" type="CanvasItemMaterial"> </argument> <description> - Set the material of this item. + Set the material of this item. </description> </method> <method name="set_opacity"> <argument index="0" name="opacity" type="float"> </argument> <description> - Set canvas item opacity. This will affect the canvas item and all the children. + Set canvas item opacity. This will affect the canvas item and all the children. </description> </method> <method name="set_self_opacity"> <argument index="0" name="self_opacity" type="float"> </argument> <description> - Set canvas item self-opacity. This does not affect the opacity of children items. + Set canvas item self-opacity. This does not affect the opacity of children items. </description> </method> <method name="set_use_parent_material"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether or not this item should use its parent's material. + Set whether or not this item should use its parent's material. </description> </method> <method name="show"> <description> - Show the CanvasItem currently hidden. + Show the CanvasItem currently hidden. </description> </method> <method name="update"> <description> - Queue the CanvasItem for update. [code]NOTIFICATION_DRAW[/code] will be called on idle time to request redraw. + Queue the CanvasItem for update. [code]NOTIFICATION_DRAW[/code] will be called on idle time to request redraw. </description> </method> </methods> <signals> <signal name="draw"> <description> - Emitted when the CanvasItem must redraw. This can only be connected realtime, as deferred will not allow drawing. + Emitted when the CanvasItem must redraw. This can only be connected realtime, as deferred will not allow drawing. </description> </signal> <signal name="hide"> <description> - Emitted when becoming hidden. + Emitted when becoming hidden. </description> </signal> <signal name="item_rect_changed"> <description> - Emitted when the item rect has changed. + Emitted when the item rect has changed. </description> </signal> <signal name="visibility_changed"> <description> - Emitted when the visibility (hidden/visible) changes. + Emitted when the visibility (hidden/visible) changes. </description> </signal> </signals> @@ -7373,9 +7382,6 @@ <constant name="BLEND_MODE_PREMULT_ALPHA" value="4"> Mix blending mode. Colors are assumed to be premultiplied by the alpha (opacity) value. </constant> - <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="29"> - Canvas item transform has changed. Only received if requested. - </constant> <constant name="NOTIFICATION_DRAW" value="30"> CanvasItem is requested to draw. </constant> @@ -7388,6 +7394,9 @@ <constant name="NOTIFICATION_EXIT_CANVAS" value="33"> Canvas item has exited the canvas. </constant> + <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="29"> + Canvas item transform has changed. Only received if requested. + </constant> </constants> </class> <class name="CanvasItemMaterial" inherits="Resource" category="Core"> @@ -7466,108 +7475,108 @@ </class> <class name="CanvasLayer" inherits="Node" category="Core"> <brief_description> - Canvas Item layer. + Canvas Item layer. </brief_description> <description> - Canvas Item layer. [CanvasItem] nodes that are direct or indirect children of a [CanvasLayer] will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index 0, so a [CanvasLayer] with index -1 will be drawn below, and one with index 1 will be drawn above. This is very useful for HUDs (in layer 1+ or above), or backgrounds (in layer -1 or below). + Canvas Item layer. [CanvasItem] nodes that are direct or indirect children of a [CanvasLayer] will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index 0, so a [CanvasLayer] with index -1 will be drawn below, and one with index 1 will be drawn above. This is very useful for HUDs (in layer 1+ or above), or backgrounds (in layer -1 or below). </description> <methods> <method name="get_layer" qualifiers="const"> <return type="int"> </return> <description> - Return the layer index, determines the draw order, a lower value will be below a higher one. + Return the layer index, determines the draw order, a lower value will be below a higher one. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the base offset for this layer (helper). + Return the base offset for this layer (helper). </description> </method> <method name="get_rotation" qualifiers="const"> <return type="float"> </return> <description> - Return the base rotation for this layer (helper). + Return the base rotation for this layer (helper). </description> </method> <method name="get_rotationd" qualifiers="const"> <return type="float"> </return> <description> - Get rotation of the layer in degree. + Get rotation of the layer in degree. </description> </method> <method name="get_scale" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the base scale for this layer (helper). + Return the base scale for this layer (helper). </description> </method> <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Return the base transform for this layer. + Return the base transform for this layer. </description> </method> <method name="get_viewport" qualifiers="const"> <return type="RID"> </return> <description> - Return the viewport RID for this layer. + Return the viewport RID for this layer. </description> </method> <method name="get_world_2d" qualifiers="const"> <return type="World2D"> </return> <description> - Return the [World2D] used by this layer. + Return the [World2D] used by this layer. </description> </method> <method name="set_layer"> <argument index="0" name="layer" type="int"> </argument> <description> - Set the layer index, determines the draw order, a lower value will be below a higher one. + Set the layer index, determines the draw order, a lower value will be below a higher one. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the base offset for this layer (helper). + Set the base offset for this layer (helper). </description> </method> <method name="set_rotation"> <argument index="0" name="radians" type="float"> </argument> <description> - Set the base rotation for this layer (helper). + Set the base rotation for this layer (helper). </description> </method> <method name="set_rotationd"> <argument index="0" name="degrees" type="float"> </argument> <description> - Set rotation of the layer in degree. + Set rotation of the layer in degree. </description> </method> <method name="set_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> - Set the base scale for this layer (helper). + Set the base scale for this layer (helper). </description> </method> <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> - Set the base transform for this layer. + Set the base transform for this layer. </description> </method> </methods> @@ -7576,24 +7585,24 @@ </class> <class name="CanvasModulate" inherits="Node2D" category="Core"> <brief_description> - Tint the entire canvas + Tint the entire canvas </brief_description> <description> - CanvasModulate tints the canvas elements using its asigned color + CanvasModulate tints the canvas elements using its asigned color </description> <methods> <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> - Gets the canvas tint color + Gets the canvas tint color </description> </method> <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Sets the canvas tint color + Sets the canvas tint color </description> </method> </methods> @@ -7602,38 +7611,38 @@ </class> <class name="CapsuleShape" inherits="Shape" category="Core"> <brief_description> - Capsule shape resource. + Capsule shape resource. </brief_description> <description> - Capsule shape resource, which can be set into a [PhysicsBody] or area. + Capsule shape resource, which can be set into a [PhysicsBody] or area. </description> <methods> <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> - Return the capsule height. + Return the capsule height. </description> </method> <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> - Return the capsule radius. + Return the capsule radius. </description> </method> <method name="set_height"> <argument index="0" name="height" type="float"> </argument> <description> - Set the capsule height. + Set the capsule height. </description> </method> <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> - Set the capsule radius. + Set the capsule radius. </description> </method> </methods> @@ -7642,38 +7651,38 @@ </class> <class name="CapsuleShape2D" inherits="Shape2D" category="Core"> <brief_description> - Capsule 2D shape resource for physics. + Capsule 2D shape resource for physics. </brief_description> <description> - Capsule 2D shape resource for physics. A capsule (or sometimes called "pill") is like a line grown in all directions. It has a radius and a height, and is often useful for modeling biped characters. + Capsule 2D shape resource for physics. A capsule (or sometimes called "pill") is like a line grown in all directions. It has a radius and a height, and is often useful for modeling biped characters. </description> <methods> <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> - Return the height of the [CapsuleShape2D]. + Return the height of the [CapsuleShape2D]. </description> </method> <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> - Return the radius of the [CapsuleShape2D]. + Return the radius of the [CapsuleShape2D]. </description> </method> <method name="set_height"> <argument index="0" name="height" type="float"> </argument> <description> - Set the height of the [CapsuleShape2D]. + Set the height of the [CapsuleShape2D]. </description> </method> <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> - Set the radius of the [CapsuleShape2D]. + Set the radius of the [CapsuleShape2D]. </description> </method> </methods> @@ -7682,24 +7691,24 @@ </class> <class name="CenterContainer" inherits="Container" category="Core"> <brief_description> - Keeps children controls centered. + Keeps children controls centered. </brief_description> <description> - CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center. + CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center. </description> <methods> <method name="is_using_top_left" qualifiers="const"> <return type="bool"> </return> <description> - Should put children to the top left corner instead of center of the container. + Should put children to the top left corner instead of center of the container. </description> </method> <method name="set_use_top_left"> <argument index="0" name="enable" type="bool"> </argument> <description> - This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container). + This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container). </description> </method> </methods> @@ -7708,10 +7717,10 @@ </class> <class name="CheckBox" inherits="Button" category="Core"> <brief_description> - Binary choice user interface widget + Binary choice user interface widget </brief_description> <description> - A checkbox allows the user to make a binary choice (choosing only one of two posible options), for example Answer 'yes' or 'no'. + A checkbox allows the user to make a binary choice (choosing only one of two posible options), for example Answer 'yes' or 'no'. </description> <methods> </methods> @@ -7754,10 +7763,10 @@ </class> <class name="CheckButton" inherits="Button" category="Core"> <brief_description> - Checkable button. + Checkable button. </brief_description> <description> - CheckButton is a toggle button displayed as a check field. + CheckButton is a toggle button displayed as a check field. </description> <methods> </methods> @@ -7796,24 +7805,24 @@ </class> <class name="CircleShape2D" inherits="Shape2D" category="Core"> <brief_description> - Circular Shape for 2D Physics. + Circular Shape for 2D Physics. </brief_description> <description> - Circular Shape for 2D Physics. This shape is useful for modeling balls or small characters and it's collision detection with everything else is very fast. + Circular Shape for 2D Physics. This shape is useful for modeling balls or small characters and it's collision detection with everything else is very fast. </description> <methods> <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> - Return the radius of the circle shape. + Return the radius of the circle shape. </description> </method> <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> - Set the radius of the circle shape. + Set the radius of the circle shape. </description> </method> </methods> @@ -7972,10 +7981,10 @@ </class> <class name="CollisionObject2D" inherits="Node2D" category="Core"> <brief_description> - Base node for 2D collisionables. + Base node for 2D collisionables. </brief_description> <description> - CollisionObject2D is the base class for 2D physics collisionables. They can hold any number of 2D collision shapes. Usually, they are edited by placing [CollisionShape2D] and/or [CollisionPolygon2D] nodes as children. Such nodes are for reference and not present outside the editor, so code should use the regular shape API. + CollisionObject2D is the base class for 2D physics collisionables. They can hold any number of 2D collision shapes. Usually, they are edited by placing [CollisionShape2D] and/or [CollisionPolygon2D] nodes as children. Such nodes are for reference and not present outside the editor, so code should use the regular shape API. </description> <methods> <method name="_input_event" qualifiers="virtual"> @@ -7986,7 +7995,7 @@ <argument index="2" name="shape_idx" type="int"> </argument> <description> - This method can be used to override normal input processing. The first parameter is the viewport where the event took place. The second holds the input event received, and the third the shape of this object where it happened. + This method can be used to override normal input processing. The first parameter is the viewport where the event took place. The second holds the input event received, and the third the shape of this object where it happened. </description> </method> <method name="add_shape"> @@ -7995,19 +8004,19 @@ <argument index="1" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> </argument> <description> - Add a [Shape2D] to the collision body, with a given custom transform. + Add a [Shape2D] to the collision body, with a given custom transform. </description> </method> <method name="clear_shapes"> <description> - Remove all shapes. + Remove all shapes. </description> </method> <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> - Return the RID of this object. + Return the RID of this object. </description> </method> <method name="get_shape" qualifiers="const"> @@ -8016,14 +8025,14 @@ <argument index="0" name="shape_idx" type="int"> </argument> <description> - Return the shape in the given index. + Return the shape in the given index. </description> </method> <method name="get_shape_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of shapes in the collision body. Because a [CollisionPolygon2D] can generate more than one [Shape2D], the amount returned does not have to match the sum of [CollisionShape2D] and [CollisionPolygon2D]. + Return the amount of shapes in the collision body. Because a [CollisionPolygon2D] can generate more than one [Shape2D], the amount returned does not have to match the sum of [CollisionShape2D] and [CollisionPolygon2D]. </description> </method> <method name="get_shape_transform" qualifiers="const"> @@ -8032,14 +8041,14 @@ <argument index="0" name="shape_idx" type="int"> </argument> <description> - Return the shape transform in the given index. + Return the shape transform in the given index. </description> </method> <method name="is_pickable" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this object is pickable. + Return whether this object is pickable. </description> </method> <method name="is_shape_set_as_trigger" qualifiers="const"> @@ -8048,21 +8057,21 @@ <argument index="0" name="shape_idx" type="int"> </argument> <description> - Return whether a shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). + Return whether a shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). </description> </method> <method name="remove_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <description> - Remove the shape in the given index. + Remove the shape in the given index. </description> </method> <method name="set_pickable"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether this object is pickable. A pickable object can detect the mouse pointer enter/leave it and, if the mouse is inside it, report input events. + Set whether this object is pickable. A pickable object can detect the mouse pointer enter/leave it and, if the mouse is inside it, report input events. </description> </method> <method name="set_shape"> @@ -8071,7 +8080,7 @@ <argument index="1" name="shape" type="Shape"> </argument> <description> - Change a shape in the collision body. + Change a shape in the collision body. </description> </method> <method name="set_shape_as_trigger"> @@ -8080,7 +8089,7 @@ <argument index="1" name="enable" type="bool"> </argument> <description> - Set whether a shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). + Set whether a shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). </description> </method> <method name="set_shape_transform"> @@ -8089,7 +8098,7 @@ <argument index="1" name="transform" type="Matrix32"> </argument> <description> - Change the shape transform in the collision body. + Change the shape transform in the collision body. </description> </method> </methods> @@ -8102,17 +8111,17 @@ <argument index="2" name="shape_idx" type="int"> </argument> <description> - This signal triggers when an input event fires over a shape. The first parameter is the viewport where the event took place. The second holds the input event received, and the third the shape of this object where it happened. + This signal triggers when an input event fires over a shape. The first parameter is the viewport where the event took place. The second holds the input event received, and the third the shape of this object where it happened. </description> </signal> <signal name="mouse_enter"> <description> - This event fires only once when the mouse pointer enters any shape of this object. + This event fires only once when the mouse pointer enters any shape of this object. </description> </signal> <signal name="mouse_exit"> <description> - This event fires only once when the mouse pointer exits all shapes of this object. + This event fires only once when the mouse pointer exits all shapes of this object. </description> </signal> </signals> @@ -8179,69 +8188,69 @@ </class> <class name="CollisionPolygon2D" inherits="Node2D" category="Core"> <brief_description> - Editor-only class for easy editing of collision polygons. + Editor-only class for easy editing of collision polygons. </brief_description> <description> - Editor-only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. This class is for editing custom shape polygons. + Editor-only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. This class is for editing custom shape polygons. </description> <methods> <method name="get_build_mode" qualifiers="const"> <return type="int"> </return> <description> - Return whether the polygon is a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]). + Return whether the polygon is a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]). </description> </method> <method name="get_collision_object_first_shape" qualifiers="const"> <return type="int"> </return> <description> - Return the index of the first shape generated by the editor. - When [code]build_mode[/code] is set to generate convex polygons, the shape shown in the editor may be decomposed into many convex polygons. In that case, a range of indexes is needed to directly access the [Shape2D]. - When [code]build_mode[/code] is set to generate concave polygons, there is only one [Shape2D] generated, so the start index and the end index are the same. + Return the index of the first shape generated by the editor. + When [code]build_mode[/code] is set to generate convex polygons, the shape shown in the editor may be decomposed into many convex polygons. In that case, a range of indexes is needed to directly access the [Shape2D]. + When [code]build_mode[/code] is set to generate concave polygons, there is only one [Shape2D] generated, so the start index and the end index are the same. </description> </method> <method name="get_collision_object_last_shape" qualifiers="const"> <return type="int"> </return> <description> - Return the index of the last shape generated by the editor. + Return the index of the last shape generated by the editor. </description> </method> <method name="get_polygon" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return the list of points that define the polygon. + Return the list of points that define the polygon. </description> </method> <method name="is_trigger" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this polygon is a trigger. + Return whether this polygon is a trigger. </description> </method> <method name="set_build_mode"> <argument index="0" name="build_mode" type="int"> </argument> <description> - Set whether the polygon is to be a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]). + Set whether the polygon is to be a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]). </description> </method> <method name="set_polygon"> <argument index="0" name="polygon" type="Vector2Array"> </argument> <description> - Set the array of points forming the polygon. - When editing the point list via the editor, depending on [method get_build_mode], it has to be a list of points (for [code]build_mode==0[/code]), or a list of lines (for [code]build_mode==1[/code]). In the second case, the even elements of the array define the start point of the line, and the odd elements the end point. + Set the array of points forming the polygon. + When editing the point list via the editor, depending on [method get_build_mode], it has to be a list of points (for [code]build_mode==0[/code]), or a list of lines (for [code]build_mode==1[/code]). In the second case, the even elements of the array define the start point of the line, and the odd elements the end point. </description> </method> <method name="set_trigger"> <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). + 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). </description> </method> </methods> @@ -8300,45 +8309,45 @@ </class> <class name="CollisionShape2D" inherits="Node2D" category="Core"> <brief_description> - Editor-only class for easy editing of shapes. + Editor-only class for easy editing of shapes. </brief_description> <description> - Editor-only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. + Editor-only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. </description> <methods> <method name="get_collision_object_shape_index" qualifiers="const"> <return type="int"> </return> <description> - Return the index of this shape inside its container [CollisionObject2D]. This can be used to directly access the underlying [Shape2D]. + Return the index of this shape inside its container [CollisionObject2D]. This can be used to directly access the underlying [Shape2D]. </description> </method> <method name="get_shape" qualifiers="const"> <return type="Object"> </return> <description> - Return this shape's [Shape2D]. + Return this shape's [Shape2D]. </description> </method> <method name="is_trigger" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this shape is a trigger. + Return whether this shape is a trigger. </description> </method> <method name="set_shape"> <argument index="0" name="shape" type="Object"> </argument> <description> - Set this shape's [Shape2D]. This will not appear as a node, but can be directly edited as a property. + Set this shape's [Shape2D]. This will not appear as a node, but can be directly edited as a property. </description> </method> <method name="set_trigger"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether this shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. will not block movement of colliding objects). + Set whether this shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. will not block movement of colliding objects). </description> </method> </methods> @@ -8347,10 +8356,10 @@ </class> <class name="Color" category="Built-In Types"> <brief_description> - Color in RGBA format. + Color in RGBA format. </brief_description> <description> - A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate() ) may accept values > 1. + A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate() ) may accept values > 1. </description> <methods> <method name="Color"> @@ -8365,7 +8374,7 @@ <argument index="3" name="a" type="float"> </argument> <description> - Construct the color from an RGBA profile. + Construct the color from an RGBA profile. </description> </method> <method name="Color"> @@ -8378,7 +8387,7 @@ <argument index="2" name="b" type="float"> </argument> <description> - Construct the color from an RGBA profile. + Construct the color from an RGBA profile. </description> </method> <method name="Color"> @@ -8387,7 +8396,7 @@ <argument index="0" name="from" type="int"> </argument> <description> - Construct the color from an RGBA profile. + Construct the color from an RGBA profile. </description> </method> <method name="Color"> @@ -8396,7 +8405,7 @@ <argument index="0" name="from" type="String"> </argument> <description> - Construct the color from an RGBA profile. + Construct the color from an RGBA profile. </description> </method> <method name="blend"> @@ -8405,28 +8414,28 @@ <argument index="0" name="over" type="Color"> </argument> <description> - Return a new color blended with anothor one. + Return a new color blended with anothor one. </description> </method> <method name="contrasted"> <return type="Color"> </return> <description> - Return the most contrasting color with this one. + Return the most contrasting color with this one. </description> </method> <method name="gray"> <return type="float"> </return> <description> - Convert the color to gray. + Convert the color to gray. </description> </method> <method name="inverted"> <return type="Color"> </return> <description> - Return the inverted color (1-r, 1-g, 1-b, 1-a). + Return the inverted color (1-r, 1-g, 1-b, 1-a). </description> </method> <method name="linear_interpolate"> @@ -8437,21 +8446,21 @@ <argument index="1" name="t" type="float"> </argument> <description> - Return the linear interpolation with another color. + Return the linear interpolation with another color. </description> </method> <method name="to_32"> <return type="int"> </return> <description> - Convert the color to a 32 its integer (each byte represents a RGBA). + Convert the color to a 32 its integer (each byte represents a RGBA). </description> </method> <method name="to_ARGB32"> <return type="int"> </return> <description> - Convert color to ARGB32, more compatible with DirectX. + Convert color to ARGB32, more compatible with DirectX. </description> </method> <method name="to_html"> @@ -8460,7 +8469,7 @@ <argument index="0" name="with_alpha" type="bool" default="True"> </argument> <description> - Return the HTML hexadecimal color string. + Return the HTML hexadecimal color string. </description> </method> </methods> @@ -8504,10 +8513,10 @@ </class> <class name="ColorArray" category="Built-In Types"> <brief_description> - Array of Colors + Array of Colors </brief_description> <description> - Array of Color, can only contains colors. Optimized for memory usage, can't fragment the memory. + Array of Color, can only contains colors. Optimized for memory usage, can't fragment the memory. </description> <methods> <method name="ColorArray"> @@ -8516,21 +8525,21 @@ <argument index="0" name="from" type="Array"> </argument> <description> - Create from a generic array. + Create from a generic array. </description> </method> <method name="append"> <argument index="0" name="color" type="Color"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="append_array"> <argument index="0" name="array" type="ColorArray"> </argument> <description> - Append an [ColorArray] at the end of this array. + Append an [ColorArray] at the end of this array. </description> </method> <method name="insert"> @@ -8541,33 +8550,33 @@ <argument index="1" name="color" type="Color"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="color" type="Color"> </argument> <description> - Append a value to the array. + Append a value to the array. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the [ColorArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the [ColorArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -8576,14 +8585,14 @@ <argument index="1" name="color" type="Color"> </argument> <description> - Change the [Color] at the given index. + Change the [Color] at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the array size. + Return the array size. </description> </method> </methods> @@ -8592,59 +8601,59 @@ </class> <class name="ColorPicker" inherits="BoxContainer" category="Core"> <brief_description> - Color picker control. + Color picker control. </brief_description> <description> - This is a simple color picker [Control]. It's useful for selecting a color from an RGB/RGBA colorspace. + This is a simple color picker [Control]. It's useful for selecting a color from an RGB/RGBA colorspace. </description> <methods> <method name="add_preset"> <argument index="0" name="arg0" type="Color"> </argument> <description> - Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker. + Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker. </description> </method> <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> - Return the current (edited) color. + Return the current (edited) color. </description> </method> <method name="is_editing_alpha" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether the color has transparency or not. + Returns whether the color has transparency or not. </description> </method> <method name="is_raw_mode" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether this color picker is in raw mode or not + Returns whether this color picker is in raw mode or not </description> </method> <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Select the current color. + Select the current color. </description> </method> <method name="set_edit_alpha"> <argument index="0" name="show" type="bool"> </argument> <description> - Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color. + Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color. </description> </method> <method name="set_raw_mode"> <argument index="0" name="mode" type="bool"> </argument> <description> - When set to true, every color channel will be represented as a value from 0 to 1, insetead of 0, 255. + When set to true, every color channel will be represented as a value from 0 to 1, insetead of 0, 255. </description> </method> </methods> @@ -8653,7 +8662,7 @@ <argument index="0" name="color" type="Color"> </argument> <description> - Emitted when the color is changed. + Emitted when the color is changed. </description> </signal> </signals> @@ -8678,17 +8687,17 @@ </class> <class name="ColorPickerButton" inherits="Button" category="Core"> <brief_description> - Button that pops out a [ColorPicker] + Button that pops out a [ColorPicker] </brief_description> <description> - Encapsulates a [ColorPicker] making it accesible by pressing a button, pressing the button will toggle the [ColorPicker] visibility + Encapsulates a [ColorPicker] making it accesible by pressing a button, pressing the button will toggle the [ColorPicker] visibility </description> <methods> <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> - Gets the current color + Gets the current color </description> </method> <method name="get_picker"> @@ -8701,21 +8710,21 @@ <return type="bool"> </return> <description> - See [method ColorPicker.is_edit_alpha] + See [method ColorPicker.is_edit_alpha] </description> </method> <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Sets the current color + Sets the current color </description> </method> <method name="set_edit_alpha"> <argument index="0" name="show" type="bool"> </argument> <description> - See [method ColorPicker.set_edit_alpha] + See [method ColorPicker.set_edit_alpha] </description> </method> </methods> @@ -8724,7 +8733,7 @@ <argument index="0" name="color" type="Color"> </argument> <description> - Emitted when the color is changed. + Emitted when the color is changed. </description> </signal> </signals> @@ -8757,10 +8766,10 @@ </class> <class name="ColorRamp" inherits="Resource" category="Core"> <brief_description> - Color interpolator node + Color interpolator node </brief_description> <description> - Given a set of colors, this node will interpolate them in order, meaning, that if you have color 1, color 2 and color3, the ramp will interpolate (generate the colors between two colors) from color 1 to color 2 and from color 2 to color 3. Initially the ramp will have 2 colors (black and white), one (black) at ramp lower offset offset 0 and the other (white) at the ramp higher offset 1. + Given a set of colors, this node will interpolate them in order, meaning, that if you have color 1, color 2 and color3, the ramp will interpolate (generate the colors between two colors) from color 1 to color 2 and from color 2 to color 3. Initially the ramp will have 2 colors (black and white), one (black) at ramp lower offset offset 0 and the other (white) at the ramp higher offset 1. </description> <methods> <method name="add_point"> @@ -8769,7 +8778,7 @@ <argument index="1" name="color" type="Color"> </argument> <description> - Adds the specified color to the end of the ramp, with the specified offset + Adds the specified color to the end of the ramp, with the specified offset </description> </method> <method name="get_color" qualifiers="const"> @@ -8778,14 +8787,14 @@ <argument index="0" name="point" type="int"> </argument> <description> - Returns the color of the ramp color at index [i]point[/i] + Returns the color of the ramp color at index [i]point[/i] </description> </method> <method name="get_colors" qualifiers="const"> <return type="ColorArray"> </return> <description> - Returns the colors in the ramp + Returns the colors in the ramp </description> </method> <method name="get_offset" qualifiers="const"> @@ -8794,21 +8803,21 @@ <argument index="0" name="point" type="int"> </argument> <description> - Returns the offset of the ramp color at index [i]point[/i] + Returns the offset of the ramp color at index [i]point[/i] </description> </method> <method name="get_offsets" qualifiers="const"> <return type="RealArray"> </return> <description> - Returns the offsets for the colors in this ramp + Returns the offsets for the colors in this ramp </description> </method> <method name="get_point_count" qualifiers="const"> <return type="int"> </return> <description> - Returns the number of colors in the ramp + Returns the number of colors in the ramp </description> </method> <method name="interpolate"> @@ -8817,14 +8826,14 @@ <argument index="0" name="offset" type="float"> </argument> <description> - Returns the interpolated color specified by [i]offset[/i] + Returns the interpolated color specified by [i]offset[/i] </description> </method> <method name="remove_point"> <argument index="0" name="offset" type="int"> </argument> <description> - Removes the color at the index [i]offset[/i] + Removes the color at the index [i]offset[/i] </description> </method> <method name="set_color"> @@ -8833,14 +8842,14 @@ <argument index="1" name="color" type="Color"> </argument> <description> - Sets the color of the ramp color at index [i]point[/i] + Sets the color of the ramp color at index [i]point[/i] </description> </method> <method name="set_colors"> <argument index="0" name="colors" type="ColorArray"> </argument> <description> - Sets the colors for the specified amount of elements. Calling this function with a different number of elements than previously defined causes the ramp to resize its colors and offsets array to accomodate the new elements. + Sets the colors for the specified amount of elements. Calling this function with a different number of elements than previously defined causes the ramp to resize its colors and offsets array to accomodate the new elements. </description> </method> <method name="set_offset"> @@ -8849,14 +8858,14 @@ <argument index="1" name="offset" type="float"> </argument> <description> - Sets the offset for the ramp color at index [i]point[/i] + Sets the offset for the ramp color at index [i]point[/i] </description> </method> <method name="set_offsets"> <argument index="0" name="offsets" type="RealArray"> </argument> <description> - Sets the offset for the specified amount of elements. Calling this function with a different number of elements than previously defined causes the ramp to resize its colors and offsets array to accomodate the new elements, all new colors will be black by default. + Sets the offset for the specified amount of elements. Calling this function with a different number of elements than previously defined causes the ramp to resize its colors and offsets array to accomodate the new elements, all new colors will be black by default. </description> </method> </methods> @@ -8865,24 +8874,24 @@ </class> <class name="ConcavePolygonShape" inherits="Shape" category="Core"> <brief_description> - Concave polygon shape. + Concave polygon shape. </brief_description> <description> - Concave polygon shape resource, which can be set into a [PhysicsBody] or area. This shape is created by feeding a list of triangles. + Concave polygon shape resource, which can be set into a [PhysicsBody] or area. This shape is created by feeding a list of triangles. </description> <methods> <method name="get_faces" qualifiers="const"> <return type="Vector3Array"> </return> <description> - Return the faces (an array of triangles). + Return the faces (an array of triangles). </description> </method> <method name="set_faces"> <argument index="0" name="faces" type="Vector3Array"> </argument> <description> - Set the faces (an array of triangles). + Set the faces (an array of triangles). </description> </method> </methods> @@ -8891,25 +8900,25 @@ </class> <class name="ConcavePolygonShape2D" inherits="Shape2D" category="Core"> <brief_description> - Concave polygon 2D shape resource for physics. + Concave polygon 2D shape resource for physics. </brief_description> <description> - Concave polygon 2D shape resource for physics. It is made out of segments and is very optimal for complex polygonal concave collisions. It is really not advised to use for [RigidBody2D] nodes. A CollisionPolygon2D in convex decomposition mode (solids) or several convex objects are advised for that instead. Otherwise, a concave polygon 2D shape is better for static collisions. - The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection. + Concave polygon 2D shape resource for physics. It is made out of segments and is very optimal for complex polygonal concave collisions. It is really not advised to use for [RigidBody2D] nodes. A CollisionPolygon2D in convex decomposition mode (solids) or several convex objects are advised for that instead. Otherwise, a concave polygon 2D shape is better for static collisions. + The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection. </description> <methods> <method name="get_segments" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return the array of segments. + Return the array of segments. </description> </method> <method name="set_segments"> <argument index="0" name="segments" type="Vector2Array"> </argument> <description> - Set the array of segments. + Set the array of segments. </description> </method> </methods> @@ -8956,23 +8965,23 @@ </class> <class name="ConfigFile" inherits="Reference" category="Core"> <brief_description> - Helper class to handle INI-style files. + Helper class to handle INI-style files. </brief_description> <description> - This helper class can be used to store [Variant] values on the filesystem using an INI-style formatting. The stored values as referenced by a section and a key. The stored data can be saved to or parsed from a file, though ConfigFile objects can also be used directly with accessing the filesystem. - The following example shows how to parse a INI-style file from the system, read its contents and store new values in it: - [codeblock] - var config = ConfigFile.new() - var err = config.load("user://settings.cfg") - if err == OK: # if not, something went wrong with the file loading - # Look for the display/width pair, and default to 1024 if missing - var screen_width = get_value("display", "width", 1024) - # Store a variable if and only it hasn't been defined yet - if not config.has_section_key("audio", "mute"): - config.set_value("audio", "mute", false) - # Save the changes by overwriting the previous file - config.save("user://settings.cfg") - [/codeblock] + This helper class can be used to store [Variant] values on the filesystem using an INI-style formatting. The stored values as referenced by a section and a key. The stored data can be saved to or parsed from a file, though ConfigFile objects can also be used directly with accessing the filesystem. + The following example shows how to parse a INI-style file from the system, read its contents and store new values in it: + [codeblock] + var config = ConfigFile.new() + var err = config.load("user://settings.cfg") + if err == OK: # if not, something went wrong with the file loading + # Look for the display/width pair, and default to 1024 if missing + var screen_width = get_value("display", "width", 1024) + # Store a variable if and only it hasn't been defined yet + if not config.has_section_key("audio", "mute"): + config.set_value("audio", "mute", false) + # Save the changes by overwriting the previous file + config.save("user://settings.cfg") + [/codeblock] </description> <methods> <method name="get_section_keys" qualifiers="const"> @@ -8981,14 +8990,14 @@ <argument index="0" name="section" type="String"> </argument> <description> - Return an array of all defined key identifiers in the specified section. + Return an array of all defined key identifiers in the specified section. </description> </method> <method name="get_sections" qualifiers="const"> <return type="StringArray"> </return> <description> - Return an array of all defined section identifiers. + Return an array of all defined section identifiers. </description> </method> <method name="get_value" qualifiers="const"> @@ -9001,7 +9010,7 @@ <argument index="2" name="default" type="Variant" default="NULL"> </argument> <description> - Return the current value for the specified section and key. If the section and/or the key do not exist, the method returns the value of the optional [i]default[/i] argument (and thus [code]NULL[/code] if not specified). + Return the current value for the specified section and key. If the section and/or the key do not exist, the method returns the value of the optional [i]default[/i] argument (and thus [code]NULL[/code] if not specified). </description> </method> <method name="has_section" qualifiers="const"> @@ -9010,7 +9019,7 @@ <argument index="0" name="section" type="String"> </argument> <description> - Check if the specified section exists. + Check if the specified section exists. </description> </method> <method name="has_section_key" qualifiers="const"> @@ -9021,7 +9030,7 @@ <argument index="1" name="key" type="String"> </argument> <description> - Check if the specified section-key pair exists. + Check if the specified section-key pair exists. </description> </method> <method name="load"> @@ -9030,7 +9039,7 @@ <argument index="0" name="path" type="String"> </argument> <description> - Load the config file specified as a parameter. The file's contents are parsed and loaded in the ConfigFile object from which the method was called. The return value is one of the OK, FAILED or ERR_* constants listed in [@Global Scope] (if the load was successful, it returns OK). + Load the config file specified as a parameter. The file's contents are parsed and loaded in the ConfigFile object from which the method was called. The return value is one of the OK, FAILED or ERR_* constants listed in [@Global Scope] (if the load was successful, it returns OK). </description> </method> <method name="save"> @@ -9039,8 +9048,8 @@ <argument index="0" name="path" type="String"> </argument> <description> - Save the contents of the ConfigFile object to the file specified as a parameter. The output file uses an INI-style structure. - The return value is one of the OK, FAILED or ERR_* constants listed in [@Global Scope] (if the save was successful, it returns OK). + Save the contents of the ConfigFile object to the file specified as a parameter. The output file uses an INI-style structure. + The return value is one of the OK, FAILED or ERR_* constants listed in [@Global Scope] (if the save was successful, it returns OK). </description> </method> <method name="set_value"> @@ -9051,7 +9060,7 @@ <argument index="2" name="value" type="Variant"> </argument> <description> - Assign a value to the specified key of the the specified section. If the section and/or the key do not exist, they are created. Passing a [code]NULL[/code] value deletes the specified key if it exists (and deletes the section if it ends up empty once the key has been removed). + Assign a value to the specified key of the the specified section. If the section and/or the key do not exist, they are created. Passing a [code]NULL[/code] value deletes the specified key if it exists (and deletes the section if it ends up empty once the key has been removed). </description> </method> </methods> @@ -9060,17 +9069,17 @@ </class> <class name="ConfirmationDialog" inherits="AcceptDialog" category="Core"> <brief_description> - Dialog for confirmation of actions. + Dialog for confirmation of actions. </brief_description> <description> - Dialog for confirmation of actions. This dialog inherits from [AcceptDialog], but has by default an OK and Cancel button (in host OS order). + Dialog for confirmation of actions. This dialog inherits from [AcceptDialog], but has by default an OK and Cancel button (in host OS order). </description> <methods> <method name="get_cancel"> <return type="Button"> </return> <description> - Return the cancel button. + Return the cancel button. </description> </method> </methods> @@ -9079,11 +9088,11 @@ </class> <class name="Container" inherits="Control" category="Core"> <brief_description> - Base node for containers. + Base node for containers. </brief_description> <description> - Base node for containers. A [Container] contains other controls and automatically arranges them in a certain way. - A Control can inherit this to create custom container classes. + Base node for containers. A [Container] contains other controls and automatically arranges them in a certain way. + A Control can inherit this to create custom container classes. </description> <methods> <method name="fit_child_in_rect"> @@ -9092,19 +9101,19 @@ <argument index="1" name="rect" type="Rect2"> </argument> <description> - Fit a child control in a given rect. This is mainly a helper for creating custom container classes. + Fit a child control in a given rect. This is mainly a helper for creating custom container classes. </description> </method> <method name="queue_sort"> <description> - Queue resort of the contained children. This is called automatically anyway, but can be called upon request. + Queue resort of the contained children. This is called automatically anyway, but can be called upon request. </description> </method> </methods> <signals> <signal name="sort_children"> <description> - Emitted when sorting the children is needed. + Emitted when sorting the children is needed. </description> </signal> </signals> @@ -9116,28 +9125,28 @@ </class> <class name="Control" inherits="CanvasItem" category="Core"> <brief_description> - Control is the base node for all the GUI components. + Control is the base node for all the GUI components. </brief_description> <description> - Control is the base class Node for all the GUI components. Every GUI component inherits from it, directly or indirectly. In this way, sections of the scene tree made of contiguous control nodes, become user interfaces. - Controls are relative to the parent position and size by using anchors and margins. This ensures that they can adapt easily in most situation to changing dialog and screen sizes. When more flexibility is desired, [Container] derived nodes can be used. - Anchors work by defining which margin do they follow, and a value relative to it. Allowed anchoring modes are ANCHOR_BEGIN, where the margin is relative to the top or left margins of the parent (in pixels), ANCHOR_END for the right and bottom margins of the parent and ANCHOR_RATIO, which is a ratio from 0 to 1 in the parent range. - Input device events ([InputEvent]) are first sent to the root controls via the [method Node._input], which distribute it through the tree, then delivers them to the adequate one (under cursor or keyboard focus based) by calling [method MainLoop._input_event]. There is no need to enable input processing on controls to receive such events. To ensure that no one else will receive the event (not even [method Node._unhandled_input]), the control can accept it by calling [method accept_event]. - Only one control can hold the keyboard focus (receiving keyboard events), for that the control must define the focus mode with [method set_focus_mode]. Focus is lost when another control gains it, or the current focus owner is hidden. - It is sometimes desired for a control to ignore mouse/pointer events. This is often the case when placing other controls on top of a button, in such cases. Calling [method set_ignore_mouse] enables this function. - Finally, controls are skinned according to a [Theme]. Setting a [Theme] on a control will propagate all the skinning down the tree. Optionally, skinning can be overridden per each control by calling the add_*_override functions, or from the editor. + Control is the base class Node for all the GUI components. Every GUI component inherits from it, directly or indirectly. In this way, sections of the scene tree made of contiguous control nodes, become user interfaces. + Controls are relative to the parent position and size by using anchors and margins. This ensures that they can adapt easily in most situation to changing dialog and screen sizes. When more flexibility is desired, [Container] derived nodes can be used. + Anchors work by defining which margin do they follow, and a value relative to it. Allowed anchoring modes are ANCHOR_BEGIN, where the margin is relative to the top or left margins of the parent (in pixels), ANCHOR_END for the right and bottom margins of the parent and ANCHOR_RATIO, which is a ratio from 0 to 1 in the parent range. + Input device events ([InputEvent]) are first sent to the root controls via the [method Node._input], which distribute it through the tree, then delivers them to the adequate one (under cursor or keyboard focus based) by calling [method MainLoop._input_event]. There is no need to enable input processing on controls to receive such events. To ensure that no one else will receive the event (not even [method Node._unhandled_input]), the control can accept it by calling [method accept_event]. + Only one control can hold the keyboard focus (receiving keyboard events), for that the control must define the focus mode with [method set_focus_mode]. Focus is lost when another control gains it, or the current focus owner is hidden. + It is sometimes desired for a control to ignore mouse/pointer events. This is often the case when placing other controls on top of a button, in such cases. Calling [method set_ignore_mouse] enables this function. + Finally, controls are skinned according to a [Theme]. Setting a [Theme] on a control will propagate all the skinning down the tree. Optionally, skinning can be overridden per each control by calling the add_*_override functions, or from the editor. </description> <methods> <method name="_input_event" qualifiers="virtual"> <argument index="0" name="event" type="InputEvent"> </argument> <description> - Called when an input event reaches the control. + Called when an input event reaches the control. </description> </method> <method name="accept_event"> <description> - Handles the event, no other control will receive it and it will not be sent to nodes waiting on [method Node._unhandled_input] or [method Node._unhandled_key_input]. + Handles the event, no other control will receive it and it will not be sent to nodes waiting on [method Node._unhandled_input] or [method Node._unhandled_key_input]. </description> </method> <method name="add_color_override"> @@ -9154,7 +9163,7 @@ <argument index="1" name="constant" type="int"> </argument> <description> - Override a single constant (integer) in the theme of this Control. If constant equals Theme.INVALID_CONSTANT, override is cleared. + Override a single constant (integer) in the theme of this Control. If constant equals Theme.INVALID_CONSTANT, override is cleared. </description> </method> <method name="add_font_override"> @@ -9163,7 +9172,7 @@ <argument index="1" name="font" type="Font"> </argument> <description> - Override a single font (font) in the theme of this Control. If font is empty, override is cleared. + Override a single font (font) in the theme of this Control. If font is empty, override is cleared. </description> </method> <method name="add_icon_override"> @@ -9172,7 +9181,7 @@ <argument index="1" name="texture" type="Texture"> </argument> <description> - Override a single icon ([Texture]) in the theme of this Control. If texture is empty, override is cleared. + Override a single icon ([Texture]) in the theme of this Control. If texture is empty, override is cleared. </description> </method> <method name="add_shader_override"> @@ -9189,7 +9198,7 @@ <argument index="1" name="stylebox" type="StyleBox"> </argument> <description> - Override a single stylebox ([Stylebox]) in the theme of this Control. If stylebox is empty, override is cleared. + Override a single stylebox ([Stylebox]) in the theme of this Control. If stylebox is empty, override is cleared. </description> </method> <method name="can_drop_data" qualifiers="virtual"> @@ -9224,7 +9233,7 @@ <argument index="0" name="margin" type="int"> </argument> <description> - Return the anchor type (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) for a given margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). + Return the anchor type (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) for a given margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). </description> </method> <method name="get_begin" qualifiers="const"> @@ -9265,7 +9274,7 @@ <argument index="0" name="pos" type="Vector2" default="Vector2(0,0)"> </argument> <description> - Return the cursor shape at a certain position in the control. + Return the cursor shape at a certain position in the control. </description> </method> <method name="get_custom_minimum_size" qualifiers="const"> @@ -9278,7 +9287,7 @@ <return type="int"> </return> <description> - Return the default cursor shape for this control. See enum CURSOR_* for the list of shapes. + Return the default cursor shape for this control. See enum CURSOR_* for the list of shapes. </description> </method> <method name="get_drag_data" qualifiers="virtual"> @@ -9293,14 +9302,14 @@ <return type="Vector2"> </return> <description> - Returns MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). + Returns MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). </description> </method> <method name="get_focus_mode" qualifiers="const"> <return type="int"> </return> <description> - Returns the focus access mode for the control (FOCUS_NONE, FOCUS_CLICK, FOCUS_ALL) (see [method set_focus_mode]). + Returns the focus access mode for the control (FOCUS_NONE, FOCUS_CLICK, FOCUS_ALL) (see [method set_focus_mode]). </description> </method> <method name="get_focus_neighbour" qualifiers="const"> @@ -9309,14 +9318,14 @@ <argument index="0" name="margin" type="int"> </argument> <description> - Return the forced neighbour for moving the input focus to. When pressing TAB or directional/joypad directions focus is moved to the next control in that direction. However, the neighbour to move to can be forced with this function. + Return the forced neighbour for moving the input focus to. When pressing TAB or directional/joypad directions focus is moved to the next control in that direction. However, the neighbour to move to can be forced with this function. </description> </method> <method name="get_focus_owner" qualifiers="const"> <return type="Control"> </return> <description> - Return which control is owning the keyboard focus, or null if no one. + Return which control is owning the keyboard focus, or null if no one. </description> </method> <method name="get_font" qualifiers="const"> @@ -9333,21 +9342,21 @@ <return type="Vector2"> </return> <description> - Returns the Control position, relative to the top-left corner of the parent Control and independent of the anchor mode. + Returns the Control position, relative to the top-left corner of the parent Control and independent of the anchor mode. </description> </method> <method name="get_global_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return position and size of the Control, relative to the top-left corner of the [i]window[/i] Control. This is a helper (see [method get_global_pos], [method get_size]). + Return position and size of the Control, relative to the top-left corner of the [i]window[/i] Control. This is a helper (see [method get_global_pos], [method get_size]). </description> </method> <method name="get_h_size_flags" qualifiers="const"> <return type="int"> </return> <description> - Hint for containers, return horizontal positioning flags. + Hint for containers, return horizontal positioning flags. </description> </method> <method name="get_icon" qualifiers="const"> @@ -9366,21 +9375,21 @@ <argument index="0" name="margin" type="int"> </argument> <description> - Return a margin offset. Margin can be one of (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Offset value being returned depends on the anchor mode. + Return a margin offset. Margin can be one of (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Offset value being returned depends on the anchor mode. </description> </method> <method name="get_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. + Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. </description> </method> <method name="get_minimum_size" qualifiers="virtual"> <return type="Vector2"> </return> <description> - Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. + Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. </description> </method> <method name="get_parent_area_size" qualifiers="const"> @@ -9399,14 +9408,14 @@ <return type="Vector2"> </return> <description> - Returns the Control position, relative to the top-left corner of the parent Control and independent of the anchor mode. + Returns the Control position, relative to the top-left corner of the parent Control and independent of the anchor mode. </description> </method> <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return position and size of the Control, relative to the top-left corner of the parent Control. This is a helper (see [method get_pos], [method get_size]). + Return position and size of the Control, relative to the top-left corner of the parent Control. This is a helper (see [method get_pos], [method get_size]). </description> </method> <method name="get_rotation" qualifiers="const"> @@ -9431,14 +9440,14 @@ <return type="Vector2"> </return> <description> - Returns the size of the Control, computed from all margins, however the size returned will [b]never be smaller than the minimum size reported by [method get_minimum_size][/b]. This means that even if end position of the Control rectangle is smaller than the begin position, the Control will still display and interact correctly. (see description, [method get_minimum_size], [method set_margin], [method set_anchor]). + Returns the size of the Control, computed from all margins, however the size returned will [b]never be smaller than the minimum size reported by [method get_minimum_size][/b]. This means that even if end position of the Control rectangle is smaller than the begin position, the Control will still display and interact correctly. (see description, [method get_minimum_size], [method set_margin], [method set_anchor]). </description> </method> <method name="get_stretch_ratio" qualifiers="const"> <return type="float"> </return> <description> - Hint for containers, return the stretch ratio. This value is relative to other stretch ratio, so if this control has 2 and another has 1, this one will be twice as big. + Hint for containers, return the stretch ratio. This value is relative to other stretch ratio, so if this control has 2 and another has 1, this one will be twice as big. </description> </method> <method name="get_stylebox" qualifiers="const"> @@ -9455,7 +9464,7 @@ <return type="Theme"> </return> <description> - Return a [Theme] override, if one exists (see [method set_theme]). + Return a [Theme] override, if one exists (see [method set_theme]). </description> </method> <method name="get_tooltip" qualifiers="const"> @@ -9464,14 +9473,14 @@ <argument index="0" name="atpos" type="Vector2" default="Vector2(0,0)"> </argument> <description> - Return the tooltip, which will appear when the cursor is resting over this control. + Return the tooltip, which will appear when the cursor is resting over this control. </description> </method> <method name="get_v_size_flags" qualifiers="const"> <return type="int"> </return> <description> - Hint for containers, return vertical positioning flags. + Hint for containers, return vertical positioning flags. </description> </method> <method name="grab_click_focus"> @@ -9480,7 +9489,7 @@ </method> <method name="grab_focus"> <description> - Steal the focus from another control and become the focused control (see [method set_focus_mode]). + Steal the focus from another control and become the focused control (see [method set_focus_mode]). </description> </method> <method name="has_color" qualifiers="const"> @@ -9523,7 +9532,7 @@ <return type="bool"> </return> <description> - Return whether the Control is the current focused control (see [method set_focus_mode]). + Return whether the Control is the current focused control (see [method set_focus_mode]). </description> </method> <method name="has_font" qualifiers="const"> @@ -9584,7 +9593,7 @@ <return type="bool"> </return> <description> - Return if the control is ignoring mouse events (even touchpad events send mouse events). + Return if the control is ignoring mouse events (even touchpad events send mouse events). </description> </method> <method name="is_stopping_mouse" qualifiers="const"> @@ -9599,7 +9608,7 @@ </method> <method name="release_focus"> <description> - Give up the focus, no other control will be able to receive keyboard input. + Give up the focus, no other control will be able to receive keyboard input. </description> </method> <method name="set_anchor"> @@ -9610,9 +9619,8 @@ <argument index="2" name="keep_margin" type="bool" default="false"> </argument> <description> - Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Changing the anchor mode converts the current margin offset from the previous anchor mode to the new one, so margin offsets ([method set_margin]) must be done after setting anchors, or at the same time ([method set_anchor_and_margin]) - - Additionally, [code]keep_margin[/code] controls whether margins should be left the same, or changed to keep the same position and size on-screen. + Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Changing the anchor mode converts the current margin offset from the previous anchor mode to the new one, so margin offsets ([method set_margin]) must be done after setting anchors, or at the same time ([method set_anchor_and_margin]) + Additionally, [code]keep_margin[/code] controls whether margins should be left the same, or changed to keep the same position and size on-screen. </description> </method> <method name="set_anchor_and_margin"> @@ -9623,21 +9631,21 @@ <argument index="2" name="offset" type="float"> </argument> <description> - Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM), and also set its offset. This is a helper (see [method set_anchor] and [method set_margin]). + Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM), and also set its offset. This is a helper (see [method set_anchor] and [method set_margin]). </description> </method> <method name="set_area_as_parent_rect"> <argument index="0" name="margin" type="int" default="0"> </argument> <description> - Change all margins and anchors, so this Control always takes up the same area as the parent Control. This is a helper (see [method set_anchor], [method set_margin]). + Change all margins and anchors, so this Control always takes up the same area as the parent Control. This is a helper (see [method set_anchor], [method set_margin]). </description> </method> <method name="set_begin"> <argument index="0" name="pos" type="Vector2"> </argument> <description> - Sets MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). + Sets MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). </description> </method> <method name="set_custom_minimum_size"> @@ -9650,7 +9658,7 @@ <argument index="0" name="shape" type="int"> </argument> <description> - Set the default cursor shape for this control. See enum CURSOR_* for the list of shapes. + Set the default cursor shape for this control. See enum CURSOR_* for the list of shapes. </description> </method> <method name="set_drag_forwarding"> @@ -9669,14 +9677,14 @@ <argument index="0" name="pos" type="Vector2"> </argument> <description> - Sets MARGIN_RIGHT and MARGIN_BOTTOM at the same time. This is a helper (see [method set_margin]). + Sets MARGIN_RIGHT and MARGIN_BOTTOM at the same time. This is a helper (see [method set_margin]). </description> </method> <method name="set_focus_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the focus access mode for the control (FOCUS_NONE, FOCUS_CLICK, FOCUS_ALL). Only one Control can be focused at the same time, and it will receive keyboard signals. + Set the focus access mode for the control (FOCUS_NONE, FOCUS_CLICK, FOCUS_ALL). Only one Control can be focused at the same time, and it will receive keyboard signals. </description> </method> <method name="set_focus_neighbour"> @@ -9685,28 +9693,28 @@ <argument index="1" name="neighbour" type="NodePath"> </argument> <description> - Force a neighbour for moving the input focus to. When pressing TAB or directional/joypad directions focus is moved to the next control in that direction. However, the neighbour to move to can be forced with this function. + Force a neighbour for moving the input focus to. When pressing TAB or directional/joypad directions focus is moved to the next control in that direction. However, the neighbour to move to can be forced with this function. </description> </method> <method name="set_global_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> - Move the Control to a new position, relative to the top-left corner of the [i]window[/i] Control, and without changing current anchor mode. (see [method set_margin]). + Move the Control to a new position, relative to the top-left corner of the [i]window[/i] Control, and without changing current anchor mode. (see [method set_margin]). </description> </method> <method name="set_h_size_flags"> <argument index="0" name="flags" type="int"> </argument> <description> - Hint for containers, set horizontal positioning flags. + Hint for containers, set horizontal positioning flags. </description> </method> <method name="set_ignore_mouse"> <argument index="0" name="ignore" type="bool"> </argument> <description> - Ignore mouse events on this control (even touchpad events send mouse events). + Ignore mouse events on this control (even touchpad events send mouse events). </description> </method> <method name="set_margin"> @@ -9715,14 +9723,14 @@ <argument index="1" name="offset" type="float"> </argument> <description> - Set a margin offset. Margin can be one of (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Offset value being set depends on the anchor mode. + Set a margin offset. Margin can be one of (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Offset value being set depends on the anchor mode. </description> </method> <method name="set_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> - Move the Control to a new position, relative to the top-left corner of the parent Control, changing all margins if needed and without changing current anchor mode. This is a helper (see [method set_margin]). + Move the Control to a new position, relative to the top-left corner of the parent Control, changing all margins if needed and without changing current anchor mode. This is a helper (see [method set_margin]). </description> </method> <method name="set_rotation"> @@ -9747,7 +9755,7 @@ <argument index="0" name="size" type="Vector2"> </argument> <description> - Changes MARGIN_RIGHT and MARGIN_BOTTOM to fit a given size. This is a helper (see [method set_margin]). + Changes MARGIN_RIGHT and MARGIN_BOTTOM to fit a given size. This is a helper (see [method set_margin]). </description> </method> <method name="set_stop_mouse"> @@ -9760,35 +9768,35 @@ <argument index="0" name="ratio" type="float"> </argument> <description> - Hint for containers, set the stretch ratio. This value is relative to other stretch ratio, so if this control has 2 and another has 1, this one will be twice as big. + Hint for containers, set the stretch ratio. This value is relative to other stretch ratio, so if this control has 2 and another has 1, this one will be twice as big. </description> </method> <method name="set_theme"> <argument index="0" name="theme" type="Theme"> </argument> <description> - Override whole the [Theme] for this Control and all its children controls. + Override whole the [Theme] for this Control and all its children controls. </description> </method> <method name="set_tooltip"> <argument index="0" name="tooltip" type="String"> </argument> <description> - Set a tooltip, which will appear when the cursor is resting over this control. + Set a tooltip, which will appear when the cursor is resting over this control. </description> </method> <method name="set_v_size_flags"> <argument index="0" name="flags" type="int"> </argument> <description> - Hint for containers, set vertical positioning flags. + Hint for containers, set vertical positioning flags. </description> </method> <method name="show_modal"> <argument index="0" name="exclusive" type="bool" default="false"> </argument> <description> - Display a Control as modal. Control must be a subwindow. Modal controls capture the input signals until closed or the area outside them is accessed. When a modal control loses focus, or the ESC key is pressed, they automatically hide. Modal controls are used extensively for popup dialogs and menus. + Display a Control as modal. Control must be a subwindow. Modal controls capture the input signals until closed or the area outside them is accessed. When a modal control loses focus, or the ESC key is pressed, they automatically hide. Modal controls are used extensively for popup dialogs and menus. </description> </method> <method name="warp_mouse"> @@ -9801,24 +9809,24 @@ <signals> <signal name="focus_enter"> <description> - Emitted when keyboard focus is gained. + Emitted when keyboard focus is gained. </description> </signal> <signal name="focus_exit"> <description> - Emitted when the keyboard focus is lost. + Emitted when the keyboard focus is lost. </description> </signal> <signal name="input_event"> <argument index="0" name="ev" type="InputEvent"> </argument> <description> - Emitted when an input event is received. Connecting in realtime is recommended for accepting the events. + Emitted when an input event is received. Connecting in realtime is recommended for accepting the events. </description> </signal> <signal name="minimum_size_changed"> <description> - Emitted when the minimum size of the control changed. + Emitted when the minimum size of the control changed. </description> </signal> <signal name="modal_close"> @@ -9827,22 +9835,22 @@ </signal> <signal name="mouse_enter"> <description> - Emitted when the mouse enters the control area. + Emitted when the mouse enters the control area. </description> </signal> <signal name="mouse_exit"> <description> - Emitted when the mouse left the control area. + Emitted when the mouse left the control area. </description> </signal> <signal name="resized"> <description> - Emitted when the control changed size. + Emitted when the control changed size. </description> </signal> <signal name="size_flags_changed"> <description> - Emitted when the size flags changed. + Emitted when the size flags changed. </description> </signal> </signals> @@ -9858,23 +9866,39 @@ </constant> <constant name="ANCHOR_CENTER" value="3"> </constant> - <constant name="CURSOR_ARROW" value="0"> + <constant name="FOCUS_NONE" value="0"> + Control can't acquire focus. </constant> - <constant name="CURSOR_IBEAM" value="1"> + <constant name="FOCUS_CLICK" value="1"> + Control can acquire focus only if clicked. </constant> - <constant name="CURSOR_HSIZE" value="10"> + <constant name="FOCUS_ALL" value="2"> + Control can acquire focus if clicked, or by pressing TAB/Directionals in the keyboard from another Control. </constant> - <constant name="CURSOR_BDIAGSIZE" value="11"> + <constant name="NOTIFICATION_RESIZED" value="40"> + Control changed size (get_size() reports the new size). </constant> - <constant name="CURSOR_FDIAGSIZE" value="12"> + <constant name="NOTIFICATION_MOUSE_ENTER" value="41"> + Mouse pointer entered the area of the Control. </constant> - <constant name="CURSOR_MOVE" value="13"> + <constant name="NOTIFICATION_MOUSE_EXIT" value="42"> + Mouse pointer exited the area of the Control. </constant> - <constant name="CURSOR_VSPLIT" value="14"> + <constant name="NOTIFICATION_FOCUS_ENTER" value="43"> + Control gained focus. </constant> - <constant name="CURSOR_HSPLIT" value="15"> + <constant name="NOTIFICATION_FOCUS_EXIT" value="44"> + Control lost focus. </constant> - <constant name="CURSOR_HELP" value="16"> + <constant name="NOTIFICATION_THEME_CHANGED" value="45"> + Theme changed. Redrawing is desired. + </constant> + <constant name="NOTIFICATION_MODAL_CLOSE" value="46"> + Modal control was closed. + </constant> + <constant name="CURSOR_ARROW" value="0"> + </constant> + <constant name="CURSOR_IBEAM" value="1"> </constant> <constant name="CURSOR_POINTING_HAND" value="2"> </constant> @@ -9892,35 +9916,19 @@ </constant> <constant name="CURSOR_VSIZE" value="9"> </constant> - <constant name="FOCUS_NONE" value="0"> - Control can't acquire focus. - </constant> - <constant name="FOCUS_CLICK" value="1"> - Control can acquire focus only if clicked. - </constant> - <constant name="FOCUS_ALL" value="2"> - Control can acquire focus if clicked, or by pressing TAB/Directionals in the keyboard from another Control. - </constant> - <constant name="NOTIFICATION_RESIZED" value="40"> - Control changed size (get_size() reports the new size). + <constant name="CURSOR_HSIZE" value="10"> </constant> - <constant name="NOTIFICATION_MOUSE_ENTER" value="41"> - Mouse pointer entered the area of the Control. + <constant name="CURSOR_BDIAGSIZE" value="11"> </constant> - <constant name="NOTIFICATION_MOUSE_EXIT" value="42"> - Mouse pointer exited the area of the Control. + <constant name="CURSOR_FDIAGSIZE" value="12"> </constant> - <constant name="NOTIFICATION_FOCUS_ENTER" value="43"> - Control gained focus. + <constant name="CURSOR_MOVE" value="13"> </constant> - <constant name="NOTIFICATION_FOCUS_EXIT" value="44"> - Control lost focus. + <constant name="CURSOR_VSPLIT" value="14"> </constant> - <constant name="NOTIFICATION_THEME_CHANGED" value="45"> - Theme changed. Redrawing is desired. + <constant name="CURSOR_HSPLIT" value="15"> </constant> - <constant name="NOTIFICATION_MODAL_CLOSE" value="46"> - Modal control was closed. + <constant name="CURSOR_HELP" value="16"> </constant> <constant name="SIZE_EXPAND" value="1"> </constant> @@ -9932,10 +9940,10 @@ </class> <class name="ConvexPolygonShape" inherits="Shape" category="Core"> <brief_description> - Convex Polygon Shape. + Convex Polygon Shape. </brief_description> <description> - Convex polygon shape resource, which can be set into a [PhysicsBody] or area. + Convex polygon shape resource, which can be set into a [PhysicsBody] or area. </description> <methods> <method name="get_points" qualifiers="const"> @@ -9956,32 +9964,32 @@ </class> <class name="ConvexPolygonShape2D" inherits="Shape2D" category="Core"> <brief_description> - Convex Polygon Shape for 2D physics. + Convex Polygon Shape for 2D physics. </brief_description> <description> - Convex Polygon Shape for 2D physics. A convex polygon, whatever its shape, is internally decomposed into as many convex polygons as needed to ensure all collision checks against it are always done on convex polygons (which are faster to check). - The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection. + Convex Polygon Shape for 2D physics. A convex polygon, whatever its shape, is internally decomposed into as many convex polygons as needed to ensure all collision checks against it are always done on convex polygons (which are faster to check). + The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection. </description> <methods> <method name="get_points" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return a list of points in either clockwise or counter clockwise order, forming a convex polygon. + Return a list of points in either clockwise or counter clockwise order, forming a convex polygon. </description> </method> <method name="set_point_cloud"> <argument index="0" name="point_cloud" type="Vector2Array"> </argument> <description> - Currently, this method does nothing. + Currently, this method does nothing. </description> </method> <method name="set_points"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> - Set a list of points in either clockwise or counter clockwise order, forming a convex polygon. + Set a list of points in either clockwise or counter clockwise order, forming a convex polygon. </description> </method> </methods> @@ -10066,13 +10074,11 @@ </method> </methods> <constants> - <constant name="FLAG_MIPMAPS" value="1"> - </constant> - <constant name="FLAG_REPEAT" value="2"> + <constant name="STORAGE_RAW" value="0"> </constant> - <constant name="FLAG_FILTER" value="4"> + <constant name="STORAGE_COMPRESS_LOSSY" value="1"> </constant> - <constant name="FLAGS_DEFAULT" value="7"> + <constant name="STORAGE_COMPRESS_LOSSLESS" value="2"> </constant> <constant name="SIDE_LEFT" value="0"> </constant> @@ -10086,21 +10092,23 @@ </constant> <constant name="SIDE_BACK" value="5"> </constant> - <constant name="STORAGE_RAW" value="0"> + <constant name="FLAG_MIPMAPS" value="1"> </constant> - <constant name="STORAGE_COMPRESS_LOSSY" value="1"> + <constant name="FLAG_REPEAT" value="2"> </constant> - <constant name="STORAGE_COMPRESS_LOSSLESS" value="2"> + <constant name="FLAG_FILTER" value="4"> + </constant> + <constant name="FLAGS_DEFAULT" value="7"> </constant> </constants> </class> <class name="Curve2D" inherits="Resource" category="Core"> <brief_description> - Describes a Bezier curve in 2D space. + Describes a Bezier curve in 2D space. </brief_description> <description> - This class describes a Bezier curve in 2D space. It is mainly used to give a shape to a [Path2D], but can be manually sampled for other purposes. -It keeps a cache of precalculated points along the curve, to speed further calculations up. + This class describes a Bezier curve in 2D space. It is mainly used to give a shape to a [Path2D], but can be manually sampled for other purposes. + It keeps a cache of precalculated points along the curve, to speed further calculations up. </description> <methods> <method name="add_point"> @@ -10113,36 +10121,36 @@ It keeps a cache of precalculated points along the curve, to speed further calcu <argument index="3" name="atpos" type="int" default="-1"> </argument> <description> - Adds a point to a curve, at position "pos", with control points "in" and "out". -If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos <0 or atpos >= [method get_point_count]), the point will be appended at the end of the point list. + Adds a point to a curve, at position "pos", with control points "in" and "out". + If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos <0 or atpos >= [method get_point_count]), the point will be appended at the end of the point list. </description> </method> <method name="get_bake_interval" qualifiers="const"> <return type="float"> </return> <description> - Returns the distance between two adjacent cached points. + Returns the distance between two adjacent cached points. </description> </method> <method name="get_baked_length" qualifiers="const"> <return type="float"> </return> <description> - Returns the total length of the curve, based on the cached points. Given enough density (see [method set_bake_interval]), it should be approximate enough. + Returns the total length of the curve, based on the cached points. Given enough density (see [method set_bake_interval]), it should be approximate enough. </description> </method> <method name="get_baked_points" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Returns the cache of points as a [Vector2Array]. + Returns the cache of points as a [Vector2Array]. </description> </method> <method name="get_point_count" qualifiers="const"> <return type="int"> </return> <description> - Returns the number of points describing the curve. + Returns the number of points describing the curve. </description> </method> <method name="get_point_in" qualifiers="const"> @@ -10151,7 +10159,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). + Returns the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). </description> </method> <method name="get_point_out" qualifiers="const"> @@ -10160,7 +10168,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). + Returns the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). </description> </method> <method name="get_point_pos" qualifiers="const"> @@ -10169,7 +10177,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the position of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). + Returns the position of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). </description> </method> <method name="interpolate" qualifiers="const"> @@ -10180,8 +10188,8 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="1" name="t" type="float"> </argument> <description> - Returns the position between the vertex "idx" and the vertex "idx"+1, where "t" controls if the point is the first vertex (t = 0.0), the last vertex (t = 1.0), or in between. Values of "t" outside the range (0.0 >= t <=1) give strange, but predictable results. -If "idx" is out of bounds it is truncated to the first or last vertex, and "t" is ignored. If the curve has no points, the function sends an error to the console, and returns (0, 0). + Returns the position between the vertex "idx" and the vertex "idx"+1, where "t" controls if the point is the first vertex (t = 0.0), the last vertex (t = 1.0), or in between. Values of "t" outside the range (0.0 >= t <=1) give strange, but predictable results. + If "idx" is out of bounds it is truncated to the first or last vertex, and "t" is ignored. If the curve has no points, the function sends an error to the console, and returns (0, 0). </description> </method> <method name="interpolate_baked" qualifiers="const"> @@ -10192,9 +10200,9 @@ If "idx" is out of bounds it is truncated to the first or last vertex, and "t" i <argument index="1" name="cubic" type="bool" default="false"> </argument> <description> - Returns a point within the curve at position "offset", where "offset" is measured as a pixel distance along the curve. -To do that, it finds the two cached points where the "offset" lies between, then interpolates the values. This interpolation is cubic if "cubic" is set to true, or linear if set to false. -Cubic interpolation tends to follow the curves better, but linear is faster (and often, precise enough). + Returns a point within the curve at position "offset", where "offset" is measured as a pixel distance along the curve. + To do that, it finds the two cached points where the "offset" lies between, then interpolates the values. This interpolation is cubic if "cubic" is set to true, or linear if set to false. + Cubic interpolation tends to follow the curves better, but linear is faster (and often, precise enough). </description> </method> <method name="interpolatef" qualifiers="const"> @@ -10203,21 +10211,21 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="0" name="fofs" type="float"> </argument> <description> - Returns the position at the vertex "fofs". It calls [method interpolate] using the integer part of fofs as "idx", and its fractional part as "t". + Returns the position at the vertex "fofs". It calls [method interpolate] using the integer part of fofs as "idx", and its fractional part as "t". </description> </method> <method name="remove_point"> <argument index="0" name="idx" type="int"> </argument> <description> - Deletes the point "idx" from the curve. Sends an error to the console if "idx" is out of bounds. + Deletes the point "idx" from the curve. Sends an error to the console if "idx" is out of bounds. </description> </method> <method name="set_bake_interval"> <argument index="0" name="distance" type="float"> </argument> <description> - Sets the distance in pixels between two adjacent cached points. Changing it forces the cache to be recomputed the next time a xxx_baked_xxx function is called. The less distance, the more points the cache will have, and the more memory it will consume, so use with care. + Sets the distance in pixels between two adjacent cached points. Changing it forces the cache to be recomputed the next time a xxx_baked_xxx function is called. The less distance, the more points the cache will have, and the more memory it will consume, so use with care. </description> </method> <method name="set_point_in"> @@ -10226,7 +10234,7 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="pos" type="Vector2"> </argument> <description> - Sets the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console. + Sets the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console. </description> </method> <method name="set_point_out"> @@ -10235,7 +10243,7 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="pos" type="Vector2"> </argument> <description> - Sets the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console. + Sets the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console. </description> </method> <method name="set_point_pos"> @@ -10244,7 +10252,7 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="pos" type="Vector2"> </argument> <description> - Sets the position for the vertex "idx". If the index is out of bounds, the function sends an error to the console. + Sets the position for the vertex "idx". If the index is out of bounds, the function sends an error to the console. </description> </method> <method name="tesselate" qualifiers="const"> @@ -10255,10 +10263,10 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="tolerance_degrees" type="float" default="4"> </argument> <description> - Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts. -This approximation makes straight segments between each point, then subdivides those segments until the resulting shape is similar enough. -"max_stages" controls how many subdivisions a curve segment may face before it is considered approximate enough. Each subdivision splits the segment in half, so the default 5 stages may mean up to 32 subdivisions per curve segment. Increase with care! -"tolerance_degrees" controls how many degrees the midpoint of a segment may deviate from the real curve, before the segment has to be subdivided. + Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts. + This approximation makes straight segments between each point, then subdivides those segments until the resulting shape is similar enough. + "max_stages" controls how many subdivisions a curve segment may face before it is considered approximate enough. Each subdivision splits the segment in half, so the default 5 stages may mean up to 32 subdivisions per curve segment. Increase with care! + "tolerance_degrees" controls how many degrees the midpoint of a segment may deviate from the real curve, before the segment has to be subdivided. </description> </method> </methods> @@ -10267,11 +10275,11 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="Curve3D" inherits="Resource" category="Core"> <brief_description> - Describes a Bezier curve in 3D space. + Describes a Bezier curve in 3D space. </brief_description> <description> - This class describes a Bezier curve in 3D space. It is mainly used to give a shape to a [Path], but can be manually sampled for other purposes. -It keeps a cache of precalculated points along the curve, to speed further calculations up. + This class describes a Bezier curve in 3D space. It is mainly used to give a shape to a [Path], but can be manually sampled for other purposes. + It keeps a cache of precalculated points along the curve, to speed further calculations up. </description> <methods> <method name="add_point"> @@ -10284,43 +10292,43 @@ It keeps a cache of precalculated points along the curve, to speed further calcu <argument index="3" name="atpos" type="int" default="-1"> </argument> <description> - Adds a point to a curve, at position "pos", with control points "in" and "out". -If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos <0 or atpos >= [method get_point_count]), the point will be appended at the end of the point list. + Adds a point to a curve, at position "pos", with control points "in" and "out". + If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos <0 or atpos >= [method get_point_count]), the point will be appended at the end of the point list. </description> </method> <method name="get_bake_interval" qualifiers="const"> <return type="float"> </return> <description> - Returns the distance between two adjacent cached points. + Returns the distance between two adjacent cached points. </description> </method> <method name="get_baked_length" qualifiers="const"> <return type="float"> </return> <description> - Returns the total length of the curve, based on the cached points. Given enough density (see [method set_bake_interval]), it should be approximate enough. + Returns the total length of the curve, based on the cached points. Given enough density (see [method set_bake_interval]), it should be approximate enough. </description> </method> <method name="get_baked_points" qualifiers="const"> <return type="Vector3Array"> </return> <description> - Returns the cache of points as a [Vector3Array]. + Returns the cache of points as a [Vector3Array]. </description> </method> <method name="get_baked_tilts" qualifiers="const"> <return type="RealArray"> </return> <description> - Returns the cache of tilts as a [RealArray]. + Returns the cache of tilts as a [RealArray]. </description> </method> <method name="get_point_count" qualifiers="const"> <return type="int"> </return> <description> - Returns the number of points describing the curve. + Returns the number of points describing the curve. </description> </method> <method name="get_point_in" qualifiers="const"> @@ -10329,7 +10337,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). + Returns the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). </description> </method> <method name="get_point_out" qualifiers="const"> @@ -10338,7 +10346,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). + Returns the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). </description> </method> <method name="get_point_pos" qualifiers="const"> @@ -10347,7 +10355,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the position of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). + Returns the position of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). </description> </method> <method name="get_point_tilt" qualifiers="const"> @@ -10356,7 +10364,7 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="0" name="idx" type="int"> </argument> <description> - Returns the tilt angle in radians for the point "idx". If the index is out of bounds, the function sends an error to the console, and returns 0. + Returns the tilt angle in radians for the point "idx". If the index is out of bounds, the function sends an error to the console, and returns 0. </description> </method> <method name="interpolate" qualifiers="const"> @@ -10367,8 +10375,8 @@ If "atpos" is given, the point is inserted before the point number "atpos", movi <argument index="1" name="t" type="float"> </argument> <description> - Returns the position between the vertex "idx" and the vertex "idx"+1, where "t" controls if the point is the first vertex (t = 0.0), the last vertex (t = 1.0), or in between. Values of "t" outside the range (0.0 >= t <=1) give strange, but predictable results. -If "idx" is out of bounds it is truncated to the first or last vertex, and "t" is ignored. If the curve has no points, the function sends an error to the console, and returns (0, 0, 0). + Returns the position between the vertex "idx" and the vertex "idx"+1, where "t" controls if the point is the first vertex (t = 0.0), the last vertex (t = 1.0), or in between. Values of "t" outside the range (0.0 >= t <=1) give strange, but predictable results. + If "idx" is out of bounds it is truncated to the first or last vertex, and "t" is ignored. If the curve has no points, the function sends an error to the console, and returns (0, 0, 0). </description> </method> <method name="interpolate_baked" qualifiers="const"> @@ -10379,9 +10387,9 @@ If "idx" is out of bounds it is truncated to the first or last vertex, and "t" i <argument index="1" name="cubic" type="bool" default="false"> </argument> <description> - Returns a point within the curve at position "offset", where "offset" is measured as a distance in 3D units along the curve. -To do that, it finds the two cached points where the "offset" lies between, then interpolates the values. This interpolation is cubic if "cubic" is set to true, or linear if set to false. -Cubic interpolation tends to follow the curves better, but linear is faster (and often, precise enough). + Returns a point within the curve at position "offset", where "offset" is measured as a distance in 3D units along the curve. + To do that, it finds the two cached points where the "offset" lies between, then interpolates the values. This interpolation is cubic if "cubic" is set to true, or linear if set to false. + Cubic interpolation tends to follow the curves better, but linear is faster (and often, precise enough). </description> </method> <method name="interpolatef" qualifiers="const"> @@ -10390,21 +10398,21 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="0" name="fofs" type="float"> </argument> <description> - Returns the position at the vertex "fofs". It calls [method interpolate] using the integer part of fofs as "idx", and its fractional part as "t". + Returns the position at the vertex "fofs". It calls [method interpolate] using the integer part of fofs as "idx", and its fractional part as "t". </description> </method> <method name="remove_point"> <argument index="0" name="idx" type="int"> </argument> <description> - Deletes the point "idx" from the curve. Sends an error to the console if "idx" is out of bounds. + Deletes the point "idx" from the curve. Sends an error to the console if "idx" is out of bounds. </description> </method> <method name="set_bake_interval"> <argument index="0" name="distance" type="float"> </argument> <description> - Sets the distance in 3D units between two adjacent cached points. Changing it forces the cache to be recomputed the next time a xxx_baked_xxx function is called. The less distance, the more points the cache will have, and the more memory it will consume, so use with care. + Sets the distance in 3D units between two adjacent cached points. Changing it forces the cache to be recomputed the next time a xxx_baked_xxx function is called. The less distance, the more points the cache will have, and the more memory it will consume, so use with care. </description> </method> <method name="set_point_in"> @@ -10413,7 +10421,7 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="pos" type="Vector3"> </argument> <description> - Sets the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console. + Sets the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console. </description> </method> <method name="set_point_out"> @@ -10422,7 +10430,7 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="pos" type="Vector3"> </argument> <description> - Sets the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console. + Sets the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console. </description> </method> <method name="set_point_pos"> @@ -10431,7 +10439,7 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="pos" type="Vector3"> </argument> <description> - Sets the position for the vertex "idx". If the index is out of bounds, the function sends an error to the console. + Sets the position for the vertex "idx". If the index is out of bounds, the function sends an error to the console. </description> </method> <method name="set_point_tilt"> @@ -10440,8 +10448,8 @@ Cubic interpolation tends to follow the curves better, but linear is faster (and <argument index="1" name="tilt" type="float"> </argument> <description> - Sets the tilt angle in radians for the point "idx". If the index is out of bounds, the function sends an error to the console. -The tilt controls the rotation along the look-at axis an object traveling the path would have. In the case of a curve controlling a [PathFollow], this tilt is an offset over the natural tilt the PathFollow calculates. + Sets the tilt angle in radians for the point "idx". If the index is out of bounds, the function sends an error to the console. + The tilt controls the rotation along the look-at axis an object traveling the path would have. In the case of a curve controlling a [PathFollow], this tilt is an offset over the natural tilt the PathFollow calculates. </description> </method> <method name="tesselate" qualifiers="const"> @@ -10452,10 +10460,10 @@ The tilt controls the rotation along the look-at axis an object traveling the pa <argument index="1" name="tolerance_degrees" type="float" default="4"> </argument> <description> - Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts. -This approximation makes straight segments between each point, then subdivides those segments until the resulting shape is similar enough. -"max_stages" controls how many subdivisions a curve segment may face before it is considered approximate enough. Each subdivision splits the segment in half, so the default 5 stages may mean up to 32 subdivisions per curve segment. Increase with care! -"tolerance_degrees" controls how many degrees the midpoint of a segment may deviate from the real curve, before the segment has to be subdivided. + Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts. + This approximation makes straight segments between each point, then subdivides those segments until the resulting shape is similar enough. + "max_stages" controls how many subdivisions a curve segment may face before it is considered approximate enough. Each subdivision splits the segment in half, so the default 5 stages may mean up to 32 subdivisions per curve segment. Increase with care! + "tolerance_degrees" controls how many degrees the midpoint of a segment may deviate from the real curve, before the segment has to be subdivided. </description> </method> </methods> @@ -10464,66 +10472,66 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="DampedSpringJoint2D" inherits="Joint2D" category="Core"> <brief_description> - Damped spring constraint for 2D physics. + Damped spring constraint for 2D physics. </brief_description> <description> - Damped spring constraint for 2D physics. This resembles a spring joint that always wants to go back to a given length. + Damped spring constraint for 2D physics. This resembles a spring joint that always wants to go back to a given length. </description> <methods> <method name="get_damping" qualifiers="const"> <return type="float"> </return> <description> - Return the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping). + Return the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping). </description> </method> <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> - Return the maximum length of the spring joint. + Return the maximum length of the spring joint. </description> </method> <method name="get_rest_length" qualifiers="const"> <return type="float"> </return> <description> - Return the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. + Return the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. </description> </method> <method name="get_stiffness" qualifiers="const"> <return type="float"> </return> <description> - Return the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. + Return the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. </description> </method> <method name="set_damping"> <argument index="0" name="damping" type="float"> </argument> <description> - Set the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping). + Set the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping). </description> </method> <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> - Set the maximum length of the spring joint. + Set the maximum length of the spring joint. </description> </method> <method name="set_rest_length"> <argument index="0" name="rest_length" type="float"> </argument> <description> - Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. + Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. </description> </method> <method name="set_stiffness"> <argument index="0" name="stiffness" type="float"> </argument> <description> - Set the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. + Set the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. </description> </method> </methods> @@ -10532,29 +10540,29 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="Dictionary" category="Built-In Types"> <brief_description> - Dictionary type. + Dictionary type. </brief_description> <description> - Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference. + Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference. </description> <methods> <method name="clear"> <description> - Clear the dictionary, removing all key/value pairs. + Clear the dictionary, removing all key/value pairs. </description> </method> <method name="empty"> <return type="bool"> </return> <description> - Return true if the dictionary is empty. + Return true if the dictionary is empty. </description> </method> <method name="erase"> <argument index="0" name="key" type="var"> </argument> <description> - Erase a dictionary key/value pair by key. + Erase a dictionary key/value pair by key. </description> </method> <method name="has"> @@ -10563,7 +10571,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="key" type="var"> </argument> <description> - Return true if the dictionary has a given key. + Return true if the dictionary has a given key. </description> </method> <method name="has_all"> @@ -10572,21 +10580,21 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="keys" type="Array"> </argument> <description> - Return true if the dictionary has all of the keys in the given array. + Return true if the dictionary has all of the keys in the given array. </description> </method> <method name="hash"> <return type="int"> </return> <description> - Return a hashed integer value representing the dictionary contents. + Return a hashed integer value representing the dictionary contents. </description> </method> <method name="keys"> <return type="Array"> </return> <description> - Return the list of keys in the [Dictionary]. + Return the list of keys in the [Dictionary]. </description> </method> <method name="parse_json"> @@ -10595,28 +10603,28 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="json" type="String"> </argument> <description> - Parse json text to the dictionary. Return OK when successed or the error code when failed. + Parse json text to the dictionary. Return OK when successed or the error code when failed. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the size of the dictionary (in pairs). + Return the size of the dictionary (in pairs). </description> </method> <method name="to_json"> <return type="String"> </return> <description> - Return the dictionary as json text. + Return the dictionary as json text. </description> </method> <method name="values"> <return type="Array"> </return> <description> - Return the list of values in the [Dictionary]. + Return the list of values in the [Dictionary]. </description> </method> </methods> @@ -10625,10 +10633,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="DirectionalLight" inherits="Light" category="Core"> <brief_description> - Directional Light, such as the Sun or the Moon. + Directional Light, such as the Sun or the Moon. </brief_description> <description> - A DirectionalLight is a type of [Light] node that emits light constantly in one direction (the negative z axis of the node). It is used lights with strong intensity that are located far away from the scene to model sunlight or moonlight. The worldspace location of the DirectionalLight transform (origin) is ignored, only the basis is used do determine light direction. + A DirectionalLight is a type of [Light] node that emits light constantly in one direction (the negative z axis of the node). It is used lights with strong intensity that are located far away from the scene to model sunlight or moonlight. The worldspace location of the DirectionalLight transform (origin) is ignored, only the basis is used do determine light direction. </description> <methods> <method name="get_shadow_mode" qualifiers="const"> @@ -10663,42 +10671,42 @@ This approximation makes straight segments between each point, then subdivides t <constants> <constant name="SHADOW_ORTHOGONAL" value="0"> </constant> - <constant name="SHADOW_PARAM_MAX_DISTANCE" value="0"> - </constant> - <constant name="SHADOW_PARAM_PSSM_SPLIT_WEIGHT" value="1"> - </constant> <constant name="SHADOW_PERSPECTIVE" value="1"> </constant> <constant name="SHADOW_PARALLEL_2_SPLITS" value="2"> </constant> - <constant name="SHADOW_PARAM_PSSM_ZOFFSET_SCALE" value="2"> - </constant> <constant name="SHADOW_PARALLEL_4_SPLITS" value="3"> </constant> + <constant name="SHADOW_PARAM_MAX_DISTANCE" value="0"> + </constant> + <constant name="SHADOW_PARAM_PSSM_SPLIT_WEIGHT" value="1"> + </constant> + <constant name="SHADOW_PARAM_PSSM_ZOFFSET_SCALE" value="2"> + </constant> </constants> </class> <class name="Directory" inherits="Reference" category="Core"> <brief_description> - Type used to handle the filesystem. + Type used to handle the filesystem. </brief_description> <description> - Directory type. It is used to manage directories and their content (not restricted to the project folder). - Here is an example on how to iterate through the files of a directory: - [codeblock] - func dir_contents(path): - var dir = Directory.new() - if dir.open(path) == OK: - dir.list_dir_begin() - var file_name = dir.get_next() - while (file_name != ""): - if dir.current_is_dir(): - print("Found directory: " + file_name) - else: - print("Found file: " + file_name) - file_name = dir.get_next() - else: - print("An error occurred when trying to access the path.") - [/codeblock] + Directory type. It is used to manage directories and their content (not restricted to the project folder). + Here is an example on how to iterate through the files of a directory: + [codeblock] + func dir_contents(path): + var dir = Directory.new() + if dir.open(path) == OK: + dir.list_dir_begin() + var file_name = dir.get_next() + while (file_name != ""): + if dir.current_is_dir(): + print("Found directory: " + file_name) + else: + print("Found file: " + file_name) + file_name = dir.get_next() + else: + print("An error occurred when trying to access the path.") + [/codeblock] </description> <methods> <method name="change_dir"> @@ -10707,8 +10715,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="todir" type="String"> </argument> <description> - Change the currently opened directory to the one passed as an argument. The argument can be relative to the current directory (e.g. [code]newdir[/code] or [code]../newdir[/code]), or an absolute path (e.g. [code]/tmp/newdir[/code] or [code]res://somedir/newdir[/code]). - The method returns one of the error code constants defined in [@Global Scope] (OK or ERR_*). + Change the currently opened directory to the one passed as an argument. The argument can be relative to the current directory (e.g. [code]newdir[/code] or [code]../newdir[/code]), or an absolute path (e.g. [code]/tmp/newdir[/code] or [code]res://somedir/newdir[/code]). + The method returns one of the error code constants defined in [@Global Scope] (OK or ERR_*). </description> </method> <method name="copy"> @@ -10719,15 +10727,15 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="to" type="String"> </argument> <description> - Copy the [i]from[/i] file to the [i]to[/i] destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten. - Returns one of the error code constants defined in [@Global Scope] (OK, FAILED or ERR_*). + Copy the [i]from[/i] file to the [i]to[/i] destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten. + Returns one of the error code constants defined in [@Global Scope] (OK, FAILED or ERR_*). </description> </method> <method name="current_is_dir" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the current item processed with the last [method get_next] call is a directory ([code].[/code] and [code]..[/code] are considered directories). + Return whether the current item processed with the last [method get_next] call is a directory ([code].[/code] and [code]..[/code] are considered directories). </description> </method> <method name="dir_exists"> @@ -10736,7 +10744,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Return whether the target directory exists. The argument can be relative to the current directory, or an absolute path. + Return whether the target directory exists. The argument can be relative to the current directory, or an absolute path. </description> </method> <method name="file_exists"> @@ -10745,14 +10753,14 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Return whether the target file exists. The argument can be relative to the current directory, or an absolute path. + Return whether the target file exists. The argument can be relative to the current directory, or an absolute path. </description> </method> <method name="get_current_dir"> <return type="String"> </return> <description> - Return the absolute path to the currently opened directory (e.g. [code]res://folder[/code] or [code]C:\tmp\folder[/code]). + Return the absolute path to the currently opened directory (e.g. [code]res://folder[/code] or [code]C:\tmp\folder[/code]). </description> </method> <method name="get_drive"> @@ -10761,41 +10769,41 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - On Windows, return the name of the drive (partition) passed as an argument (e.g. [code]C:[/code]). On other platforms, or if the requested drive does not existed, the method returns an empty String. + On Windows, return the name of the drive (partition) passed as an argument (e.g. [code]C:[/code]). On other platforms, or if the requested drive does not existed, the method returns an empty String. </description> </method> <method name="get_drive_count"> <return type="int"> </return> <description> - On Windows, return the number of drives (partitions) mounted on the current filesystem. On other platforms, the method returns 0. + On Windows, return the number of drives (partitions) mounted on the current filesystem. On other platforms, the method returns 0. </description> </method> <method name="get_next"> <return type="String"> </return> <description> - Return the next element (file or directory) in the current directory (including [code].[/code] and [code]..[/code]). The name of the file or directory is returned (and not its full path). Once the stream has been fully processed, the method returns an empty String and closes the stream automatically (i.e. [method list_dir_end] would not be mandatory in such a case). + Return the next element (file or directory) in the current directory (including [code].[/code] and [code]..[/code]). The name of the file or directory is returned (and not its full path). Once the stream has been fully processed, the method returns an empty String and closes the stream automatically (i.e. [method list_dir_end] would not be mandatory in such a case). </description> </method> <method name="get_space_left"> <return type="int"> </return> <description> - On Unix desktop systems, return the available space on the current directory's disk. On other platforms, this information is not available and the method returns 0 or -1. + On Unix desktop systems, return the available space on the current directory's disk. On other platforms, this information is not available and the method returns 0 or -1. </description> </method> <method name="list_dir_begin"> <return type="bool"> </return> <description> - Initialise the stream used to list all files and directories using the [method get_next] function, closing the current opened stream if needed. Once the stream has been processed, it should typically be closed with [method list_dir_end]. - Return false if the stream could not be initialised. + Initialise the stream used to list all files and directories using the [method get_next] function, closing the current opened stream if needed. Once the stream has been processed, it should typically be closed with [method list_dir_end]. + Return false if the stream could not be initialised. </description> </method> <method name="list_dir_end"> <description> - Close the current stream opened with [method list_dir_begin] (whether it has been fully processed with [method get_next] or not does not matter). + Close the current stream opened with [method list_dir_begin] (whether it has been fully processed with [method get_next] or not does not matter). </description> </method> <method name="make_dir"> @@ -10804,8 +10812,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Create a directory. The argument can be relative to the current directory, or an absolute path. The target directory should be placed in an already existing directory (to create the full path recursively, see [method make_dir_recursive]). - The method returns one of the error code constants defined in [@Global Scope] (OK, FAILED or ERR_*). + Create a directory. The argument can be relative to the current directory, or an absolute path. The target directory should be placed in an already existing directory (to create the full path recursively, see [method make_dir_recursive]). + The method returns one of the error code constants defined in [@Global Scope] (OK, FAILED or ERR_*). </description> </method> <method name="make_dir_recursive"> @@ -10814,8 +10822,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Create a target directory and all necessary intermediate directories in its path, by calling [method make_dir] recursively. The argument can be relative to the current directory, or an absolute path. - Returns one of the error code constants defined in [@Global Scope] (OK, FAILED or ERR_*). + Create a target directory and all necessary intermediate directories in its path, by calling [method make_dir] recursively. The argument can be relative to the current directory, or an absolute path. + Return one of the error code constants defined in [@Global Scope] (OK, FAILED or ERR_*). </description> </method> <method name="open"> @@ -10824,8 +10832,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Open an existing directory of the filesystem. The [i]path[/i] argument can be within the project tree ([code]res://folder[/code]), the user directory ([code]user://folder[/code]) or an absolute path of the user filesystem (e.g. [code]/tmp/folder[/code] or [code]C:\tmp\folder[/code]). - The method returns one of the error code constants defined in [@Global Scope] (OK or ERR_*). + Open an existing directory of the filesystem. The [i]path[/i] argument can be within the project tree ([code]res://folder[/code]), the user directory ([code]user://folder[/code]) or an absolute path of the user filesystem (e.g. [code]/tmp/folder[/code] or [code]C:\tmp\folder[/code]). + The method returns one of the error code constants defined in [@Global Scope] (OK or ERR_*). </description> </method> <method name="remove"> @@ -10834,8 +10842,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Delete the target file or an empty directory. The argument can be relative to the current directory, or an absolute path. If the target directory is not empty, the operation will fail. - Returns one of the error code constants defined in [@Global Scope] (OK or FAILED). + Delete the target file or an empty directory. The argument can be relative to the current directory, or an absolute path. If the target directory is not empty, the operation will fail. + Return one of the error code constants defined in [@Global Scope] (OK or FAILED). </description> </method> <method name="rename"> @@ -10846,8 +10854,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="to" type="String"> </argument> <description> - Rename (move) the [i]from[/i] file to the [i]to[/i] destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten. - Returns one of the error code constants defined in [@Global Scope] (OK or FAILED). + Rename (move) the [i]from[/i] file to the [i]to[/i] destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten. + Return one of the error code constants defined in [@Global Scope] (OK or FAILED). </description> </method> </methods> @@ -10946,11 +10954,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorExportPlugin" inherits="Reference" category="Core"> <brief_description> - Editor plugin to control the export process. + Editor plugin to control the export process. </brief_description> <description> - This plugin is added into EditorImportExport and allows to modify - the behavior of the export process for individual files. + This plugin is added into EditorImportExport and allows to modify the behavior of the export process for individual files. </description> <methods> <method name="custom_export" qualifiers="virtual"> @@ -10961,24 +10968,10 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="platform" type="EditorExportPlatform"> </argument> <description> - This function is called for each file exported and - depending from the return value one of many things - might happen. - - 1) If returned value is null, the file is exported - as is. - - 2) If the returned value is a RawAray (array of - bytes), the content of that array becomes the new - file being exported. - - 3) If the file must also change it's name when - exported, then a [Dictionary] must be returned with - two fields: 'name' with the new filename and 'data' - with a [RawArray] containing the raw contents of the - file. Even if the name is changed, the run-time will - redirect the old file to the new file automatically - when accessed. + This function is called for each file exported and depending from the return value one of many things might happen. + 1) If returned value is null, the file is exported as is. + 2) If the returned value is a RawAray (array of bytes), the content of that array becomes the new file being exported. + 3) If the file must also change it's name when exported, then a [Dictionary] must be returned with two fields: 'name' with the new filename and 'data' with a [RawArray] containing the raw contents of the file. Even if the name is changed, the run-time will redirect the old file to the new file automatically when accessed. </description> </method> </methods> @@ -11129,12 +11122,6 @@ This approximation makes straight segments between each point, then subdivides t </signal> </signals> <constants> - <constant name="ACCESS_RESOURCES" value="0"> - </constant> - <constant name="ACCESS_USERDATA" value="1"> - </constant> - <constant name="ACCESS_FILESYSTEM" value="2"> - </constant> <constant name="MODE_OPEN_FILE" value="0"> </constant> <constant name="MODE_OPEN_FILES" value="1"> @@ -11145,18 +11132,20 @@ This approximation makes straight segments between each point, then subdivides t </constant> <constant name="MODE_SAVE_FILE" value="4"> </constant> + <constant name="ACCESS_RESOURCES" value="0"> + </constant> + <constant name="ACCESS_USERDATA" value="1"> + </constant> + <constant name="ACCESS_FILESYSTEM" value="2"> + </constant> </constants> </class> <class name="EditorImportPlugin" inherits="Reference" category="Core"> <brief_description> - Import plugin for editor + Import plugin for editor </brief_description> <description> - Import plugins make it easy to handle importing of external assets - into a project. - - They way they work is not that obvious though, so please make sure - to read the documentation, tutorials and examples. + Import plugins make it easy to handle importing of external assets into a project. They way they work is not that obvious though, so please make sure to read the documentation, tutorials and examples. </description> <methods> <method name="can_reimport_multiple_files" qualifiers="virtual"> @@ -11173,14 +11162,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="platform" type="EditorExportPlatform"> </argument> <description> - Generally, files that are imported stay the same - when exported. The only exception is in some cases - when the file must be re-imported for different - platforms (ie. texture compression). - - If you want to customize the export process, it's - recommended to use [EditorExportPlugin.custom_export] - instead. + Generally, files that are imported stay the same when exported. The only exception is in some cases when the file must be re-imported for different platforms (ie. texture compression). + If you want to customize the export process, it's recommended to use [method EditorExportPlugin.custom_export] instead. </description> </method> <method name="expand_source_path"> @@ -11195,18 +11178,14 @@ This approximation makes straight segments between each point, then subdivides t <return type="String"> </return> <description> - Get the name of the import plugin, which will be - used to identify content imported by this plugin. - - Try to use lowecase and underscores if possible. + Get the name of the import plugin, which will be used to identify content imported by this plugin. Try to use lowercase and underscores if possible. </description> </method> <method name="get_visible_name" qualifiers="virtual"> <return type="String"> </return> <description> - Visible name for this plugin, which will be shown on - the import menu. + Visible name for this plugin, which will be shown on the import menu. </description> </method> <method name="import" qualifiers="virtual"> @@ -11217,51 +11196,21 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="from" type="ResourceImportMetadata"> </argument> <description> - Perform an import of an external resources into the - project. This function is both called on import - (from the dialog) or re-import - (manual or automatic when external source files - changed). - - An import process generally works like this: - - 1) Check the metadata for source files and options. - Metadata is either generated in the import dialog or - taken from an existing resource upon reimport. - - 2) Perform the import process into a new resource. - Some times the resource being re-imported may be already loaded - and in use, so checking for this by using - [ResourceLoader.has] is recommended. Otherwise - create a new resource. - - 3) Set the metadata from the argument into the existing or new - resource being created using - [Resource.set_import_metadata]. - - 4) Save the resource into 'path' (function argument) + Perform an import of an external resources into the project. This function is both called on import (from the dialog) or re-import (manual or automatic when external source files changed). + An import process generally works like this: + 1) Check the metadata for source files and options. Metadata is either generated in the import dialog or taken from an existing resource upon reimport. + 2) Perform the import process into a new resource. Some times the resource being re-imported may be already loaded and in use, so checking for this by using [method ResourceLoader.has] is recommended. Otherwise create a new resource. + 3) Set the metadata from the argument into the existing or new resource being created using [method Resource.set_import_metadata]. + 4) Save the resource into 'path' (function argument) </description> </method> <method name="import_dialog" qualifiers="virtual"> <argument index="0" name="from" type="String"> </argument> <description> - This function is called when either the user chooses - to import a resource of this type (Import menu), or - when the user chooses to re-import the resource - (from filesystem). In the later case, the path for - the existing file is supplied in the argument. - - If the path is supplied, it is recommended to read - the import metadata with - [ResourceLoader.load_import_metadata] and fill in - the fields with the values contained there. - - The dialog can be shown in any way (just use a - ConfirmationDialog and pop it up). Upon - confirmation, fill up a ResourceImportMetadata and - call the [EditorImportPlugin.import] function with - this information. + This function is called when either the user chooses to import a resource of this type (Import menu), or when the user chooses to re-import the resource (from filesystem). In the later case, the path for the existing file is supplied in the argument. + If the path is supplied, it is recommended to read the import metadata with [method ResourceLoader.load_import_metadata] and fill in the fields with the values contained there. + The dialog can be shown in any way (just use a ConfirmationDialog and pop it up). Upon confirmation, fill up a ResourceImportMetadata and call the [method EditorImportPlugin.import] function with this information. </description> </method> <method name="import_from_drop" qualifiers="virtual"> @@ -11292,12 +11241,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorPlugin" inherits="Node" category="Core"> <brief_description> - Used by the editor to extend it's functionality. + Used by the editor to extend it's functionality. </brief_description> <description> - Plugins are used by the editor to extend functionality. The most - common types of plugins are those which edit a given node or - resource type, import plugins and export plugins. + Plugins are used by the editor to extend functionality. The most common types of plugins are those which edit a given node or resource type, import plugins and export plugins. </description> <methods> <method name="add_control_to_bottom_panel"> @@ -11306,12 +11253,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="title" type="String"> </argument> <description> - Add a control to the bottom panel (together with - Output, Debug, Animation, etc). - - If your plugin is being removed, also make sure to - remove your control by calling [method - remove_control_from_bottom_panel]. + Add a control to the bottom panel (together with Output, Debug, Animation, etc). If your plugin is being removed, also make sure to remove your control by calling [method remove_control_from_bottom_panel]. </description> </method> <method name="add_control_to_container"> @@ -11320,16 +11262,9 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="control" type="Control"> </argument> <description> - Add a custom control to a container (see - CONTAINER_* enum). There are many locations where - custom controls can be added in the editor UI. - - Please remember that you have to manage the - visibility of your custom controls yourself (and likely - hide it after adding it). - - If your plugin is being removed, also make sure to - remove your custom controls too. + Add a custom control to a container (see CONTAINER_* enum). There are many locations where custom controls can be added in the editor UI. + Please remember that you have to manage the visibility of your custom controls yourself (and likely hide it after adding it). + If your plugin is being removed, also make sure to remove your custom controls too. </description> </method> <method name="add_control_to_dock"> @@ -11338,16 +11273,9 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="control" type="Control"> </argument> <description> - Add the control to a specific dock slot (see DOCK_* - enum for options). - - If the dock is repositioned and as long as the - plugin is active, the editor will save the dock - position on further sessions. - - If your plugin is being removed, also make sure to - remove your control by calling [method - remove_control_from_docks]. + Add the control to a specific dock slot (see DOCK_* enum for options). + If the dock is repositioned and as long as the plugin is active, the editor will save the dock position on further sessions. + If your plugin is being removed, also make sure to remove your control by calling [method remove_control_from_docks]. </description> </method> <method name="add_custom_type"> @@ -11360,63 +11288,36 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="icon" type="Texture"> </argument> <description> - Add a custom type, which will appear in the list of - nodes or resources. An icon can be optionally - passed. - - When given node or resource is selected, the base - type will be instanced (ie, "Spatial", "Control", - "Resource"), then the script will be loaded and set - to this object. - - You can use the [EditorPlugin.handles] to check if - your custom object is being edited by checking the - script or using 'extends' keyword. - - During run-time, this will be a simple object with a - script so this function does not need to be called - then. + Add a custom type, which will appear in the list of nodes or resources. An icon can be optionally passed. + When given node or resource is selected, the base type will be instanced (ie, "Spatial", "Control", "Resource"), then the script will be loaded and set to this object. + You can use the [method EditorPlugin.handles] to check if your custom object is being edited by checking the script or using 'extends' keyword. + During run-time, this will be a simple object with a script so this function does not need to be called then. </description> </method> <method name="add_export_plugin"> <argument index="0" name="plugin" type="EditorExportPlugin"> </argument> <description> - Add an export plugin. Plugins of this kind can - change files being exported. On exit don't forget to - call [method remove_export_plugin]. + Add an export plugin. Plugins of this kind can change files being exported. On exit don't forget to call [method remove_export_plugin]. </description> </method> <method name="add_import_plugin"> <argument index="0" name="plugin" type="EditorImportPlugin"> </argument> <description> - Add an import plugin. These plugins manage importing - external content (from outside the project) into - formats the engine can understand. - - On exit, don't forget to remove the plugin by - calling [method remove_import_plugin] + Add an import plugin. These plugins manage importing external content (from outside the project) into formats the engine can understand. + On exit, don't forget to remove the plugin by calling [method remove_import_plugin] </description> </method> <method name="apply_changes" qualifiers="virtual"> <description> - This method is called when the editor is about to - save the project, switch to another tab, etc. It - asks the plugin to apply any pending state changes - to ensure consistency. - - This is used, for example, in shader editors to let - the plugin know that it must apply the shader code - being written by the user to the object. + This method is called when the editor is about to save the project, switch to another tab, etc. It asks the plugin to apply any pending state changes to ensure consistency. + This is used, for example, in shader editors to let the plugin know that it must apply the shader code being written by the user to the object. </description> </method> <method name="clear" qualifiers="virtual"> <description> - Clear all the state and reset the object being - edited to zero. This ensures your plugin does not - keep editing a currently existing node, or a node - fromt the wrong scene. + Clear all the state and reset the object being edited to zero. This ensures your plugin does not keep editing a currently existing node, or a node from the wrong scene. </description> </method> <method name="create_spatial_gizmo" qualifiers="virtual"> @@ -11425,18 +11326,14 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="for_spatial" type="Spatial"> </argument> <description> - This is used for plugins that create gizmos used by - the spatial editor. Just check that the node passed - in the "for_spatial" argument matches your plugin. + This is used for plugins that create gizmos used by the spatial editor. Just check that the node passed in the "for_spatial" argument matches your plugin. </description> </method> <method name="edit" qualifiers="virtual"> <argument index="0" name="object" type="Object"> </argument> <description> - This function is used for plugins that edit specific - object types (nodes or resources). It requests the - editor to edit the given object. + This function is used for plugins that edit specific object types (nodes or resources). It requests the editor to edit the given object. </description> </method> <method name="forward_input_event" qualifiers="virtual"> @@ -11445,13 +11342,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="event" type="InputEvent"> </argument> <description> - This is a low level function for plugins that edit a given - object type derived from CanvasItem to capture the input in the 2D editor - viewport. The function is only being called if your - object is being edited. - - Return true if you want to capture the input, - otherwise false. + This is a low level function for plugins that edit a given object type derived from CanvasItem to capture the input in the 2D editor viewport. The function is only being called if your object is being edited. + Return true if you want to capture the input, otherwise false. </description> </method> <method name="forward_spatial_input_event" qualifiers="virtual"> @@ -11462,80 +11354,58 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="event" type="InputEvent"> </argument> <description> - This is a low level function for plugins that edit a - given objet type derived from Spatial to capture the - input of the viewport. The function is only being - called if your object is being edited. - - By using the [InputEvent] and the [Camera] arguments - it's pretty easy to do raycasts into space using - Camera functions. - - Return true if you want to capture the input, - otherwise false. + This is a low level function for plugins that edit a given objet type derived from Spatial to capture the input of the viewport. The function is only being called if your object is being edited. + By using the [InputEvent] and the [Camera] arguments it's pretty easy to do raycasts into space using Camera functions. + Return true if you want to capture the input, otherwise false. </description> </method> <method name="get_base_control"> <return type="Control"> </return> <description> - Get a base control where it's safe to place dialogs. - Many plugins open dialogs and they need a control as - a base to make sure they use the editor icons and - theme. + Get a base control where it's safe to place dialogs. Many plugins open dialogs and they need a control as a base to make sure they use the editor icons and theme. </description> </method> <method name="get_breakpoints" qualifiers="virtual"> <return type="StringArray"> </return> <description> - This is for editors that edit script based objects. - You can return a list of breakpoints in the format - (script:line), for example: res://path_to_script.gd:25 + This is for editors that edit script based objects. You can return a list of breakpoints in the format (script:line), for example: res://path_to_script.gd:25 </description> </method> <method name="get_editor_settings"> <return type="EditorSettings"> </return> <description> - Get the general settings for the editor (the same - window that appears in the Settings menu). + Get the general settings for the editor (the same window that appears in the Settings menu). </description> </method> <method name="get_name" qualifiers="virtual"> <return type="String"> </return> <description> - Get the name of the editor plugin. For main scren - plugins this is what will appear in the selector - (which by default is 2D, 3D, Script). + Get the name of the editor plugin. For main scren plugins this is what will appear in the selector (which by default is 2D, 3D, Script). </description> </method> <method name="get_selection"> <return type="EditorSelection"> </return> <description> - Get the object that handles the selection of nodes - in the Scene Tree editor. + Get the object that handles the selection of nodes in the Scene Tree editor. </description> </method> <method name="get_state" qualifiers="virtual"> <return type="Dictionary"> </return> <description> - Get the state of your plugin editor. This is used - when saving the scene (so state is kept when opening - it again) and for switching tabs (so state can be - restored when the tab returns). + Get the state of your plugin editor. This is used when saving the scene (so state is kept when opening it again) and for switching tabs (so state can be restored when the tab returns). </description> </method> <method name="get_undo_redo"> <return type="UndoRedo"> </return> <description> - Get the undo/redo object. Most actions in the editor - can be undoable, so use this object to make sure - this happens when it's worth it. + Get the undo/redo object. Most actions in the editor can be undoable, so use this object to make sure this happens when it's worth it. </description> </method> <method name="handles" qualifiers="virtual"> @@ -11544,81 +11414,64 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="object" type="Object"> </argument> <description> - Implement this function if your plugin edits a - specific type of object (Resource or Node). If you - return true, then you will get the functions - [EditorPlugin.edit] and [EditorPlugin.make_visible] - called when the editor requests them. + Implement this function if your plugin edits a specific type of object (Resource or Node). If you return true, then you will get the functions [method EditorPlugin.edit] and [method EditorPlugin.make_visible] called when the editor requests them. </description> </method> <method name="has_main_screen" qualifiers="virtual"> <return type="bool"> </return> <description> - Return true if this is a main screen editor plugin - (it goes in the main screen selector together with - 2D, 3D, Script). + Return true if this is a main screen editor plugin (it goes in the main screen selector together with 2D, 3D, Script). </description> </method> <method name="make_visible" qualifiers="virtual"> <argument index="0" name="visible" type="bool"> </argument> <description> - This function will be called when the editor is - requested to become visible. It is used for plugins - that edit a specific object type. - - Remember that you have to manage the visibility of - all your editor controls manually. + This function will be called when the editor is requested to become visible. It is used for plugins that edit a specific object type. + Remember that you have to manage the visibility of all your editor controls manually. </description> </method> <method name="remove_control_from_bottom_panel"> <argument index="0" name="control" type="Control"> </argument> <description> - Remove the control from the bottom panel. Don't forget - to call this if you added one, so the editor can - remove it cleanly. + Remove the control from the bottom panel. Don't forget to call this if you added one, so the editor can remove it cleanly. </description> </method> <method name="remove_control_from_docks"> <argument index="0" name="control" type="Control"> </argument> <description> - Remove the control from the dock. Don't forget to - call this if you added one, so the editor can save - the layout and remove it cleanly. + Remove the control from the dock. Don't forget to call this if you added one, so the editor can save the layout and remove it cleanly. </description> </method> <method name="remove_custom_type"> <argument index="0" name="type" type="String"> </argument> <description> - Remove a custom type added by - [EditorPlugin.add_custom_type] + Remove a custom type added by [method EditorPlugin.add_custom_type] </description> </method> <method name="remove_export_plugin"> <argument index="0" name="plugin" type="EditorExportPlugin"> </argument> <description> - Remove the export plugin, don't forget to call this - on exit. + Remove the export plugin, don't forget to call this on exit. </description> </method> <method name="remove_import_plugin"> <argument index="0" name="plugin" type="EditorImportPlugin"> </argument> <description> - Remove the import plugin, don't forget to call this - on exit. + Remove the import plugin, don't forget to call this on exit. </description> </method> <method name="set_state" qualifiers="virtual"> <argument index="0" name="state" type="Dictionary"> </argument> <description> - Restore the state saved by [EditorPlugin.get_state]. + Restore the state saved by [method EditorPlugin.get_state]. </description> </method> </methods> @@ -11659,23 +11512,18 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorScenePostImport" inherits="Reference" category="Core"> <brief_description> - Base script for post-processing scenes being imported. + Base script for post-processing scenes being imported. </brief_description> <description> - These scripts can modify scenes after being imported by the 3D Scene - import option of the Import menu. + These scripts can modify scenes after being imported by the 3D Scene import option of the Import menu. </description> <methods> <method name="post_import" qualifiers="virtual"> <argument index="0" name="scene" type="Object"> </argument> <description> - This function is called upon import with the - imported scene. - - Just do any changes desired to the scene and return - it. If null is returned, import will fail and throw - an error to the user. + This function is called upon import with the imported scene. + Just do any changes desired to the scene and return it. If null is returned, import will fail and throw an error to the user. </description> </method> </methods> @@ -11684,10 +11532,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorScript" inherits="Reference" category="Core"> <brief_description> - Simple script to perform changes in the currently edited scene. + Simple script to perform changes in the currently edited scene. </brief_description> <description> - This script can be run from the Scene -> Run Script menu option. + This script can be run from the Scene -> Run Script menu option. </description> <methods> <method name="_run" qualifiers="virtual"> @@ -11712,43 +11560,43 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorSelection" inherits="Object" category="Core"> <brief_description> - Manages the SceneTree selection in the editor. + Manages the SceneTree selection in the editor. </brief_description> <description> - This object manages the SceneTree selection in the editor. + This object manages the SceneTree selection in the editor. </description> <methods> <method name="add_node"> <argument index="0" name="node" type="Node"> </argument> <description> - Add a node to the selection. + Add a node to the selection. </description> </method> <method name="clear"> <description> - Clear the selection. + Clear the selection. </description> </method> <method name="get_selected_nodes"> <return type="Array"> </return> <description> - Get the list of selectes nodes. + Get the list of selectes nodes. </description> </method> <method name="remove_node"> <argument index="0" name="node" type="Node"> </argument> <description> - Remove a node from the selection. + Remove a node from the selection. </description> </method> </methods> <signals> <signal name="selection_changed"> <description> - Emitted when the selection changes. + Emitted when the selection changes. </description> </signal> </signals> @@ -11757,81 +11605,67 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorSettings" inherits="Resource" category="Core"> <brief_description> - Object that holds the project-independent editor settings. + Object that holds the project-independent editor settings. </brief_description> <description> - Object that holds the project-independent editor settings. These - settings are generally visible in the Editor Settings menu. - - Accessing the settings is done by using the regular [Object] API, - such as. - - settings.set(prop,value) - - settings.get(prop) - - list_of_settings = settings.get_property_list() + Object that holds the project-independent editor settings. These settings are generally visible in the Editor Settings menu. + Accessing the settings is done by using the regular [Object] API, such as: + [codeblock] + settings.set(prop,value) + settings.get(prop) + list_of_settings = settings.get_property_list() + [/codeblock] </description> <methods> <method name="erase"> <argument index="0" name="property" type="String"> </argument> <description> - Erase a given setting (pass full property path). + Erase a given setting (pass full property path). </description> </method> <method name="get_favorite_dirs" qualifiers="const"> <return type="StringArray"> </return> <description> - Get the list of favorite directories for this - project. + Get the list of favorite directories for this project. </description> </method> <method name="get_project_settings_path" qualifiers="const"> <return type="String"> </return> <description> - Get the specific project settings path. Projects all - have an unique sub-directory inside the settings - path where project specific settings are saved. + Get the specific project settings path. Projects all have an unique sub-directory inside the settings path where project specific settings are saved. </description> </method> <method name="get_recent_dirs" qualifiers="const"> <return type="StringArray"> </return> <description> - Get the list of recently visited folders in the file - dialog for this project. + Get the list of recently visited folders in the file dialog for this project. </description> </method> <method name="get_settings_path" qualifiers="const"> <return type="String"> </return> <description> - Get the global settings path for the engine. Inside - this path you can find some standard paths such as: - - settings/tmp - used for temporary storage of files - - settings/templates - where export templates are - located + Get the global settings path for the engine. Inside this path you can find some standard paths such as: + settings/tmp - used for temporary storage of files + settings/templates - where export templates are located </description> </method> <method name="set_favorite_dirs"> <argument index="0" name="dirs" type="StringArray"> </argument> <description> - Set the list of favorite directories for this - project. + Set the list of favorite directories for this project. </description> </method> <method name="set_recent_dirs"> <argument index="0" name="dirs" type="StringArray"> </argument> <description> - Set the list of recently visited folders in the file - dialog for this project. + Set the list of recently visited folders in the file dialog for this project. </description> </method> </methods> @@ -11846,12 +11680,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EditorSpatialGizmo" inherits="SpatialGizmo" category="Core"> <brief_description> - Custom gizmo for editing Spatial objects. + Custom gizmo for editing Spatial objects. </brief_description> <description> - Custom gizmo that is used for providing custom visualization and - editing (handles) for 3D Spatial objects. These are created by - [method EditorPlugin.create_spatial_gizmo]. + Custom gizmo that is used for providing custom visualization and editing (handles) for 3D Spatial objects. These are created by [method EditorPlugin.create_spatial_gizmo]. </description> <methods> <method name="add_collision_segments"> @@ -11864,11 +11696,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="triangles" type="TriangleMesh"> </argument> <description> - Add collision triangles to the gizmo for picking. A - [TriangleMesh] can be generated from a regular - [Mesh] too. - - Call this function during [method redraw]. + Add collision triangles to the gizmo for picking. A [TriangleMesh] can be generated from a regular [Mesh] too. Call this function during [method redraw]. </description> </method> <method name="add_handles"> @@ -11879,13 +11707,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="secondary" type="bool" default="false"> </argument> <description> - Add a list of handles (points) which can be used to - deform the object being edited. - - There are virtual functions which will be called - upon editing of these handles. - - Call this function during [method redraw]. + Add a list of handles (points) which can be used to deform the object being edited. + There are virtual functions which will be called upon editing of these handles. Call this function during [method redraw]. </description> </method> <method name="add_lines"> @@ -11896,11 +11719,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="billboard" type="bool" default="false"> </argument> <description> - Add lines to the gizmo (as sets of 2 points), with a - given material. The lines are used for visualizing - the gizmo. - - Call this function during [method redraw]. + Add lines to the gizmo (as sets of 2 points), with a given material. The lines are used for visualizing the gizmo. Call this function during [method redraw]. </description> </method> <method name="add_mesh"> @@ -11911,10 +11730,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="skeleton" type="RID" default="RID()"> </argument> <description> - Add a mesh to the gizmo, this is used for - visualization. - - Call this function during [method redraw]. + Add a mesh to the gizmo, this is used for visualization. Call this function during [method redraw]. </description> </method> <method name="add_unscaled_billboard"> @@ -11923,9 +11739,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="default_scale" type="float" default="1"> </argument> <description> - Add an unscaled billboard for visualization. - - Call this function during [method redraw]. + Add an unscaled billboard for visualization. Call this function during [method redraw]. </description> </method> <method name="commit_handle" qualifiers="virtual"> @@ -11936,12 +11750,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="cancel" type="bool"> </argument> <description> - Commit a handle being edited (handles must have been - prevously added by [method add_handles]). - - If the cancel parameter is true, an option to - restore the edited value to the original is - provided. + Commit a handle being edited (handles must have been prevously added by [method add_handles]). + If the cancel parameter is true, an option to restore the edited value to the original is provided. </description> </method> <method name="get_handle_name" qualifiers="virtual"> @@ -11950,10 +11760,8 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="index" type="int"> </argument> <description> - Get the name of an edited handle (handles must have - been previously added by [method add_handles]). - - Handles can be named for reference to the user when editing. + Get the name of an edited handle (handles must have been previously added by [method add_handles]). + Handles can be named for reference to the user when editing. </description> </method> <method name="get_handle_value" qualifiers="virtual"> @@ -11962,16 +11770,12 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="index" type="int"> </argument> <description> - Get actual value of a handle. This value can be - anything and used for eventually undoing the motion - when calling [method commit_handle] + Get actual value of a handle. This value can be anything and used for eventually undoing the motion when calling [method commit_handle] </description> </method> <method name="redraw" qualifiers="virtual"> <description> - This function is called when the Spatial this gizmo - refers to changes (the [method Spatial.update_gizmo] - is called). + This function is called when the Spatial this gizmo refers to changes (the [method Spatial.update_gizmo] is called). </description> </method> <method name="set_handle" qualifiers="virtual"> @@ -11982,22 +11786,15 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="point" type="Vector2"> </argument> <description> - This function is used when the user drags a gizmo - handle (previously added with [method add_handles]) - in screen coordinates. - - The [Camera] is also provided - so screen coordinates can be converted to raycasts. + This function is used when the user drags a gizmo handle (previously added with [method add_handles]) in screen coordinates. + The [Camera] is also provided so screen coordinates can be converted to raycasts. </description> </method> <method name="set_spatial_node"> <argument index="0" name="node" type="Spatial"> </argument> <description> - Call this function once and upon creation of the - gizmo, otherwise no other function will work. - - The argument is the node being edited by the gizmo. + Call this function once and upon creation of the gizmo, otherwise no other function will work. The argument is the node being edited by the gizmo. </description> </method> </methods> @@ -12070,48 +11867,84 @@ This approximation makes straight segments between each point, then subdivides t <constants> <constant name="BG_KEEP" value="0"> </constant> - <constant name="BG_PARAM_CANVAS_MAX_LAYER" value="0"> - </constant> <constant name="BG_DEFAULT_COLOR" value="1"> </constant> - <constant name="BG_PARAM_COLOR" value="1"> - </constant> <constant name="BG_COLOR" value="2"> </constant> - <constant name="BG_PARAM_TEXTURE" value="2"> - </constant> - <constant name="BG_PARAM_CUBEMAP" value="3"> - </constant> <constant name="BG_TEXTURE" value="3"> </constant> <constant name="BG_CUBEMAP" value="4"> </constant> - <constant name="BG_PARAM_ENERGY" value="4"> - </constant> <constant name="BG_CANVAS" value="5"> </constant> <constant name="BG_MAX" value="6"> </constant> + <constant name="BG_PARAM_CANVAS_MAX_LAYER" value="0"> + </constant> + <constant name="BG_PARAM_COLOR" value="1"> + </constant> + <constant name="BG_PARAM_TEXTURE" value="2"> + </constant> + <constant name="BG_PARAM_CUBEMAP" value="3"> + </constant> + <constant name="BG_PARAM_ENERGY" value="4"> + </constant> <constant name="BG_PARAM_GLOW" value="6"> </constant> <constant name="BG_PARAM_MAX" value="7"> </constant> <constant name="FX_AMBIENT_LIGHT" value="0"> </constant> - <constant name="FX_BLUR_BLEND_MODE_ADDITIVE" value="0"> + <constant name="FX_FXAA" value="1"> </constant> - <constant name="FX_HDR_TONE_MAPPER_LINEAR" value="0"> + <constant name="FX_GLOW" value="2"> </constant> - <constant name="FX_PARAM_AMBIENT_LIGHT_COLOR" value="0"> + <constant name="FX_DOF_BLUR" value="3"> + </constant> + <constant name="FX_HDR" value="4"> + </constant> + <constant name="FX_FOG" value="5"> + </constant> + <constant name="FX_BCS" value="6"> + </constant> + <constant name="FX_SRGB" value="7"> + </constant> + <constant name="FX_MAX" value="8"> + </constant> + <constant name="FX_BLUR_BLEND_MODE_ADDITIVE" value="0"> </constant> <constant name="FX_BLUR_BLEND_MODE_SCREEN" value="1"> </constant> - <constant name="FX_FXAA" value="1"> + <constant name="FX_BLUR_BLEND_MODE_SOFTLIGHT" value="2"> + </constant> + <constant name="FX_HDR_TONE_MAPPER_LINEAR" value="0"> </constant> <constant name="FX_HDR_TONE_MAPPER_LOG" value="1"> </constant> + <constant name="FX_HDR_TONE_MAPPER_REINHARDT" value="2"> + </constant> + <constant name="FX_HDR_TONE_MAPPER_REINHARDT_AUTOWHITE" value="3"> + </constant> + <constant name="FX_PARAM_AMBIENT_LIGHT_COLOR" value="0"> + </constant> <constant name="FX_PARAM_AMBIENT_LIGHT_ENERGY" value="1"> </constant> + <constant name="FX_PARAM_GLOW_BLUR_PASSES" value="2"> + </constant> + <constant name="FX_PARAM_GLOW_BLUR_SCALE" value="3"> + </constant> + <constant name="FX_PARAM_GLOW_BLUR_STRENGTH" value="4"> + </constant> + <constant name="FX_PARAM_GLOW_BLUR_BLEND_MODE" value="5"> + </constant> + <constant name="FX_PARAM_GLOW_BLOOM" value="6"> + </constant> + <constant name="FX_PARAM_GLOW_BLOOM_TRESHOLD" value="7"> + </constant> + <constant name="FX_PARAM_DOF_BLUR_PASSES" value="8"> + </constant> + <constant name="FX_PARAM_DOF_BLUR_BEGIN" value="9"> + </constant> <constant name="FX_PARAM_DOF_BLUR_RANGE" value="10"> </constant> <constant name="FX_PARAM_HDR_TONEMAPPER" value="11"> @@ -12132,20 +11965,12 @@ This approximation makes straight segments between each point, then subdivides t </constant> <constant name="FX_PARAM_FOG_BEGIN" value="19"> </constant> - <constant name="FX_BLUR_BLEND_MODE_SOFTLIGHT" value="2"> - </constant> - <constant name="FX_GLOW" value="2"> - </constant> - <constant name="FX_HDR_TONE_MAPPER_REINHARDT" value="2"> - </constant> - <constant name="FX_PARAM_GLOW_BLUR_PASSES" value="2"> + <constant name="FX_PARAM_FOG_ATTENUATION" value="22"> </constant> <constant name="FX_PARAM_FOG_BEGIN_COLOR" value="20"> </constant> <constant name="FX_PARAM_FOG_END_COLOR" value="21"> </constant> - <constant name="FX_PARAM_FOG_ATTENUATION" value="22"> - </constant> <constant name="FX_PARAM_FOG_BG" value="23"> </constant> <constant name="FX_PARAM_BCS_BRIGHTNESS" value="24"> @@ -12156,43 +11981,15 @@ This approximation makes straight segments between each point, then subdivides t </constant> <constant name="FX_PARAM_MAX" value="27"> </constant> - <constant name="FX_DOF_BLUR" value="3"> - </constant> - <constant name="FX_HDR_TONE_MAPPER_REINHARDT_AUTOWHITE" value="3"> - </constant> - <constant name="FX_PARAM_GLOW_BLUR_SCALE" value="3"> - </constant> - <constant name="FX_HDR" value="4"> - </constant> - <constant name="FX_PARAM_GLOW_BLUR_STRENGTH" value="4"> - </constant> - <constant name="FX_FOG" value="5"> - </constant> - <constant name="FX_PARAM_GLOW_BLUR_BLEND_MODE" value="5"> - </constant> - <constant name="FX_BCS" value="6"> - </constant> - <constant name="FX_PARAM_GLOW_BLOOM" value="6"> - </constant> - <constant name="FX_PARAM_GLOW_BLOOM_TRESHOLD" value="7"> - </constant> - <constant name="FX_SRGB" value="7"> - </constant> - <constant name="FX_MAX" value="8"> - </constant> - <constant name="FX_PARAM_DOF_BLUR_PASSES" value="8"> - </constant> - <constant name="FX_PARAM_DOF_BLUR_BEGIN" value="9"> - </constant> </constants> </class> <class name="EventPlayer" inherits="Node" category="Core"> <brief_description> - Class for event stream playback. + Class for event stream playback. </brief_description> <description> - Class for event stream playback. Event streams are music expressed as a series of events (note on, note off, instrument change...), as opposed to audio streams, which are just audio data. Examples of event-based streams are MIDI files, or MOD music. - Currently, only MOD, S3M, IT, and XM music is supported. + Class for event stream playback. Event streams are music expressed as a series of events (note on, note off, instrument change...), as opposed to audio streams, which are just audio data. Examples of event-based streams are MIDI files, or MOD music. + Currently, only MOD, S3M, IT, and XM music is supported. </description> <methods> <method name="get_channel_last_note_time" qualifiers="const"> @@ -12201,7 +11998,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="channel" type="int"> </argument> <description> - Return the time at which the last note of a given channel in the stream plays. + Return the time at which the last note of a given channel in the stream plays. </description> </method> <method name="get_channel_volume" qualifiers="const"> @@ -12210,117 +12007,117 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="channel" type="int"> </argument> <description> - Return the volume scale for an individual channel of the stream. + Return the volume scale for an individual channel of the stream. </description> </method> <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> - Return the song length. May be in seconds, but depends on the stream type. + Return the song length. May be in seconds, but depends on the stream type. </description> </method> <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> - Return the number of times the playback has looped. + Return the number of times the playback has looped. </description> </method> <method name="get_pitch_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the pitch scale factor for this player. + Return the pitch scale factor for this player. </description> </method> <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> - Return the playback position. May be in seconds, but depends on the stream type. + Return the playback position. May be in seconds, but depends on the stream type. </description> </method> <method name="get_stream" qualifiers="const"> <return type="EventStream"> </return> <description> - Return the currently assigned stream. + Return the currently assigned stream. </description> </method> <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> - Return the name of the currently assigned stream. This is not the file name, but a field inside the file. If no stream is assigned, if returns "<No Stream>". + Return the name of the currently assigned stream. This is not the file name, but a field inside the file. If no stream is assigned, if returns "<No Stream>". </description> </method> <method name="get_tempo_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the tempo multiplier. + Return the tempo multiplier. </description> </method> <method name="get_volume" qualifiers="const"> <return type="float"> </return> <description> - Return the playback volume for this player. + Return the playback volume for this player. </description> </method> <method name="get_volume_db" qualifiers="const"> <return type="float"> </return> <description> - Return the playback volume for this player, in decibels. + Return the playback volume for this player, in decibels. </description> </method> <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this player will start playing as soon as it enters the scene tree. + Return whether this player will start playing as soon as it enters the scene tree. </description> </method> <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this player will be restart the playback at the end. + Return whether this player will be restart the playback at the end. </description> </method> <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the playback is currently paused. + Return whether the playback is currently paused. </description> </method> <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this player is playing. + Return whether this player is playing. </description> </method> <method name="play"> <description> - Play the currently assigned stream. + Play the currently assigned stream. </description> </method> <method name="seek_pos"> <argument index="0" name="time" type="float"> </argument> <description> - Set the playback position. May be in seconds, but depends on the stream type. + Set the playback position. May be in seconds, but depends on the stream type. </description> </method> <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether this player will start playing as soon as it enters the scene tree. + Set whether this player will start playing as soon as it enters the scene tree. </description> </method> <method name="set_channel_volume"> @@ -12329,63 +12126,63 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="channel_volume" type="float"> </argument> <description> - Set the volume scale for an individual channel of the stream, with the same value range as [method set_volume]. The channel number depends on the stream format. For example, MIDIs range from 0 to 15, and MODs from 0 to 63. - Many stream formats are multichannel, so this allows to affect only a part of the music. + Set the volume scale for an individual channel of the stream, with the same value range as [method set_volume]. The channel number depends on the stream format. For example, MIDIs range from 0 to 15, and MODs from 0 to 63. + Many stream formats are multichannel, so this allows to affect only a part of the music. </description> </method> <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the stream will be restarted at the end. + Set whether the stream will be restarted at the end. </description> </method> <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> - Pause stream playback. + Pause stream playback. </description> </method> <method name="set_pitch_scale"> <argument index="0" name="pitch_scale" type="float"> </argument> <description> - Set the pitch multiplier for all sounds coming from this stream. A value of 2.0 shifts all pitches one octave up, and a value of 0.5 shifts pitches one octave down. + Set the pitch multiplier for all sounds coming from this stream. A value of 2.0 shifts all pitches one octave up, and a value of 0.5 shifts pitches one octave down. </description> </method> <method name="set_stream"> <argument index="0" name="stream" type="EventStream"> </argument> <description> - Set the [EventStream] this player will play. + Set the [EventStream] this player will play. </description> </method> <method name="set_tempo_scale"> <argument index="0" name="tempo_scale" type="float"> </argument> <description> - Set the tempo multiplier. This allows to slow down or speed up the music, without affecting its pitch. + Set the tempo multiplier. This allows to slow down or speed up the music, without affecting its pitch. </description> </method> <method name="set_volume"> <argument index="0" name="volume" type="float"> </argument> <description> - Set the playback volume for this player. This is a float between 0.0 (silent) and 1.0 (full volume). Values over 1.0 may amplify sound even more, but may introduce distortion. Negative values may just invert the output waveform, which produces no audible difference. - The effect of these special values ultimately depends on the low-level implementation of the file format being played. + Set the playback volume for this player. This is a float between 0.0 (silent) and 1.0 (full volume). Values over 1.0 may amplify sound even more, but may introduce distortion. Negative values may just invert the output waveform, which produces no audible difference. + The effect of these special values ultimately depends on the low-level implementation of the file format being played. </description> </method> <method name="set_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> - Set the playback volume for this player, in decibels. This is a float between -80.0 (silent) and 0.0 (full volume). Values under -79.0 get truncated to -80, but values over 0.0 do not, so the warnings for over amplifying (see [method set_volume]) still apply. + Set the playback volume for this player, in decibels. This is a float between -80.0 (silent) and 0.0 (full volume). Values under -79.0 get truncated to -80, but values over 0.0 do not, so the warnings for over amplifying (see [method set_volume]) still apply. </description> </method> <method name="stop"> <description> - Stop playing. + Stop playing. </description> </method> </methods> @@ -12394,11 +12191,11 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EventStream" inherits="Resource" category="Core"> <brief_description> - Base class for all event-based stream drivers. + Base class for all event-based stream drivers. </brief_description> <description> - Base class for all event-based stream drivers. Event streams are music expressed as a series of events (note on, note off, instrument change...), as opposed to audio streams, which are just audio data. Examples of event-based streams are MIDI files, of MOD music. - This class exposes no methods. + Base class for all event-based stream drivers. Event streams are music expressed as a series of events (note on, note off, instrument change...), as opposed to audio streams, which are just audio data. Examples of event-based streams are MIDI files, of MOD music. + This class exposes no methods. </description> <methods> </methods> @@ -12407,15 +12204,15 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="EventStreamChibi" inherits="EventStream" category="Core"> <brief_description> - Driver for MOD playback. + Driver for MOD playback. </brief_description> <description> - This driver plays MOD music. MOD music, as all event-based streams, is a music format defined by note events occurring at defined moments, instead of a stream of audio samples. - Currently, this driver supports the MOD, S3M, IT, and XM formats. - This class exposes no methods. - This class can return its playback position in seconds, but does not allow to set it, failing with only a console warning. - This class can not return its song length, returning 1.0 when queried. - This class does not limit its volume settings, allowing for overflow/distortion and wave inversion. + This driver plays MOD music. MOD music, as all event-based streams, is a music format defined by note events occurring at defined moments, instead of a stream of audio samples. + Currently, this driver supports the MOD, S3M, IT, and XM formats. + This class exposes no methods. + This class can return its playback position in seconds, but does not allow to set it, failing with only a console warning. + This class can not return its song length, returning 1.0 when queried. + This class does not limit its volume settings, allowing for overflow/distortion and wave inversion. </description> <methods> </methods> @@ -12424,39 +12221,37 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="File" inherits="Reference" category="Core"> <brief_description> - Type to handle file reading and writing operations. - </brief_description> - <description> - File type. This is used to permanently store data into the user device's file system and to read from it. This can be used to store game save data or player configuration files, for example. - - Here's a sample on how to write and read from a file: - - [codeblock] - func save(content): - var file = File.new() - file.open("user://save_game.dat", file.WRITE) - file.store_string(content) - file.close() - - func load(): - var file = File.new() - file.open("user://save_game.dat", file.READ) - var content = file.get_as_text() - file.close() - return content - [/codeblock] + Type to handle file reading and writing operations. + </brief_description> + <description> + File type. This is used to permanently store data into the user device's file system and to read from it. This can be used to store game save data or player configuration files, for example. + Here's a sample on how to write and read from a file: + [codeblock] + func save(content): + var file = File.new() + file.open("user://save_game.dat", file.WRITE) + file.store_string(content) + file.close() + + func load(): + var file = File.new() + file.open("user://save_game.dat", file.READ) + var content = file.get_as_text() + file.close() + return content + [/codeblock] </description> <methods> <method name="close"> <description> - Close the currently opened file. + Close the currently opened file. </description> </method> <method name="eof_reached" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the file cursor reached the end of the file. + Return whether the file cursor reached the end of the file. </description> </method> <method name="file_exists" qualifiers="const"> @@ -12465,42 +12260,42 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Get whether or not the file in the specified path exists. + Get whether or not the file in the specified path exists. </description> </method> <method name="get_16" qualifiers="const"> <return type="int"> </return> <description> - Get the next 16 bits from the file as an integer. + Get the next 16 bits from the file as an integer. </description> </method> <method name="get_32" qualifiers="const"> <return type="int"> </return> <description> - Get the next 32 bits from the file as an integer. + Get the next 32 bits from the file as an integer. </description> </method> <method name="get_64" qualifiers="const"> <return type="int"> </return> <description> - Get the next 64 bits from the file as an integer. + Get the next 64 bits from the file as an integer. </description> </method> <method name="get_8" qualifiers="const"> <return type="int"> </return> <description> - Get the next 8 bits from the file as an integer. + Get the next 8 bits from the file as an integer. </description> </method> <method name="get_as_text" qualifiers="const"> <return type="String"> </return> <description> - Get the whole file as a [String]. + Get the whole file as a [String]. </description> </method> <method name="get_buffer" qualifiers="const"> @@ -12509,7 +12304,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="len" type="int"> </argument> <description> - Get next len bytes of the file as a [RawArray]. + Get next len bytes of the file as a [RawArray]. </description> </method> <method name="get_csv_line" qualifiers="const"> @@ -12518,49 +12313,49 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="delim" type="String" default="",""> </argument> <description> - Get the next value of the file in CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma). + Get the next value of the file in CSV (Comma Separated Values) format. You can pass a different delimiter to use other than the default "," (comma). </description> </method> <method name="get_double" qualifiers="const"> <return type="float"> </return> <description> - Get the next 64 bits from the file as a floating point number. + Get the next 64 bits from the file as a floating point number. </description> </method> <method name="get_endian_swap"> <return type="bool"> </return> <description> - Get whether endian swap is enabled for this file. + Get whether endian swap is enabled for this file. </description> </method> <method name="get_error" qualifiers="const"> <return type="Error"> </return> <description> - Get the last error that happened when trying to perform operations. Compare with the [code]ERR_FILE_*[/code] constants from [@Global Scope]. + Get the last error that happened when trying to perform operations. Compare with the [code]ERR_FILE_*[/code] constants from [@Global Scope]. </description> </method> <method name="get_float" qualifiers="const"> <return type="float"> </return> <description> - Get the next 32 bits from the file as a floating point number. + Get the next 32 bits from the file as a floating point number. </description> </method> <method name="get_len" qualifiers="const"> <return type="int"> </return> <description> - Return the size of the file in bytes. + Return the size of the file in bytes. </description> </method> <method name="get_line" qualifiers="const"> <return type="String"> </return> <description> - Get the next line of the file as a [String]. + Get the next line of the file as a [String]. </description> </method> <method name="get_md5" qualifiers="const"> @@ -12569,28 +12364,28 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Return a md5 String representing the file at the given path or an empty [String] on failure. + Return a md5 String representing the file at the given path or an empty [String] on failure. </description> </method> <method name="get_pascal_string"> <return type="String"> </return> <description> - Get a [String] saved in Pascal format from the file. + Get a [String] saved in Pascal format from the file. </description> </method> <method name="get_pos" qualifiers="const"> <return type="int"> </return> <description> - Return the file cursor position. + Return the file cursor position. </description> </method> <method name="get_real" qualifiers="const"> <return type="float"> </return> <description> - Get the next bits from the file as a floating point number. + Get the next bits from the file as a floating point number. </description> </method> <method name="get_sha256" qualifiers="const"> @@ -12599,19 +12394,19 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Return a sha256 String representing the file at the given path or an empty [String] on failure. + Return a sha256 String representing the file at the given path or an empty [String] on failure. </description> </method> <method name="get_var" qualifiers="const"> <description> - Get the next Variant value from the file. + Get the next Variant value from the file. </description> </method> <method name="is_open" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the file is currently opened. + Return whether the file is currently opened. </description> </method> <method name="open"> @@ -12622,7 +12417,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="flags" type="int"> </argument> <description> - Open the file for writing or reading, depending on the flags. + Open the file for writing or reading, depending on the flags. </description> </method> <method name="open_encrypted"> @@ -12635,7 +12430,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="key" type="RawArray"> </argument> <description> - Open an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it. + Open an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it. </description> </method> <method name="open_encrypted_with_pass"> @@ -12648,114 +12443,113 @@ This approximation makes straight segments between each point, then subdivides t <argument index="2" name="pass" type="String"> </argument> <description> - Open an encrypted file in write or read mode. You need to pass a password to encrypt/decrypt it. + Open an encrypted file in write or read mode. You need to pass a password to encrypt/decrypt it. </description> </method> <method name="seek"> <argument index="0" name="pos" type="int"> </argument> <description> - Change the file reading/writing cursor to the specified position (in bytes from the beginning of the file). + Change the file reading/writing cursor to the specified position (in bytes from the beginning of the file). </description> </method> <method name="seek_end"> <argument index="0" name="pos" type="int" default="0"> </argument> <description> - Change the file reading/writing cursor to the specified position (in bytes from the end of the file). Note that this is an offset, so you should use negative numbers or the cursor will be at the end of the file. + Change the file reading/writing cursor to the specified position (in bytes from the end of the file). Note that this is an offset, so you should use negative numbers or the cursor will be at the end of the file. </description> </method> <method name="set_endian_swap"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether to swap the endianess of the file. Enable this if you're dealing with files written in big endian machines. - - Note that this is about the file format, not CPU type. This is always reseted to [code]false[/code] whenever you open the file. + Set whether to swap the endianess of the file. Enable this if you're dealing with files written in big endian machines. + Note that this is about the file format, not CPU type. This is always reseted to [code]false[/code] whenever you open the file. </description> </method> <method name="store_16"> <argument index="0" name="value" type="int"> </argument> <description> - Store an integer as 16 bits in the file. + Store an integer as 16 bits in the file. </description> </method> <method name="store_32"> <argument index="0" name="value" type="int"> </argument> <description> - Store an integer as 32 bits in the file. + Store an integer as 32 bits in the file. </description> </method> <method name="store_64"> <argument index="0" name="value" type="int"> </argument> <description> - Store an integer as 64 bits in the file. + Store an integer as 64 bits in the file. </description> </method> <method name="store_8"> <argument index="0" name="value" type="int"> </argument> <description> - Store an integer as 8 bits in the file. + Store an integer as 8 bits in the file. </description> </method> <method name="store_buffer"> <argument index="0" name="buffer" type="RawArray"> </argument> <description> - Store the given array of bytes in the file. + Store the given array of bytes in the file. </description> </method> <method name="store_double"> <argument index="0" name="value" type="float"> </argument> <description> - Store a floating point number as 64 bits in the file. + Store a floating point number as 64 bits in the file. </description> </method> <method name="store_float"> <argument index="0" name="value" type="float"> </argument> <description> - Store a floating point number as 32 bits in the file. + Store a floating point number as 32 bits in the file. </description> </method> <method name="store_line"> <argument index="0" name="line" type="String"> </argument> <description> - Store the given [String] as a line in the file. + Store the given [String] as a line in the file. </description> </method> <method name="store_pascal_string"> <argument index="0" name="string" type="String"> </argument> <description> - Store the given [String] as a line in the file in Pascal format (i.e. also store the length of the string). + Store the given [String] as a line in the file in Pascal format (i.e. also store the length of the string). </description> </method> <method name="store_real"> <argument index="0" name="value" type="float"> </argument> <description> - Store a floating point number in the file. + Store a floating point number in the file. </description> </method> <method name="store_string"> <argument index="0" name="string" type="String"> </argument> <description> - Store the given [String] in the file. + Store the given [String] in the file. </description> </method> <method name="store_var"> <argument index="0" name="value" type="Variant"> </argument> <description> - Store any Variant value in the file. + Store any Variant value in the file. </description> </method> </methods> @@ -12763,12 +12557,12 @@ This approximation makes straight segments between each point, then subdivides t <constant name="READ" value="1"> Open the file for reading. </constant> - <constant name="READ_WRITE" value="3"> - Open the file for reading and writing, without truncating the file. - </constant> <constant name="WRITE" value="2"> Open the file for writing. Create it if the file not exists and truncate if it exists. </constant> + <constant name="READ_WRITE" value="3"> + Open the file for reading and writing, without truncating the file. + </constant> <constant name="WRITE_READ" value="7"> Open the file for reading and writing. Create it if the file not exists and truncate if it exists. </constant> @@ -12776,118 +12570,118 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="FileDialog" inherits="ConfirmationDialog" category="Core"> <brief_description> - Dialog for selecting files or directories in the filesystem. + Dialog for selecting files or directories in the filesystem. </brief_description> <description> - FileDialog is a preset dialog used to choose files and directories in the filesystem. It supports filter masks. + FileDialog is a preset dialog used to choose files and directories in the filesystem. It supports filter masks. </description> <methods> <method name="add_filter"> <argument index="0" name="filter" type="String"> </argument> <description> - Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images"); + Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images"); </description> </method> <method name="clear_filters"> <description> - Clear all the added filters in the dialog. + Clear all the added filters in the dialog. </description> </method> <method name="get_access" qualifiers="const"> <return type="int"> </return> <description> - Return the file access permission of the dialog. + Return the file access permission of the dialog. </description> </method> <method name="get_current_dir" qualifiers="const"> <return type="String"> </return> <description> - Get the current working directory of the file dialog. + Get the current working directory of the file dialog. </description> </method> <method name="get_current_file" qualifiers="const"> <return type="String"> </return> <description> - Get the current selected file of the file dialog (empty if none). + Get the current selected file of the file dialog (empty if none). </description> </method> <method name="get_current_path" qualifiers="const"> <return type="String"> </return> <description> - Get the current selected path (directory and file) of the file dialog (empty if none). + Get the current selected path (directory and file) of the file dialog (empty if none). </description> </method> <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> - Get the file dialog mode from the MODE_* enum. + Get the file dialog mode from the MODE_* enum. </description> </method> <method name="get_vbox"> <return type="VBoxContainer"> </return> <description> - Return the vertical box container of the dialog, custom controls can be added to it. + Return the vertical box container of the dialog, custom controls can be added to it. </description> </method> <method name="invalidate"> <description> - Invalidate and update the current dialog content list. + Invalidate and update the current dialog content list. </description> </method> <method name="is_showing_hidden_files" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the diaog allows show hidden files. + Return true if the diaog allows show hidden files. </description> </method> <method name="set_access"> <argument index="0" name="access" type="int"> </argument> <description> - Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]). + Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]). </description> </method> <method name="set_current_dir"> <argument index="0" name="dir" type="String"> </argument> <description> - Set the current working directory of the file dialog. + Set the current working directory of the file dialog. </description> </method> <method name="set_current_file"> <argument index="0" name="file" type="String"> </argument> <description> - Set the current selected file name of the file dialog. + Set the current selected file name of the file dialog. </description> </method> <method name="set_current_path"> <argument index="0" name="path" type="String"> </argument> <description> - Set the current selected file path of the file dialog. + Set the current selected file path of the file dialog. </description> </method> <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the file dialog mode from the MODE_* enum. + Set the file dialog mode from the MODE_* enum. </description> </method> <method name="set_show_hidden_files"> <argument index="0" name="show" type="bool"> </argument> <description> - Set the dialog should show hidden files. + Set the dialog should show hidden files. </description> </method> </methods> @@ -12896,34 +12690,25 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="dir" type="String"> </argument> <description> - Event emitted when the user selects a directory. + Event emitted when the user selects a directory. </description> </signal> <signal name="file_selected"> <argument index="0" name="path" type="String"> </argument> <description> - Event emitted when the user selects a file (double clicks it or presses the OK button). + Event emitted when the user selects a file (double clicks it or presses the OK button). </description> </signal> <signal name="files_selected"> <argument index="0" name="paths" type="StringArray"> </argument> <description> - Event emitted when the user selects multiple files. + Event emitted when the user selects multiple files. </description> </signal> </signals> <constants> - <constant name="ACCESS_RESOURCES" value="0"> - The dialog allows the selection of file and directory. - </constant> - <constant name="ACCESS_USERDATA" value="1"> - The dialog allows ascess files under [Resource] path(res://) . - </constant> - <constant name="ACCESS_FILESYSTEM" value="2"> - The dialog allows ascess files in whole file system. - </constant> <constant name="MODE_OPEN_FILE" value="0"> The dialog allows the selection of one, and only one file. </constant> @@ -12939,6 +12724,15 @@ This approximation makes straight segments between each point, then subdivides t <constant name="MODE_SAVE_FILE" value="4"> The dialog will warn when a file exists. </constant> + <constant name="ACCESS_RESOURCES" value="0"> + The dialog allows the selection of file and directory. + </constant> + <constant name="ACCESS_USERDATA" value="1"> + The dialog allows ascess files under [Resource] path(res://) . + </constant> + <constant name="ACCESS_FILESYSTEM" value="2"> + The dialog allows ascess files in whole file system. + </constant> </constants> <theme_items> <theme_item name="files_disabled" type="Color"> @@ -12951,10 +12745,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="FixedMaterial" inherits="Material" category="Core"> <brief_description> - Simple Material with a fixed parameter set. + Simple Material with a fixed parameter set. </brief_description> <description> - FixedMaterial is a simple type of material [Resource], which contains a fixed amount of parameters. It is the only type of material supported in fixed-pipeline devices and APIs. It is also an often a better alternative to [ShaderMaterial] for most simple use cases. + FixedMaterial is a simple type of material [Resource], which contains a fixed amount of parameters. It is the only type of material supported in fixed-pipeline devices and APIs. It is also an often a better alternative to [ShaderMaterial] for most simple use cases. </description> <methods> <method name="get_fixed_flag" qualifiers="const"> @@ -12975,7 +12769,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="param" type="int"> </argument> <description> - Return a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it's best to check the enum. + Return a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it's best to check the enum. </description> </method> <method name="get_point_size" qualifiers="const"> @@ -12990,7 +12784,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="param" type="int"> </argument> <description> - Return the texture coordinate mode. Each texture param (from the PARAM_* enum) has one. It defines how the textures are mapped to the object. + Return the texture coordinate mode. Each texture param (from the PARAM_* enum) has one. It defines how the textures are mapped to the object. </description> </method> <method name="get_texture" qualifiers="const"> @@ -12999,14 +12793,14 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="param" type="int"> </argument> <description> - Return a texture. Textures change parameters per texel and are mapped to the model depending on the texcoord mode (see [method set_texcoord_mode]). + Return a texture. Textures change parameters per texel and are mapped to the model depending on the texcoord mode (see [method set_texcoord_mode]). </description> </method> <method name="get_uv_transform" qualifiers="const"> <return type="Transform"> </return> <description> - Returns the special transform used to post-transform UV coordinates of the uv_xform texcoord mode: TEXCOORD_UV_TRANSFORM. + Returns the special transform used to post-transform UV coordinates of the uv_xform texcoord mode: TEXCOORD_UV_TRANSFORM. </description> </method> <method name="set_fixed_flag"> @@ -13029,7 +12823,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="value" type="Variant"> </argument> <description> - Set a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it's best to check the enum. + Set a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it's best to check the enum. </description> </method> <method name="set_point_size"> @@ -13044,7 +12838,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="mode" type="int"> </argument> <description> - Set the texture coordinate mode. Each texture param (from the PARAM_* enum) has one. It defines how the textures are mapped to the object. + Set the texture coordinate mode. Each texture param (from the PARAM_* enum) has one. It defines how the textures are mapped to the object. </description> </method> <method name="set_texture"> @@ -13053,34 +12847,18 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="texture" type="Texture"> </argument> <description> - Set a texture. Textures change parameters per texel and are mapped to the model depending on the texcoord mode (see [method set_texcoord_mode]). + Set a texture. Textures change parameters per texel and are mapped to the model depending on the texcoord mode (see [method set_texcoord_mode]). </description> </method> <method name="set_uv_transform"> <argument index="0" name="transform" type="Transform"> </argument> <description> - Sets a special transform used to post-transform UV coordinates of the uv_xform texcoord mode: TEXCOORD_UV_TRANSFORM. + Sets a special transform used to post-transform UV coordinates of the uv_xform texcoord mode: TEXCOORD_UV_TRANSFORM. </description> </method> </methods> <constants> - <constant name="FLAG_USE_ALPHA" value="0"> - </constant> - <constant name="FLAG_USE_COLOR_ARRAY" value="1"> - </constant> - <constant name="FLAG_USE_POINT_SIZE" value="2"> - </constant> - <constant name="FLAG_DISCARD_ALPHA" value="3"> - </constant> - <constant name="LIGHT_SHADER_LAMBERT" value="0"> - </constant> - <constant name="LIGHT_SHADER_WRAP" value="1"> - </constant> - <constant name="LIGHT_SHADER_VELVET" value="2"> - </constant> - <constant name="LIGHT_SHADER_TOON" value="3"> - </constant> <constant name="PARAM_DIFFUSE" value="0"> Diffuse Lighting (light scattered from surface). </constant> @@ -13118,14 +12896,30 @@ This approximation makes straight segments between each point, then subdivides t </constant> <constant name="TEXCOORD_SPHERE" value="3"> </constant> + <constant name="FLAG_USE_ALPHA" value="0"> + </constant> + <constant name="FLAG_USE_COLOR_ARRAY" value="1"> + </constant> + <constant name="FLAG_USE_POINT_SIZE" value="2"> + </constant> + <constant name="FLAG_DISCARD_ALPHA" value="3"> + </constant> + <constant name="LIGHT_SHADER_LAMBERT" value="0"> + </constant> + <constant name="LIGHT_SHADER_WRAP" value="1"> + </constant> + <constant name="LIGHT_SHADER_VELVET" value="2"> + </constant> + <constant name="LIGHT_SHADER_TOON" value="3"> + </constant> </constants> </class> <class name="Font" inherits="Resource" category="Core"> <brief_description> - Internationalized font and text drawing support. + Internationalized font and text drawing support. </brief_description> <description> - Font contains an unicode compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts. TODO check wikipedia for graph of ascent/baseline/descent/height/etc. + Font contains an unicode compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts. TODO check wikipedia for graph of ascent/baseline/descent/height/etc. </description> <methods> <method name="draw" qualifiers="const"> @@ -13140,7 +12934,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="4" name="clip_w" type="int" default="-1"> </argument> <description> - Draw "string" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. + Draw "string" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. </description> </method> <method name="draw_char" qualifiers="const"> @@ -13157,28 +12951,28 @@ This approximation makes straight segments between each point, then subdivides t <argument index="4" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> <description> - Draw character "char" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally kerning if "next" is passed. clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character. + Draw character "char" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally kerning if "next" is passed. clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character. </description> </method> <method name="get_ascent" qualifiers="const"> <return type="float"> </return> <description> - Return the font ascent (number of pixels above the baseline). + Return the font ascent (number of pixels above the baseline). </description> </method> <method name="get_descent" qualifiers="const"> <return type="float"> </return> <description> - Return the font descent (number of pixels below the baseline). + Return the font descent (number of pixels below the baseline). </description> </method> <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> - Return the total font height (ascent plus descent) in pixels. + Return the total font height (ascent plus descent) in pixels. </description> </method> <method name="get_string_size" qualifiers="const"> @@ -13187,7 +12981,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="string" type="String"> </argument> <description> - Return the size of a string, taking kerning and advance into account. + Return the size of a string, taking kerning and advance into account. </description> </method> <method name="is_distance_field_hint" qualifiers="const"> @@ -13256,7 +13050,7 @@ This approximation makes straight segments between each point, then subdivides t <return type="bool"> </return> <description> - Should put children to the top left corner instead of center of the container. + Should put children to the top left corner instead of center of the container. </description> </method> <method name="resume"> @@ -13409,28 +13203,10 @@ This approximation makes straight segments between each point, then subdivides t </method> </methods> <constants> - <constant name="FLAG_ENABLE_LINEAR_LIMIT" value="0"> - </constant> - <constant name="FLAG_ENABLE_ANGULAR_LIMIT" value="1"> - </constant> - <constant name="FLAG_ENABLE_MOTOR" value="2"> - </constant> - <constant name="FLAG_MAX" value="3"> - </constant> <constant name="PARAM_LINEAR_LOWER_LIMIT" value="0"> </constant> <constant name="PARAM_LINEAR_UPPER_LIMIT" value="1"> </constant> - <constant name="PARAM_ANGULAR_FORCE_LIMIT" value="10"> - </constant> - <constant name="PARAM_ANGULAR_ERP" value="11"> - </constant> - <constant name="PARAM_ANGULAR_MOTOR_TARGET_VELOCITY" value="12"> - </constant> - <constant name="PARAM_ANGULAR_MOTOR_FORCE_LIMIT" value="13"> - </constant> - <constant name="PARAM_MAX" value="14"> - </constant> <constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2"> </constant> <constant name="PARAM_LINEAR_RESTITUTION" value="3"> @@ -13447,6 +13223,24 @@ This approximation makes straight segments between each point, then subdivides t </constant> <constant name="PARAM_ANGULAR_RESTITUTION" value="9"> </constant> + <constant name="PARAM_ANGULAR_FORCE_LIMIT" value="10"> + </constant> + <constant name="PARAM_ANGULAR_ERP" value="11"> + </constant> + <constant name="PARAM_ANGULAR_MOTOR_TARGET_VELOCITY" value="12"> + </constant> + <constant name="PARAM_ANGULAR_MOTOR_FORCE_LIMIT" value="13"> + </constant> + <constant name="PARAM_MAX" value="14"> + </constant> + <constant name="FLAG_ENABLE_LINEAR_LIMIT" value="0"> + </constant> + <constant name="FLAG_ENABLE_ANGULAR_LIMIT" value="1"> + </constant> + <constant name="FLAG_ENABLE_MOTOR" value="2"> + </constant> + <constant name="FLAG_MAX" value="3"> + </constant> </constants> </class> <class name="Geometry" inherits="Object" category="Core"> @@ -13671,10 +13465,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="GeometryInstance" inherits="VisualInstance" category="Core"> <brief_description> - Base node for geometry based visual instances. + Base node for geometry based visual instances. </brief_description> <description> - Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials. + Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials. </description> <methods> <method name="get_baked_light_texture_id" qualifiers="const"> @@ -13719,7 +13513,7 @@ This approximation makes straight segments between each point, then subdivides t <return type="Object"> </return> <description> - Return the material override for the whole geometry. + Return the material override for the whole geometry. </description> </method> <method name="set_baked_light_texture_id"> @@ -13764,21 +13558,21 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="material" type="Object"> </argument> <description> - Set the material override for the whole geometry. + Set the material override for the whole geometry. </description> </method> </methods> <constants> <constant name="FLAG_VISIBLE" value="0"> </constant> - <constant name="FLAG_BILLBOARD" value="1"> - </constant> - <constant name="FLAG_BILLBOARD_FIX_Y" value="2"> - </constant> <constant name="FLAG_CAST_SHADOW" value="3"> </constant> <constant name="FLAG_RECEIVE_SHADOWS" value="4"> </constant> + <constant name="FLAG_BILLBOARD" value="1"> + </constant> + <constant name="FLAG_BILLBOARD_FIX_Y" value="2"> + </constant> <constant name="FLAG_DEPH_SCALE" value="5"> </constant> <constant name="FLAG_VISIBLE_IN_ALL_ROOMS" value="6"> @@ -13797,17 +13591,17 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="Globals" inherits="Object" category="Core"> <brief_description> - Contains global variables accessible from everywhere. + Contains global variables accessible from everywhere. </brief_description> <description> - Contains global variables accessible from everywhere. Use the normal [Object] API, such as "Globals.get(variable)", "Globals.set(variable,value)" or "Globals.has(variable)" to access them. Variables stored in engine.cfg are also loaded into globals, making this object very useful for reading custom game configuration options. + Contains global variables accessible from everywhere. Use the normal [Object] API, such as "Globals.get(variable)", "Globals.set(variable,value)" or "Globals.has(variable)" to access them. Variables stored in engine.cfg are also loaded into globals, making this object very useful for reading custom game configuration options. </description> <methods> <method name="clear"> <argument index="0" name="name" type="String"> </argument> <description> - Clear the whole configuration (not recommended, may break things). + Clear the whole configuration (not recommended, may break things). </description> </method> <method name="get_order" qualifiers="const"> @@ -13816,7 +13610,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="name" type="String"> </argument> <description> - Return the order of a configuration value (influences when saved to the config file). + Return the order of a configuration value (influences when saved to the config file). </description> </method> <method name="get_singleton" qualifiers="const"> @@ -13833,7 +13627,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Convert a localized path (res://) to a full native OS path. + Convert a localized path (res://) to a full native OS path. </description> </method> <method name="has" qualifiers="const"> @@ -13842,7 +13636,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="name" type="String"> </argument> <description> - Return true if a configuration value is present. + Return true if a configuration value is present. </description> </method> <method name="has_singleton" qualifiers="const"> @@ -13859,7 +13653,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="name" type="String"> </argument> <description> - If returns true, this value can be saved to the configuration file. This is useful for editors. + If returns true, this value can be saved to the configuration file. This is useful for editors. </description> </method> <method name="load_resource_pack"> @@ -13876,7 +13670,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="path" type="String"> </argument> <description> - Convert a path to a localized path (res:// path). + Convert a path to a localized path (res:// path). </description> </method> <method name="save"> @@ -13899,7 +13693,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="pos" type="int"> </argument> <description> - Set the order of a configuration value (influences when saved to the config file). + Set the order of a configuration value (influences when saved to the config file). </description> </method> <method name="set_persisting"> @@ -13908,7 +13702,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="enable" type="bool"> </argument> <description> - If set to true, this value can be saved to the configuration file. This is useful for editors. + If set to true, this value can be saved to the configuration file. This is useful for editors. </description> </method> </methods> @@ -13917,11 +13711,11 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="GraphEdit" inherits="Control" category="Core"> <brief_description> - GraphEdit is an area capable of showing various GraphNodes. It manages connection events between them. + GraphEdit is an area capable of showing various GraphNodes. It manages connection events between them. </brief_description> <description> - GraphEdit manages the showing of GraphNodes it contains, as well as connections an disconnections between them. Signals are sent for each of these two events. Disconnection between GraphNodes slots is disabled by default. - It is greatly advised to enable low processor usage mode (see [method OS.set_low_processor_usage_mode]) when using GraphEdits. + GraphEdit manages the showing of GraphNodes it contains, as well as connections an disconnections between them. Signals are sent for each of these two events. Disconnection between GraphNodes slots is disabled by default. + It is greatly advised to enable low processor usage mode (see [method OS.set_low_processor_usage_mode]) when using GraphEdits. </description> <methods> <method name="connect_node"> @@ -13936,7 +13730,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="to_port" type="int"> </argument> <description> - Create a connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode. If the connection already exists, no connection is created. + Create a connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode. If the connection already exists, no connection is created. </description> </method> <method name="disconnect_node"> @@ -13949,28 +13743,28 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="to_port" type="int"> </argument> <description> - Remove the connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode, if connection exists. + Remove the connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode, if connection exists. </description> </method> <method name="get_connection_list" qualifiers="const"> <return type="Array"> </return> <description> - 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" } + 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_scroll_ofs" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the scroll offset. + Return the scroll offset. </description> </method> <method name="get_zoom" qualifiers="const"> <return type="float"> </return> <description> - Return the current zoom value. + Return the current zoom value. </description> </method> <method name="is_node_connected"> @@ -13985,40 +13779,40 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="to_port" type="int"> </argument> <description> - Return true if the 'from_port' slot of 'from' GraphNode is connected to the 'to_port' slot of 'to' GraphNode. + Return true if the 'from_port' slot of 'from' GraphNode is connected to the 'to_port' slot of 'to' GraphNode. </description> </method> <method name="is_right_disconnects_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return true is the disconnection of connections is enable in the visual GraphEdit. False otherwise. + Return true is the disconnection of connections is enable in the visual GraphEdit. False otherwise. </description> </method> <method name="set_right_disconnects"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable the disconnection of existing connections in the visual GraphEdit by left-clicking a connection and releasing into the void. + Enable the disconnection of existing connections in the visual GraphEdit by left-clicking a connection and releasing into the void. </description> </method> <method name="set_zoom"> <argument index="0" name="p_zoom" type="float"> </argument> <description> - Set the zoom value of the GraphEdit. Zoom value is between [0.01; 1.728]. + Set the zoom value of the GraphEdit. Zoom value is between [0.01; 1.728]. </description> </method> </methods> <signals> <signal name="_begin_node_move"> <description> - Signal sent at the beginning of a GraphNode movement. + Signal sent at the beginning of a GraphNode movement. </description> </signal> <signal name="_end_node_move"> <description> - Signal sent at the end of a GraphNode movement. + Signal sent at the end of a GraphNode movement. </description> </signal> <signal name="connection_request"> @@ -14031,12 +13825,12 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="to_slot" type="int"> </argument> <description> - Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be created. + Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be created. </description> </signal> <signal name="delete_nodes_request"> <description> - Signal sent when a GraphNode is attempted to be removed from the GraphEdit. + Signal sent when a GraphNode is attempted to be removed from the GraphEdit. </description> </signal> <signal name="disconnection_request"> @@ -14049,19 +13843,19 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="to_slot" type="int"> </argument> <description> - Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be removed. + Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be removed. </description> </signal> <signal name="duplicate_nodes_request"> <description> - Signal sent when a GraphNode is attempted to be duplicated in the GraphEdit. + Signal sent when a GraphNode is attempted to be duplicated in the GraphEdit. </description> </signal> <signal name="popup_request"> <argument index="0" name="p_position" type="Vector2"> </argument> <description> - Signal sent when a popup is requested. Happens on right-clicking in the GraphEdit. 'p_position' is the position of the mouse pointer when the signal is sent. + Signal sent when a popup is requested. Happens on right-clicking in the GraphEdit. 'p_position' is the position of the mouse pointer when the signal is sent. </description> </signal> </signals> @@ -14080,22 +13874,22 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="GraphNode" inherits="Container" category="Core"> <brief_description> - A GraphNode is a container with several input and output slots allowing connections between GraphNodes. Slots can have different, incompatible types. + A GraphNode is a container with several input and output slots allowing connections between GraphNodes. Slots can have different, incompatible types. </brief_description> <description> - A GraphNode is a container defined by a title. It can have 1 or more input and output slots, which can be enabled (shown) or disabled (not shown) and have different (incompatible) types. Colors can also be assigned to slots. A tuple of input and output slots is defined for each GUI element included in the GraphNode. Input and output connections are left and right slots, but only enabled slots are counted as connections. + A GraphNode is a container defined by a title. It can have 1 or more input and output slots, which can be enabled (shown) or disabled (not shown) and have different (incompatible) types. Colors can also be assigned to slots. A tuple of input and output slots is defined for each GUI element included in the GraphNode. Input and output connections are left and right slots, but only enabled slots are counted as connections. </description> <methods> <method name="clear_all_slots"> <description> - Disable all input and output slots of the GraphNode. + Disable all input and output slots of the GraphNode. </description> </method> <method name="clear_slot"> <argument index="0" name="idx" type="int"> </argument> <description> - Disable input and output slot whose index is 'idx'. + Disable input and output slot whose index is 'idx'. </description> </method> <method name="get_connection_input_color"> @@ -14104,14 +13898,14 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the color of the input connection 'idx'. + Return the color of the input connection 'idx'. </description> </method> <method name="get_connection_input_count"> <return type="int"> </return> <description> - Return the number of enabled input slots (connections) to the GraphNode. + Return the number of enabled input slots (connections) to the GraphNode. </description> </method> <method name="get_connection_input_pos"> @@ -14120,7 +13914,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the position of the input connection 'idx'. + Return the position of the input connection 'idx'. </description> </method> <method name="get_connection_input_type"> @@ -14129,7 +13923,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the type of the input connection 'idx'. + Return the type of the input connection 'idx'. </description> </method> <method name="get_connection_output_color"> @@ -14138,14 +13932,14 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the color of the output connection 'idx'. + Return the color of the output connection 'idx'. </description> </method> <method name="get_connection_output_count"> <return type="int"> </return> <description> - Return the number of enabled output slots (connections) of the GraphNode. + Return the number of enabled output slots (connections) of the GraphNode. </description> </method> <method name="get_connection_output_pos"> @@ -14154,7 +13948,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the position of the output connection 'idx'. + Return the position of the output connection 'idx'. </description> </method> <method name="get_connection_output_type"> @@ -14163,14 +13957,14 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the type of the output connection 'idx'. + Return the type of the output connection 'idx'. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the offset of the GraphNode. + Return the offset of the GraphNode. </description> </method> <method name="get_slot_color_left" qualifiers="const"> @@ -14179,7 +13973,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the color set to 'idx' left (input) slot. + Return the color set to 'idx' left (input) slot. </description> </method> <method name="get_slot_color_right" qualifiers="const"> @@ -14188,7 +13982,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the color set to 'idx' right (output) slot. + Return the color set to 'idx' right (output) slot. </description> </method> <method name="get_slot_type_left" qualifiers="const"> @@ -14197,7 +13991,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the (integer) type of left (input) 'idx' slot. + Return the (integer) type of left (input) 'idx' slot. </description> </method> <method name="get_slot_type_right" qualifiers="const"> @@ -14206,21 +14000,21 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return the (integer) type of right (output) 'idx' slot. + Return the (integer) type of right (output) 'idx' slot. </description> </method> <method name="get_title" qualifiers="const"> <return type="String"> </return> <description> - Return the title of the GraphNode. + Return the title of the GraphNode. </description> </method> <method name="is_close_button_visible" qualifiers="const"> <return type="bool"> </return> <description> - Returns true if the close button is shown. False otherwise. + Returns true if the close button is shown. False otherwise. </description> </method> <method name="is_slot_enabled_left" qualifiers="const"> @@ -14229,7 +14023,7 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return true if left (input) slot 'idx' is enabled. False otherwise. + Return true if left (input) slot 'idx' is enabled. False otherwise. </description> </method> <method name="is_slot_enabled_right" qualifiers="const"> @@ -14238,21 +14032,21 @@ This approximation makes straight segments between each point, then subdivides t <argument index="0" name="idx" type="int"> </argument> <description> - Return true if right (output) slot 'idx' is enabled. False otherwise. + Return true if right (output) slot 'idx' is enabled. False otherwise. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the offset of the GraphNode. + Set the offset of the GraphNode. </description> </method> <method name="set_show_close_button"> <argument index="0" name="show" type="bool"> </argument> <description> - Show the close button on the GraphNode if 'show' is true (disabled by default). If enabled, a connection on the signal close_request is needed for the close button to work. + Show the close button on the GraphNode if 'show' is true (disabled by default). If enabled, a connection on the signal close_request is needed for the close button to work. </description> </method> <method name="set_slot"> @@ -14271,21 +14065,21 @@ This approximation makes straight segments between each point, then subdivides t <argument index="6" name="color_right" type="Color"> </argument> <description> - Set the tuple of input/output slots defined by 'idx' ID. 'left' slots are input, 'right' are output. 'type' is an integer defining the type of the slot. Refer to description for the compatibility between slot types. + Set the tuple of input/output slots defined by 'idx' ID. 'left' slots are input, 'right' are output. 'type' is an integer defining the type of the slot. Refer to description for the compatibility between slot types. </description> </method> <method name="set_title"> <argument index="0" name="title" type="String"> </argument> <description> - Set the title of the GraphNode. + Set the title of the GraphNode. </description> </method> </methods> <signals> <signal name="close_request"> <description> - Signal sent on closing the GraphNode. + Signal sent on closing the GraphNode. </description> </signal> <signal name="dragged"> @@ -14294,17 +14088,17 @@ This approximation makes straight segments between each point, then subdivides t <argument index="1" name="to" type="Vector2"> </argument> <description> - Signal sent when the GraphNode is dragged. + Signal sent when the GraphNode is dragged. </description> </signal> <signal name="offset_changed"> <description> - Signal sent when the GraphNode is moved. + Signal sent when the GraphNode is moved. </description> </signal> <signal name="raise_request"> <description> - Signal sent when the GraphNode is requested to be displayed over other ones. Happens on focusing (clicking into) the GraphNode. + Signal sent when the GraphNode is requested to be displayed over other ones. Happens on focusing (clicking into) the GraphNode. </description> </signal> </signals> @@ -14339,24 +14133,24 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="GridContainer" inherits="Container" category="Core"> <brief_description> - Grid container used to arrange elements in a grid like layout + Grid container used to arrange elements in a grid like layout </brief_description> <description> - Grid container will arrange its children in a grid like structure, the grid columns are specified using the [method set_columns] method and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container. + Grid container will arrange its children in a grid like structure, the grid columns are specified using the [method set_columns] method and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container. </description> <methods> <method name="get_columns" qualifiers="const"> <return type="int"> </return> <description> - Returns the number of columns in this container + Returns the number of columns in this container </description> </method> <method name="set_columns"> <argument index="0" name="columns" type="int"> </argument> <description> - Sets the numbers of columns in the container, then reorder its children to accommodate the new layout + Sets the numbers of columns in the container, then reorder its children to accommodate the new layout </description> </method> </methods> @@ -14637,38 +14431,38 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="GrooveJoint2D" inherits="Joint2D" category="Core"> <brief_description> - Groove constraint for 2D physics. + Groove constraint for 2D physics. </brief_description> <description> - Groove constraint for 2D physics. This is useful for making a body "slide" through a segment placed in another. + Groove constraint for 2D physics. This is useful for making a body "slide" through a segment placed in another. </description> <methods> <method name="get_initial_offset" qualifiers="const"> <return type="float"> </return> <description> - Set the final offset of the groove on body A. + Set the final offset of the groove on body A. </description> </method> <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> - Return the length of the groove. + Return the length of the groove. </description> </method> <method name="set_initial_offset"> <argument index="0" name="offset" type="float"> </argument> <description> - Set the initial offset of the groove on body A. + Set the initial offset of the groove on body A. </description> </method> <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> - Set the length of the groove. + Set the length of the groove. </description> </method> </methods> @@ -14677,10 +14471,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HBoxContainer" inherits="BoxContainer" category="Core"> <brief_description> - Horizontal box container. + Horizontal box container. </brief_description> <description> - Horizontal box container. See [BoxContainer]. + Horizontal box container. See [BoxContainer]. </description> <methods> </methods> @@ -14693,10 +14487,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HButtonArray" inherits="ButtonArray" category="Core"> <brief_description> - Horizontal button array. + Horizontal button array. </brief_description> <description> - Horizontal button array. See [ButtonArray]. + Horizontal button array. See [ButtonArray]. </description> <methods> </methods> @@ -14727,10 +14521,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HScrollBar" inherits="ScrollBar" category="Core"> <brief_description> - Horizontal scroll bar. + Horizontal scroll bar. </brief_description> <description> - Horizontal scroll bar. See [ScrollBar]. This one goes from left (min) to right (max). + Horizontal scroll bar. See [ScrollBar]. This one goes from left (min) to right (max). </description> <methods> </methods> @@ -14757,10 +14551,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HSeparator" inherits="Separator" category="Core"> <brief_description> - Horizontal separator. + Horizontal separator. </brief_description> <description> - Horizontal separator. See [Separator]. It is used to separate objects vertically, though (but it looks horizontal!). + Horizontal separator. See [Separator]. It is used to separate objects vertically, though (but it looks horizontal!). </description> <methods> </methods> @@ -14775,10 +14569,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HSlider" inherits="Slider" category="Core"> <brief_description> - Horizontal slider. + Horizontal slider. </brief_description> <description> - Horizontal slider. See [Slider]. This one goes from left (min) to right (max). + Horizontal slider. See [Slider]. This one goes from left (min) to right (max). </description> <methods> </methods> @@ -14801,10 +14595,10 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HSplitContainer" inherits="SplitContainer" category="Core"> <brief_description> - Horizontal split container. + Horizontal split container. </brief_description> <description> - Horizontal split container. See [SplitContainer]. This goes from left to right. + Horizontal split container. See [SplitContainer]. This goes from left to right. </description> <methods> </methods> @@ -14823,16 +14617,16 @@ This approximation makes straight segments between each point, then subdivides t </class> <class name="HTTPClient" inherits="Reference" category="Core"> <brief_description> - Hyper-text transfer protocol client. + Hyper-text transfer protocol client. </brief_description> <description> - Hyper-text transfer protocol client. Supports SSL and SSL server certificate verification. - Can be reused to connect to different hosts and make many requests. + Hyper-text transfer protocol client. Supports SSL and SSL server certificate verification. + Can be reused to connect to different hosts and make many requests. </description> <methods> <method name="close"> <description> - Cloces the current connection, allows for reusal of [HTTPClient]. + Cloces the current connection, allows for reusal of [HTTPClient]. </description> </method> <method name="connect"> @@ -14847,81 +14641,81 @@ This approximation makes straight segments between each point, then subdivides t <argument index="3" name="verify_host" type="bool" default="true"> </argument> <description> - Connect to a host. This needs to be done before any requests are sent. - The host should not have http:// prepended but will strip the protocol identifier if provided. - verify_host will check the SSL identity of the host if set to true. + Connect to a host. This needs to be done before any requests are sent. + The host should not have http:// prepended but will strip the protocol identifier if provided. + verify_host will check the SSL identity of the host if set to true. </description> </method> <method name="get_connection" qualifiers="const"> <return type="StreamPeer"> </return> <description> - Return current connection. + Return current connection. </description> </method> <method name="get_response_body_length" qualifiers="const"> <return type="int"> </return> <description> - Return the response's body length. + Return the response's body length. </description> </method> <method name="get_response_code" qualifiers="const"> <return type="int"> </return> <description> - Return the HTTP status code of the response. + Return the HTTP status code of the response. </description> </method> <method name="get_response_headers"> <return type="StringArray"> </return> <description> - Return the response headers. + Return the response headers. </description> </method> <method name="get_response_headers_as_dictionary"> <return type="Dictionary"> </return> <description> - Returns all response headers as dictionary where the case-sensitivity of the keys and values is kept like the server delivers it. A value is a simple String, this string can have more than one value where "; " is used as separator. -Structure: ("key":"value1; value2") -Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Returns all response headers as dictionary where the case-sensitivity of the keys and values is kept like the server delivers it. A value is a simple String, this string can have more than one value where "; " is used as separator. + Structure: ("key":"value1; value2") + Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </description> </method> <method name="get_status" qualifiers="const"> <return type="int"> </return> <description> - Returns a status string like STATUS_REQUESTING. Need to call [method poll] in order to get status updates. + Returns a status string like STATUS_REQUESTING. Need to call [method poll] in order to get status updates. </description> </method> <method name="has_response" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this [HTTPClient] has a response available. + Return whether this [HTTPClient] has a response available. </description> </method> <method name="is_blocking_mode_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether blocking mode is enabled. + Return whether blocking mode is enabled. </description> </method> <method name="is_response_chunked" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this [HTTPClient] has a response that is chunked. + Return whether this [HTTPClient] has a response that is chunked. </description> </method> <method name="poll"> <return type="Error"> </return> <description> - This needs to be called in order to have any request processed. Check results with [method get_status] + This needs to be called in order to have any request processed. Check results with [method get_status] </description> </method> <method name="query_string_from_dict"> @@ -14930,19 +14724,19 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="fields" type="Dictionary"> </argument> <description> - Generates a GET/POST application/x-www-form-urlencoded style query string from a provided dictionary, e.g.: - [codeblock] - var fields = {"username": "user", "password": "pass"} - String queryString = httpClient.query_string_from_dict(fields) - returns:= "username=user&password=pass" - [/codeblock] + Generates a GET/POST application/x-www-form-urlencoded style query string from a provided dictionary, e.g.: + [codeblock] + var fields = {"username": "user", "password": "pass"} + String queryString = httpClient.query_string_from_dict(fields) + returns:= "username=user&password=pass" + [/codeblock] </description> </method> <method name="read_response_body_chunk"> <return type="RawArray"> </return> <description> - Reads one chunk from the response. + Reads one chunk from the response. </description> </method> <method name="request"> @@ -14957,15 +14751,15 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="body" type="String" default=""""> </argument> <description> - Sends a request to the connected host. The url is what is normally behind the hostname, i.e. in [code]http://somehost.com/index.php[/code], url would be "index.php". - Headers are HTTP request headers. - To create a POST request with query strings to push to the server, do: - [codeblock] - var fields = {"username" : "user", "password" : "pass"} - var queryString = httpClient.query_string_from_dict(fields) - var headers = ["Content-Type: application/x-www-form-urlencoded", "Content-Length: " + str(queryString.length())] - var result = httpClient.request(httpClient.METHOD_POST, "index.php", headers, queryString) - [/codeblock] + Sends a request to the connected host. The url is what is normally behind the hostname, i.e. in [code]http://somehost.com/index.php[/code], url would be "index.php". + Headers are HTTP request headers. + To create a POST request with query strings to push to the server, do: + [codeblock] + var fields = {"username" : "user", "password" : "pass"} + var queryString = httpClient.query_string_from_dict(fields) + var headers = ["Content-Type: application/x-www-form-urlencoded", "Content-Length: " + str(queryString.length())] + var result = httpClient.request(httpClient.METHOD_POST, "index.php", headers, queryString) + [/codeblock] </description> </method> <method name="request_raw"> @@ -14980,9 +14774,9 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="body" type="RawArray"> </argument> <description> - Sends a raw request to the connected host. The url is what is normally behind the hostname, i.e. in [code]http://somehost.com/index.php[/code], url would be "index.php". - Headers are HTTP request headers. - Sends body raw, as a byte array, does not encode it in any way. + Sends a raw request to the connected host. The url is what is normally behind the hostname, i.e. in [code]http://somehost.com/index.php[/code], url would be "index.php". + Headers are HTTP request headers. + Sends body raw, as a byte array, does not encode it in any way. </description> </method> <method name="send_body_data"> @@ -14991,7 +14785,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="body" type="RawArray"> </argument> <description> - Stub function + Stub function </description> </method> <method name="send_body_text"> @@ -15000,28 +14794,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="body" type="String"> </argument> <description> - Stub function + Stub function </description> </method> <method name="set_blocking_mode"> <argument index="0" name="enabled" type="bool"> </argument> <description> - If set to true, execution will block until all data is read from the response. + If set to true, execution will block until all data is read from the response. </description> </method> <method name="set_connection"> <argument index="0" name="connection" type="StreamPeer"> </argument> <description> - Set connection to use, for this client. + Set connection to use, for this client. </description> </method> <method name="set_read_chunk_size"> <argument index="0" name="bytes" type="int"> </argument> <description> - Sets the size of the buffer used and maximum bytes to read per iteration. see [method read_response_body_chunk] + Sets the size of the buffer used and maximum bytes to read per iteration. see [method read_response_body_chunk] </description> </method> </methods> @@ -15044,6 +14838,26 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="METHOD_MAX" value="8"> </constant> + <constant name="STATUS_DISCONNECTED" value="0"> + </constant> + <constant name="STATUS_RESOLVING" value="1"> + </constant> + <constant name="STATUS_CANT_RESOLVE" value="2"> + </constant> + <constant name="STATUS_CONNECTING" value="3"> + </constant> + <constant name="STATUS_CANT_CONNECT" value="4"> + </constant> + <constant name="STATUS_CONNECTED" value="5"> + </constant> + <constant name="STATUS_REQUESTING" value="6"> + </constant> + <constant name="STATUS_BODY" value="7"> + </constant> + <constant name="STATUS_CONNECTION_ERROR" value="8"> + </constant> + <constant name="STATUS_SSL_HANDSHAKE_ERROR" value="9"> + </constant> <constant name="RESPONSE_CONTINUE" value="100"> </constant> <constant name="RESPONSE_SWITCHING_PROTOCOLS" value="101"> @@ -15142,89 +14956,69 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="RESPONSE_NOT_EXTENDED" value="510"> </constant> - <constant name="STATUS_DISCONNECTED" value="0"> - </constant> - <constant name="STATUS_RESOLVING" value="1"> - </constant> - <constant name="STATUS_CANT_RESOLVE" value="2"> - </constant> - <constant name="STATUS_CONNECTING" value="3"> - </constant> - <constant name="STATUS_CANT_CONNECT" value="4"> - </constant> - <constant name="STATUS_CONNECTED" value="5"> - </constant> - <constant name="STATUS_REQUESTING" value="6"> - </constant> - <constant name="STATUS_BODY" value="7"> - </constant> - <constant name="STATUS_CONNECTION_ERROR" value="8"> - </constant> - <constant name="STATUS_SSL_HANDSHAKE_ERROR" value="9"> - </constant> </constants> </class> <class name="HTTPRequest" inherits="Node" category="Core"> <brief_description> - A Node with the ability to send HTTP requests. + A Node with the ability to send HTTP requests. </brief_description> <description> - A Node with the ability to send HTTP requests. Uses a [HTTPClient] internally, supports HTTPS. - Can be used to make HTTP requests or download files via HTTP. + A Node with the ability to send HTTP requests. Uses a [HTTPClient] internally, supports HTTPS. + Can be used to make HTTP requests or download files via HTTP. </description> <methods> <method name="cancel_request"> <description> - Cancel the current request. + Cancel the current request. </description> </method> <method name="get_body_size" qualifiers="const"> <return type="int"> </return> <description> - Return the response body length. + Return the response body length. </description> </method> <method name="get_body_size_limit" qualifiers="const"> <return type="int"> </return> <description> - Return current body size limit. + Return current body size limit. </description> </method> <method name="get_download_file" qualifiers="const"> <return type="String"> </return> <description> - Return the file this request will download into. + Return the file this request will download into. </description> </method> <method name="get_downloaded_bytes" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of bytes this HTTPRequest downloaded. + Return the amount of bytes this HTTPRequest downloaded. </description> </method> <method name="get_http_client_status" qualifiers="const"> <return type="int"> </return> <description> - Return the current status of the underlying [HTTPClient]. + Return the current status of the underlying [HTTPClient]. </description> </method> <method name="get_max_redirects" qualifiers="const"> <return type="int"> </return> <description> - Return the maximum amount of redirects that will be followed. + Return the maximum amount of redirects that will be followed. </description> </method> <method name="is_using_threads" qualifiers="const"> <return type="bool"> </return> <description> - Whether this request is using threads. + Whether this request is using threads. </description> </method> <method name="request"> @@ -15232,42 +15026,42 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </return> <argument index="0" name="url" type="String"> </argument> - <argument index="1" name="custom_headers" type="StringArray" default="StringArray()"> + <argument index="1" name="custom_headers" type="StringArray" default="StringArray([])"> </argument> <argument index="2" name="ssl_validate_domain" type="bool" default="true"> </argument> <description> - Make a HTTP GET request. The url is the complete url including "http://" or "https://" which will be parsed for a host and a port. - The custom_headers are HTTP request headers which will be used. If User-Agent is not specified a Godot specific will be used. - The ssl_validate_domain specifies if in case of HTTPS the server certificate should be verified. + Make a HTTP GET request. The url is the complete url including "http://" or "https://" which will be parsed for a host and a port. + The custom_headers are HTTP request headers which will be used. If User-Agent is not specified a Godot specific will be used. + The ssl_validate_domain specifies if in case of HTTPS the server certificate should be verified. </description> </method> <method name="set_body_size_limit"> <argument index="0" name="bytes" type="int"> </argument> <description> - Set the response body size limit. + Set the response body size limit. </description> </method> <method name="set_download_file"> <argument index="0" name="path" type="String"> </argument> <description> - Set the file to download into. Outputs the response body into the file. + Set the file to download into. Outputs the response body into the file. </description> </method> <method name="set_max_redirects"> <argument index="0" name="amount" type="int"> </argument> <description> - Set the maximum amount of redirects the request will follow. + Set the maximum amount of redirects the request will follow. </description> </method> <method name="set_use_threads"> <argument index="0" name="enable" type="bool"> </argument> <description> - Make this HTTPRequest use threads. + Make this HTTPRequest use threads. </description> </method> </methods> @@ -15282,7 +15076,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="body" type="RawArray"> </argument> <description> - This signal is emitted upon request completion. + This signal is emitted upon request completion. </description> </signal> </signals> @@ -15292,12 +15086,6 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="RESULT_CHUNKED_BODY_SIZE_MISMATCH" value="1"> </constant> - <constant name="RESULT_DOWNLOAD_FILE_WRITE_ERROR" value="10"> - HTTPRequest couldn't write to the download file. - </constant> - <constant name="RESULT_REDIRECT_LIMIT_REACHED" value="11"> - Request reached it's maximum redirect limit, see [method set_max_redirects]. - </constant> <constant name="RESULT_CANT_CONNECT" value="2"> Request failed while connecting. </constant> @@ -15322,6 +15110,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <constant name="RESULT_DOWNLOAD_FILE_CANT_OPEN" value="9"> HTTPRequest couldn't open the download file. </constant> + <constant name="RESULT_DOWNLOAD_FILE_WRITE_ERROR" value="10"> + HTTPRequest couldn't write to the download file. + </constant> + <constant name="RESULT_REDIRECT_LIMIT_REACHED" value="11"> + Request reached it's maximum redirect limit, see [method set_max_redirects]. + </constant> </constants> </class> <class name="HingeJoint" inherits="Joint" category="Core"> @@ -15364,12 +15158,6 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> </methods> <constants> - <constant name="FLAG_USE_LIMIT" value="0"> - </constant> - <constant name="FLAG_ENABLE_MOTOR" value="1"> - </constant> - <constant name="FLAG_MAX" value="2"> - </constant> <constant name="PARAM_BIAS" value="0"> </constant> <constant name="PARAM_LIMIT_UPPER" value="1"> @@ -15388,21 +15176,27 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="PARAM_MAX" value="8"> </constant> + <constant name="FLAG_USE_LIMIT" value="0"> + </constant> + <constant name="FLAG_ENABLE_MOTOR" value="1"> + </constant> + <constant name="FLAG_MAX" value="2"> + </constant> </constants> </class> <class name="IP" inherits="Object" category="Core"> <brief_description> - IP Protocol support functions. + IP Protocol support functions. </brief_description> <description> - IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded. + IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded. </description> <methods> <method name="erase_resolve_item"> <argument index="0" name="id" type="int"> </argument> <description> - Erase a queue ID, removing it from the queue if needed. This should be used after a queue is completed to free it and enable more queries to happen. + Erase a queue ID, removing it from the queue if needed. This should be used after a queue is completed to free it and enable more queries to happen. </description> </method> <method name="get_local_addresses" qualifiers="const"> @@ -15417,7 +15211,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="id" type="int"> </argument> <description> - Return a resolved item address, or an empty string if an error happened or resolution didn't happen yet (see [method get_resolve_item_status]). + Return a resolved item address, or an empty string if an error happened or resolution didn't happen yet (see [method get_resolve_item_status]). </description> </method> <method name="get_resolve_item_status" qualifiers="const"> @@ -15426,7 +15220,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="id" type="int"> </argument> <description> - Return the status of hostname queued for resolving, given it's queue ID. Returned status can be any of the RESOLVER_STATUS_* enumeration. + Return the status of hostname queued for resolving, given it's queue ID. Returned status can be any of the RESOLVER_STATUS_* enumeration. </description> </method> <method name="resolve_hostname"> @@ -15435,7 +15229,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="host" type="String"> </argument> <description> - Resolve a given hostname, blocking. Resolved hostname is returned as an IP. + Resolve a given hostname, blocking. Resolved hostname is returned as an IP. </description> </method> <method name="resolve_hostname_queue_item"> @@ -15444,13 +15238,11 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="host" type="String"> </argument> <description> - Create a queue item for resolving a given hostname. The queue ID is returned, or RESOLVER_INVALID_ID on error. + Create a queue item for resolving a given hostname. The queue ID is returned, or RESOLVER_INVALID_ID on error. </description> </method> </methods> <constants> - <constant name="RESOLVER_INVALID_ID" value="-1"> - </constant> <constant name="RESOLVER_STATUS_NONE" value="0"> </constant> <constant name="RESOLVER_STATUS_WAITING" value="1"> @@ -15461,6 +15253,8 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="RESOLVER_MAX_QUERIES" value="32"> </constant> + <constant name="RESOLVER_INVALID_ID" value="-1"> + </constant> </constants> </class> <class name="IP_Unix" inherits="IP" category="Core"> @@ -15475,10 +15269,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Image" category="Built-In Types"> <brief_description> - Image datatype. + Image datatype. </brief_description> <description> - Built in native image datatype. Contains image data, which can be converted to a texture, and several functions to interact with it. + Built in native image datatype. Contains image data, which can be converted to a texture, and several functions to interact with it. </description> <methods> <method name="Image"> @@ -15493,7 +15287,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="format" type="int"> </argument> <description> - Create an empty image of a specific size and format. + Create an empty image of a specific size and format. </description> </method> <method name="blit_rect"> @@ -15504,7 +15298,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="dest" type="Vector2" default="0"> </argument> <description> - Copy a "src_rect" [Rect2] from "src" [Image] to this [Image] on coordinates "dest". + Copy a "src_rect" [Rect2] from "src" [Image] to this [Image] on coordinates "dest". </description> </method> <method name="brush_transfer"> @@ -15515,7 +15309,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="pos" type="Vector2" default="0"> </argument> <description> - Transfer data from "src" to this [Image] using a "brush" as a mask/brush on coordinates "pos". + Transfer data from "src" to this [Image] using a "brush" as a mask/brush on coordinates "pos". </description> </method> <method name="brushed"> @@ -15528,7 +15322,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="pos" type="Vector2" default="0"> </argument> <description> - Return a new [Image] from this [Image] that is created by brushhing see [method brush_transfer]. + Return a new [Image] from this [Image] that is created by brushhing see [method brush_transfer]. </description> </method> <method name="compressed"> @@ -15537,7 +15331,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="format" type="int" default="0"> </argument> <description> - Return a new compressed [Image] from this [Image] using one of [Image].COMPRESS_*. + Return a new compressed [Image] from this [Image] using one of [Image].COMPRESS_*. </description> </method> <method name="converted"> @@ -15546,21 +15340,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="format" type="int" default="0"> </argument> <description> - Return a new [Image] from this [Image] with a different format. + Return a new [Image] from this [Image] with a different format. </description> </method> <method name="decompressed"> <return type="Image"> </return> <description> - Return a new decompressed [Image]. + Return a new decompressed [Image]. </description> </method> <method name="empty"> <return type="bool"> </return> <description> - Return whether this [Image] is empty(no data). + Return whether this [Image] is empty(no data). </description> </method> <method name="fix_alpha_edges"> @@ -15571,21 +15365,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="RawArray"> </return> <description> - Return the raw data of the [Image]. + Return the raw data of the [Image]. </description> </method> <method name="get_format"> <return type="int"> </return> <description> - Return the format of the [Image], one of [Image].FORMAT_*. + Return the format of the [Image], one of [Image].FORMAT_*. </description> </method> <method name="get_height"> <return type="int"> </return> <description> - Return the height of the [Image]. + Return the height of the [Image]. </description> </method> <method name="get_pixel"> @@ -15598,7 +15392,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="mipmap_level" type="int" default="0"> </argument> <description> - Return the color of the pixel in the [Image] on coordinates "x,y" on mipmap level "mipmap_level". + Return the color of the pixel in the [Image] on coordinates "x,y" on mipmap level "mipmap_level". </description> </method> <method name="get_rect"> @@ -15607,21 +15401,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="area" type="Rect2" default="0"> </argument> <description> - Return a new [Image] that is a copy of "area" in this [Image]. + Return a new [Image] that is a copy of "area" in this [Image]. </description> </method> <method name="get_used_rect"> <return type="Rect2"> </return> <description> - Return the area of this [Image] that is used/visibly colored/opaque. + Return the area of this [Image] that is used/visibly colored/opaque. </description> </method> <method name="get_width"> <return type="int"> </return> <description> - Return the width of the [Image]. + Return the width of the [Image]. </description> </method> <method name="load"> @@ -15630,7 +15424,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="path" type="String" default="0"> </argument> <description> - Load an [Image]. + Load an [Image]. </description> </method> <method name="put_pixel"> @@ -15643,7 +15437,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="mipmap_level" type="int" default="0"> </argument> <description> - Put a pixel of "color" on coordinates "x,y" on mipmap level "mipmap_level". + Put a pixel of "color" on coordinates "x,y" on mipmap level "mipmap_level". </description> </method> <method name="resized"> @@ -15656,7 +15450,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="interpolation" type="int" default="1"> </argument> <description> - Return a new [Image] from this [Image] that is resized to size "x,y" using [Image].INTERPOLATE_*. + Return a new [Image] from this [Image] that is resized to size "x,y" using [Image].INTERPOLATE_*. </description> </method> <method name="save_png"> @@ -15665,7 +15459,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="path" type="String" default="0"> </argument> <description> - Save this [Image] as a png. + Save this [Image] as a png. </description> </method> </methods> @@ -15682,6 +15476,22 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="FORMAT_INTENSITY" value="1"> </constant> + <constant name="FORMAT_GRAYSCALE_ALPHA" value="2"> + </constant> + <constant name="FORMAT_RGB" value="3"> + </constant> + <constant name="FORMAT_RGBA" value="4"> + </constant> + <constant name="FORMAT_INDEXED" value="5"> + </constant> + <constant name="FORMAT_INDEXED_ALPHA" value="6"> + </constant> + <constant name="FORMAT_YUV_422" value="7"> + </constant> + <constant name="FORMAT_YUV_444" value="8"> + </constant> + <constant name="FORMAT_BC1" value="9"> + </constant> <constant name="FORMAT_BC2" value="10"> </constant> <constant name="FORMAT_BC3" value="11"> @@ -15702,28 +15512,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="FORMAT_ATC" value="19"> </constant> - <constant name="FORMAT_GRAYSCALE_ALPHA" value="2"> - </constant> <constant name="FORMAT_ATC_ALPHA_EXPLICIT" value="20"> </constant> <constant name="FORMAT_ATC_ALPHA_INTERPOLATED" value="21"> </constant> <constant name="FORMAT_CUSTOM" value="22"> </constant> - <constant name="FORMAT_RGB" value="3"> - </constant> - <constant name="FORMAT_RGBA" value="4"> - </constant> - <constant name="FORMAT_INDEXED" value="5"> - </constant> - <constant name="FORMAT_INDEXED_ALPHA" value="6"> - </constant> - <constant name="FORMAT_YUV_422" value="7"> - </constant> - <constant name="FORMAT_YUV_444" value="8"> - </constant> - <constant name="FORMAT_BC1" value="9"> - </constant> <constant name="INTERPOLATE_NEAREST" value="0"> </constant> <constant name="INTERPOLATE_BILINEAR" value="1"> @@ -15734,10 +15528,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="ImageTexture" inherits="Texture" category="Core"> <brief_description> - A [Texture] based on an [Image]. + A [Texture] based on an [Image]. </brief_description> <description> - A [Texture] based on an [Image]. Can be created from an [Image]. + A [Texture] based on an [Image]. Can be created from an [Image]. </description> <methods> <method name="create"> @@ -15750,9 +15544,9 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="flags" type="int" default="7"> </argument> <description> - Create a new [ImageTexture] with "width" and "height". - "format" one of [Image].FORMAT_*. - "flags" one or more of [Texture].FLAG_*. + Create a new [ImageTexture] with "width" and "height". + "format" one of [Image].FORMAT_*. + "flags" one or more of [Texture].FLAG_*. </description> </method> <method name="create_from_image"> @@ -15761,7 +15555,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="flags" type="int" default="7"> </argument> <description> - Create a new [ImageTexture] from an [Image] with "flags" from [Texture].FLAG_*. + Create a new [ImageTexture] from an [Image] with "flags" from [Texture].FLAG_*. </description> </method> <method name="fix_alpha_edges"> @@ -15772,35 +15566,35 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Image"> </return> <description> - Return the [Image] of this [ImageTexture]. + Return the [Image] of this [ImageTexture]. </description> </method> <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> - Return the format of the [ImageTexture], one of [Image].FORMAT_*. + Return the format of the [ImageTexture], one of [Image].FORMAT_*. </description> </method> <method name="get_lossy_storage_quality" qualifiers="const"> <return type="float"> </return> <description> - Return the storage quality for [ImageTexture].STORAGE_COMPRESS_LOSSY. + Return the storage quality for [ImageTexture].STORAGE_COMPRESS_LOSSY. </description> </method> <method name="get_storage" qualifiers="const"> <return type="int"> </return> <description> - Return the storage type. One of [ImageTexture].STORAGE_*. + Return the storage type. One of [ImageTexture].STORAGE_*. </description> </method> <method name="load"> <argument index="0" name="path" type="String"> </argument> <description> - Load an [ImageTexure]. + Load an [ImageTexure]. </description> </method> <method name="normal_to_xy"> @@ -15815,14 +15609,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="image" type="Image"> </argument> <description> - Set the [Image] of this [ImageTexture]. + Set the [Image] of this [ImageTexture]. </description> </method> <method name="set_lossy_storage_quality"> <argument index="0" name="quality" type="float"> </argument> <description> - Set the storage quality in case of [ImageTexture].STORAGE_COMPRESS_LOSSY. + Set the storage quality in case of [ImageTexture].STORAGE_COMPRESS_LOSSY. </description> </method> <method name="set_size_override"> @@ -15835,7 +15629,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="mode" type="int"> </argument> <description> - Set the storage type. One of [ImageTexture].STORAGE_*. + Set the storage type. One of [ImageTexture].STORAGE_*. </description> </method> <method name="shrink_x2_and_keep_size"> @@ -15929,24 +15723,24 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Input" inherits="Object" category="Core"> <brief_description> - A Singleton that deals with inputs. + A Singleton that deals with inputs. </brief_description> <description> - A Singleton that deals with inputs. This includes key presses, mouse buttons and movement, joysticks, and input actions. + A Singleton that deals with inputs. This includes key presses, mouse buttons and movement, joysticks, and input actions. </description> <methods> <method name="action_press"> <argument index="0" name="action" type="String"> </argument> <description> - This will simulate pressing the specificed action. + This will simulate pressing the specificed action. </description> </method> <method name="action_release"> <argument index="0" name="action" type="String"> </argument> <description> - If the specified action is already pressed, this will release it. + If the specified action is already pressed, this will release it. </description> </method> <method name="add_joy_mapping"> @@ -15955,14 +15749,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="update_existing" type="bool" default="false"> </argument> <description> - Add a new mapping entry (in SDL2 format) to the mapping database. Optionally update already connected devices. + Add a new mapping entry (in SDL2 format) to the mapping database. Optionally update already connected devices. </description> </method> <method name="get_accelerometer"> <return type="Vector3"> </return> <description> - If the device has an accelerometer, this will return the movement. + If the device has an accelerometer, this will return the movement. </description> </method> <method name="get_joy_axis"> @@ -15973,7 +15767,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="axis" type="int"> </argument> <description> - Returns the current value of the joystick axis at given index (see JOY_* constants in [@Global Scope]) + Returns the current value of the joystick axis at given index (see JOY_* constants in [@Global Scope]) </description> </method> <method name="get_joy_guid" qualifiers="const"> @@ -15982,7 +15776,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="device" type="int"> </argument> <description> - Returns a SDL2 compatible device guid on platforms that use gamepad remapping. Returns "Default Gamepad" otherwise. + Returns a SDL2 compatible device guid on platforms that use gamepad remapping. Returns "Default Gamepad" otherwise. </description> </method> <method name="get_joy_name"> @@ -15991,7 +15785,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="device" type="int"> </argument> <description> - Returns the name of the joystick at the specified device index + Returns the name of the joystick at the specified device index </description> </method> <method name="get_joy_vibration_duration"> @@ -16000,7 +15794,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="device" type="int"> </argument> <description> - Returns the duration of the current vibration effect in seconds. + Returns the duration of the current vibration effect in seconds. </description> </method> <method name="get_joy_vibration_strength"> @@ -16009,35 +15803,35 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="device" type="int"> </argument> <description> - Returns the strength of the joystick vibration: x is the strength of the weak motor, and y is the strength of the strong motor. + Returns the strength of the joystick vibration: x is the strength of the weak motor, and y is the strength of the strong motor. </description> </method> <method name="get_magnetometer"> <return type="Vector3"> </return> <description> - If the device has a magnetometer, this will return the magnetic field strength in micro-Tesla for all axes. + If the device has a magnetometer, this will return the magnetic field strength in micro-Tesla for all axes. </description> </method> <method name="get_mouse_button_mask" qualifiers="const"> <return type="int"> </return> <description> - Returns mouse buttons as a bitmask. If multiple mouse buttons are pressed at the same time the bits are added together. + Returns mouse buttons as a bitmask. If multiple mouse buttons are pressed at the same time the bits are added together. </description> </method> <method name="get_mouse_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the mouse mode. See the constants for more information. + Return the mouse mode. See the constants for more information. </description> </method> <method name="get_mouse_speed" qualifiers="const"> <return type="Vector2"> </return> <description> - Returns the mouse speed. + Returns the mouse speed. </description> </method> <method name="is_action_pressed"> @@ -16046,7 +15840,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> - Returns true or false depending on whether the action event is pressed. Actions and their events can be set in the Project Settings / Input Map tab. Or be set with [InputMap]. + Returns true or false depending on whether the action event is pressed. Actions and their events can be set in the Project Settings / Input Map tab. Or be set with [InputMap]. </description> </method> <method name="is_joy_button_pressed"> @@ -16057,7 +15851,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="button" type="int"> </argument> <description> - Returns if the joystick button at the given index is currently pressed. (see JOY_* constants in [@Global Scope]) + Returns if the joystick button at the given index is currently pressed. (see JOY_* constants in [@Global Scope]) </description> </method> <method name="is_joy_known"> @@ -16066,7 +15860,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="device" type="int"> </argument> <description> - Returns if the specified device is known by the system. This means that it sets all button and axis indices exactly as defined in the JOY_* constants (see [@Global Scope]). Unknown joysticks are not expected to match these constants, but you can still retrieve events from them. + Returns if the specified device is known by the system. This means that it sets all button and axis indices exactly as defined in the JOY_* constants (see [@Global Scope]). Unknown joysticks are not expected to match these constants, but you can still retrieve events from them. </description> </method> <method name="is_key_pressed"> @@ -16075,7 +15869,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="scancode" type="int"> </argument> <description> - Returns true or false depending on whether the key is pressed or not. You can pass KEY_*, which are pre-defined constants listed in [@Global Scope]. + Returns true or false depending on whether the key is pressed or not. You can pass KEY_*, which are pre-defined constants listed in [@Global Scope]. </description> </method> <method name="is_mouse_button_pressed"> @@ -16084,14 +15878,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="button" type="int"> </argument> <description> - Returns true or false depending on whether mouse button is pressed or not. You can pass BUTTON_*, which are pre-defined constants listed in [@Global Scope]. + Returns true or false depending on whether mouse button is pressed or not. You can pass BUTTON_*, which are pre-defined constants listed in [@Global Scope]. </description> </method> <method name="remove_joy_mapping"> <argument index="0" name="guid" type="String"> </argument> <description> - Removes all mappings from the internal db that match the given uid. + Removes all mappings from the internal db that match the given uid. </description> </method> <method name="set_custom_mouse_cursor"> @@ -16100,14 +15894,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="hotspot" type="Vector2" default="Vector2(0,0)"> </argument> <description> - Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. + Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. </description> </method> <method name="set_mouse_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the mouse mode. See the constants for more information. + Set the mouse mode. See the constants for more information. </description> </method> <method name="start_joy_vibration"> @@ -16120,21 +15914,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="duration" type="float" default="0"> </argument> <description> - Starts to vibrate the joystick. Joysticks usually come with two rumble motors, a strong and a weak one. weak_magnitude is the strength of the weak motor (between 0 and 1) and strong_magnitude is the strength of the strong motor (between 0 and 1). duration is the duration of the effect in seconds (a duration of 0 will play the vibration indefinitely). + Starts to vibrate the joystick. Joysticks usually come with two rumble motors, a strong and a weak one. weak_magnitude is the strength of the weak motor (between 0 and 1) and strong_magnitude is the strength of the strong motor (between 0 and 1). duration is the duration of the effect in seconds (a duration of 0 will play the vibration indefinitely). </description> </method> <method name="stop_joy_vibration"> <argument index="0" name="device" type="int"> </argument> <description> - Stops the vibration of the joystick. + Stops the vibration of the joystick. </description> </method> <method name="warp_mouse_pos"> <argument index="0" name="to" type="Vector2"> </argument> <description> - Sets the mouse position to the specified vector. + Sets the mouse position to the specified vector. </description> </method> </methods> @@ -16145,7 +15939,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="connected" type="bool"> </argument> <description> - Emitted when a joystick device has been connected or disconnected + Emitted when a joystick device has been connected or disconnected </description> </signal> </signals> @@ -16163,8 +15957,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="InputDefault" inherits="Input" category="Core"> <brief_description> + Default implementation of the [Input] class. </brief_description> <description> + Default implementation of the [Input] class, used internally by the editor and games for default input management. </description> <methods> </methods> @@ -16173,10 +15969,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="InputEvent" category="Built-In Types"> <brief_description> - Built-in input event data. + Built-in input event data. </brief_description> <description> - Built-in input event data. InputEvent is a built-in engine datatype, given that it's passed around and used so much. Depending on it's type, the members contained can be different, so read the documentation well!. Input events can also represent actions (editable from the project settings). + Built-in input event data. InputEvent is a built-in engine datatype, given that it's passed around and used so much. Depending on its type, the members contained can be different, so read the documentation well! Input events can also represent actions (editable from the project settings). </description> <methods> <method name="is_action"> @@ -16185,37 +15981,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> - Return if this input event matches a pre-defined action, no matter the type. + Return if this input event matches a pre-defined action, no matter the type. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed (and is not an echo event for KEY events). Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG and NONE. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG and NONE. </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> - Return if this input event is an echo event (usually for key events). + Return if this input event is an echo event (only for events of type KEY, it will return false for other types). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> - Return if this input event is pressed (for key, mouse, joy button or screen press events). + Return if this input event is pressed. Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG and NONE. </description> </method> <method name="set_as_action"> @@ -16224,25 +16022,24 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name, regardless of its initial type, with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="device" type="int"> + Device identifier. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - Joystick motion event. - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> - Joystick button event. + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> Key event. @@ -16253,19 +16050,29 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <constant name="MOUSE_BUTTON" value="3"> Mouse button event. </constant> - <constant name="NONE" value="0"> - Empty input event. + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventAction" category="Built-In Types"> <brief_description> + Built-in input event type for actions. </brief_description> <description> + Input event type for actions that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16274,34 +16081,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action, i.e. always true for InputEventAction. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. </description> </method> <method name="set_as_action"> @@ -16310,42 +16122,57 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="device" type="int"> + Device identifier. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventJoystickButton" category="Built-In Types"> <brief_description> + Built-in input event type for joystick button events. </brief_description> <description> + Input event type for joystick button events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16354,34 +16181,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. </description> </method> <method name="set_as_action"> @@ -16390,48 +16222,66 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="button_index" type="int"> + Joystick button identifier, one of the JOY_BUTTON_* constants in [@Global Scope]. </member> <member name="device" type="int"> + Device identifier. </member> <member name="pressed" type="bool"> + Pressed state of the joystick button. </member> <member name="pressure" type="float"> + Intensity of the button pressure, ranges from 0 to 1.0. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventJoystickMotion" category="Built-In Types"> <brief_description> + Built-in input event type for joystick motion/axis events. </brief_description> <description> + Input event type for joystick motion/axis events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16445,29 +16295,33 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. </description> </method> <method name="set_as_action"> @@ -16476,46 +16330,63 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="axis" type="int"> + Joystick axis identifier, one of the JOY_AXIS_* constants in [@Global Scope]. </member> <member name="device" type="int"> + Device identifier. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> <member name="value" type="float"> + Position of the axis, ranging from -1.0 to 1.0. A value of 0 means that the axis is in its neutral position. </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventKey" category="Built-In Types"> <brief_description> + Built-in input event type for keyboard events. </brief_description> <description> + Input event type for keyboard events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16524,34 +16395,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event. </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. </description> </method> <method name="set_as_action"> @@ -16560,58 +16436,81 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="alt" type="bool"> + State of the Alt modifier. </member> <member name="control" type="bool"> + State of the Ctrl modifier. </member> <member name="device" type="int"> + Device identifier. </member> <member name="echo" type="bool"> + Echo state of the key, i.e. whether it's a repeat event or not. </member> <member name="meta" type="bool"> + State of the Meta modifier. </member> <member name="pressed" type="bool"> + Pressed state of the key. </member> <member name="scancode" type="int"> + Scancode of the key, one of the KEY_* constants in [@Global Scope]. </member> <member name="shift" type="bool"> + State of the Shift modifier. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> <member name="unicode" type="int"> + Unicode identifier of the key (when relevant). </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventMouseButton" category="Built-In Types"> <brief_description> + Built-in input event type for mouse button events. </brief_description> <description> + Input event type for mouse button events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16620,34 +16519,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. </description> </method> <method name="set_as_action"> @@ -16656,70 +16560,99 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="alt" type="bool"> + State of the Alt modifier. </member> <member name="button_index" type="int"> + Mouse button identifier, one of the BUTTON_* or BUTTON_WHEEL_* constants in [@Global Scope]. </member> <member name="button_mask" type="int"> + Mouse button mask identifier, one of or a bitwise combination of the BUTTON_MASK_* constants in [@Global Scope]. </member> <member name="control" type="bool"> + State of the Control modifier. </member> <member name="device" type="int"> + Device identifier. </member> <member name="doubleclick" type="bool"> + Whether the event is a double-click. </member> <member name="global_pos" type="Vector2"> + Global position of the mouse click. </member> <member name="global_x" type="int"> + Global X coordinate of the mouse click. </member> <member name="global_y" type="int"> + Global Y coordinate of the mouse click. </member> <member name="meta" type="bool"> + State of the Meta modifier. </member> <member name="pos" type="Vector2"> + Local position of the mouse click. </member> <member name="pressed" type="bool"> + Pressed state of the mouse button. </member> <member name="shift" type="bool"> + State of the Shift modifier. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> <member name="x" type="int"> + Local X coordinate of the mouse click. </member> <member name="y" type="int"> + Local Y coordinate of the mouse click. </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventMouseMotion" category="Built-In Types"> <brief_description> + Built-in input event type for mouse motion events. </brief_description> <description> + Input event type for mouse motion events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16728,34 +16661,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. Not relevant for MOUSE_MOTION events, always false. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). Not relevant for MOUSE_MOTION events, can be true or false depending on whether [method is_action] is true. </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. Not relevant for MOUSE_MOTION events, always false. </description> </method> <method name="set_as_action"> @@ -16764,76 +16702,108 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the (irrelevant for this type) pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="alt" type="bool"> + State of the Alt modifier. </member> <member name="button_mask" type="int"> + Mouse button mask identifier, one of or a bitwise combination of the BUTTON_MASK_* constants in [@Global Scope]. </member> <member name="control" type="bool"> + State of the Ctrl modifier. </member> <member name="device" type="int"> + Device identifier. </member> <member name="global_pos" type="Vector2"> + Global position of the mouse pointer. </member> <member name="global_x" type="int"> + Global X coordinate of the mouse pointer. </member> <member name="global_y" type="int"> + Global Y coordinate of the mouse pointer. </member> <member name="meta" type="bool"> + State of the Meta modifier. </member> <member name="pos" type="Vector2"> + Local position of the mouse pointer. </member> <member name="relative_pos" type="Vector2"> + Position of the mouse pointer relative to the previous mouse position. </member> <member name="relative_x" type="int"> + X coordinate of the mouse pointer relative to the previous mouse position. </member> <member name="relative_y" type="int"> + Y coordinate of the mouse pointer relative to the previous mouse position. </member> <member name="shift" type="bool"> + State of the Shift modifier. </member> <member name="speed" type="Vector2"> + Speed of the mouse pointer. </member> <member name="speed_x" type="float"> + Speed of the mouse pointer on the X axis. </member> <member name="speed_y" type="float"> + Speed of the mouse pointer on the Y axis. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> <member name="x" type="int"> + Local X coordinate of the mouse pointer. </member> <member name="y" type="int"> + Local Y coordinate of the mouse pointer. </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventScreenDrag" category="Built-In Types"> <brief_description> + Built-in input event type for screen drag events. </brief_description> <description> + Input event type for screen drag events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16842,34 +16812,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. Not relevant for SCREEN_DRAG events, always false. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). Not relevant for SCREEN_DRAG events, can be true or false depending on whether [method is_action] is true. </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. Not relevant for SCREEN_DRAG events, always false. </description> </method> <method name="set_as_action"> @@ -16878,62 +16853,87 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the (irrelevant for this type) pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="device" type="int"> + Device identifier. </member> <member name="index" type="int"> + Drag event index in the case of a multi-drag event. </member> <member name="pos" type="Vector2"> + Position of the drag event. </member> <member name="relative_pos" type="Vector2"> + Position of the drag event relative to its start position. </member> <member name="relative_x" type="float"> + X coordinate of the drag event relative to its start position. </member> <member name="relative_y" type="float"> + Y coordinate of the drag event relative to its start position. </member> <member name="speed" type="Vector2"> + Speed of the drag event. </member> <member name="speed_x" type="float"> + Speed of the drag event on the X axis. </member> <member name="speed_y" type="float"> + Speed of the drag event on the Y axis. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> <member name="x" type="float"> + X coordinate of the drag event. </member> <member name="y" type="float"> + Y coordinate of the drag event. </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputEventScreenTouch" category="Built-In Types"> <brief_description> + Built-in input event type for touchscreen drag events. </brief_description> <description> + Input event type for touchscreen drag events that extends the global [InputEvent] type. </description> <methods> <method name="is_action"> @@ -16942,34 +16942,39 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> + Return if this input event matches a pre-defined action. </description> </method> <method name="is_action_pressed"> <return type="bool"> </return> - <argument index="0" name="is_action_pressed" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is being pressed. </description> </method> <method name="is_action_released"> <return type="bool"> </return> - <argument index="0" name="is_action_released" type="String"> + <argument index="0" name="action" type="String"> </argument> <description> + Return whether the given action is released (i.e. not pressed). </description> </method> <method name="is_echo"> <return type="bool"> </return> <description> + Return if this input event is an echo event (only for events of type KEY, i.e. always false for this type). </description> </method> <method name="is_pressed"> <return type="bool"> </return> <description> + Return if this input event is pressed. </description> </method> <method name="set_as_action"> @@ -16978,54 +16983,72 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pressed" type="bool"> </argument> <description> + Change the input event to an action event of the given name with the pressed status passed as argument. </description> </method> </methods> <members> <member name="ID" type="int"> + Event identifier, positive integer increased at each new event. </member> <member name="device" type="int"> + Device identifier. </member> <member name="index" type="int"> + Touch event index in the case of a multi-touch event. </member> <member name="pos" type="Vector2"> + Position of the touch event. </member> <member name="pressed" type="bool"> + Pressed state of the touch event. </member> <member name="type" type="int"> + Type of event (one of the [InputEvent] constants). </member> <member name="x" type="float"> + X coordinate of the touch event. </member> <member name="y" type="float"> + Y coordinate of the touch event. </member> </members> <constants> - <constant name="ACTION" value="8"> - </constant> - <constant name="JOYSTICK_MOTION" value="4"> - </constant> - <constant name="JOYSTICK_BUTTON" value="5"> + <constant name="NONE" value="0"> + Empty input event. </constant> <constant name="KEY" value="1"> + Key event. </constant> <constant name="MOUSE_MOTION" value="2"> + Mouse motion event. </constant> <constant name="MOUSE_BUTTON" value="3"> + Mouse button event. </constant> - <constant name="NONE" value="0"> + <constant name="JOYSTICK_MOTION" value="4"> + Joystick motion event. + </constant> + <constant name="JOYSTICK_BUTTON" value="5"> + Joystick button event. </constant> <constant name="SCREEN_TOUCH" value="6"> + Screen touch event. </constant> <constant name="SCREEN_DRAG" value="7"> + Screen drag event. + </constant> + <constant name="ACTION" value="8"> + Pre-defined action event (see [InputMap]). </constant> </constants> </class> <class name="InputMap" inherits="Object" category="Core"> <brief_description> - Singleton that manages actions. + Singleton that manages actions. </brief_description> <description> - Singleton that manages actions. InputMap has a list of the actions used in InputEvent, which can be modified. + Singleton that manages actions. InputMap has a list of the actions used in InputEvent, which can be modified. </description> <methods> <method name="action_add_event"> @@ -17034,7 +17057,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="event" type="InputEvent"> </argument> <description> - Add an [InputEvent] to action. This [InputEvent] will trigger the action. + Add an [InputEvent] to an action. This [InputEvent] will trigger the action. </description> </method> <method name="action_erase_event"> @@ -17043,7 +17066,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="event" type="InputEvent"> </argument> <description> - Remove an [InputEvent] from an action. + Remove an [InputEvent] from an action. </description> </method> <method name="action_has_event"> @@ -17054,21 +17077,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="event" type="InputEvent"> </argument> <description> - Whether an action has an [InputEvent] associated with it. + Whether an action has an [InputEvent] associated with it. </description> </method> <method name="add_action"> <argument index="0" name="action" type="String"> </argument> <description> - Add an action to the [InputMap]. + Add an (empty) action to the [InputMap]. An [InputEvent] can then be added to this action with [method action_add_event]. </description> </method> <method name="erase_action"> <argument index="0" name="action" type="String"> </argument> <description> - Remove an action from the [InputMap]. + Remove an action from the [InputMap]. </description> </method> <method name="event_is_action" qualifiers="const"> @@ -17079,6 +17102,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="action" type="String"> </argument> <description> + Return whether the given event is part of an existing action. </description> </method> <method name="get_action_from_id" qualifiers="const"> @@ -17087,7 +17111,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="id" type="int"> </argument> <description> - Return the action from an id. + Return the action corresponding to the identifier. </description> </method> <method name="get_action_id" qualifiers="const"> @@ -17096,7 +17120,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> - Return the id of an action. + Return the identifier of the given action. </description> </method> <method name="get_action_list"> @@ -17105,14 +17129,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> - Return an [Array] of [InputEvent]s associated with an action. + Return an array of InputEvents associated with a given action. </description> </method> <method name="get_actions"> <return type="Array"> </return> <description> - Return an [Array] of all actions in the [InputMap]. + Return an array of all actions in the [InputMap]. </description> </method> <method name="has_action" qualifiers="const"> @@ -17121,12 +17145,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="action" type="String"> </argument> <description> - Whether this InputMap has an action with name "action". + Whether this InputMap has a registered action with the given name. </description> </method> <method name="load_from_globals"> <description> - Clears the [InputMap] and loads it from [Globals]. + Clear the [InputMap] and load it anew from [Globals]. </description> </method> </methods> @@ -17157,10 +17181,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="IntArray" category="Built-In Types"> <brief_description> - Integer Array. + Integer Array. </brief_description> <description> - Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, can't fragment the memory. + Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, can't fragment the memory. </description> <methods> <method name="IntArray"> @@ -17169,21 +17193,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="from" type="Array"> </argument> <description> - Create from a generic array. + Create from a generic array. </description> </method> <method name="append"> <argument index="0" name="integer" type="int"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="append_array"> <argument index="0" name="array" type="IntArray"> </argument> <description> - Append an [IntArray] at the end of this array. + Append an [IntArray] at the end of this array. </description> </method> <method name="insert"> @@ -17194,33 +17218,33 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="integer" type="int"> </argument> <description> - Insert a new int at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new int at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="integer" type="int"> </argument> <description> - Append a value to the array. + Append a value to the array. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the [IntArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the [IntArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -17229,14 +17253,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="integer" type="int"> </argument> <description> - Change the int at the given index. + Change the int at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the array size. + Return the array size. </description> </method> </methods> @@ -17507,6 +17531,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <description> </description> </method> + <method name="get_selected_items"> + <return type="IntArray"> + </return> + <description> + Returns a list of selected indexes. + </description> + </method> <method name="is_item_disabled" qualifiers="const"> <return type="bool"> </return> @@ -17811,10 +17842,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Joint2D" inherits="Node2D" category="Core"> <brief_description> - Base node for all joint constraints in 2D physics. + Base node for all joint constraints in 2D physics. </brief_description> <description> - Base node for all joint constraints in 2D physics. Joints take 2 bodies and apply a custom constraint. + Base node for all joint constraints in 2D physics. Joints take 2 bodies and apply a custom constraint. </description> <methods> <method name="get_bias" qualifiers="const"> @@ -17833,14 +17864,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="NodePath"> </return> <description> - Return the path to the A node for the joint. + Return the path to the A node for the joint. </description> </method> <method name="get_node_b" qualifiers="const"> <return type="NodePath"> </return> <description> - Return the path to the B node for the joint. + Return the path to the B node for the joint. </description> </method> <method name="set_bias"> @@ -17859,14 +17890,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="node" type="NodePath"> </argument> <description> - Set the path to the A node for the joint. Must be of type [PhysicsBody2D]. + Set the path to the A node for the joint. Must be of type [PhysicsBody2D]. </description> </method> <method name="set_node_b"> <argument index="0" name="node" type="NodePath"> </argument> <description> - Set the path to the B node for the joint. Must be of type [PhysicsBody2D]. + Set the path to the B node for the joint. Must be of type [PhysicsBody2D]. </description> </method> </methods> @@ -17875,40 +17906,40 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="KinematicBody" inherits="PhysicsBody" category="Core"> <brief_description> - Kinematic body 3D node. + Kinematic body 3D node. </brief_description> <description> - Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all (to other types of bodies, such a character or a rigid body, these are the same as a static body). They have however, two main uses: - Simulated Motion: When these bodies are moved manually, either from code or from an AnimationPlayer (with process mode set to fixed), the physics will automatically compute an estimate of their linear and angular velocity. This makes them very useful for moving platforms or other AnimationPlayer-controlled objects (like a door, a bridge that opens, etc). - Kinematic Characters: KinematicBody also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics. + Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all (to other types of bodies, such a character or a rigid body, these are the same as a static body). They have however, two main uses: + Simulated Motion: When these bodies are moved manually, either from code or from an AnimationPlayer (with process mode set to fixed), the physics will automatically compute an estimate of their linear and angular velocity. This makes them very useful for moving platforms or other AnimationPlayer-controlled objects (like a door, a bridge that opens, etc). + Kinematic Characters: KinematicBody also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics. </description> <methods> <method name="can_collide_with_character_bodies" qualifiers="const"> <return type="bool"> </return> <description> - Return if this body can collide with character bodies. + Return if this body can collide with character bodies. </description> </method> <method name="can_collide_with_kinematic_bodies" qualifiers="const"> <return type="bool"> </return> <description> - Return if this body can collide with kinematic bodies. + Return if this body can collide with kinematic bodies. </description> </method> <method name="can_collide_with_rigid_bodies" qualifiers="const"> <return type="bool"> </return> <description> - Return if this body can collide with rigid bodies. + Return if this body can collide with rigid bodies. </description> </method> <method name="can_collide_with_static_bodies" qualifiers="const"> <return type="bool"> </return> <description> - Return if this body can collide with static bodies. + Return if this body can collide with static bodies. </description> </method> <method name="can_teleport_to"> @@ -17917,56 +17948,56 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="position" type="Vector3"> </argument> <description> - Returns whether the KinematicBody can be teleported to the destination given as an argument, checking all collision shapes of the body against potential colliders at the destination. + Returns whether the KinematicBody can be teleported to the destination given as an argument, checking all collision shapes of the body against potential colliders at the destination. </description> </method> <method name="get_collider" qualifiers="const"> <return type="Object"> </return> <description> - Return the body that collided with this one. + Return the body that collided with this one. </description> </method> <method name="get_collider_shape" qualifiers="const"> <return type="int"> </return> <description> - Return the shape index from the body that collided with this one. If there is no collision, this method will return 0, so collisions must be checked first with [method is_colliding]. + Return the shape index from the body that collided with this one. If there is no collision, this method will return 0, so collisions must be checked first with [method is_colliding]. </description> </method> <method name="get_collider_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the velocity of the body that collided with this one. + Return the velocity of the body that collided with this one. </description> </method> <method name="get_collision_margin" qualifiers="const"> <return type="float"> </return> <description> - Return the collision margin for this object. + Return the collision margin for this object. </description> </method> <method name="get_collision_normal" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the normal of the surface the body collided with. This is useful to implement sliding along a surface. + Return the normal of the surface the body collided with. This is useful to implement sliding along a surface. </description> </method> <method name="get_collision_pos" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the point in space where the body is touching another. If there is no collision, this method will return (0,0,0), so collisions must be checked first with [method is_colliding]. + Return the point in space where the body is touching another. If there is no collision, this method will return (0,0,0), so collisions must be checked first with [method is_colliding]. </description> </method> <method name="is_colliding" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the body is colliding with another. + Return whether the body is colliding with another. </description> </method> <method name="move"> @@ -17975,7 +18006,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="rel_vec" type="Vector3"> </argument> <description> - Move the body in the given direction, stopping if there is an obstacle. The returned vector is how much movement was remaining before being stopped. + Move the body in the given direction, stopping if there is an obstacle. The returned vector is how much movement was remaining before being stopped. </description> </method> <method name="move_to"> @@ -17984,42 +18015,42 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="position" type="Vector3"> </argument> <description> - Move the body to the given position. This is not a teleport, and the body will stop if there is an obstacle. The returned vector is how much movement was remaining before being stopped. + Move the body to the given position. This is not a teleport, and the body will stop if there is an obstacle. The returned vector is how much movement was remaining before being stopped. </description> </method> <method name="set_collide_with_character_bodies"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set if this body should collide with character bodies. + Set if this body should collide with character bodies. </description> </method> <method name="set_collide_with_kinematic_bodies"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set if this body should collide with kinematic bodies. + Set if this body should collide with kinematic bodies. </description> </method> <method name="set_collide_with_rigid_bodies"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set if this body should collide with rigid bodies. + Set if this body should collide with rigid bodies. </description> </method> <method name="set_collide_with_static_bodies"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set if this body should collide with static bodies. + Set if this body should collide with static bodies. </description> </method> <method name="set_collision_margin"> <argument index="0" name="pixels" type="float"> </argument> <description> - Set the collision margin for this object. A collision margin is an amount that all shapes will grow when computing collisions, to account for numerical imprecision. + Set the collision margin for this object. A collision margin is an amount that all shapes will grow when computing collisions, to account for numerical imprecision. </description> </method> </methods> @@ -18028,75 +18059,75 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="KinematicBody2D" inherits="PhysicsBody2D" category="Core"> <brief_description> - Kinematic body 2D node. + Kinematic body 2D node. </brief_description> <description> - Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all (to other types of bodies, such a character or a rigid body, these are the same as a static body). They have however, two main uses: - Simulated Motion: When these bodies are moved manually, either from code or from an AnimationPlayer (with process mode set to fixed), the physics will automatically compute an estimate of their linear and angular velocity. This makes them very useful for moving platforms or other AnimationPlayer-controlled objects (like a door, a bridge that opens, etc). - Kinematic Characters: KinematicBody2D also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics. + Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all (to other types of bodies, such a character or a rigid body, these are the same as a static body). They have however, two main uses: + Simulated Motion: When these bodies are moved manually, either from code or from an AnimationPlayer (with process mode set to fixed), the physics will automatically compute an estimate of their linear and angular velocity. This makes them very useful for moving platforms or other AnimationPlayer-controlled objects (like a door, a bridge that opens, etc). + Kinematic Characters: KinematicBody2D also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics. </description> <methods> <method name="get_collider" qualifiers="const"> <return type="Object"> </return> <description> - Return the body that collided with this one. + Return the body that collided with this one. </description> </method> <method name="get_collider_metadata" qualifiers="const"> <return type="Variant"> </return> <description> - Return the metadata of the shape that collided with this body. If there is no collision, it will return 0, so collisions must be checked first with [method is_colliding]. Additionally, this metadata can not be set with [method Object.set_meta], it must be set with [method Physics2DServer.body_set_shape_metadata]. + Return the metadata of the shape that collided with this body. If there is no collision, it will return 0, so collisions must be checked first with [method is_colliding]. Additionally, this metadata can not be set with [method Object.set_meta], it must be set with [method Physics2DServer.body_set_shape_metadata]. </description> </method> <method name="get_collider_shape" qualifiers="const"> <return type="int"> </return> <description> - Return the shape index from the body that collided with this one. If there is no collision, this method will return 0, so collisions must be checked first with [method is_colliding]. + Return the shape index from the body that collided with this one. If there is no collision, this method will return 0, so collisions must be checked first with [method is_colliding]. </description> </method> <method name="get_collider_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the velocity of the body that collided with this one. + Return the velocity of the body that collided with this one. </description> </method> <method name="get_collision_margin" qualifiers="const"> <return type="float"> </return> <description> - Return the collision margin for this object. + Return the collision margin for this object. </description> </method> <method name="get_collision_normal" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the normal of the surface the body collided with. This is useful to implement sliding along a surface. + Return the normal of the surface the body collided with. This is useful to implement sliding along a surface. </description> </method> <method name="get_collision_pos" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the point in space where the body is touching another. If there is no collision, this method will return (0,0), so collisions must be checked first with [method is_colliding]. + Return the point in space where the body is touching another. If there is no collision, this method will return (0,0), so collisions must be checked first with [method is_colliding]. </description> </method> <method name="get_travel" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the last movement done by the body. + Return the last movement done by the body. </description> </method> <method name="is_colliding" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the body is colliding with another. + Return whether the body is colliding with another. </description> </method> <method name="move"> @@ -18105,7 +18136,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="rel_vec" type="Vector2"> </argument> <description> - Move the body in the given direction, stopping if there is an obstacle. The returned vector is how much movement was remaining before being stopped. + Move the body in the given direction, stopping if there is an obstacle. The returned vector is how much movement was remaining before being stopped. </description> </method> <method name="move_to"> @@ -18114,19 +18145,19 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="position" type="Vector2"> </argument> <description> - Move the body to the given position. This is not a teleport, and the body will stop if there is an obstacle. The returned vector is how much movement was remaining before being stopped. + Move the body to the given position. This is not a teleport, and the body will stop if there is an obstacle. The returned vector is how much movement was remaining before being stopped. </description> </method> <method name="revert_motion"> <description> - Undo the last movement done by the body. + Undo the last movement done by the body. </description> </method> <method name="set_collision_margin"> <argument index="0" name="pixels" type="float"> </argument> <description> - Set the collision margin for this object. A collision margin is an amount (in pixels) that all shapes will grow when computing collisions, to account for numerical imprecision. + Set the collision margin for this object. A collision margin is an amount (in pixels) that all shapes will grow when computing collisions, to account for numerical imprecision. </description> </method> <method name="test_move"> @@ -18135,7 +18166,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="rel_vec" type="Vector2"> </argument> <description> - Return true if there would be a collision if the body moved in the given direction. + Return true if there would be a collision if the body moved in the given direction. </description> </method> </methods> @@ -18144,171 +18175,171 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Label" inherits="Control" category="Core"> <brief_description> - Control that displays formatted text. + Control that displays formatted text. </brief_description> <description> - Label is a control that displays formatted text, optionally autowrapping it to the [Control] area. It inherits from range to be able to scroll wrapped text vertically. + Label is a control that displays formatted text, optionally autowrapping it to the [Control] area. It inherits from range to be able to scroll wrapped text vertically. </description> <methods> <method name="get_align" qualifiers="const"> <return type="int"> </return> <description> - Return the alignment mode (any of the ALIGN_* enumeration values). + Return the alignment mode (any of the ALIGN_* enumeration values). </description> </method> <method name="get_line_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of lines. + Return the amount of lines. </description> </method> <method name="get_line_height" qualifiers="const"> <return type="int"> </return> <description> - Return the height of a line. + Return the height of a line. </description> </method> <method name="get_lines_skipped" qualifiers="const"> <return type="int"> </return> <description> - Return the the number of lines to skipped before displaying. + Return the the number of lines to skipped before displaying. </description> </method> <method name="get_max_lines_visible" qualifiers="const"> <return type="int"> </return> <description> - Return the restricted number of lines to display. Returns -1 if unrestricted. + Return the restricted number of lines to display. Returns -1 if unrestricted. </description> </method> <method name="get_percent_visible" qualifiers="const"> <return type="float"> </return> <description> - Return the restricted number of characters to display (as a percentage of the total text). + Return the restricted number of characters to display (as a percentage of the total text). </description> </method> <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> - Return the label text. Text can contain newlines. + Return the label text. Text can contain newlines. </description> </method> <method name="get_total_character_count" qualifiers="const"> <return type="int"> </return> <description> - Return the total length of the text. + Return the total length of the text. </description> </method> <method name="get_valign" qualifiers="const"> <return type="int"> </return> <description> - Return the vertical alignment mode (any of the VALIGN_* enumeration values). + Return the vertical alignment mode (any of the VALIGN_* enumeration values). </description> </method> <method name="get_visible_characters" qualifiers="const"> <return type="int"> </return> <description> - Return the restricted number of characters to display. Returns -1 if unrestricted. + Return the restricted number of characters to display. Returns -1 if unrestricted. </description> </method> <method name="has_autowrap" qualifiers="const"> <return type="bool"> </return> <description> - Return the state of the [i]autowrap[/i] mode (see [method set_autowrap]). + Return the state of the [i]autowrap[/i] mode (see [method set_autowrap]). </description> </method> <method name="is_clipping_text" qualifiers="const"> <return type="bool"> </return> <description> - Return true if text would be cut off if it is too wide. + Return true if text would be cut off if it is too wide. </description> </method> <method name="is_uppercase" qualifiers="const"> <return type="bool"> </return> <description> - Return true if text is displayed in all capitals. + Return true if text is displayed in all capitals. </description> </method> <method name="set_align"> <argument index="0" name="align" type="int"> </argument> <description> - Sets the alignment mode to any of the ALIGN_* enumeration values. + Sets the alignment mode to any of the ALIGN_* enumeration values. </description> </method> <method name="set_autowrap"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set [i]autowrap[/i] mode. When enabled, autowrap will fit text to the control width, breaking sentences when they exceed the available horizontal space. When disabled, the label minimum width becomes the width of the longest row, and the minimum height large enough to fit all rows. + Set [i]autowrap[/i] mode. When enabled, autowrap will fit text to the control width, breaking sentences when they exceed the available horizontal space. When disabled, the label minimum width becomes the width of the longest row, and the minimum height large enough to fit all rows. </description> </method> <method name="set_clip_text"> <argument index="0" name="enable" type="bool"> </argument> <description> - Cuts off the rest of the text if it is too wide. + Cuts off the rest of the text if it is too wide. </description> </method> <method name="set_lines_skipped"> <argument index="0" name="lines_skipped" type="int"> </argument> <description> - Sets the number of lines to skip before displaying. Useful for scrolling text. + Sets the number of lines to skip before displaying. Useful for scrolling text. </description> </method> <method name="set_max_lines_visible"> <argument index="0" name="lines_visible" type="int"> </argument> <description> - Restricts the number of lines to display. Set to -1 to disable. + Restricts the number of lines to display. Set to -1 to disable. </description> </method> <method name="set_percent_visible"> <argument index="0" name="percent_visible" type="float"> </argument> <description> - Restricts the number of characters to display (as a percentage of the total text). + Restricts the number of characters to display (as a percentage of the total text). </description> </method> <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> - Set the label text. Text can contain newlines. + Set the label text. Text can contain newlines. </description> </method> <method name="set_uppercase"> <argument index="0" name="enable" type="bool"> </argument> <description> - Display text in all capitals. + Display text in all capitals. </description> </method> <method name="set_valign"> <argument index="0" name="valign" type="int"> </argument> <description> - Sets the vertical alignment mode to any of the VALIGN_* enumeration values. + Sets the vertical alignment mode to any of the VALIGN_* enumeration values. </description> </method> <method name="set_visible_characters"> <argument index="0" name="amount" type="int"> </argument> <description> - Restricts the number of characters to display. Set to -1 to disable. + Restricts the number of characters to display. Set to -1 to disable. </description> </method> </methods> @@ -18357,11 +18388,11 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="LargeTexture" inherits="Texture" category="Core"> <brief_description> - A Texture capable of storing many smaller Textures with offsets. + A Texture capable of storing many smaller Textures with offsets. </brief_description> <description> - A Texture capable of storing many smaller Textures with offsets. - You can dynamically add pieces(Textures) to this fLargeTexture] using different offsets. + A Texture capable of storing many smaller Textures with offsets. + You can dynamically add pieces(Textures) to this fLargeTexture] using different offsets. </description> <methods> <method name="add_piece"> @@ -18372,19 +18403,19 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="texture" type="Texture"> </argument> <description> - Add another [Texture] to this [LargeTexture], starting on offset "ofs". + Add another [Texture] to this [LargeTexture], starting on offset "ofs". </description> </method> <method name="clear"> <description> - Clear the [LargeTexture]. + Clear the [LargeTexture]. </description> </method> <method name="get_piece_count" qualifiers="const"> <return type="int"> </return> <description> - Return the number of pieces currently in this [LargeTexture]. + Return the number of pieces currently in this [LargeTexture]. </description> </method> <method name="get_piece_offset" qualifiers="const"> @@ -18393,7 +18424,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Return the offset of the piece with index "idx". + Return the offset of the piece with index "idx". </description> </method> <method name="get_piece_texture" qualifiers="const"> @@ -18402,7 +18433,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Return the [Texture] of the piece with index "idx". + Return the [Texture] of the piece with index "idx". </description> </method> <method name="set_piece_offset"> @@ -18411,7 +18442,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="ofs" type="Vector2"> </argument> <description> - Set the offset of the piece with index "idx" to "ofs". + Set the offset of the piece with index "idx" to "ofs". </description> </method> <method name="set_piece_texture"> @@ -18420,14 +18451,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="texture" type="Texture"> </argument> <description> - Set the [Texture] of the piece with index "idx" to "ofs". + Set the [Texture] of the piece with index "idx" to "ofs". </description> </method> <method name="set_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> - Set the size of this [LargeTexture]. + Set the size of this [LargeTexture]. </description> </method> </methods> @@ -18436,10 +18467,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Light" inherits="VisualInstance" category="Core"> <brief_description> - Provides a base class for different kinds of light nodes. + Provides a base class for different kinds of light nodes. </brief_description> <description> - Light is the abstract base class for light nodes, so it shouldn't be used directly (It can't be instanced). Other types of light nodes inherit from it. Light contains the common variables and parameters used for lighting. + Light is the abstract base class for light nodes, so it shouldn't be used directly (It can't be instanced). Other types of light nodes inherit from it. Light contains the common variables and parameters used for lighting. </description> <methods> <method name="get_bake_mode" qualifiers="const"> @@ -18548,292 +18579,292 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> </methods> <constants> - <constant name="BAKE_MODE_DISABLED" value="0"> + <constant name="PARAM_RADIUS" value="2"> </constant> - <constant name="BAKE_MODE_INDIRECT" value="1"> + <constant name="PARAM_ENERGY" value="3"> </constant> - <constant name="BAKE_MODE_INDIRECT_AND_SHADOWS" value="2"> + <constant name="PARAM_ATTENUATION" value="4"> </constant> - <constant name="BAKE_MODE_FULL" value="3"> + <constant name="PARAM_SPOT_ANGLE" value="1"> </constant> - <constant name="COLOR_DIFFUSE" value="0"> + <constant name="PARAM_SPOT_ATTENUATION" value="0"> </constant> - <constant name="COLOR_SPECULAR" value="1"> + <constant name="PARAM_SHADOW_DARKENING" value="5"> </constant> - <constant name="PARAM_SPOT_ATTENUATION" value="0"> + <constant name="PARAM_SHADOW_Z_OFFSET" value="6"> </constant> - <constant name="PARAM_SPOT_ANGLE" value="1"> + <constant name="COLOR_DIFFUSE" value="0"> </constant> - <constant name="PARAM_RADIUS" value="2"> + <constant name="COLOR_SPECULAR" value="1"> </constant> - <constant name="PARAM_ENERGY" value="3"> + <constant name="BAKE_MODE_DISABLED" value="0"> </constant> - <constant name="PARAM_ATTENUATION" value="4"> + <constant name="BAKE_MODE_INDIRECT" value="1"> </constant> - <constant name="PARAM_SHADOW_DARKENING" value="5"> + <constant name="BAKE_MODE_INDIRECT_AND_SHADOWS" value="2"> </constant> - <constant name="PARAM_SHADOW_Z_OFFSET" value="6"> + <constant name="BAKE_MODE_FULL" value="3"> </constant> </constants> </class> <class name="Light2D" inherits="Node2D" category="Core"> <brief_description> - Node that casts light in a 2D environment. + Node that casts light in a 2D environment. </brief_description> <description> - Node that casts light in a 2D environment. Light is defined by a (usually grayscale) texture, a color, an energy value, a mode (see constants), and various other parameters (range and shadows-related). Note that Light2D can be used as a mask. + Node that casts light in a 2D environment. Light is defined by a (usually grayscale) texture, a color, an energy value, a mode (see constants), and various other parameters (range and shadows-related). Note that Light2D can be used as a mask. </description> <methods> <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> - Return the color of the Light2D. + Return the color of the Light2D. </description> </method> <method name="get_energy" qualifiers="const"> <return type="float"> </return> <description> - Return the energy value of the Light2D. + Return the energy value of the Light2D. </description> </method> <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> - Return the height of the Light2D. Used with 2D normalmapping. + Return the height of the Light2D. Used with 2D normalmapping. </description> </method> <method name="get_item_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the item mask of the Light2D. + Return the item mask of the Light2D. </description> </method> <method name="get_item_shadow_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the item shadow mask of the Light2D. + Return the item shadow mask of the Light2D. </description> </method> <method name="get_layer_range_max" qualifiers="const"> <return type="int"> </return> <description> - Set the maximum layer value of objects of the scene that are affected by the Light2D. + Set the maximum layer value of objects of the scene that are affected by the Light2D. </description> </method> <method name="get_layer_range_min" qualifiers="const"> <return type="int"> </return> <description> - Get the minimum layer value of objects of the scene that are affected by the Light2D. + Get the minimum layer value of objects of the scene that are affected by the Light2D. </description> </method> <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the current mode set to the Light2D. + Return the current mode set to the Light2D. </description> </method> <method name="get_shadow_buffer_size" qualifiers="const"> <return type="int"> </return> <description> - Return the shadow buffer size. + Return the shadow buffer size. </description> </method> <method name="get_shadow_color" qualifiers="const"> <return type="Color"> </return> <description> - Return the color of casted shadows for this Light2D. + Return the color of casted shadows for this Light2D. </description> </method> <method name="get_shadow_esm_multiplier" qualifiers="const"> <return type="float"> </return> <description> - Return the Exponential Shadow Multiplier (ESM) value of the Light2D. + Return the Exponential Shadow Multiplier (ESM) value of the Light2D. </description> </method> <method name="get_texture" qualifiers="const"> <return type="Object"> </return> <description> - Return the texture of the Light2D. + Return the texture of the Light2D. </description> </method> <method name="get_texture_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the offset of the light texture. + Return the offset of the light texture. </description> </method> <method name="get_texture_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the scale value of the light texture. + Return the scale value of the light texture. </description> </method> <method name="get_z_range_max" qualifiers="const"> <return type="int"> </return> <description> - Get the maximum Z value that objects of the scene can be in order to be affected by the Light2D. + Get the maximum Z value that objects of the scene can be in order to be affected by the Light2D. </description> </method> <method name="get_z_range_min" qualifiers="const"> <return type="int"> </return> <description> - Get the minimum Z value that objects of the scene have to be in order to be affected by the Light2D. + Get the minimum Z value that objects of the scene have to be in order to be affected by the Light2D. </description> </method> <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the Light2D is enabled, false if it is not. + Return true if the Light2D is enabled, false if it is not. </description> </method> <method name="is_shadow_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return true if shadow casting is enabled for this Light2D, else return false. + Return true if shadow casting is enabled for this Light2D, else return false. </description> </method> <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Set the color of the Light2D. + Set the color of the Light2D. </description> </method> <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Switches the Light2D on or off, depending on the 'enabled' parameter. + Switches the Light2D on or off, depending on the 'enabled' parameter. </description> </method> <method name="set_energy"> <argument index="0" name="energy" type="float"> </argument> <description> - Set the energy value of the Light2D. The bigger the value, the stronger the light. + Set the energy value of the Light2D. The bigger the value, the stronger the light. </description> </method> <method name="set_height"> <argument index="0" name="height" type="float"> </argument> <description> - Set the height of the Light2D. Used with 2D normalmapping. + Set the height of the Light2D. Used with 2D normalmapping. </description> </method> <method name="set_item_mask"> <argument index="0" name="item_mask" type="int"> </argument> <description> - Set the item mask of the Light2D to 'item_mask' value. + Set the item mask of the Light2D to 'item_mask' value. </description> </method> <method name="set_item_shadow_mask"> <argument index="0" name="item_shadow_mask" type="int"> </argument> <description> - Set the item shadow mask to 'item_shadow_mask' value. + Set the item shadow mask to 'item_shadow_mask' value. </description> </method> <method name="set_layer_range_max"> <argument index="0" name="layer" type="int"> </argument> <description> - Set the maximum layer value of objects of the scene that are affected by the Light2D. + Set the maximum layer value of objects of the scene that are affected by the Light2D. </description> </method> <method name="set_layer_range_min"> <argument index="0" name="layer" type="int"> </argument> <description> - Set the minimum layer value of objects of the scene that are affected by the Light2D. + Set the minimum layer value of objects of the scene that are affected by the Light2D. </description> </method> <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the behaviour mode of the Light2D. Use constants defined in the constants section. + Set the behaviour mode of the Light2D. Use constants defined in the constants section. </description> </method> <method name="set_shadow_buffer_size"> <argument index="0" name="size" type="int"> </argument> <description> - Set the shadow buffer size. + Set the shadow buffer size. </description> </method> <method name="set_shadow_color"> <argument index="0" name="shadow_color" type="Color"> </argument> <description> - Set the color of casted shadows for this Light2D. + Set the color of casted shadows for this Light2D. </description> </method> <method name="set_shadow_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Enable or disable shadows casting from this Light2D according to the 'enabled' parameter. + Enable or disable shadows casting from this Light2D according to the 'enabled' parameter. </description> </method> <method name="set_shadow_esm_multiplier"> <argument index="0" name="multiplier" type="float"> </argument> <description> - Set the Exponential Shadow Multiplier (ESM) value of the Light2D. + Set the Exponential Shadow Multiplier (ESM) value of the Light2D. </description> </method> <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> - Set the texture of the Light2D. + Set the texture of the Light2D. </description> </method> <method name="set_texture_offset"> <argument index="0" name="texture_offset" type="Vector2"> </argument> <description> - Set the offset of the light texture. + Set the offset of the light texture. </description> </method> <method name="set_texture_scale"> <argument index="0" name="texture_scale" type="float"> </argument> <description> - Set the scale value of the light texture. + Set the scale value of the light texture. </description> </method> <method name="set_z_range_max"> <argument index="0" name="z" type="int"> </argument> <description> - Set the maximum Z value that objects of the scene can be in order to be affected by the Light2D. + Set the maximum Z value that objects of the scene can be in order to be affected by the Light2D. </description> </method> <method name="set_z_range_min"> <argument index="0" name="z" type="int"> </argument> <description> - Set the minimum Z value that objects of the scene have to be in order to be affected by the Light2D. + Set the minimum Z value that objects of the scene have to be in order to be affected by the Light2D. </description> </method> </methods> @@ -18854,38 +18885,38 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="LightOccluder2D" inherits="Node2D" category="Core"> <brief_description> - Occludes light cast by a Light2D, thus casting shadows. + Occludes light cast by a Light2D, thus casting shadows. </brief_description> <description> - Occludes light cast by a Light2D, thus casting shadows. The LightOccluder2D must be provided with a shape (see OccluderPolygon2D) that allows the shadow to be computed. This shape affects the resulting shadow, while the shape of the representating asset shadowed does not actually affect shadows. + Occludes light cast by a Light2D, thus casting shadows. The LightOccluder2D must be provided with a shape (see OccluderPolygon2D) that allows the shadow to be computed. This shape affects the resulting shadow, while the shape of the representating asset shadowed does not actually affect shadows. </description> <methods> <method name="get_occluder_light_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the light mask of the LightOccluder2D. + Return the light mask of the LightOccluder2D. </description> </method> <method name="get_occluder_polygon" qualifiers="const"> <return type="OccluderPolygon2D"> </return> <description> - Return the OccluderPolygon2D that defines the LightOccluder2D. + Return the OccluderPolygon2D that defines the LightOccluder2D. </description> </method> <method name="set_occluder_light_mask"> <argument index="0" name="mask" type="int"> </argument> <description> - Set the LightOccluder2D light mask. The LightOccluder2D will cast shadows only from Light2Ds that belong to the same light mask(s). + Set the LightOccluder2D light mask. The LightOccluder2D will cast shadows only from Light2Ds that belong to the same light mask(s). </description> </method> <method name="set_occluder_polygon"> <argument index="0" name="polygon" type="OccluderPolygon2D"> </argument> <description> - Set the OccluderPolygon2D that defines the LightOccluder2D. + Set the OccluderPolygon2D that defines the LightOccluder2D. </description> </method> </methods> @@ -18894,22 +18925,50 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="LineEdit" inherits="Control" category="Core"> <brief_description> - Control that provides single line string editing. + Control that provides single line string editing. </brief_description> <description> - LineEdit provides a single line string editor, used for text fields. + LineEdit provides a single line string editor, used for text fields. </description> <methods> <method name="append_at_cursor"> <argument index="0" name="text" type="String"> </argument> <description> - Append text at cursor, scrolling the [LineEdit] when needed. + Append text at cursor, scrolling the [LineEdit] when needed. </description> </method> <method name="clear"> <description> - Clear the [LineEdit] text. + Clear the [LineEdit] text. + </description> + </method> + <method name="cursor_get_blink_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + Gets whether the line edit caret is blinking. + </description> + </method> + <method name="cursor_get_blink_speed" qualifiers="const"> + <return type="float"> + </return> + <description> + Gets the line edit caret blink speed. + </description> + </method> + <method name="cursor_set_blink_enabled"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + Set the line edit caret to blink. + </description> + </method> + <method name="cursor_set_blink_speed"> + <argument index="0" name="blink_speed" type="float"> + </argument> + <description> + Set the line edit caret blink speed. Cannot be less then or equal to 0. </description> </method> <method name="get_align" qualifiers="const"> @@ -18922,14 +18981,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Return the cursor position inside the [LineEdit]. + Return the cursor position inside the [LineEdit]. </description> </method> <method name="get_max_length" qualifiers="const"> <return type="int"> </return> <description> - Return the maximum amount of characters the [LineEdit] can edit. If 0 is returned, no limit exists. + Return the maximum amount of characters the [LineEdit] can edit. If 0 is returned, no limit exists. </description> </method> <method name="get_menu" qualifiers="const"> @@ -18938,25 +18997,37 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <description> </description> </method> + <method name="get_placeholder" qualifiers="const"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="get_placeholder_alpha" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> - Return the text in the [LineEdit]. + Return the text in the [LineEdit]. </description> </method> <method name="is_editable" qualifiers="const"> <return type="bool"> </return> <description> - Return the [i]editable[/i] status of the [LineEdit] (see [method set_editable]). + Return the [i]editable[/i] status of the [LineEdit] (see [method set_editable]). </description> </method> <method name="is_secret" qualifiers="const"> <return type="bool"> </return> <description> - Return the [i]secret[/i] status of the [LineEdit] (see [method set_secret]). + Return the [i]secret[/i] status of the [LineEdit] (see [method set_secret]). </description> </method> <method name="menu_option"> @@ -18975,7 +19046,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> <method name="select_all"> <description> - Select the whole string. + Select the whole string. </description> </method> <method name="set_align"> @@ -18988,63 +19059,47 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="pos" type="int"> </argument> <description> - Set the cursor position inside the [LineEdit], causing it to scroll if needed. + Set the cursor position inside the [LineEdit], causing it to scroll if needed. </description> </method> - <method name="cursor_set_blink_enabled"> - <argument index="0" name="enable" type="bool"> + <method name="set_editable"> + <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the line edit caret to blink. - </description> - </method> - <method name="cursor_get_blink_enabled" qualifiers="const"> - <return type="float"> - </return> - <description> - Gets whether the line edit caret is blinking. + Set the [i]editable[/i] status of the [LineEdit]. When disabled, existing text can't be modified and new text can't be added. </description> </method> - <method name="cursor_set_blink_speed"> - <argument index="0" name="blink_speed" type="float"> + <method name="set_max_length"> + <argument index="0" name="chars" type="int"> </argument> <description> - Set the line edit caret blink speed. Cannot be less then or equal to 0. + Set the maximum amount of characters the [LineEdit] can edit, and cropping existing text in case it exceeds that limit. Setting 0 removes the limit. </description> </method> - <method name="cursor_get_blink_speed" qualifiers="const"> - <return type="float"> - </return> - <description> - Gets the line edit caret blink speed. - </description> - </method> - <method name="set_editable"> - <argument index="0" name="enabled" type="bool"> + <method name="set_placeholder"> + <argument index="0" name="text" type="String"> </argument> <description> - Set the [i]editable[/i] status of the [LineEdit]. When disabled, existing text can't be modified and new text can't be added. </description> </method> - <method name="set_max_length"> - <argument index="0" name="chars" type="int"> + <method name="set_placeholder_alpha"> + <argument index="0" name="alpha" type="float"> </argument> <description> - Set the maximum amount of characters the [LineEdit] can edit, and cropping existing text in case it exceeds that limit. Setting 0 removes the limit. </description> </method> <method name="set_secret"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the [i]secret[/i] status of the [LineEdit]. When enabled, every character is displayed as "*". + Set the [i]secret[/i] status of the [LineEdit]. When enabled, every character is displayed as "*". </description> </method> <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> - Set the text in the [LineEdit], clearing the existing one and the selection. + Set the text in the [LineEdit], clearing the existing one and the selection. </description> </method> </methods> @@ -19053,14 +19108,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="text" type="String"> </argument> <description> - When the text changes, this signal is emitted. + When the text changes, this signal is emitted. </description> </signal> <signal name="text_entered"> <argument index="0" name="text" type="String"> </argument> <description> - This signal is emitted when the user presses KEY_ENTER on the [LineEdit]. This signal is often used as an alternate confirmation mechanism in dialogs. + This signal is emitted when the user presses KEY_ENTER on the [LineEdit]. This signal is often used as an alternate confirmation mechanism in dialogs. </description> </signal> </signals> @@ -19111,38 +19166,38 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="LineShape2D" inherits="Shape2D" category="Core"> <brief_description> - Line shape for 2D collision objects. + Line shape for 2D collision objects. </brief_description> <description> - Line shape for 2D collision objects. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame. + Line shape for 2D collision objects. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame. </description> <methods> <method name="get_d" qualifiers="const"> <return type="float"> </return> <description> - Return the line distance from the origin. + Return the line distance from the origin. </description> </method> <method name="get_normal" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the line normal. + Return the line normal. </description> </method> <method name="set_d"> <argument index="0" name="d" type="float"> </argument> <description> - Set the line distance from the origin. + Set the line distance from the origin. </description> </method> <method name="set_normal"> <argument index="0" name="normal" type="Vector2"> </argument> <description> - Set the line normal. + Set the line normal. </description> </method> </methods> @@ -19151,38 +19206,38 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="LinkButton" inherits="BaseButton" category="Core"> <brief_description> - Simple button used to represent a link to some resource + Simple button used to represent a link to some resource </brief_description> <description> - This kind of buttons are primarily used when the interaction with the button causes a context change (like linking to a web page). + This kind of buttons are primarily used when the interaction with the button causes a context change (like linking to a web page). </description> <methods> <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> - Returns the text of the button. + Returns the text of the button. </description> </method> <method name="get_underline_mode" qualifiers="const"> <return type="int"> </return> <description> - Returns the underline mode for this button. + Returns the underline mode for this button. </description> </method> <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> - Sets the text of the button. + Sets the text of the button. </description> </method> <method name="set_underline_mode"> <argument index="0" name="underline_mode" type="int"> </argument> <description> - Sets the underline mode for this button, the argument must be one of the [LinkButton] constants (see constants section). + Sets the underline mode for this button, the argument must be one of the [LinkButton] constants (see constants section). </description> </method> </methods> @@ -19239,10 +19294,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MainLoop" inherits="Object" category="Core"> <brief_description> - Main loop is the abstract main loop base class. + Main loop is the abstract main loop base class. </brief_description> <description> - Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a [MainLoop] has to be provided to OS, else the application will exit. This happens automatically (and a [SceneTree] is created), unless a main [Script] is supplied, which may or not create and return a [MainLoop]. + Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a [MainLoop] has to be provided to OS, else the application will exit. This happens automatically (and a [SceneTree] is created), unless a main [Script] is supplied, which may or not create and return a [MainLoop]. </description> <methods> <method name="_drop_files" qualifiers="virtual"> @@ -19341,10 +19396,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MarginContainer" inherits="Container" category="Core"> <brief_description> - Simple margin container. + Simple margin container. </brief_description> <description> - Simple margin container. Adds a left margin to anything contained. + Simple margin container. Adds a left margin to anything contained. </description> <methods> </methods> @@ -19421,17 +19476,17 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Material" inherits="Resource" category="Core"> <brief_description> - Abstract base [Resource] for coloring and shading geometry. + Abstract base [Resource] for coloring and shading geometry. </brief_description> <description> - Material is a base [Resource] used for coloring and shading geometry. All materials inherit from it and almost all [VisualInstance] derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here. + Material is a base [Resource] used for coloring and shading geometry. All materials inherit from it and almost all [VisualInstance] derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here. </description> <methods> <method name="get_blend_mode" qualifiers="const"> <return type="int"> </return> <description> - Return blend mode for the material, which can be one of BLEND_MODE_MIX (default), BLEND_MODE_ADD, BLEND_MODE_SUB. Keep in mind that only BLEND_MODE_MIX ensures that the material [i]may[/i] be opaque, any other blend mode will render with alpha blending enabled in raster-based [VisualServer] implementations. + Return blend mode for the material, which can be one of BLEND_MODE_MIX (default), BLEND_MODE_ADD, BLEND_MODE_SUB. Keep in mind that only BLEND_MODE_MIX ensures that the material [i]may[/i] be opaque, any other blend mode will render with alpha blending enabled in raster-based [VisualServer] implementations. </description> </method> <method name="get_depth_draw_mode" qualifiers="const"> @@ -19446,21 +19501,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="flag" type="int"> </argument> <description> - Return a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. + Return a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. </description> </method> <method name="get_line_width" qualifiers="const"> <return type="float"> </return> <description> - Return the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). + Return the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). </description> </method> <method name="set_blend_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set blend mode for the material, which can be one of BLEND_MODE_MIX (default), BLEND_MODE_ADD, BLEND_MODE_SUB. Keep in mind that only BLEND_MODE_MIX ensures that the material [i]may[/i] be opaque, any other blend mode will render with alpha blending enabled in raster-based [VisualServer] implementations. + Set blend mode for the material, which can be one of BLEND_MODE_MIX (default), BLEND_MODE_ADD, BLEND_MODE_SUB. Keep in mind that only BLEND_MODE_MIX ensures that the material [i]may[/i] be opaque, any other blend mode will render with alpha blending enabled in raster-based [VisualServer] implementations. </description> </method> <method name="set_depth_draw_mode"> @@ -19475,39 +19530,18 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="enable" type="bool"> </argument> <description> - Set a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. + Set a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. </description> </method> <method name="set_line_width"> <argument index="0" name="width" type="float"> </argument> <description> - Set the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). + Set the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). </description> </method> </methods> <constants> - <constant name="BLEND_MODE_MIX" value="0"> - Use the regular alpha blending equation (source and dest colors are faded) (default). - </constant> - <constant name="BLEND_MODE_ADD" value="1"> - Use additive blending equation, often used for particle effects such as fire or light decals. - </constant> - <constant name="BLEND_MODE_SUB" value="2"> - Use subtractive blending equation, often used for some smoke effects or types of glass. - </constant> - <constant name="BLEND_MODE_MUL" value="3"> - </constant> - <constant name="BLEND_MODE_PREMULT_ALPHA" value="4"> - </constant> - <constant name="DEPTH_DRAW_ALWAYS" value="0"> - </constant> - <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="1"> - </constant> - <constant name="DEPTH_DRAW_OPAQUE_PRE_PASS_ALPHA" value="2"> - </constant> - <constant name="DEPTH_DRAW_NEVER" value="3"> - </constant> <constant name="FLAG_VISIBLE" value="0"> Geometry is visible when this flag is enabled (default). </constant> @@ -19529,6 +19563,27 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <constant name="FLAG_MAX" value="7"> Maximum amount of flags. </constant> + <constant name="DEPTH_DRAW_ALWAYS" value="0"> + </constant> + <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="1"> + </constant> + <constant name="DEPTH_DRAW_OPAQUE_PRE_PASS_ALPHA" value="2"> + </constant> + <constant name="DEPTH_DRAW_NEVER" value="3"> + </constant> + <constant name="BLEND_MODE_MIX" value="0"> + Use the regular alpha blending equation (source and dest colors are faded) (default). + </constant> + <constant name="BLEND_MODE_ADD" value="1"> + Use additive blending equation, often used for particle effects such as fire or light decals. + </constant> + <constant name="BLEND_MODE_SUB" value="2"> + Use subtractive blending equation, often used for some smoke effects or types of glass. + </constant> + <constant name="BLEND_MODE_MUL" value="3"> + </constant> + <constant name="BLEND_MODE_PREMULT_ALPHA" value="4"> + </constant> </constants> </class> <class name="MaterialShader" inherits="Shader" category="Core"> @@ -19553,10 +19608,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Matrix3" category="Built-In Types"> <brief_description> - 3x3 matrix datatype. + 3x3 matrix datatype. </brief_description> <description> - 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z. Can also be accessed as array of 3D vectors. Almost always used as orthogonal basis for a [Transform]. + 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z. Can also be accessed as array of 3D vectors. Almost always used as orthogonal basis for a [Transform]. </description> <methods> <method name="Matrix3"> @@ -19565,7 +19620,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="from" type="Quat"> </argument> <description> - Create a matrix from a quaternion. + Create a matrix from a quaternion. </description> </method> <method name="Matrix3"> @@ -19576,7 +19631,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="phi" type="float"> </argument> <description> - Create a matrix from an axis vector and an angle. + Create a matrix from an axis vector and an angle. </description> </method> <method name="Matrix3"> @@ -19589,21 +19644,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="z_axis" type="Vector3"> </argument> <description> - Create a matrix from 3 axis vectors. + Create a matrix from 3 axis vectors. </description> </method> <method name="determinant"> <return type="float"> </return> <description> - Return the determinant of the matrix. + Return the determinant of the matrix. </description> </method> <method name="get_euler"> <return type="Vector3"> </return> <description> - Return euler angles from the matrix. + Return euler angles from the matrix. </description> </method> <method name="get_orthogonal_index"> @@ -19622,14 +19677,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Matrix3"> </return> <description> - Return the affine inverse of the matrix. + Return the affine inverse of the matrix. </description> </method> <method name="orthonormalized"> <return type="Matrix3"> </return> <description> - Return the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error). + Return the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error). </description> </method> <method name="rotated"> @@ -19640,7 +19695,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="phi" type="float"> </argument> <description> - Return the rotated version of the matrix, by a given axis and angle. + Return the rotated version of the matrix, by a given axis and angle. </description> </method> <method name="scaled"> @@ -19649,7 +19704,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="scale" type="Vector3"> </argument> <description> - Return the scaled version of the matrix, by a 3D scale. + Return the scaled version of the matrix, by a 3D scale. </description> </method> <method name="tdotx"> @@ -19658,7 +19713,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="with" type="Vector3"> </argument> <description> - Transposed dot product with the x axis of the matrix. + Transposed dot product with the x axis of the matrix. </description> </method> <method name="tdoty"> @@ -19667,7 +19722,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="with" type="Vector3"> </argument> <description> - Transposed dot product with the y axis of the matrix. + Transposed dot product with the y axis of the matrix. </description> </method> <method name="tdotz"> @@ -19676,14 +19731,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="with" type="Vector3"> </argument> <description> - Transposed dot product with the z axis of the matrix. + Transposed dot product with the z axis of the matrix. </description> </method> <method name="transposed"> <return type="Matrix3"> </return> <description> - Return the transposed version of the matrix. + Return the transposed version of the matrix. </description> </method> <method name="xform"> @@ -19692,7 +19747,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="v" type="Vector3"> </argument> <description> - Return a vector transformed by the matrix and return it. + Return a vector transformed by the matrix and return it. </description> </method> <method name="xform_inv"> @@ -19701,7 +19756,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="v" type="Vector3"> </argument> <description> - Return a vector transformed by the transposed matrix and return it. + Return a vector transformed by the transposed matrix and return it. </description> </method> </methods> @@ -19718,10 +19773,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Matrix32" category="Built-In Types"> <brief_description> - 3x2 Matrix for 2D transforms. + 3x2 Matrix for 2D transforms. </brief_description> <description> - 3x2 Matrix for 2D transforms. + 3x2 Matrix for 2D transforms. </description> <methods> <method name="Matrix32"> @@ -19870,17 +19925,17 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MenuButton" inherits="Button" category="Core"> <brief_description> - Special button that brings up a [PopupMenu] when clicked. + Special button that brings up a [PopupMenu] when clicked. </brief_description> <description> - Special button that brings up a [PopupMenu] when clicked. That's pretty much all it does, as it's just a helper class when building GUIs. + Special button that brings up a [PopupMenu] when clicked. That's pretty much all it does, as it's just a helper class when building GUIs. </description> <methods> <method name="get_popup"> <return type="PopupMenu"> </return> <description> - Return the [PopupMenu] contained in this button. + Return the [PopupMenu] contained in this button. </description> </method> </methods> @@ -19919,10 +19974,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Mesh" inherits="Resource" category="Core"> <brief_description> - A [Resource] that contains vertex-array based geometry. + A [Resource] that contains vertex-array based geometry. </brief_description> <description> - Mesh is a type of [Resource] that contains vertex-array based geometry, divided in [i]surfaces[/i]. Each surface contains a completely separate array and a material used to draw it. Design wise, a mesh with multiple surfaces is preferred to a single surface, because objects created in 3D editing software commonly contain multiple materials. + Mesh is a type of [Resource] that contains vertex-array based geometry, divided in [i]surfaces[/i]. Each surface contains a completely separate array and a material used to draw it. Design wise, a mesh with multiple surfaces is preferred to a single surface, because objects created in 3D editing software commonly contain multiple materials. </description> <methods> <method name="add_morph_target"> @@ -19941,9 +19996,9 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <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. - Surfaces are created to be rendered using a "primitive", which may be PRIMITIVE_POINTS, PRIMITIVE_LINES, PRIMITIVE_LINE_STRIP, PRIMITIVE_LINE_LOOP, PRIMITIVE_TRIANGLES, PRIMITIVE_TRIANGLE_STRIP, PRIMITIVE_TRIANGLE_FAN. (As a note, when using indices, it is recommended to only use just points, lines or triangles). - The format of a surface determines which arrays it will allocate and hold, so "format" is a combination of ARRAY_FORMAT_* mask constants ORed together. ARRAY_FORMAT_VERTEX must be always present. "array_len" determines the amount of vertices in the array (not primitives!). if ARRAY_FORMAT_INDEX is in the format mask, then it means that an index array will be allocated and "index_array_len" must be passed. + Create a new surface ([method get_surface_count] that will become surf_idx for this. + Surfaces are created to be rendered using a "primitive", which may be PRIMITIVE_POINTS, PRIMITIVE_LINES, PRIMITIVE_LINE_STRIP, PRIMITIVE_LINE_LOOP, PRIMITIVE_TRIANGLES, PRIMITIVE_TRIANGLE_STRIP, PRIMITIVE_TRIANGLE_FAN. (As a note, when using indices, it is recommended to only use just points, lines or triangles). + The format of a surface determines which arrays it will allocate and hold, so "format" is a combination of ARRAY_FORMAT_* mask constants ORed together. ARRAY_FORMAT_VERTEX must be always present. "array_len" determines the amount of vertices in the array (not primitives!). if ARRAY_FORMAT_INDEX is in the format mask, then it means that an index array will be allocated and "index_array_len" must be passed. </description> </method> <method name="center_geometry"> @@ -19984,7 +20039,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Return the amount of surfaces that the [Mesh] holds. + Return the amount of surfaces that the [Mesh] holds. </description> </method> <method name="regen_normalmaps"> @@ -20009,7 +20064,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="surf_idx" type="int"> </argument> <description> - Return the length in indices of the index array in the requested surface (see [method add_surface]). + Return the length in indices of the index array in the requested surface (see [method add_surface]). </description> </method> <method name="surface_get_array_len" qualifiers="const"> @@ -20018,7 +20073,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="surf_idx" type="int"> </argument> <description> - Return the length in vertices of the vertex array in the requested surface (see [method add_surface]). + Return the length in vertices of the vertex array in the requested surface (see [method add_surface]). </description> </method> <method name="surface_get_format" qualifiers="const"> @@ -20027,7 +20082,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="surf_idx" type="int"> </argument> <description> - Return the format mask of the requested surface (see [method add_surface]). + Return the format mask of the requested surface (see [method add_surface]). </description> </method> <method name="surface_get_material" qualifiers="const"> @@ -20036,7 +20091,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="surf_idx" type="int"> </argument> <description> - Return a [Material] in a given surface. Surface is rendered using this material. + Return a [Material] in a given surface. Surface is rendered using this material. </description> </method> <method name="surface_get_name" qualifiers="const"> @@ -20053,14 +20108,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="surf_idx" type="int"> </argument> <description> - Return the primitive type of the requested surface (see [method add_surface]). + Return the primitive type of the requested surface (see [method add_surface]). </description> </method> <method name="surface_remove"> <argument index="0" name="surf_idx" type="int"> </argument> <description> - Remove a surface at position surf_idx, shifting greater surfaces one surf_idx slot down. + Remove a surface at position surf_idx, shifting greater surfaces one surf_idx slot down. </description> </method> <method name="surface_set_material"> @@ -20069,7 +20124,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="material" type="Material"> </argument> <description> - Set a [Material] for a given surface. Surface will be rendered using this material. + Set a [Material] for a given surface. Surface will be rendered using this material. </description> </method> <method name="surface_set_name"> @@ -20082,65 +20137,65 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> </methods> <constants> + <constant name="NO_INDEX_ARRAY" value="-1"> + Default value used for index_array_len when no indices are present. + </constant> + <constant name="ARRAY_WEIGHTS_SIZE" value="4"> + Amount of weights/bone indices per vertex (always 4). + </constant> <constant name="ARRAY_VERTEX" value="0"> Vertex array (array of [Vector3] vertices). </constant> - <constant name="ARRAY_FORMAT_VERTEX" value="1"> - Array format will include vertices (mandatory). - </constant> <constant name="ARRAY_NORMAL" value="1"> Normal array (array of [Vector3] normals). </constant> - <constant name="ARRAY_FORMAT_WEIGHTS" value="128"> - Array format will include bone weights. - </constant> - <constant name="ARRAY_FORMAT_TEX_UV" value="16"> - Array format will include UVs. - </constant> - <constant name="ARRAY_FORMAT_NORMAL" value="2"> - Array format will include normals - </constant> <constant name="ARRAY_TANGENT" value="2"> Tangent array, array of groups of 4 floats. first 3 floats determine the tangent, and the last the binormal direction as -1 or 1. </constant> - <constant name="ARRAY_FORMAT_INDEX" value="256"> - Index array will be used. - </constant> <constant name="ARRAY_COLOR" value="3"> Vertex array (array of [Color] colors). </constant> - <constant name="ARRAY_FORMAT_TEX_UV2" value="32"> - Array format will include another set of UVs. - </constant> - <constant name="ARRAY_FORMAT_TANGENT" value="4"> - Array format will include tangents - </constant> <constant name="ARRAY_TEX_UV" value="4"> UV array (array of [Vector3] UVs or float array of groups of 2 floats (u,v)). </constant> - <constant name="ARRAY_WEIGHTS_SIZE" value="4"> - Amount of weights/bone indices per vertex (always 4). - </constant> <constant name="ARRAY_TEX_UV2" value="5"> Second UV array (array of [Vector3] UVs or float array of groups of 2 floats (u,v)). </constant> <constant name="ARRAY_BONES" value="6"> Array of bone indices, as a float array. Each element in groups of 4 floats. </constant> - <constant name="ARRAY_FORMAT_BONES" value="64"> - Array format will include bone indices. - </constant> <constant name="ARRAY_WEIGHTS" value="7"> Array of bone weights, as a float array. Each element in groups of 4 floats. </constant> + <constant name="ARRAY_INDEX" value="8"> + Array of integers, used as indices referencing vertices. No index can be beyond the vertex array size. + </constant> + <constant name="ARRAY_FORMAT_VERTEX" value="1"> + Array format will include vertices (mandatory). + </constant> + <constant name="ARRAY_FORMAT_NORMAL" value="2"> + Array format will include normals + </constant> + <constant name="ARRAY_FORMAT_TANGENT" value="4"> + Array format will include tangents + </constant> <constant name="ARRAY_FORMAT_COLOR" value="8"> Array format will include a color array. </constant> - <constant name="ARRAY_INDEX" value="8"> - Array of integers, used as indices referencing vertices. No index can be beyond the vertex array size. + <constant name="ARRAY_FORMAT_TEX_UV" value="16"> + Array format will include UVs. </constant> - <constant name="NO_INDEX_ARRAY" value="-1"> - Default value used for index_array_len when no indices are present. + <constant name="ARRAY_FORMAT_TEX_UV2" value="32"> + Array format will include another set of UVs. + </constant> + <constant name="ARRAY_FORMAT_BONES" value="64"> + Array format will include bone indices. + </constant> + <constant name="ARRAY_FORMAT_WEIGHTS" value="128"> + Array format will include bone weights. + </constant> + <constant name="ARRAY_FORMAT_INDEX" value="256"> + Index array will be used. </constant> <constant name="PRIMITIVE_POINTS" value="0"> Render array as points (one vertex equals one point). @@ -20467,10 +20522,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MeshInstance" inherits="GeometryInstance" category="Core"> <brief_description> - Node that instances meshes into a scenario. + Node that instances meshes into a scenario. </brief_description> <description> - MeshInstance is a [Node] that takes a [Mesh] resource and adds it to the current scenario by creating an instance of it. This is the class most often used to get 3D geometry rendered and can be used to instance a single [Mesh] in many places. This allows to reuse geometry and save on resources. When a [Mesh] has to be instanced more than thousands of times at close proximity, consider using a [MultiMesh] in a [MultiMeshInstance] instead. + MeshInstance is a [Node] that takes a [Mesh] resource and adds it to the current scenario by creating an instance of it. This is the class most often used to get 3D geometry rendered and can be used to instance a single [Mesh] in many places. This allows to reuse geometry and save on resources. When a [Mesh] has to be instanced more than thousands of times at close proximity, consider using a [MultiMesh] in a [MultiMeshInstance] instead. </description> <methods> <method name="create_convex_collision"> @@ -20479,21 +20534,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> <method name="create_trimesh_collision"> <description> - This helper creates a [StaticBody] child [Node] using the mesh geometry as collision. It's mainly used for testing. + This helper creates a [StaticBody] child [Node] using the mesh geometry as collision. It's mainly used for testing. </description> </method> <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> - Return the AABB of the mesh, in local coordinates. + Return the AABB of the mesh, in local coordinates. </description> </method> <method name="get_mesh" qualifiers="const"> <return type="Mesh"> </return> <description> - Return the current [Mesh] resource for the instance. + Return the current [Mesh] resource for the instance. </description> </method> <method name="get_skeleton_path"> @@ -20506,7 +20561,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="mesh" type="Mesh"> </argument> <description> - Set the [Mesh] resource for the instance. + Set the [Mesh] resource for the instance. </description> </method> <method name="set_skeleton_path"> @@ -20521,29 +20576,29 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MeshLibrary" inherits="Resource" category="Core"> <brief_description> - Library of meshes. + Library of meshes. </brief_description> <description> - Library of meshes. Contains a list of [Mesh] resources, each with name and ID. Useful for GridMap or painting Terrain. + Library of meshes. Contains a list of [Mesh] resources, each with name and ID. Useful for GridMap or painting Terrain. </description> <methods> <method name="clear"> <description> - Clear the library. + Clear the library. </description> </method> <method name="create_item"> <argument index="0" name="id" type="int"> </argument> <description> - Create a new item in the library, supplied an id. + Create a new item in the library, supplied an id. </description> </method> <method name="get_item_list" qualifiers="const"> <return type="IntArray"> </return> <description> - Return the list of items. + Return the list of items. </description> </method> <method name="get_item_mesh" qualifiers="const"> @@ -20552,7 +20607,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="id" type="int"> </argument> <description> - Return the mesh of the item. + Return the mesh of the item. </description> </method> <method name="get_item_name" qualifiers="const"> @@ -20561,7 +20616,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="id" type="int"> </argument> <description> - Return the name of the item. + Return the name of the item. </description> </method> <method name="get_item_navmesh" qualifiers="const"> @@ -20584,14 +20639,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Get an unused id for a new item. + Get an unused id for a new item. </description> </method> <method name="remove_item"> <argument index="0" name="id" type="int"> </argument> <description> - Remove the item. + Remove the item. </description> </method> <method name="set_item_mesh"> @@ -20600,7 +20655,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="mesh" type="Mesh"> </argument> <description> - Set the mesh of the item. + Set the mesh of the item. </description> </method> <method name="set_item_name"> @@ -20609,7 +20664,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="name" type="String"> </argument> <description> - Set the name of the item. + Set the name of the item. </description> </method> <method name="set_item_navmesh"> @@ -20634,25 +20689,25 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MultiMesh" inherits="Resource" category="Core"> <brief_description> - Provides high performance mesh instancing. + Provides high performance mesh instancing. </brief_description> <description> - MultiMesh provides low level mesh instancing. If the amount of [Mesh] instances needed goes from hundreds to thousands (and most need to be visible at close proximity) creating such a large amount of [MeshInstance] nodes may affect performance by using too much CPU or video memory. - For this case a MultiMesh becomes very useful, as it can draw thousands of instances with little API overhead. - As a drawback, if the instances are too far away of each other, performance may be reduced as every single instance will always rendered (they are spatially indexed as one, for the whole object). - Since instances may have any behavior, the AABB used for visibility must be provided by the user, or generated with [method generate_aabb]. + MultiMesh provides low level mesh instancing. If the amount of [Mesh] instances needed goes from hundreds to thousands (and most need to be visible at close proximity) creating such a large amount of [MeshInstance] nodes may affect performance by using too much CPU or video memory. + For this case a MultiMesh becomes very useful, as it can draw thousands of instances with little API overhead. + As a drawback, if the instances are too far away of each other, performance may be reduced as every single instance will always rendered (they are spatially indexed as one, for the whole object). + Since instances may have any behavior, the AABB used for visibility must be provided by the user, or generated with [method generate_aabb]. </description> <methods> <method name="generate_aabb"> <description> - Generate a new visibility AABB, using mesh AABB and instance transforms. Since instance information is stored in the [VisualServer], this function is VERY SLOW and must NOT be used often. + Generate a new visibility AABB, using mesh AABB and instance transforms. Since instance information is stored in the [VisualServer], this function is VERY SLOW and must NOT be used often. </description> </method> <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> - Return the visibility AABB. + Return the visibility AABB. </description> </method> <method name="get_instance_color" qualifiers="const"> @@ -20661,14 +20716,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="instance" type="int"> </argument> <description> - Get the color of a specific instance. + Get the color of a specific instance. </description> </method> <method name="get_instance_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of instances that is going to be drawn. + Return the amount of instances that is going to be drawn. </description> </method> <method name="get_instance_transform" qualifiers="const"> @@ -20677,21 +20732,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="instance" type="int"> </argument> <description> - Return the transform of a specific instance. + Return the transform of a specific instance. </description> </method> <method name="get_mesh" qualifiers="const"> <return type="Mesh"> </return> <description> - Return the [Mesh] resource drawn as multiple instances. + Return the [Mesh] resource drawn as multiple instances. </description> </method> <method name="set_aabb"> <argument index="0" name="visibility_aabb" type="AABB"> </argument> <description> - Set the visibility AABB. If not provided, MultiMesh will not be visible. + Set the visibility AABB. If not provided, MultiMesh will not be visible. </description> </method> <method name="set_instance_color"> @@ -20700,14 +20755,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="color" type="Color"> </argument> <description> - Set the color of a specific instance. + Set the color of a specific instance. </description> </method> <method name="set_instance_count"> <argument index="0" name="count" type="int"> </argument> <description> - Set the amount of instances that is going to be drawn. Changing this number will erase all the existing instance transform and color data. + Set the amount of instances that is going to be drawn. Changing this number will erase all the existing instance transform and color data. </description> </method> <method name="set_instance_transform"> @@ -20716,14 +20771,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="transform" type="Transform"> </argument> <description> - Set the transform for a specific instance. + Set the transform for a specific instance. </description> </method> <method name="set_mesh"> <argument index="0" name="mesh" type="Mesh"> </argument> <description> - Set the [Mesh] resource to be drawn in multiple instances. + Set the [Mesh] resource to be drawn in multiple instances. </description> </method> </methods> @@ -20732,24 +20787,24 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="MultiMeshInstance" inherits="GeometryInstance" category="Core"> <brief_description> - Node that instances a [MultiMesh]. + Node that instances a [MultiMesh]. </brief_description> <description> - MultiMeshInstance is a [Node] that takes a [MultiMesh] resource and adds it to the current scenario by creating an instance of it (yes, this is an instance of instances). + MultiMeshInstance is a [Node] that takes a [MultiMesh] resource and adds it to the current scenario by creating an instance of it (yes, this is an instance of instances). </description> <methods> <method name="get_multimesh" qualifiers="const"> <return type="Object"> </return> <description> - Return the [MultiMesh] that is used for instancing. + Return the [MultiMesh] that is used for instancing. </description> </method> <method name="set_multimesh"> <argument index="0" name="multimesh" type="Object"> </argument> <description> - Set the [MultiMesh] to be instance. + Set the [MultiMesh] to be instance. </description> </method> </methods> @@ -20758,27 +20813,27 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Mutex" inherits="Reference" category="Core"> <brief_description> - A synchronization Mutex. + A synchronization Mutex. </brief_description> <description> - A synchronization Mutex. Element used in multi-threadding. Basically a binary [Semaphore]. Guarantees that only one thread has this lock, can be used to protect a critical section. + A synchronization Mutex. Element used in multi-threadding. Basically a binary [Semaphore]. Guarantees that only one thread has this lock, can be used to protect a critical section. </description> <methods> <method name="lock"> <description> - Lock this [Mutex], blocks until it is unlocked by the current owner. + Lock this [Mutex], blocks until it is unlocked by the current owner. </description> </method> <method name="try_lock"> <return type="Error"> </return> <description> - Try locking this [Mutex], does not block. Returns [OK] on success else [ERR_BUSY]. + Try locking this [Mutex], does not block. Returns [OK] on success else [ERR_BUSY]. </description> </method> <method name="unlock"> <description> - Unlock this [Mutex], leaving it to others threads. + Unlock this [Mutex], leaving it to others threads. </description> </method> </methods> @@ -21335,18 +21390,18 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Node" inherits="Object" category="Core"> <brief_description> - Base class for all the "Scene" elements. + Base class for all the "Scene" elements. </brief_description> <description> - Nodes can be set as children of other nodes, resulting in a tree arrangement. Any tree of nodes is called a "Scene". - Scenes can be saved to disk, and then instanced into other scenes. This allows for very high flexibility in the architecture and data model of the projects. - [SceneTree] contains the "active" tree of nodes, and a node becomes active (receiving NOTIFICATION_ENTER_SCENE) when added to that tree. - A node can contain any number of nodes as a children (but there is only one tree root) with the requirement that no two children with the same name can exist. - Nodes can, optionally, be added to groups. This makes it easy to reach a number of nodes from the code (for example an "enemies" group). - Nodes can be set to "process" state, so they constantly receive a callback requesting them to process (do anything). Normal processing ([method _process]) happens as fast as possible and is dependent on the frame rate, so the processing time delta is variable. Fixed processing ([method _fixed_process]) happens a fixed amount of times per second (by default 60) and is useful to link itself to the physics. - Nodes can also process input events. When set, the [method _input] function will be called with every input that the program receives. Since this is usually too overkill (unless used for simple projects), an [method _unhandled_input] function is called when the input was not handled by anyone else (usually, GUI [Control] nodes). - To keep track of the scene hierarchy (specially when instancing scenes into scenes) an "owner" can be set to a node. This keeps track of who instanced what. This is mostly useful when writing editors and tools, though. - Finally, when a node is freed, it will free all its children nodes too. + Nodes can be set as children of other nodes, resulting in a tree arrangement. Any tree of nodes is called a "Scene". + Scenes can be saved to disk, and then instanced into other scenes. This allows for very high flexibility in the architecture and data model of the projects. + [SceneTree] contains the "active" tree of nodes, and a node becomes active (receiving NOTIFICATION_ENTER_SCENE) when added to that tree. + A node can contain any number of nodes as a children (but there is only one tree root) with the requirement that no two children with the same name can exist. + Nodes can, optionally, be added to groups. This makes it easy to reach a number of nodes from the code (for example an "enemies" group). + Nodes can be set to "process" state, so they constantly receive a callback requesting them to process (do anything). Normal processing ([method _process]) happens as fast as possible and is dependent on the frame rate, so the processing time delta is variable. Fixed processing ([method _fixed_process]) happens a fixed amount of times per second (by default 60) and is useful to link itself to the physics. + Nodes can also process input events. When set, the [method _input] function will be called with every input that the program receives. Since this is usually too overkill (unless used for simple projects), an [method _unhandled_input] function is called when the input was not handled by anyone else (usually, GUI [Control] nodes). + To keep track of the scene hierarchy (specially when instancing scenes into scenes) an "owner" can be set to a node. This keeps track of who instanced what. This is mostly useful when writing editors and tools, though. + Finally, when a node is freed, it will free all its children nodes too. </description> <methods> <method name="_enter_tree" qualifiers="virtual"> @@ -21361,40 +21416,40 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="delta" type="float"> </argument> <description> - Called for fixed processing (synced to the physics). + Called for fixed processing (synced to the physics). </description> </method> <method name="_input" qualifiers="virtual"> <argument index="0" name="event" type="InputEvent"> </argument> <description> - Called when any input happens (also must enable with [method set_process_input] or the property). + Called when any input happens (also must enable with [method set_process_input] or the property). </description> </method> <method name="_process" qualifiers="virtual"> <argument index="0" name="delta" type="float"> </argument> <description> - Called for processing. This is called every frame, with the delta time from the previous frame. + Called for processing. This is called every frame, with the delta time from the previous frame. </description> </method> <method name="_ready" qualifiers="virtual"> <description> - Called when ready (entered scene and children entered too). + Called when ready (entered scene and children entered too). </description> </method> <method name="_unhandled_input" qualifiers="virtual"> <argument index="0" name="event" type="InputEvent"> </argument> <description> - Called when any input happens that was not handled by something else (also must enable with [method set_process_unhandled_input] or the property). + Called when any input happens that was not handled by something else (also must enable with [method set_process_unhandled_input] or the property). </description> </method> <method name="_unhandled_key_input" qualifiers="virtual"> <argument index="0" name="key_event" type="InputEvent"> </argument> <description> - Called when any key input happens that was not handled by something else. + Called when any key input happens that was not handled by something else. </description> </method> <method name="add_child"> @@ -21403,8 +21458,8 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="legible_unique_name" type="bool" default="false"> </argument> <description> - Add a child [Node]. Nodes can have as many children as they want, but every child must have a unique name. Children nodes are automatically deleted when the parent node is deleted, so deleting a whole scene is performed by deleting its topmost node. - The optional boolean argument enforces creating child node with human-readable names, based on the name of node being instanced instead of its type only. + Add a child [Node]. Nodes can have as many children as they want, but every child must have a unique name. Children nodes are automatically deleted when the parent node is deleted, so deleting a whole scene is performed by deleting its topmost node. + The optional boolean argument enforces creating child node with human-readable names, based on the name of node being instanced instead of its type only. </description> </method> <method name="add_to_group"> @@ -21413,14 +21468,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <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_tree]). + 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_tree]). </description> </method> <method name="can_process" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the node can process. + Return true if the node can process. </description> </method> <method name="duplicate" qualifiers="const"> @@ -21441,7 +21496,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="owned" type="bool" default="true"> </argument> <description> - Find a descendant of this node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names. + Find a descendant of this node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names. </description> </method> <method name="get_child" qualifiers="const"> @@ -21450,14 +21505,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Return a children node by it's index (see [method get_child_count]). This method is often used for iterating all children of a node. + Return a children node by it's index (see [method get_child_count]). This method is often used for iterating all children of a node. </description> </method> <method name="get_child_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of children nodes. + Return the amount of children nodes. </description> </method> <method name="get_children" qualifiers="const"> @@ -21470,14 +21525,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="String"> </return> <description> - Return a filename that may be containedA node can contained by the node. When a scene is instanced from a file, it topmost node contains the filename from where it was loaded (see [method set_filename]). + Return a filename that may be containedA node can contained by the node. When a scene is instanced from a file, it topmost node contains the filename from where it was loaded (see [method set_filename]). </description> </method> <method name="get_fixed_process_delta_time" qualifiers="const"> <return type="float"> </return> <description> - Return the time elapsed since the last fixed frame. This is always the same in fixed processing unless the frames per second is changed in [OS]. + Return the time elapsed since the last fixed frame. This is always the same in fixed processing unless the frames per second is changed in [OS]. </description> </method> <method name="get_groups" qualifiers="const"> @@ -21490,14 +21545,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Get the node index in the parent (assuming it has a parent). + Get the node index in the parent (assuming it has a parent). </description> </method> <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> - Return the name of the [Node]. Name is be unique within parent. + Return the name of the [Node]. Name is be unique within parent. </description> </method> <method name="get_node" qualifiers="const"> @@ -21506,22 +21561,25 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="path" type="NodePath"> </argument> <description> - Fetch a node. NodePath must be valid (or else error will occur) and can be either the path to child node, a relative path (from the current node to another node), or an absolute path to a node. - Note: fetching absolute paths only works when the node is inside the scene tree (see [method is_inside_tree]). Examples. Assume your current node is Character and following tree:[br] - root/ - root/Character - root/Character/Sword - root/Character/Backpack/Dagger - root/MyGame - root/Swamp/Alligator - root/Swamp/Mosquito - root/Swamp/Goblin - - Possible paths are: - - get_node("Sword") - - get_node("Backpack/Dagger") - - get_node("../Swamp/Alligator") - - get_node("/root/MyGame") + Fetch a node. NodePath must be valid (or else error will occur) and can be either the path to child node, a relative path (from the current node to another node), or an absolute path to a node. + Note: fetching absolute paths only works when the node is inside the scene tree (see [method is_inside_tree]). Examples. Assume your current node is Character and following tree: + [codeblock] + root/ + root/Character + root/Character/Sword + root/Character/Backpack/Dagger + root/MyGame + root/Swamp/Alligator + root/Swamp/Mosquito + root/Swamp/Goblin + [/codeblock] + Possible paths are: + [codeblock] + get_node("Sword") + get_node("Backpack/Dagger") + get_node("../Swamp/Alligator") + get_node("/root/MyGame") + [/codeblock] </description> </method> <method name="get_node_and_resource"> @@ -21536,21 +21594,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Node"> </return> <description> - Get the node owner (see [method set_owner]). + Get the node owner (see [method set_owner]). </description> </method> <method name="get_parent" qualifiers="const"> <return type="Node"> </return> <description> - Return the parent [Node] of the current [Node], or an empty Object if the node lacks a parent. + Return the parent [Node] of the current [Node], or an empty Object if the node lacks a parent. </description> </method> <method name="get_path" qualifiers="const"> <return type="NodePath"> </return> <description> - Return the absolute path of the current node. This only works if the current node is inside the scene tree (see [method is_inside_tree]). + Return the absolute path of the current node. This only works if the current node is inside the scene tree (see [method is_inside_tree]). </description> </method> <method name="get_path_to" qualifiers="const"> @@ -21559,7 +21617,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="node" type="Node"> </argument> <description> - Return the relative path from the current node to the specified node in "node" argument. Both nodes must be in the same scene, or else the function will fail. + Return the relative path from the current node to the specified node in "node" argument. Both nodes must be in the same scene, or else the function will fail. </description> </method> <method name="get_pause_mode" qualifiers="const"> @@ -21578,7 +21636,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="float"> </return> <description> - Return the time elapsed (in seconds) since the last process callback. This is almost always different each time. + Return the time elapsed (in seconds) since the last process callback. This is almost always different each time. </description> </method> <method name="get_scene_instance_load_placeholder" qualifiers="const"> @@ -21621,14 +21679,26 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="node" type="Node"> </argument> <description> - Return [i]true[/i] if the "node" argument is a direct or indirect child of the current node, otherwise return [i]false[/i]. + Return [i]true[/i] if the "node" argument is a direct or indirect child of the current node, otherwise return [i]false[/i]. + </description> + </method> + <method name="is_displayed_folded" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="is_displayed_folded" qualifiers="const"> + <return type="bool"> + </return> + <description> </description> </method> <method name="is_fixed_processing" qualifiers="const"> <return type="bool"> </return> <description> - Return true if fixed processing is enabled (see [method set_fixed_process]). + Return true if fixed processing is enabled (see [method set_fixed_process]). </description> </method> <method name="is_greater_than" qualifiers="const"> @@ -21637,7 +21707,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="node" type="Node"> </argument> <description> - Return [i]true[/i] if "node" occurs later in the scene hierarchy than the current node, otherwise return [i]false[/i]. + Return [i]true[/i] if "node" occurs later in the scene hierarchy than the current node, otherwise return [i]false[/i]. </description> </method> <method name="is_in_group" qualifiers="const"> @@ -21658,21 +21728,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return whether processing is enabled in the current node (see [method set_process]). + Return whether processing is enabled in the current node (see [method set_process]). </description> </method> <method name="is_processing_input" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the node is processing input (see [method set_process_input]). + Return true if the node is processing input (see [method set_process_input]). </description> </method> <method name="is_processing_unhandled_input" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the node is processing unhandled input (see [method set_process_unhandled_input]). + Return true if the node is processing unhandled input (see [method set_process_unhandled_input]). </description> </method> <method name="is_processing_unhandled_key_input" qualifiers="const"> @@ -21687,7 +21757,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="to_pos" type="int"> </argument> <description> - Move a child node to a different position (order) amongst the other children. Since calls, signals, etc are performed by tree order, changing the order of children nodes may be useful. + Move a child node to a different position (order) amongst the other children. Since calls, signals, etc are performed by tree order, changing the order of children nodes may be useful. </description> </method> <method name="print_stray_nodes"> @@ -21696,14 +21766,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> <method name="print_tree"> <description> - Print the scene to stdout. Used mainly for debugging purposes. + Print the scene to stdout. Used mainly for debugging purposes. </description> </method> <method name="propagate_notification"> <argument index="0" name="what" type="int"> </argument> <description> - Notify the current node and all its children recursively by calling notification() in all of them. + Notify the current node and all its children recursively by calling notification() in all of them. </description> </method> <method name="queue_free"> @@ -21712,26 +21782,26 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> <method name="raise"> <description> - Move this node to the top of the array of nodes of the parent node. This is often useful on GUIs ([Control]), because their order of drawing fully depends on their order in the tree. + Move this node to the top of the array of nodes of the parent node. This is often useful on GUIs ([Control]), because their order of drawing fully depends on their order in the tree. </description> </method> <method name="remove_and_skip"> <description> - Remove a node and set all its children as children of the parent node (if exists). All even subscriptions that pass by the removed node will be unsubscribed. + Remove a node and set all its children as children of the parent node (if exists). All even subscriptions that pass by the removed node will be unsubscribed. </description> </method> <method name="remove_child"> <argument index="0" name="node" type="Node"> </argument> <description> - Remove a child [Node]. Node is NOT deleted and will have to be deleted manually. + Remove a child [Node]. Node is NOT deleted and will have to be deleted manually. </description> </method> <method name="remove_from_group"> <argument index="0" name="group" type="String"> </argument> <description> - Remove a node from a group. + Remove a node from a group. </description> </method> <method name="replace_by"> @@ -21740,35 +21810,47 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="keep_data" type="bool" default="false"> </argument> <description> - Replace a node in a scene by a given one. Subscriptions that pass through this node will be lost. + Replace a node in a scene by a given one. Subscriptions that pass through this node will be lost. + </description> + </method> + <method name="set_display_folded"> + <argument index="0" name="fold" type="bool"> + </argument> + <description> + </description> + </method> + <method name="set_display_folded"> + <argument index="0" name="fold" type="bool"> + </argument> + <description> </description> </method> <method name="set_filename"> <argument index="0" name="filename" type="String"> </argument> <description> - A node can contain a filename. This filename should not be changed by the user, unless writing editors and tools. When a scene is instanced from a file, it topmost node contains the filename from where it was loaded. + A node can contain a filename. This filename should not be changed by the user, unless writing editors and tools. When a scene is instanced from a file, it topmost node contains the filename from where it was loaded. </description> </method> <method name="set_fixed_process"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enables or disables node fixed framerate processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS at a fixed (usually 60 fps, check [OS] to change that) interval (and the [method _fixed_process] callback will be called if exists). It is common to check how much time was elapsed since the previous frame by calling [method get_fixed_process_delta_time]. + Enables or disables node fixed framerate processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS at a fixed (usually 60 fps, check [OS] to change that) interval (and the [method _fixed_process] callback will be called if exists). It is common to check how much time was elapsed since the previous frame by calling [method get_fixed_process_delta_time]. </description> </method> <method name="set_name"> <argument index="0" name="name" type="String"> </argument> <description> - Set the name of the [Node]. Name must be unique within parent, and setting an already existing name will cause for the node to be automatically renamed. + Set the name of the [Node]. Name must be unique within parent, and setting an already existing name will cause for the node to be automatically renamed. </description> </method> <method name="set_owner"> <argument index="0" name="owner" type="Node"> </argument> <description> - Set the node owner. A node can have any other node as owner (as long as a valid parent, grandparent, etc ascending in the tree). When saving a node (using SceneSaver) all the nodes it owns will be saved with it. This allows to create complex SceneTrees, with instancing and subinstancing. + Set the node owner. A node can have any other node as owner (as long as a valid parent, grandparent, etc ascending in the tree). When saving a node (using SceneSaver) all the nodes it owns will be saved with it. This allows to create complex SceneTrees, with instancing and subinstancing. </description> </method> <method name="set_pause_mode"> @@ -21781,21 +21863,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="enable" type="bool"> </argument> <description> - Enables or disables node processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS on every drawn frame (and the [method _process] callback will be called if exists). It is common to check how much time was elapsed since the previous frame by calling [method get_process_delta_time]. + Enables or disables node processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS on every drawn frame (and the [method _process] callback will be called if exists). It is common to check how much time was elapsed since the previous frame by calling [method get_process_delta_time]. </description> </method> <method name="set_process_input"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable input processing for node. This is not required for GUI controls! It hooks up the node to receive all input (see [method _input]). + Enable input processing for node. This is not required for GUI controls! It hooks up the node to receive all input (see [method _input]). </description> </method> <method name="set_process_unhandled_input"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable unhandled input processing for node. This is not required for GUI controls! It hooks up the node to receive all input that was not previously handled before (usually by a [Control]). (see [method _unhandled_input]). + Enable unhandled input processing for node. This is not required for GUI controls! It hooks up the node to receive all input that was not previously handled before (usually by a [Control]). (see [method _unhandled_input]). </description> </method> <method name="set_process_unhandled_key_input"> @@ -21822,7 +21904,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </signal> <signal name="renamed"> <description> - Emitted when the node is renamed. + Emitted when the node is renamed. </description> </signal> </signals> @@ -21835,10 +21917,6 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="NOTIFICATION_READY" value="13"> </constant> - <constant name="NOTIFICATION_PAUSED" value="14"> - </constant> - <constant name="NOTIFICATION_UNPAUSED" value="15"> - </constant> <constant name="NOTIFICATION_FIXED_PROCESS" value="16"> </constant> <constant name="NOTIFICATION_PROCESS" value="17"> @@ -21850,6 +21928,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <constant name="NOTIFICATION_UNPARENTED" value="19"> Notification received when a node is unparented (parent removed it from the list of children). </constant> + <constant name="NOTIFICATION_PAUSED" value="14"> + </constant> + <constant name="NOTIFICATION_UNPAUSED" value="15"> + </constant> <constant name="NOTIFICATION_INSTANCED" value="20"> </constant> <constant name="NOTIFICATION_DRAG_BEGIN" value="21"> @@ -21866,17 +21948,17 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Node2D" inherits="CanvasItem" category="Core"> <brief_description> - Base node for 2D system. + Base node for 2D system. </brief_description> <description> - Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate. It can alternatively be used with a custom 2D transform ([Matrix32]). A tree of Node2Ds allows complex hierarchies for animation and positioning. + Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate. It can alternatively be used with a custom 2D transform ([Matrix32]). A tree of Node2Ds allows complex hierarchies for animation and positioning. </description> <methods> <method name="edit_set_pivot"> <argument index="0" name="pivot" type="Vector2"> </argument> <description> - Set the pivot position of the 2D node to 'pivot' value. This method is implemented only in some nodes that inherit Node2D. + Set the pivot position of the 2D node to 'pivot' value. This method is implemented only in some nodes that inherit Node2D. </description> </method> <method name="get_angle_to" qualifiers="const"> @@ -21885,21 +21967,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="point" type="Vector2"> </argument> <description> - Return the rotation angle in radians needed for the 2d node to point at 'point' position. + Return the rotation angle in radians needed for the 2d node to point at 'point' position. </description> </method> <method name="get_global_pos" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the global position of the 2D node. + Return the global position of the 2D node. </description> </method> <method name="get_pos" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the position of the 2D node. + Return the position of the 2D node. </description> </method> <method name="get_relative_transform_to_parent" qualifiers="const"> @@ -21908,14 +21990,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="parent" type="Object"> </argument> <description> - Return the transform [Matrix32] calculated relatively to the parent of this 2D node. + Return the transform [Matrix32] calculated relatively to the parent of this 2D node. </description> </method> <method name="get_rot" qualifiers="const"> <return type="float"> </return> <description> - Return the rotation of the 2D node. + Return the rotation of the 2D node. </description> </method> <method name="get_rotd" qualifiers="const"> @@ -21928,35 +22010,35 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Vector2"> </return> <description> - Return the scale of the 2D node. + Return the scale of the 2D node. </description> </method> <method name="get_z" qualifiers="const"> <return type="int"> </return> <description> - Return the Z-index of the 2D node. + Return the Z-index of the 2D node. </description> </method> <method name="global_translate"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Apply a global translation of 'offset' to the 2D node, starting from its current global position. + Apply a global translation of 'offset' to the 2D node, starting from its current global position. </description> </method> <method name="is_z_relative" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the Z-index value of this 2D node is relative to its parent's. Else, return false. + Return true if the Z-index value of this 2D node is relative to its parent's. Else, return false. </description> </method> <method name="look_at"> <argument index="0" name="point" type="Vector2"> </argument> <description> - Rotate the 2d node so it points at 'point' position. + Rotate the 2d node so it points at 'point' position. </description> </method> <method name="move_local_x"> @@ -21965,7 +22047,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="scaled" type="bool" default="false"> </argument> <description> - Apply a local translation on X axis to the 2D node according to the 'delta' of the process. If 'scaled' is false, the movement is normalized. + Apply a local translation on X axis to the 2D node according to the 'delta' of the process. If 'scaled' is false, the movement is normalized. </description> </method> <method name="move_local_y"> @@ -21974,91 +22056,91 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="scaled" type="bool" default="false"> </argument> <description> - Apply a local translation on Y axis to the 2D node according to the 'delta' of the process. If 'scaled' is false, the movement is normalized. + Apply a local translation on Y axis to the 2D node according to the 'delta' of the process. If 'scaled' is false, the movement is normalized. </description> </method> <method name="rotate"> <argument index="0" name="radians" type="float"> </argument> <description> - Apply a 'radians' rotation to the 2D node, starting from its current rotation. + Apply a 'radians' rotation to the 2D node, starting from its current rotation. </description> </method> <method name="scale"> <argument index="0" name="ratio" type="Vector2"> </argument> <description> - Apply the 'ratio' scale to the 2D node, according to its current scale value. + Apply the 'ratio' scale to the 2D node, according to its current scale value. </description> </method> <method name="set_global_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> - Set the global position of the 2D node to 'pos'. + Set the global position of the 2D node to 'pos'. </description> </method> <method name="set_global_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> - Set the global transform [Matrix32] of the 2D node. + Set the global transform [Matrix32] of the 2D node. </description> </method> <method name="set_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> - Set the position of the 2D node. + Set the position of the 2D node. </description> </method> <method name="set_rot"> <argument index="0" name="radians" type="float"> </argument> <description> - Set the rotation of the 2D node. + Set the rotation of the 2D node. </description> </method> <method name="set_rotd"> <argument index="0" name="degrees" type="float"> </argument> <description> - Set the rotation of the 2D node. + Set the rotation of the 2D node. </description> </method> <method name="set_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> - Set the scale of the 2D node. + Set the scale of the 2D node. </description> </method> <method name="set_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> - Set the local transform [Matrix32] of the 2D node. + Set the local transform [Matrix32] of the 2D node. </description> </method> <method name="set_z"> <argument index="0" name="z" type="int"> </argument> <description> - Set the Z-index value of the 2D node. + Set the Z-index value of the 2D node. </description> </method> <method name="set_z_as_relative"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the Z-index value as relative to the parent node of this 2D node. Thus, if this 2D node's Z-index value is 2 and its parent's effective Z-index is 3, then the effective Z-index value of this 2D node would be 3 + 2 = 5. + Set the Z-index value as relative to the parent node of this 2D node. Thus, if this 2D node's Z-index value is 2 and its parent's effective Z-index is 3, then the effective Z-index value of this 2D node would be 3 + 2 = 5. </description> </method> <method name="translate"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Apply a local translation of 'offset' to the 2D node, starting from its current local position. + Apply a local translation of 'offset' to the 2D node, starting from its current local position. </description> </method> </methods> @@ -22067,12 +22149,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="NodePath" category="Built-In Types"> <brief_description> - Pre-parsed scene tree path. + Pre-parsed scene tree path. </brief_description> <description> - A pre-parsed relative or absolute path in a scene tree, for use with [method Node.get_node] and similar functions. It can reference a node, a resource within a node, or a property of a node or resource. For instance, [code]"Path2D/PathFollow2D/Sprite:texture:size"[/code] would refer to the size property of the texture resource on the node named "Sprite" which is a child of the other named nodes in the path. Note that if you want to get a resource, you must end the path with a colon, otherwise the last element will be used as a property name. - You will usually just pass a string to [method Node.get_node] and it will be automatically converted, but you may occasionally want to parse a path ahead of time with [NodePath] or the literal syntax [code]@"path"[/code]. Exporting a [NodePath] variable will give you a node selection widget in the properties panel of the editor, which can often be useful. - A [NodePath] is made up of a list of node names, a list of "subnode" (resource) names, and the name of a property in the final node or resource. + A pre-parsed relative or absolute path in a scene tree, for use with [method Node.get_node] and similar functions. It can reference a node, a resource within a node, or a property of a node or resource. For instance, [code]"Path2D/PathFollow2D/Sprite:texture:size"[/code] would refer to the size property of the texture resource on the node named "Sprite" which is a child of the other named nodes in the path. Note that if you want to get a resource, you must end the path with a colon, otherwise the last element will be used as a property name. + You will usually just pass a string to [method Node.get_node] and it will be automatically converted, but you may occasionally want to parse a path ahead of time with [NodePath] or the literal syntax [code]@"path"[/code]. Exporting a [NodePath] variable will give you a node selection widget in the properties panel of the editor, which can often be useful. + A [NodePath] is made up of a list of node names, a list of "subnode" (resource) names, and the name of a property in the final node or resource. </description> <methods> <method name="NodePath"> @@ -22081,7 +22163,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="from" type="String"> </argument> <description> - Create a NodePath from a string, e.g. "Path2D/PathFollow2D/Sprite:texture:size". A path is absolute if it starts with a slash. Absolute paths are only valid in the global scene tree, not within individual scenes. In a relative path, [code]"."[/code] and [code]".."[/code] indicate the current node and its parent. + Create a NodePath from a string, e.g. "Path2D/PathFollow2D/Sprite:texture:size". A path is absolute if it starts with a slash. Absolute paths are only valid in the global scene tree, not within individual scenes. In a relative path, [code]"."[/code] and [code]".."[/code] indicate the current node and its parent. </description> </method> <method name="get_name"> @@ -22090,21 +22172,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Get the node name indicated by [code]idx[/code] (0 to [method get_name_count]) + Get the node name indicated by [code]idx[/code] (0 to [method get_name_count]) </description> </method> <method name="get_name_count"> <return type="int"> </return> <description> - Get the number of node names which make up the path. + Get the number of node names which make up the path. </description> </method> <method name="get_property"> <return type="String"> </return> <description> - Get the path's property name, or an empty string if the path doesn't have a property. + Get the path's property name, or an empty string if the path doesn't have a property. </description> </method> <method name="get_subname"> @@ -22113,28 +22195,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Get the resource name indicated by [code]idx[/code] (0 to [method get_subname_count]) + Get the resource name indicated by [code]idx[/code] (0 to [method get_subname_count]) </description> </method> <method name="get_subname_count"> <return type="int"> </return> <description> - Get the number of resource names in the path. + Get the number of resource names in the path. </description> </method> <method name="is_absolute"> <return type="bool"> </return> <description> - Return true if the node path is absolute (not relative). + Return true if the node path is absolute (not relative). </description> </method> <method name="is_empty"> <return type="bool"> </return> <description> - Return true if the node path is empty. + Return true if the node path is empty. </description> </method> </methods> @@ -22143,19 +22225,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="OS" inherits="Object" category="Core"> <brief_description> - Operating System functions. + Operating System functions. </brief_description> <description> - Operating System functions. OS Wraps the most common functionality to communicate with the host Operating System, such as: - -Mouse Grabbing - -Mouse Cursors - -Clipboard - -Video Mode - -Date " Time - -Timers - -Environment Variables - -Execution of Binaries - -Command Line + Operating System functions. OS Wraps the most common functionality to communicate with the host Operating System, such as: mouse grabbing, mouse cursors, clipboard, video mode, date and time, timers, environment variables, execution of binaries, command line, etc. </description> <methods> <method name="alert"> @@ -22170,7 +22243,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return true if the host OS allows drawing. + Return true if the host OS allows drawing. </description> </method> <method name="can_use_threads" qualifiers="const"> @@ -22183,14 +22256,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="msec" type="int"> </argument> <description> - Delay executing of the current thread by given milliseconds. + Delay executing of the current thread by given milliseconds. </description> </method> <method name="delay_usec" qualifiers="const"> <argument index="0" name="usec" type="int"> </argument> <description> - Delay executing of the current thread by given microseconds. + Delay executing of the current thread by given microseconds. </description> </method> <method name="dump_memory_to_file"> @@ -22217,7 +22290,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="output" type="Array" default="Array()"> </argument> <description> - Execute the binary file in given path, optionally blocking until it returns. A process ID is returned. + Execute the binary file in given path, optionally blocking until it returns. A process ID is returned. </description> </method> <method name="find_scancode_from_string" qualifiers="const"> @@ -22238,21 +22311,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="String"> </return> <description> - Get clipboard from the host OS. + Get clipboard from the host OS. </description> </method> <method name="get_cmdline_args"> <return type="StringArray"> </return> <description> - Return the commandline passed to the engine. + Return the commandline passed to the engine. </description> </method> <method name="get_current_screen" qualifiers="const"> <return type="int"> </return> <description> - Returns the current screen index (0 padded). + Returns the current screen index (0 padded). </description> </method> <method name="get_custom_level" qualifiers="const"> @@ -22265,7 +22338,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="String"> </return> <description> - Return the absolute directory path of user data path([user://]). + Return the absolute directory path of user data path([user://]). </description> </method> <method name="get_date" qualifiers="const"> @@ -22274,7 +22347,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="utc" type="bool" default="false"> </argument> <description> - Returns current date as a dictionary of keys: year, month, day, weekday, dst (daylight savings time). + Returns current date as a dictionary of keys: year, month, day, weekday, dst (daylight savings time). </description> </method> <method name="get_datetime" qualifiers="const"> @@ -22283,7 +22356,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="utc" type="bool" default="false"> </argument> <description> - Returns current datetime as a dictionary of keys: year, month, day, weekday, dst (daylight savings time), hour, minute, second. + Returns current datetime as a dictionary of keys: year, month, day, weekday, dst (daylight savings time), hour, minute, second. </description> </method> <method name="get_datetime_from_unix_time" qualifiers="const"> @@ -22292,15 +22365,15 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="unix_time_val" type="int"> </argument> <description> - Get a dictionary of time values when given epoch time. - Dictionary Time values will be a union of values from [method get_time] and [method get_date] dictionaries (with the exception of dst = day light standard time, as it cannot be determined from epoch). + Get a dictionary of time values when given epoch time. + Dictionary Time values will be a union of values from [method get_time] and [method get_date] dictionaries (with the exception of dst = day light standard time, as it cannot be determined from epoch). </description> </method> <method name="get_dynamic_memory_usage" qualifiers="const"> <return type="int"> </return> <description> - Return the total amount of dynamic memory used (only works in debug). + Return the total amount of dynamic memory used (only works in debug). </description> </method> <method name="get_environment" qualifiers="const"> @@ -22309,28 +22382,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="environment" type="String"> </argument> <description> - Return an environment variable. + Return an environment variable. </description> </method> <method name="get_executable_path" qualifiers="const"> <return type="String"> </return> <description> - Return the path to the current engine executable. + Return the path to the current engine executable. </description> </method> <method name="get_frames_drawn"> <return type="int"> </return> <description> - Return the total amount of frames drawn. + Return the total amount of frames drawn. </description> </method> <method name="get_frames_per_second" qualifiers="const"> <return type="float"> </return> <description> - Returns the frames per second of the running game. + Returns the frames per second of the running game. </description> </method> <method name="get_fullscreen_mode_list" qualifiers="const"> @@ -22339,28 +22412,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="screen" type="int" default="0"> </argument> <description> - Return the list of fullscreen modes. + Return the list of fullscreen modes. </description> </method> <method name="get_iterations_per_second" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of fixed iterations per second (for fixed process and physics). + Return the amount of fixed iterations per second (for fixed process and physics). </description> </method> <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> - Return the host OS locale. + Return the host OS locale. </description> </method> <method name="get_main_loop" qualifiers="const"> <return type="Object"> </return> <description> - Return the main loop object (see [MainLoop]). + Return the main loop object (see [MainLoop]). </description> </method> <method name="get_model_name" qualifiers="const"> @@ -22373,21 +22446,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="String"> </return> <description> - Return the name of the host OS. Possible values are: "Android", "BlackBerry 10", "Flash", "Haiku", "iOS", "HTML5", "OSX", "Server", "Windows", "WinRT", "X11" + Return the name of the host OS. Possible values are: "Android", "BlackBerry 10", "Flash", "Haiku", "iOS", "HTML5", "OSX", "Server", "Windows", "WinRT", "X11" </description> </method> <method name="get_process_ID" qualifiers="const"> <return type="int"> </return> <description> - Returns the game process ID + Returns the game process ID </description> </method> <method name="get_processor_count" qualifiers="const"> <return type="int"> </return> <description> - Returns the number of cores available in the host machine. + Returns the number of cores available in the host machine. </description> </method> <method name="get_scancode_string" qualifiers="const"> @@ -22402,7 +22475,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Returns the number of displays attached to the host machine + Returns the number of displays attached to the host machine </description> </method> <method name="get_screen_dpi" qualifiers="const"> @@ -22417,7 +22490,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Returns the current screen orientation, the return value will be one of the SCREEN_ORIENTATION constants in this class. + Returns the current screen orientation, the return value will be one of the SCREEN_ORIENTATION constants in this class. </description> </method> <method name="get_screen_position" qualifiers="const"> @@ -22434,7 +22507,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="screen" type="int" default="0"> </argument> <description> - Returns the dimensions in pixels of the specified screen. + Returns the dimensions in pixels of the specified screen. </description> </method> <method name="get_splash_tick_msec" qualifiers="const"> @@ -22447,7 +22520,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Return the max amount of static memory used (only works in debug). + Return the max amount of static memory used (only works in debug). </description> </method> <method name="get_static_memory_usage" qualifiers="const"> @@ -22480,7 +22553,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Return the amount of time passed in milliseconds since the engine started. + Return the amount of time passed in milliseconds since the engine started. </description> </method> <method name="get_time" qualifiers="const"> @@ -22489,7 +22562,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="utc" type="bool" default="false"> </argument> <description> - Returns current time as a dictionary of keys: hour, minute, second + Returns current time as a dictionary of keys: hour, minute, second </description> </method> <method name="get_time_scale"> @@ -22514,7 +22587,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="int"> </return> <description> - Return the current unix timestamp. + Return the current unix timestamp. </description> </method> <method name="get_unix_time_from_datetime" qualifiers="const"> @@ -22523,9 +22596,9 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="datetime" type="Dictionary"> </argument> <description> - Get an epoch time value from a dictionary of time values. - [code]datetime[/code] must be populated with the following keys: year, month, day, hour, minute, second. - You can pass the output from [method get_datetime_from_unix_time] directly into this function. Daylight savings time (dst), if present, is ignored. + Get an epoch time value from a dictionary of time values. + [code]datetime[/code] must be populated with the following keys: year, month, day, hour, minute, second. + You can pass the output from [method get_datetime_from_unix_time] directly into this function. Daylight savings time (dst), if present, is ignored. </description> </method> <method name="get_video_mode_size" qualifiers="const"> @@ -22534,21 +22607,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="screen" type="int" default="0"> </argument> <description> - Return the current video mode size. + Return the current video mode size. </description> </method> <method name="get_window_position" qualifiers="const"> <return type="Vector2"> </return> <description> - Returns the window position relative to the screen, the origin is the top left corner, +Y axis goes to the bottom and +X axis goes to the right. + Returns the window position relative to the screen, the origin is the top left corner, +Y axis goes to the bottom and +X axis goes to the right. </description> </method> <method name="get_window_size" qualifiers="const"> <return type="Vector2"> </return> <description> - Returns the size of the window (without counting window manager decorations). + Returns the size of the window (without counting window manager decorations). </description> </method> <method name="has_environment" qualifiers="const"> @@ -22557,7 +22630,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="environment" type="String"> </argument> <description> - Return true if an environment variable exists. + Return true if an environment variable exists. </description> </method> <method name="has_touchscreen_ui_hint" qualifiers="const"> @@ -22576,14 +22649,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return true if low cpu usage mode is enabled. + Return true if low cpu usage mode is enabled. </description> </method> <method name="is_keep_screen_on" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether the screen is being kept on or not. + Returns whether the screen is being kept on or not. </description> </method> <method name="is_ok_left_and_cancel_right" qualifiers="const"> @@ -22604,7 +22677,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return true if the engine was executed with -v (verbose stdout). + Return true if the engine was executed with -v (verbose stdout). </description> </method> <method name="is_video_mode_fullscreen" qualifiers="const"> @@ -22613,7 +22686,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="screen" type="int" default="0"> </argument> <description> - Return true if the current video mode is fullscreen. + Return true if the current video mode is fullscreen. </description> </method> <method name="is_video_mode_resizable" qualifiers="const"> @@ -22622,7 +22695,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="screen" type="int" default="0"> </argument> <description> - Return true if the window is resizable. + Return true if the window is resizable. </description> </method> <method name="is_vsnc_enabled" qualifiers="const"> @@ -22635,28 +22708,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Returns whether the window is in fullscreen mode or not. + Returns whether the window is in fullscreen mode or not. </description> </method> <method name="is_window_maximized" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the window is maximized. + Return true if the window is maximized. </description> </method> <method name="is_window_minimized" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the window is minimized. + Return true if the window is minimized. </description> </method> <method name="is_window_resizable" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether the window is resizable or not. + Returns whether the window is resizable or not. </description> </method> <method name="kill"> @@ -22665,7 +22738,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="pid" type="int"> </argument> <description> - Kill a process ID (this method can be used to kill processes that were not spawned by the game). + Kill a process ID (this method can be used to kill processes that were not spawned by the game). </description> </method> <method name="native_video_is_playing"> @@ -22732,7 +22805,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="clipboard" type="String"> </argument> <description> - Set clipboard to the OS. + Set clipboard to the OS. </description> </method> <method name="set_current_screen"> @@ -22751,28 +22824,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="iterations_per_second" type="int"> </argument> <description> - Set the amount of fixed iterations per second (for fixed process and physics). + Set the amount of fixed iterations per second (for fixed process and physics). </description> </method> <method name="set_keep_screen_on"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set keep screen on if true, or goes to sleep by device setting if false. (for Android/iOS) + Set keep screen on if true, or goes to sleep by device setting if false. (for Android/iOS) </description> </method> <method name="set_low_processor_usage_mode"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set to true to enable the low cpu usage mode. In this mode, the screen only redraws when there are changes, and a considerable sleep time is inserted between frames. This way, editors using the engine UI only use very little cpu. + Set to true to enable the low cpu usage mode. In this mode, the screen only redraws when there are changes, and a considerable sleep time is inserted between frames. This way, editors using the engine UI only use very little cpu. </description> </method> <method name="set_screen_orientation"> <argument index="0" name="orientation" type="int"> </argument> <description> - Sets the current screen orientation, the argument value must be one of the SCREEN_ORIENTATION constants in this class. + Sets the current screen orientation, the argument value must be one of the SCREEN_ORIENTATION constants in this class. </description> </method> <method name="set_target_fps"> @@ -22793,7 +22866,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="time_scale" type="float"> </argument> <description> - Speeds up or slows down the physics by changing the delta variable. (delta * time_scale) + Speeds up or slows down the physics by changing the delta variable. (delta * time_scale) </description> </method> <method name="set_use_file_access_save_and_swap"> @@ -22818,56 +22891,56 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="3" name="screen" type="int" default="0"> </argument> <description> - Change the video mode. + Change the video mode. </description> </method> <method name="set_window_fullscreen"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Sets window fullscreen mode to the [i]enabled[/i] argument, [i]enabled[/i] is a toggle for the fullscreen mode, calling the function with [i]enabled[/i] true when the screen is not on fullscreen mode will cause the screen to go to fullscreen mode, calling the function with [i]enabled[/i] false when the screen is in fullscreen mode will cause the window to exit the fullscreen mode. + Sets window fullscreen mode to the [i]enabled[/i] argument, [i]enabled[/i] is a toggle for the fullscreen mode, calling the function with [i]enabled[/i] true when the screen is not on fullscreen mode will cause the screen to go to fullscreen mode, calling the function with [i]enabled[/i] false when the screen is in fullscreen mode will cause the window to exit the fullscreen mode. </description> </method> <method name="set_window_maximized"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the window size to maximized. + Set the window size to maximized. </description> </method> <method name="set_window_minimized"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the window is minimized. + Set whether the window is minimized. </description> </method> <method name="set_window_position"> <argument index="0" name="position" type="Vector2"> </argument> <description> - Sets the position of the window to the specified position (this function could be restricted by the window manager, meaning that there could be some unreachable areas of the screen). + Sets the position of the window to the specified position (this function could be restricted by the window manager, meaning that there could be some unreachable areas of the screen). </description> </method> <method name="set_window_resizable"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the window resizable state, if the window is not resizable it will preserve the dimensions specified in the project settings. + Set the window resizable state, if the window is not resizable it will preserve the dimensions specified in the project settings. </description> </method> <method name="set_window_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> - Sets the window size to the specified size. + Sets the window size to the specified size. </description> </method> <method name="set_window_title"> <argument index="0" name="title" type="String"> </argument> <description> - Sets the window title to the specified string. + Sets the window title to the specified string. </description> </method> <method name="shell_open"> @@ -22896,12 +22969,6 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="MONTH_JANUARY" value="1"> </constant> - <constant name="MONTH_OCTOBER" value="10"> - </constant> - <constant name="MONTH_NOVEMBER" value="11"> - </constant> - <constant name="MONTH_DECEMBER" value="12"> - </constant> <constant name="MONTH_FEBRUARY" value="2"> </constant> <constant name="MONTH_MARCH" value="3"> @@ -22918,6 +22985,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="MONTH_SEPTEMBER" value="9"> </constant> + <constant name="MONTH_OCTOBER" value="10"> + </constant> + <constant name="MONTH_NOVEMBER" value="11"> + </constant> + <constant name="MONTH_DECEMBER" value="12"> + </constant> <constant name="SCREEN_ORIENTATION_LANDSCAPE" value="0"> </constant> <constant name="SCREEN_ORIENTATION_PORTRAIT" value="1"> @@ -22952,14 +23025,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Object" category="Core"> <brief_description> - Base class for all non built-in types. + Base class for all non built-in types. </brief_description> <description> - Base class for all non built-in types. Everything not a built-in type starts the inheritance chain from this class. - Objects do not manage memory, if inheriting from one the object will most likely have to be deleted manually (call the [method free] function from the script or delete from C++). - Some derivates add memory management, such as [Reference] (which keeps a reference count and deletes itself automatically when no longer referenced) and [Node], which deletes the children tree when deleted. - Objects export properties, which are mainly useful for storage and editing, but not really so much in programming. Properties are exported in [method _get_property_list] and handled in [method _get] and [method _set]. However, scripting languages and C++ have simpler means to export them. - Objects also receive notifications ([method _notification]). Notifications are a simple way to notify the object about simple events, so they can all be handled together. + Base class for all non built-in types. Everything not a built-in type starts the inheritance chain from this class. + Objects do not manage memory, if inheriting from one the object will most likely have to be deleted manually (call the [method free] function from the script or delete from C++). + Some derivates add memory management, such as [Reference] (which keeps a reference count and deletes itself automatically when no longer referenced) and [Node], which deletes the children tree when deleted. + Objects export properties, which are mainly useful for storage and editing, but not really so much in programming. Properties are exported in [method _get_property_list] and handled in [method _get] and [method _set]. However, scripting languages and C++ have simpler means to export them. + Objects also receive notifications ([method _notification]). Notifications are a simple way to notify the object about simple events, so they can all be handled together. </description> <methods> <method name="XL_MESSAGE" qualifiers="const"> @@ -22968,21 +23041,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="message" type="String"> </argument> <description> - Deprecated, will go away. + Deprecated, will go away. </description> </method> <method name="_get" qualifiers="virtual"> <argument index="0" name="property" type="String"> </argument> <description> - Return a property, return null if the property does not exist. + Return a property, return null if the property does not exist. </description> </method> <method name="_get_property_list" qualifiers="virtual"> <return type="Array"> </return> <description> - Return the property list, array of dictionaries, dictionaries must contain: name:String, type:int (see TYPE_* enum in globals) and optionally: hint:int (see PROPERTY_HINT_* in globals), hint_string:String, usage:int (see PROPERTY_USAGE_* in globals). + Return the property list, array of dictionaries, dictionaries must contain: name:String, type:int (see TYPE_* enum in globals) and optionally: hint:int (see PROPERTY_HINT_* in globals), hint_string:String, usage:int (see PROPERTY_USAGE_* in globals). </description> </method> <method name="_init" qualifiers="virtual"> @@ -22993,7 +23066,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="what" type="int"> </argument> <description> - Notification request, the notification id is received. + Notification request, the notification id is received. </description> </method> <method name="_set" qualifiers="virtual"> @@ -23002,7 +23075,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="value" type="Variant"> </argument> <description> - Set a property. Return true if the property was found. + Set a property. Return true if the property was found. </description> </method> <method name="add_user_signal"> @@ -23011,7 +23084,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="arguments" type="Array" default="Array()"> </argument> <description> - Add a user signal (can be added anytime). Arguments are optional, but can be added as an array of dictionaries, each containing "name" and "type" (from [@Global Scope] TYPE_*). + Add a user signal (can be added anytime). Arguments are optional, but can be added as an array of dictionaries, each containing "name" and "type" (from [@Global Scope] TYPE_*). </description> </method> <method name="call"> @@ -23038,7 +23111,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="10" name="arg9" type="Variant" default="NULL"> </argument> <description> - Call a function in the object, result is returned. + Call a function in the object, result is returned. </description> </method> <method name="call_deferred"> @@ -23055,7 +23128,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="5" name="arg4" type="Variant" default="NULL"> </argument> <description> - Create and store a function in the object. The call will take place on idle time. + Create and store a function in the object. The call will take place on idle time. </description> </method> <method name="callv"> @@ -23072,7 +23145,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return true if this object can translate strings. + Return true if this object can translate strings. </description> </method> <method name="connect"> @@ -23089,7 +23162,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="4" name="flags" type="int" default="0"> </argument> <description> - Connect a signal to a method at a target (member function). Binds are optional and are passed as extra arguments to the call. Flags specify optional deferred or one shot connections, see enum CONNECT_*. A signal can only be connected once to a method, and it will throw an error if already connected. If you want to avoid this, use [method is_connected] to check. + Connect a signal to a method at a target (member function). Binds are optional and are passed as extra arguments to the call. Flags specify optional deferred or one shot connections, see enum CONNECT_*. A signal can only be connected once to a method, and it will throw an error if already connected. If you want to avoid this, use [method is_connected] to check. </description> </method> <method name="disconnect"> @@ -23100,7 +23173,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="method" type="String"> </argument> <description> - Disconnect a signal from a method. + Disconnect a signal from a method. </description> </method> <method name="emit_signal"> @@ -23117,7 +23190,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="5" name="arg4" type="Variant" default="NULL"> </argument> <description> - Emit a signal. Arguments are passed in an array. + Emit a signal. Arguments are passed in an array. </description> </method> <method name="free"> @@ -23128,28 +23201,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="property" type="String"> </argument> <description> - Get a property from the object. + Get a property from the object. </description> </method> <method name="get_instance_ID" qualifiers="const"> <return type="int"> </return> <description> - Return the instance ID. All objects have a unique instance ID. + Return the instance ID. All objects have a unique instance ID. </description> </method> <method name="get_meta" qualifiers="const"> <argument index="0" name="name" type="String"> </argument> <description> - Return a metadata from the object. + Return a metadata from the object. </description> </method> <method name="get_meta_list" qualifiers="const"> <return type="StringArray"> </return> <description> - Return the list of metadata in the object. + Return the list of metadata in the object. </description> </method> <method name="get_method_list" qualifiers="const"> @@ -23162,14 +23235,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Array"> </return> <description> - Return the list of properties as an array of dictionaries, dictionaries contain: name:String, type:int (see TYPE_* enum in globals) and optionally: hint:int (see PROPERTY_HINT_* in globals), hint_string:String, usage:int (see PROPERTY_USAGE_* in globals). + Return the list of properties as an array of dictionaries, dictionaries contain: name:String, type:int (see TYPE_* enum in globals) and optionally: hint:int (see PROPERTY_HINT_* in globals), hint_string:String, usage:int (see PROPERTY_USAGE_* in globals). </description> </method> <method name="get_script" qualifiers="const"> <return type="Script"> </return> <description> - Return the object script (or null if it doesn't have one). + Return the object script (or null if it doesn't have one). </description> </method> <method name="get_signal_connection_list" qualifiers="const"> @@ -23184,14 +23257,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Array"> </return> <description> - Return the list of signals as an array of dictionaries. + Return the list of signals as an array of dictionaries. </description> </method> <method name="get_type" qualifiers="const"> <return type="String"> </return> <description> - Return the type of the object as a string. + Return the type of the object as a string. </description> </method> <method name="has_meta" qualifiers="const"> @@ -23200,7 +23273,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="name" type="String"> </argument> <description> - Return true if a metadata is found with the requested name. + Return true if a metadata is found with the requested name. </description> </method> <method name="has_method" qualifiers="const"> @@ -23223,7 +23296,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return true if signal emission blocking is enabled. + Return true if signal emission blocking is enabled. </description> </method> <method name="is_connected" qualifiers="const"> @@ -23236,7 +23309,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="method" type="String"> </argument> <description> - Return true if a connection exists for a given signal and target/method. + Return true if a connection exists for a given signal and target/method. </description> </method> <method name="is_queued_for_deletion" qualifiers="const"> @@ -23251,7 +23324,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="type" type="String"> </argument> <description> - Check the type of the object against a string (including inheritance). + Check the type of the object against a string (including inheritance). </description> </method> <method name="notification"> @@ -23260,7 +23333,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="reversed" type="bool" default="false"> </argument> <description> - Notify the object of something. + Notify the object of something. </description> </method> <method name="property_list_changed_notify"> @@ -23273,21 +23346,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="value" type="Variant"> </argument> <description> - Set property into the object. + Set property into the object. </description> </method> <method name="set_block_signals"> <argument index="0" name="enable" type="bool"> </argument> <description> - If set to true, signal emission is blocked. + If set to true, signal emission is blocked. </description> </method> <method name="set_message_translation"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set true if this object can translate strings (in calls to tr() ). Default is true. + Set true if this object can translate strings (in calls to tr() ). Default is true. </description> </method> <method name="set_meta"> @@ -23296,14 +23369,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="value" type="Variant"> </argument> <description> - Set a metadata into the object. Metadata is serialized. Metadata can be [i]anything[/i]. + Set a metadata into the object. Metadata is serialized. Metadata can be [i]anything[/i]. </description> </method> <method name="set_script"> <argument index="0" name="script" type="Script"> </argument> <description> - Set a script into the object, scripts extend the object functionality. + Set a script into the object, scripts extend the object functionality. </description> </method> <method name="tr" qualifiers="const"> @@ -23312,7 +23385,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="message" type="String"> </argument> <description> - Translate a message. Only works in message translation is enabled (which is by default). See [method set_message_translation]. + Translate a message. Only works in message translation is enabled (which is by default). See [method set_message_translation]. </description> </method> </methods> @@ -23323,6 +23396,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </signal> </signals> <constants> + <constant name="NOTIFICATION_POSTINITIALIZE" value="0"> + Called right when the object is initialized. Not available in script. + </constant> + <constant name="NOTIFICATION_PREDELETE" value="1"> + Called before the object is about to be deleted. + </constant> <constant name="CONNECT_DEFERRED" value="1"> Connect a signal in deferred mode. This way, signal emissions are stored in a queue, then set on idle time. </constant> @@ -23332,12 +23411,6 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <constant name="CONNECT_ONESHOT" value="4"> One short connections disconnect themselves after emission. </constant> - <constant name="NOTIFICATION_POSTINITIALIZE" value="0"> - Called right when the object is initialized. Not available in script. - </constant> - <constant name="NOTIFICATION_PREDELETE" value="1"> - Called before the object is about to be deleted. - </constant> </constants> </class> <class name="OccluderPolygon2D" inherits="Resource" category="Core"> @@ -23394,10 +23467,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="OmniLight" inherits="Light" category="Core"> <brief_description> - OmniDirectional Light, such as a light bulb or a candle. + OmniDirectional Light, such as a light bulb or a candle. </brief_description> <description> - An OmniDirectional light is a type of [Light] node that emits lights in all directions. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of [Light]. TODO: Image of an omnilight. + An OmniDirectional light is a type of [Light] node that emits lights in all directions. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of [Light]. TODO: Image of an omnilight. </description> <methods> </methods> @@ -23406,10 +23479,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="OptionButton" inherits="Button" category="Core"> <brief_description> - Button control that provides selectable options when pressed. + Button control that provides selectable options when pressed. </brief_description> <description> - OptionButton is a type button that provides a selectable list of items when pressed. The item selected becomes the "current" item and is displayed as the button text. + OptionButton is a type button that provides a selectable list of items when pressed. The item selected becomes the "current" item and is displayed as the button text. </description> <methods> <method name="add_icon_item"> @@ -23420,7 +23493,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="2" name="id" type="int"> </argument> <description> - Add an item, with a "texture" icon, text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. + Add an item, with a "texture" icon, text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. </description> </method> <method name="add_item"> @@ -23429,17 +23502,17 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="id" type="int" default="-1"> </argument> <description> - Add an item, with text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. + Add an item, with text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. </description> </method> <method name="add_separator"> <description> - Add a separator to the list of items. Separators help to group items. Separator also takes up an index and is appended at the end. + Add a separator to the list of items. Separators help to group items. Separator also takes up an index and is appended at the end. </description> </method> <method name="clear"> <description> - Clear all the items in the [OptionButton]. + Clear all the items in the [OptionButton]. </description> </method> <method name="get_item_ID" qualifiers="const"> @@ -23448,14 +23521,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Return the ID of the item at index "idx". + Return the ID of the item at index "idx". </description> </method> <method name="get_item_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of items in the OptionButton. + Return the amount of items in the OptionButton. </description> </method> <method name="get_item_icon" qualifiers="const"> @@ -23464,7 +23537,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Return the icon of the item at index "idx". + Return the icon of the item at index "idx". </description> </method> <method name="get_item_metadata" qualifiers="const"> @@ -23479,14 +23552,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Return the text of the item at index "idx". + Return the text of the item at index "idx". </description> </method> <method name="get_selected" qualifiers="const"> <return type="int"> </return> <description> - Return the current item index + Return the current item index </description> </method> <method name="get_selected_ID" qualifiers="const"> @@ -23517,7 +23590,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="idx" type="int"> </argument> <description> - Select an item by index and make it the current item. + Select an item by index and make it the current item. </description> </method> <method name="set_item_ID"> @@ -23526,7 +23599,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="id" type="int"> </argument> <description> - Set the ID of an item at index "idx". + Set the ID of an item at index "idx". </description> </method> <method name="set_item_disabled"> @@ -23543,7 +23616,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="texture" type="Texture"> </argument> <description> - Set the icon of an item at index "idx". + Set the icon of an item at index "idx". </description> </method> <method name="set_item_metadata"> @@ -23560,7 +23633,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="text" type="String"> </argument> <description> - Set the text of an item at index "idx". + Set the text of an item at index "idx". </description> </method> </methods> @@ -23569,7 +23642,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="ID" type="int"> </argument> <description> - This signal is emitted when the current item was changed by the user. ID of the item selected is passed as argument (if no IDs were added, ID will be just the item index). + This signal is emitted when the current item was changed by the user. ID of the item selected is passed as argument (if no IDs were added, ID will be just the item index). </description> </signal> </signals> @@ -23644,10 +23717,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="PHashTranslation" inherits="Translation" category="Core"> <brief_description> - Optimized translation. + Optimized translation. </brief_description> <description> - Optimized translation. Uses real-time compressed translations, which results in very small dictionaries. + Optimized translation. Uses real-time compressed translations, which results in very small dictionaries. </description> <methods> <method name="generate"> @@ -23704,7 +23777,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <brief_description> </brief_description> <description> - TODO: explain ownership, and that node does not need to own itself + TODO: explain ownership, and that node does not need to own itself </description> <methods> <method name="can_instance" qualifiers="const"> @@ -23733,7 +23806,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="path" type="Node"> </argument> <description> - Pack will ignore any sub-nodes not owned by given node. See [method Node.set_owner]. + Pack will ignore any sub-nodes not owned by given node. See [method Node.set_owner]. </description> </method> </methods> @@ -23742,38 +23815,38 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="PacketPeer" inherits="Reference" category="Core"> <brief_description> - Abstraction and base class for packet-based protocols. + Abstraction and base class for packet-based protocols. </brief_description> <description> - PacketPeer is an abstraction and base class for packet-based protocols (such as UDP). It provides an API for sending and receiving packets both as raw data or variables. This makes it easy to transfer data over a protocol, without having to encode data as low level bytes or having to worry about network ordering. + PacketPeer is an abstraction and base class for packet-based protocols (such as UDP). It provides an API for sending and receiving packets both as raw data or variables. This makes it easy to transfer data over a protocol, without having to encode data as low level bytes or having to worry about network ordering. </description> <methods> <method name="get_available_packet_count" qualifiers="const"> <return type="int"> </return> <description> - Return the number of packets currently available in the ring-buffer. + Return the number of packets currently available in the ring-buffer. </description> </method> <method name="get_packet" qualifiers="const"> <return type="RawArray"> </return> <description> - Get a raw packet. + Get a raw packet. </description> </method> <method name="get_packet_error" qualifiers="const"> <return type="Error"> </return> <description> - Return the error state of the last packet received (via [method get_packet] and [method get_var]). + Return the error state of the last packet received (via [method get_packet] and [method get_var]). </description> </method> <method name="get_var" qualifiers="const"> <return type="Variant"> </return> <description> - Get a Variant. + Get a Variant. </description> </method> <method name="put_packet"> @@ -23782,7 +23855,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="buffer" type="RawArray"> </argument> <description> - Send a raw packet. + Send a raw packet. </description> </method> <method name="put_var"> @@ -23791,7 +23864,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="var" type="Variant"> </argument> <description> - Send a Variant as a packet. + Send a Variant as a packet. </description> </method> </methods> @@ -23800,17 +23873,17 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="PacketPeerStream" inherits="PacketPeer" category="Core"> <brief_description> - Wrapper to use a PacketPeer over a StreamPeer. + Wrapper to use a PacketPeer over a StreamPeer. </brief_description> <description> - PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly. + PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly. </description> <methods> <method name="set_stream_peer"> <argument index="0" name="peer" type="StreamPeer"> </argument> <description> - Set the StreamPeer object to be wrapped + Set the StreamPeer object to be wrapped </description> </method> </methods> @@ -23819,43 +23892,43 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="PacketPeerUDP" inherits="PacketPeer" category="Core"> <brief_description> - UDP packet peer. + UDP packet peer. </brief_description> <description> - UDP packet peer. Can be used to send raw UDP packets as well as [Variant]s. + UDP packet peer. Can be used to send raw UDP packets as well as [Variant]s. </description> <methods> <method name="close"> <description> - Close the UDP socket the [PacketPeerUDP] is currently listening on. + Close the UDP socket the [PacketPeerUDP] is currently listening on. </description> </method> <method name="get_packet_address" qualifiers="const"> <return type="int"> </return> <description> - Return the address of the remote peer(as a 32bit integer) that sent the last packet(that was received with [method get_packet] or [method get_var]). + Return the address of the remote peer(as a 32bit integer) that sent the last packet(that was received with [method get_packet] or [method get_var]). </description> </method> <method name="get_packet_ip" qualifiers="const"> <return type="String"> </return> <description> - Return the IP of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). + Return the IP of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). </description> </method> <method name="get_packet_port" qualifiers="const"> <return type="int"> </return> <description> - Return the port of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). + Return the port of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). </description> </method> <method name="is_listening" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this [PacketPeerUDP] is listening. + Return whether this [PacketPeerUDP] is listening. </description> </method> <method name="listen"> @@ -23866,7 +23939,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="recv_buf_size" type="int" default="65536"> </argument> <description> - Make this [PacketPeerUDP] listen on the "port" using a buffer size "recv_buf_size". Listens on all available adresses. + Make this [PacketPeerUDP] listen on the "port" using a buffer size "recv_buf_size". Listens on all available adresses. </description> </method> <method name="set_send_address"> @@ -23877,14 +23950,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="port" type="int"> </argument> <description> - Set the destination address and port for sending packets and variables, a hostname will be resolved if valid. + Set the destination address and port for sending packets and variables, a hostname will be resolved if valid. </description> </method> <method name="wait"> <return type="Error"> </return> <description> - Wait for a packet to arrive on the listening port, see [method listen]. + Wait for a packet to arrive on the listening port, see [method listen]. </description> </method> </methods> @@ -23893,10 +23966,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Panel" inherits="Control" category="Core"> <brief_description> - Provides an opaque background for [Control] children. + Provides an opaque background for [Control] children. </brief_description> <description> - Panel is a [Control] that displays an opaque background. It's commonly used as a parent and container for other types of [Control] nodes. + Panel is a [Control] that displays an opaque background. It's commonly used as a parent and container for other types of [Control] nodes. </description> <methods> </methods> @@ -23913,10 +23986,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="PanelContainer" inherits="Container" category="Core"> <brief_description> - Panel container type. + Panel container type. </brief_description> <description> - Panel container type. This container fits controls inside of the delimited area of a stylebox. It's useful for giving controls an outline. + Panel container type. This container fits controls inside of the delimited area of a stylebox. It's useful for giving controls an outline. </description> <methods> </methods> @@ -23929,38 +24002,38 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="ParallaxBackground" inherits="CanvasLayer" category="Core"> <brief_description> - A node used to create a parallax scrolling background. + A node used to create a parallax scrolling background. </brief_description> <description> - A ParallaxBackground will use one or more [ParallaxLayer] nodes to create a parallax scrolling background. Each [ParallaxLayer] can be set to move at different speeds relative to the camera movement, this can be used to create an illusion of depth in a 2D game. + A ParallaxBackground will use one or more [ParallaxLayer] nodes to create a parallax scrolling background. Each [ParallaxLayer] can be set to move at different speeds relative to the camera movement, this can be used to create an illusion of depth in a 2D game. </description> <methods> <method name="get_limit_begin" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the beginning limit. + Return the beginning limit. </description> </method> <method name="get_limit_end" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the ending limit. + Return the ending limit. </description> </method> <method name="get_scroll_base_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the base offset. + Return the base offset. </description> </method> <method name="get_scroll_base_scale" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the base motion scale. + Return the base motion scale. </description> </method> <method name="get_scroll_offset" qualifiers="const"> @@ -23973,42 +24046,42 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return ignoring camera zoom. + Return ignoring camera zoom. </description> </method> <method name="set_ignore_camera_zoom"> <argument index="0" name="ignore" type="bool"> </argument> <description> - Set to true for all child [ParallaxLayer] nodes to not be affected by the zoom level of the camera. + Set to true for all child [ParallaxLayer] nodes to not be affected by the zoom level of the camera. </description> </method> <method name="set_limit_begin"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> - Set the left and top limits in pixels for scrolling to begin. If the camera is outside of this limit the background will not continue to scroll. If an axis is greater than or equal to the corresponding axis of limit_end, then it will not limit scrolling for that axis. + Set the left and top limits in pixels for scrolling to begin. If the camera is outside of this limit the background will not continue to scroll. If an axis is greater than or equal to the corresponding axis of limit_end, then it will not limit scrolling for that axis. </description> </method> <method name="set_limit_end"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> - Set the right and bottom limits in pixels for scrolling to end. If the camera is outside of this limit the background will not continue to scroll. If an axis is less than or equal to the corresponding axis of limit_begin, then it will not limit scrolling for that axis. + Set the right and bottom limits in pixels for scrolling to end. If the camera is outside of this limit the background will not continue to scroll. If an axis is less than or equal to the corresponding axis of limit_begin, then it will not limit scrolling for that axis. </description> </method> <method name="set_scroll_base_offset"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> - Set the base offset in pixels of all children [ParallaxLayer] nodes. + Set the base offset in pixels of all children [ParallaxLayer] nodes. </description> </method> <method name="set_scroll_base_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> - Set the base motion scale of all children [ParallaxLayer] nodes. + Set the base motion scale of all children [ParallaxLayer] nodes. </description> </method> <method name="set_scroll_offset"> @@ -24023,38 +24096,50 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="ParallaxLayer" inherits="Node2D" category="Core"> <brief_description> - A parallax scrolling layer to be used with [ParallaxBackground]. + A parallax scrolling layer to be used with [ParallaxBackground]. </brief_description> <description> - A ParallaxLayer must be the child of a [ParallaxBackground] node. All child nodes will be affected by the parallax scrolling of this layer. + A ParallaxLayer must be the child of a [ParallaxBackground] node. All child nodes will be affected by the parallax scrolling of this layer. </description> <methods> <method name="get_mirroring" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the mirroring of the ParallaxLayer. + Return the mirroring of the ParallaxLayer. + </description> + </method> + <method name="get_motion_offset" qualifiers="const"> + <return type="Vector2"> + </return> + <description> </description> </method> <method name="get_motion_scale" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the motion scale of the ParallaxLayer. + Return the motion scale of the ParallaxLayer. </description> </method> <method name="set_mirroring"> <argument index="0" name="mirror" type="Vector2"> </argument> <description> - Set the mirroring of the ParallaxLayer. If an axis is set to 0 then that axis will have no mirroring. + Set the mirroring of the ParallaxLayer. If an axis is set to 0 then that axis will have no mirroring. + </description> + </method> + <method name="set_motion_offset"> + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> </description> </method> <method name="set_motion_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> - Set the motion scale of the ParallaxLayer. If an axis is set to 0 then it will not move at all, it will stick with the camera. + Set the motion scale of the ParallaxLayer. If an axis is set to 0 then it will not move at all, it will stick with the camera. </description> </method> </methods> @@ -24145,17 +24230,17 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Particles" inherits="GeometryInstance" category="Core"> <brief_description> - Particle system 3D Node + Particle system 3D Node </brief_description> <description> - Particles is a particle system 3D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility AABB (although helpers to create one automatically exist). + Particles is a particle system 3D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility AABB (although helpers to create one automatically exist). </description> <methods> <method name="get_amount" qualifiers="const"> <return type="int"> </return> <description> - Return the total amount of particles in the system. + Return the total amount of particles in the system. </description> </method> <method name="get_color_phase_color" qualifiers="const"> @@ -24164,7 +24249,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="phase" type="int"> </argument> <description> - Return the color of a color phase. + Return the color of a color phase. </description> </method> <method name="get_color_phase_pos" qualifiers="const"> @@ -24173,7 +24258,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="phase" type="int"> </argument> <description> - Return the position of a color phase (0 to 1). + Return the position of a color phase (0 to 1). </description> </method> <method name="get_color_phases" qualifiers="const"> @@ -24192,7 +24277,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Vector3"> </return> <description> - Return the half extents for the emission box. + Return the half extents for the emission box. </description> </method> <method name="get_emission_points" qualifiers="const"> @@ -24211,14 +24296,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Vector3"> </return> <description> - Return the normal vector towards where gravity is pulling (by default, negative Y). + Return the normal vector towards where gravity is pulling (by default, negative Y). </description> </method> <method name="get_material" qualifiers="const"> <return type="Material"> </return> <description> - Return the material used to draw particles. + Return the material used to draw particles. </description> </method> <method name="get_randomness" qualifiers="const"> @@ -24227,7 +24312,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <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. + Return the randomness for a specific variable of the particle system. Randomness produces small changes from the default each time a particle is emitted. </description> </method> <method name="get_variable" qualifiers="const"> @@ -24236,14 +24321,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="variable" type="int"> </argument> <description> - Return a specific variable for the particle system (see VAR_* enum). + Return a specific variable for the particle system (see VAR_* enum). </description> </method> <method name="get_visibility_aabb" qualifiers="const"> <return type="AABB"> </return> <description> - Return the current visibility AABB. + Return the current visibility AABB. </description> </method> <method name="has_height_from_velocity" qualifiers="const"> @@ -24256,7 +24341,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Return the "emitting" property state (see [method set_emitting]). + Return the "emitting" property state (see [method set_emitting]). </description> </method> <method name="is_using_local_coordinates" qualifiers="const"> @@ -24269,7 +24354,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="amount" type="int"> </argument> <description> - Set total amount of particles in the system. + Set total amount of particles in the system. </description> </method> <method name="set_color_phase_color"> @@ -24278,7 +24363,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="color" type="Color"> </argument> <description> - Set the color of a color phase. + Set the color of a color phase. </description> </method> <method name="set_color_phase_pos"> @@ -24287,7 +24372,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="pos" type="float"> </argument> <description> - Set the position of a color phase (0 to 1). + Set the position of a color phase (0 to 1). </description> </method> <method name="set_color_phases"> @@ -24306,7 +24391,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="half_extents" type="Vector3"> </argument> <description> - Set the half extents for the emission box. + Set the half extents for the emission box. </description> </method> <method name="set_emission_points"> @@ -24325,14 +24410,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the "emitting" property state. When emitting, the particle system generates new particles at constant rate. + Set the "emitting" property state. When emitting, the particle system generates new particles at constant rate. </description> </method> <method name="set_gravity_normal"> <argument index="0" name="normal" type="Vector3"> </argument> <description> - Set the normal vector towards where gravity is pulling (by default, negative Y). + Set the normal vector towards where gravity is pulling (by default, negative Y). </description> </method> <method name="set_height_from_velocity"> @@ -24345,7 +24430,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="material" type="Material"> </argument> <description> - Set the material used to draw particles. + Set the material used to draw particles. </description> </method> <method name="set_randomness"> @@ -24354,7 +24439,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="randomness" type="float"> </argument> <description> - Set the randomness for a specific variable of the particle system. Randomness produces small changes from the default each time a particle is emitted. + Set the randomness for a specific variable of the particle system. Randomness produces small changes from the default each time a particle is emitted. </description> </method> <method name="set_use_local_coordinates"> @@ -24369,14 +24454,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="value" type="float"> </argument> <description> - Set a specific variable for the particle system (see VAR_* enum). + Set a specific variable for the particle system (see VAR_* enum). </description> </method> <method name="set_visibility_aabb"> <argument index="0" name="aabb" type="AABB"> </argument> <description> - Set the visibility AABB for the particle system, since the default one will not work properly most of the time. + Set the visibility AABB for the particle system, since the default one will not work properly most of the time. </description> </method> </methods> @@ -24385,16 +24470,6 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="VAR_SPREAD" value="1"> </constant> - <constant name="VAR_FINAL_SIZE" value="10"> - </constant> - <constant name="VAR_INITIAL_ANGLE" value="11"> - </constant> - <constant name="VAR_HEIGHT" value="12"> - </constant> - <constant name="VAR_HEIGHT_SPEED_SCALE" value="13"> - </constant> - <constant name="VAR_MAX" value="14"> - </constant> <constant name="VAR_GRAVITY" value="2"> </constant> <constant name="VAR_LINEAR_VELOCITY" value="3"> @@ -24409,28 +24484,38 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </constant> <constant name="VAR_INITIAL_SIZE" value="9"> </constant> + <constant name="VAR_FINAL_SIZE" value="10"> + </constant> + <constant name="VAR_INITIAL_ANGLE" value="11"> + </constant> + <constant name="VAR_HEIGHT" value="12"> + </constant> + <constant name="VAR_HEIGHT_SPEED_SCALE" value="13"> + </constant> + <constant name="VAR_MAX" value="14"> + </constant> </constants> </class> <class name="Particles2D" inherits="Node2D" category="Core"> <brief_description> - 2D Particle emitter + 2D Particle emitter </brief_description> <description> - Particles2D is a particle system 2D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility AABB (although helpers to create one automatically exist). + Particles2D is a particle system 2D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility AABB (although helpers to create one automatically exist). </description> <methods> <method name="get_amount" qualifiers="const"> <return type="int"> </return> <description> - Returns the amount of particles spawned at each emission + Returns the amount of particles spawned at each emission </description> </method> <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> - Returns the tint color for each particle. + Returns the tint color for each particle. </description> </method> <method name="get_color_phase_color" qualifiers="const"> @@ -24459,14 +24544,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="ColorRamp"> </return> <description> - Returns the [ColorRamp] used to tint each particle + Returns the [ColorRamp] used to tint each particle </description> </method> <method name="get_emission_half_extents" qualifiers="const"> <return type="Vector2"> </return> <description> - Returns the half extents of the emission box. + Returns the half extents of the emission box. </description> </method> <method name="get_emission_points" qualifiers="const"> @@ -24479,14 +24564,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="Vector2"> </return> <description> - Returns the particle spawn origin position relative to the emitter. + Returns the particle spawn origin position relative to the emitter. </description> </method> <method name="get_emit_timeout" qualifiers="const"> <return type="float"> </return> <description> - Returns the amount of seconds during which the emitter will spawn particles + Returns the amount of seconds during which the emitter will spawn particles </description> </method> <method name="get_explosiveness" qualifiers="const"> @@ -24511,7 +24596,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="float"> </return> <description> - Gets the amount of seconds that each particle will be visible. + Gets the amount of seconds that each particle will be visible. </description> </method> <method name="get_param" qualifiers="const"> @@ -24520,7 +24605,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="param" type="int"> </argument> <description> - Returns the value of the specified emitter parameter + Returns the value of the specified emitter parameter </description> </method> <method name="get_pre_process_time" qualifiers="const"> @@ -24535,21 +24620,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="param" type="int"> </argument> <description> - Returns the randomness value of the specified emitter parameter + Returns the randomness value of the specified emitter parameter </description> </method> <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> - Returns the texture for emitted particles + Returns the texture for emitted particles </description> </method> <method name="get_time_scale" qualifiers="const"> <return type="float"> </return> <description> - Returns the emitter time scale + Returns the emitter time scale </description> </method> <method name="get_v_frames" qualifiers="const"> @@ -24562,7 +24647,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <return type="bool"> </return> <description> - Returns whether this emitter is currently emitting or not + Returns whether this emitter is currently emitting or not </description> </method> <method name="is_flipped_h" qualifiers="const"> @@ -24597,14 +24682,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="amount" type="int"> </argument> <description> - Sets the amount of particles spawned at each emission + Sets the amount of particles spawned at each emission </description> </method> <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Set the tint color for each particle. + Set the tint color for each particle. </description> </method> <method name="set_color_phase_color"> @@ -24635,14 +24720,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="color_ramp" type="Object"> </argument> <description> - Sets the [ColorRamp] used to tint each particle. Particle will be tinted according to their lifetimes. + Sets the [ColorRamp] used to tint each particle. Particle will be tinted according to their lifetimes. </description> </method> <method name="set_emission_half_extents"> <argument index="0" name="extents" type="Vector2"> </argument> <description> - Sets the half extents of the emission box, particles will be spawned at random inside this box. + Sets the half extents of the emission box, particles will be spawned at random inside this box. </description> </method> <method name="set_emission_points"> @@ -24655,21 +24740,21 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="offset" type="Vector2"> </argument> <description> - Sets the particle spawn origin position relative to the emitter center. for example if this value is set to (50, 50), the particle will spawn 50 units to the right and 50 units to the bottom of the emitter center. + Sets the particle spawn origin position relative to the emitter center. for example if this value is set to (50, 50), the particle will spawn 50 units to the right and 50 units to the bottom of the emitter center. </description> </method> <method name="set_emit_timeout"> <argument index="0" name="value" type="float"> </argument> <description> - Sets the amount of seconds during which the emitter will spawn particles, after the specified seconds the emitter state will be set to non emitting, so calling [method is_emitting] will return false. If the timeout is 0 the emitter will spawn forever. + Sets the amount of seconds during which the emitter will spawn particles, after the specified seconds the emitter state will be set to non emitting, so calling [method is_emitting] will return false. If the timeout is 0 the emitter will spawn forever. </description> </method> <method name="set_emitting"> <argument index="0" name="active" type="bool"> </argument> <description> - If this is set to true then the particle emitter will emit particles, if its false it will not. + If this is set to true then the particle emitter will emit particles, if its false it will not. </description> </method> <method name="set_explosiveness"> @@ -24706,7 +24791,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="lifetime" type="float"> </argument> <description> - Sets the amount of seconds that each particle will be visible. + Sets the amount of seconds that each particle will be visible. </description> </method> <method name="set_param"> @@ -24715,7 +24800,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="value" type="float"> </argument> <description> - Sets the value of the specified emitter parameter (see the constants secction for the list of parameters) + Sets the value of the specified emitter parameter (see the constants secction for the list of parameters) </description> </method> <method name="set_pre_process_time"> @@ -24730,7 +24815,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="1" name="value" type="float"> </argument> <description> - Sets the randomness value of the specified emitter parameter (see the constants secction for the list of parameters), 0 means no randomness, so every particle will have the parameters specified, 1 means that the parameter will be choosen at random, the closer the randomness value gets to 0 the more conservative the variation of the parameter will be. + Sets the randomness value of the specified emitter parameter (see the constants secction for the list of parameters), 0 means no randomness, so every particle will have the parameters specified, 1 means that the parameter will be choosen at random, the closer the randomness value gets to 0 the more conservative the variation of the parameter will be. </description> </method> <method name="set_texture"> @@ -24739,14 +24824,14 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <argument index="0" name="texture" type="Object"> </argument> <description> - Sets the texture for each particle + Sets the texture for each particle </description> </method> <method name="set_time_scale"> <argument index="0" name="time_scale" type="float"> </argument> <description> - Sets the increment or decrement for the particle lifetime. for example: if the time scale is set to 2, the particles will die and move twice as fast. + Sets the increment or decrement for the particle lifetime. for example: if the time scale is set to 2, the particles will die and move twice as fast. </description> </method> <method name="set_use_local_space"> @@ -24763,30 +24848,11 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </method> </methods> <constants> - <constant name="MAX_COLOR_PHASES" value="4"> - </constant> <constant name="PARAM_DIRECTION" value="0"> Direction in radians at which the particles will be launched, Notice that when the direction is set to 0 the particles will be launched to the negative </constant> <constant name="PARAM_SPREAD" value="1"> </constant> - <constant name="PARAM_INITIAL_ANGLE" value="10"> - Initial angle in radians at which each particle will be spawned - </constant> - <constant name="PARAM_INITIAL_SIZE" value="11"> - Initial size of each particle - </constant> - <constant name="PARAM_FINAL_SIZE" value="12"> - Final size of each particle, the particle size will interpolate to this value during its lifetime. - </constant> - <constant name="PARAM_HUE_VARIATION" value="13"> - </constant> - <constant name="PARAM_ANIM_SPEED_SCALE" value="14"> - </constant> - <constant name="PARAM_ANIM_INITIAL_POS" value="15"> - </constant> - <constant name="PARAM_MAX" value="16"> - </constant> <constant name="PARAM_LINEAR_VELOCITY" value="2"> Velocity at which the particles will be launched. </constant> @@ -24809,6 +24875,25 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) <constant name="PARAM_DAMPING" value="9"> Amount of damping for each particle </constant> + <constant name="PARAM_INITIAL_ANGLE" value="10"> + Initial angle in radians at which each particle will be spawned + </constant> + <constant name="PARAM_INITIAL_SIZE" value="11"> + Initial size of each particle + </constant> + <constant name="PARAM_FINAL_SIZE" value="12"> + Final size of each particle, the particle size will interpolate to this value during its lifetime. + </constant> + <constant name="PARAM_HUE_VARIATION" value="13"> + </constant> + <constant name="PARAM_ANIM_SPEED_SCALE" value="14"> + </constant> + <constant name="PARAM_ANIM_INITIAL_POS" value="15"> + </constant> + <constant name="PARAM_MAX" value="16"> + </constant> + <constant name="MAX_COLOR_PHASES" value="4"> + </constant> </constants> </class> <class name="Patch9Frame" inherits="Control" category="Core"> @@ -24882,29 +24967,35 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </description> </method> </methods> + <signals> + <signal name="texture_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> <class name="Path" inherits="Spatial" category="Core"> <brief_description> - Container for a [Curve3D]. + Container for a [Curve3D]. </brief_description> <description> - This class is a container/Node-ification of a [Curve3D], so it can have [Spatial] properties and [Node] info. + This class is a container/Node-ification of a [Curve3D], so it can have [Spatial] properties and [Node] info. </description> <methods> <method name="get_curve" qualifiers="const"> <return type="Curve3D"> </return> <description> - Returns the [Curve3D] contained. + Returns the [Curve3D] contained. </description> </method> <method name="set_curve"> <argument index="0" name="curve" type="Curve3D"> </argument> <description> - Sets the [Curve3D]. + Sets the [Curve3D]. </description> </method> </methods> @@ -24913,24 +25004,24 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="Path2D" inherits="Node2D" category="Core"> <brief_description> - Container for a [Curve2D]. + Container for a [Curve2D]. </brief_description> <description> - This class is a container/Node-ification of a [Curve2D], so it can have [Node2D] properties and [Node] info. + This class is a container/Node-ification of a [Curve2D], so it can have [Node2D] properties and [Node] info. </description> <methods> <method name="get_curve" qualifiers="const"> <return type="Curve2D"> </return> <description> - Returns the [Curve2D] contained. + Returns the [Curve2D] contained. </description> </method> <method name="set_curve"> <argument index="0" name="curve" type="Curve2D"> </argument> <description> - Sets the [Curve2D]. + Sets the [Curve2D]. </description> </method> </methods> @@ -24939,112 +25030,112 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) </class> <class name="PathFollow" inherits="Spatial" category="Core"> <brief_description> - Point sampler for a [Path]. + Point sampler for a [Path]. </brief_description> <description> - This node takes its parent [Path], and returns the coordinates of a point within it, given a distance from the first vertex. -It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be descendants of this node. Then, when setting an offset in this node, the descendant nodes will move accordingly. + This node takes its parent [Path], and returns the coordinates of a point within it, given a distance from the first vertex. + It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be descendants of this node. Then, when setting an offset in this node, the descendant nodes will move accordingly. </description> <methods> <method name="get_cubic_interpolation" qualifiers="const"> <return type="bool"> </return> <description> - This method returns whether the position between two cached points (see [method set_cubic_interpolation]) is interpolated linearly, or cubicly. + This method returns whether the position between two cached points (see [method set_cubic_interpolation]) is interpolated linearly, or cubicly. </description> </method> <method name="get_h_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the X displacement this node has from its parent [Path]. + Returns the X displacement this node has from its parent [Path]. </description> </method> <method name="get_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the distance along the path in 3D units. + Returns the distance along the path in 3D units. </description> </method> <method name="get_rotation_mode" qualifiers="const"> <return type="int"> </return> <description> - Returns the rotation mode. The constants below list which axes are allowed to rotate for each mode. + Returns the rotation mode. The constants below list which axes are allowed to rotate for each mode. </description> </method> <method name="get_unit_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the distance along the path as a number in the range 0.0 (for the first vertex) to 1.0 (for the last). + Returns the distance along the path as a number in the range 0.0 (for the first vertex) to 1.0 (for the last). </description> </method> <method name="get_v_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the Y displacement this node has from its parent [Path]. + Returns the Y displacement this node has from its parent [Path]. </description> </method> <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether this node wraps its offsets around, or truncates them to the path ends. + Returns whether this node wraps its offsets around, or truncates them to the path ends. </description> </method> <method name="set_cubic_interpolation"> <argument index="0" name="enable" type="bool"> </argument> <description> - The points along the [Curve3D] of the [Path] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough. -There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations. -This method controls whether the position between two cached points is interpolated linearly, or cubicly. + The points along the [Curve3D] of the [Path] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough. + There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations. + This method controls whether the position between two cached points is interpolated linearly, or cubicly. </description> </method> <method name="set_h_offset"> <argument index="0" name="h_offset" type="float"> </argument> <description> - Moves this node in the X axis. As this node's position will be set every time its offset is set, this allows many PathFollow to share the same curve (and thus the same movement pattern), yet not return the same position for a given path offset. -A similar effect may be achieved moving the this node's descendants. + Moves this node in the X axis. As this node's position will be set every time its offset is set, this allows many PathFollow to share the same curve (and thus the same movement pattern), yet not return the same position for a given path offset. + A similar effect may be achieved moving the this node's descendants. </description> </method> <method name="set_loop"> <argument index="0" name="loop" type="bool"> </argument> <description> - If set, any offset outside the path's length (whether set by [method set_offset] or [method set_unit_offset] will wrap around, instead of stopping at the ends. Set it for cyclic paths. + If set, any offset outside the path's length (whether set by [method set_offset] or [method set_unit_offset] will wrap around, instead of stopping at the ends. Set it for cyclic paths. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="float"> </argument> <description> - Sets the distance from the first vertex, measured in 3D units along the path. This sets this node's position to a point within the path. + Sets the distance from the first vertex, measured in 3D units along the path. This sets this node's position to a point within the path. </description> </method> <method name="set_rotation_mode"> <argument index="0" name="rotation_mode" type="int"> </argument> <description> - Allows or forbids rotation on one or more axes, per the constants below. + Allows or forbids rotation on one or more axes, per the constants below. </description> </method> <method name="set_unit_offset"> <argument index="0" name="unit_offset" type="float"> </argument> <description> - Sets the distance from the first vertex, considering 0.0 as the first vertex and 1.0 as the last. This is just another way of expressing the offset within the path, as the offset supplied is multiplied internally by the path's length. + Sets the distance from the first vertex, considering 0.0 as the first vertex and 1.0 as the last. This is just another way of expressing the offset within the path, as the offset supplied is multiplied internally by the path's length. </description> </method> <method name="set_v_offset"> <argument index="0" name="v_offset" type="float"> </argument> <description> - Moves this node in the Y axis, for the same reasons of [method set_h_offset]. + Moves this node in the Y axis, for the same reasons of [method set_h_offset]. </description> </method> </methods> @@ -25065,112 +25156,112 @@ A similar effect may be achieved moving the this node's descendants. </class> <class name="PathFollow2D" inherits="Node2D" category="Core"> <brief_description> - Point sampler for a [Path2D]. + Point sampler for a [Path2D]. </brief_description> <description> - This node takes its parent [Path2D], and returns the coordinates of a point within it, given a distance from the first vertex. -It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be descendants of this node. Then, when setting an offset in this node, the descendant nodes will move accordingly. + This node takes its parent [Path2D], and returns the coordinates of a point within it, given a distance from the first vertex. + It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be descendants of this node. Then, when setting an offset in this node, the descendant nodes will move accordingly. </description> <methods> <method name="get_cubic_interpolation" qualifiers="const"> <return type="bool"> </return> <description> - This method returns whether the position between two cached points (see [method set_cubic_interpolation]) is interpolated linearly, or cubicly. + This method returns whether the position between two cached points (see [method set_cubic_interpolation]) is interpolated linearly, or cubicly. </description> </method> <method name="get_h_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the horizontal displacement this node has from its parent [Path2D]. + Returns the horizontal displacement this node has from its parent [Path2D]. </description> </method> <method name="get_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the distance along the path in pixels. + Returns the distance along the path in pixels. </description> </method> <method name="get_unit_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the distance along the path as a number in the range 0.0 (for the first vertex) to 1.0 (for the last). + Returns the distance along the path as a number in the range 0.0 (for the first vertex) to 1.0 (for the last). </description> </method> <method name="get_v_offset" qualifiers="const"> <return type="float"> </return> <description> - Returns the vertical displacement this node has from its parent [Path2D]. + Returns the vertical displacement this node has from its parent [Path2D]. </description> </method> <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether this node wraps its offsets around, or truncates them to the path ends. + Returns whether this node wraps its offsets around, or truncates them to the path ends. </description> </method> <method name="is_rotating" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether this node rotates to follow the path. + Returns whether this node rotates to follow the path. </description> </method> <method name="set_cubic_interpolation"> <argument index="0" name="enable" type="bool"> </argument> <description> - The points along the [Curve2D] of the [Path2D] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough. -There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations. -This method controls whether the position between two cached points is interpolated linearly, or cubicly. + The points along the [Curve2D] of the [Path2D] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough. + There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations. + This method controls whether the position between two cached points is interpolated linearly, or cubicly. </description> </method> <method name="set_h_offset"> <argument index="0" name="h_offset" type="float"> </argument> <description> - Moves this node horizontally. As this node's position will be set every time its offset is set, this allows many PathFollow2D to share the same curve (and thus the same movement pattern), yet not return the same position for a given path offset. -A similar effect may be achieved moving this node's descendants. + Moves this node horizontally. As this node's position will be set every time its offset is set, this allows many PathFollow2D to share the same curve (and thus the same movement pattern), yet not return the same position for a given path offset. + A similar effect may be achieved moving this node's descendants. </description> </method> <method name="set_loop"> <argument index="0" name="loop" type="bool"> </argument> <description> - If set, any offset outside the path's length (whether set by [method set_offset] or [method set_unit_offset] will wrap around, instead of stopping at the ends. Set it for cyclic paths. + If set, any offset outside the path's length (whether set by [method set_offset] or [method set_unit_offset] will wrap around, instead of stopping at the ends. Set it for cyclic paths. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="float"> </argument> <description> - Sets the distance from the first vertex, measured in pixels along the path. This sets this node's position to a point within the path. + Sets the distance from the first vertex, measured in pixels along the path. This sets this node's position to a point within the path. </description> </method> <method name="set_rotate"> <argument index="0" name="enable" type="bool"> </argument> <description> - If set, this node rotates to follow the path, making its descendants rotate. + If set, this node rotates to follow the path, making its descendants rotate. </description> </method> <method name="set_unit_offset"> <argument index="0" name="unit_offset" type="float"> </argument> <description> - Sets the distance from the first vertex, considering 0.0 as the first vertex and 1.0 as the last. This is just another way of expressing the offset within the path, as the offset supplied is multiplied internally by the path's length. + Sets the distance from the first vertex, considering 0.0 as the first vertex and 1.0 as the last. This is just another way of expressing the offset within the path, as the offset supplied is multiplied internally by the path's length. </description> </method> <method name="set_v_offset"> <argument index="0" name="v_offset" type="float"> </argument> <description> - Moves the PathFollow2D vertically, for the same reasons of [method set_h_offset]. + Moves the PathFollow2D vertically, for the same reasons of [method set_h_offset]. </description> </method> </methods> @@ -25179,10 +25270,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PathRemap" inherits="Object" category="Core"> <brief_description> - Singleton containing the list of remapped resources. + Singleton containing the list of remapped resources. </brief_description> <description> - When exporting, the types of some resources may change internally so they are converted to more optimized versions. While it's not usually necessary to access to this directly (path remapping happens automatically when opening a file), it's exported just for information. + When exporting, the types of some resources may change internally so they are converted to more optimized versions. While it's not usually necessary to access to this directly (path remapping happens automatically when opening a file), it's exported just for information. </description> <methods> <method name="add_remap"> @@ -25193,19 +25284,19 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="locale" type="String" default=""""> </argument> <description> - Add a remap from a file to another. + Add a remap from a file to another. </description> </method> <method name="clear_remaps"> <description> - Clear all remaps. + Clear all remaps. </description> </method> <method name="erase_remap"> <argument index="0" name="path" type="String"> </argument> <description> - Erase a remap. + Erase a remap. </description> </method> <method name="get_remap" qualifiers="const"> @@ -25214,7 +25305,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="path" type="String"> </argument> <description> - Return the remapped new path of a file. + Return the remapped new path of a file. </description> </method> <method name="has_remap" qualifiers="const"> @@ -25223,7 +25314,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="path" type="String"> </argument> <description> - Return true if a file is being remapped. + Return true if a file is being remapped. </description> </method> </methods> @@ -25246,6 +25337,12 @@ A similar effect may be achieved moving this node's descendants. </method> </methods> <constants> + <constant name="TIME_FPS" value="0"> + </constant> + <constant name="TIME_PROCESS" value="1"> + </constant> + <constant name="TIME_FIXED_PROCESS" value="2"> + </constant> <constant name="MEMORY_STATIC" value="3"> </constant> <constant name="MEMORY_DYNAMIC" value="4"> @@ -25256,25 +25353,11 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="MEMORY_MESSAGE_BUFFER_MAX" value="7"> </constant> - <constant name="MONITOR_MAX" value="27"> - </constant> - <constant name="OBJECT_NODE_COUNT" value="10"> - </constant> <constant name="OBJECT_COUNT" value="8"> </constant> <constant name="OBJECT_RESOURCE_COUNT" value="9"> </constant> - <constant name="PHYSICS_2D_ACTIVE_OBJECTS" value="21"> - </constant> - <constant name="PHYSICS_2D_COLLISION_PAIRS" value="22"> - </constant> - <constant name="PHYSICS_2D_ISLAND_COUNT" value="23"> - </constant> - <constant name="PHYSICS_3D_ACTIVE_OBJECTS" value="24"> - </constant> - <constant name="PHYSICS_3D_COLLISION_PAIRS" value="25"> - </constant> - <constant name="PHYSICS_3D_ISLAND_COUNT" value="26"> + <constant name="OBJECT_NODE_COUNT" value="10"> </constant> <constant name="RENDER_OBJECTS_IN_FRAME" value="11"> </constant> @@ -25288,35 +25371,43 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="RENDER_DRAW_CALLS_IN_FRAME" value="16"> </constant> + <constant name="RENDER_USAGE_VIDEO_MEM_TOTAL" value="20"> + </constant> <constant name="RENDER_VIDEO_MEM_USED" value="17"> </constant> <constant name="RENDER_TEXTURE_MEM_USED" value="18"> </constant> <constant name="RENDER_VERTEX_MEM_USED" value="19"> </constant> - <constant name="RENDER_USAGE_VIDEO_MEM_TOTAL" value="20"> + <constant name="PHYSICS_2D_ACTIVE_OBJECTS" value="21"> </constant> - <constant name="TIME_FPS" value="0"> + <constant name="PHYSICS_2D_COLLISION_PAIRS" value="22"> </constant> - <constant name="TIME_PROCESS" value="1"> + <constant name="PHYSICS_2D_ISLAND_COUNT" value="23"> </constant> - <constant name="TIME_FIXED_PROCESS" value="2"> + <constant name="PHYSICS_3D_ACTIVE_OBJECTS" value="24"> + </constant> + <constant name="PHYSICS_3D_COLLISION_PAIRS" value="25"> + </constant> + <constant name="PHYSICS_3D_ISLAND_COUNT" value="26"> + </constant> + <constant name="MONITOR_MAX" value="27"> </constant> </constants> </class> <class name="Physics2DDirectBodyState" inherits="Object" category="Core"> <brief_description> - Direct access object to a physics body in the [Physics2DServer]. + Direct access object to a physics body in the [Physics2DServer]. </brief_description> <description> - Direct access object to a physics body in the [Physics2DServer]. This object is passed via the direct state callback of rigid/character bodies, and is intended for changing the direct state of that body. + Direct access object to a physics body in the [Physics2DServer]. This object is passed via the direct state callback of rigid/character bodies, and is intended for changing the direct state of that body. </description> <methods> <method name="get_angular_velocity" qualifiers="const"> <return type="float"> </return> <description> - Return the angular velocity of the body. + Return the angular velocity of the body. </description> </method> <method name="get_contact_collider" qualifiers="const"> @@ -25325,7 +25416,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the [RID] of the collider. + Return the [RID] of the collider. </description> </method> <method name="get_contact_collider_id" qualifiers="const"> @@ -25334,7 +25425,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the object id of the collider. + Return the object id of the collider. </description> </method> <method name="get_contact_collider_object" qualifiers="const"> @@ -25343,7 +25434,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the collider object, this depends on how it was created (will return a scene node if such was used to create it). + Return the collider object, this depends on how it was created (will return a scene node if such was used to create it). </description> </method> <method name="get_contact_collider_pos" qualifiers="const"> @@ -25352,7 +25443,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the contact position in the collider. + Return the contact position in the collider. </description> </method> <method name="get_contact_collider_shape" qualifiers="const"> @@ -25361,7 +25452,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the collider shape index. + Return the collider shape index. </description> </method> <method name="get_contact_collider_shape_metadata" qualifiers="const"> @@ -25370,7 +25461,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the metadata of the collided shape. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. + Return the metadata of the collided shape. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. </description> </method> <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> @@ -25379,14 +25470,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the linear velocity vector at contact point of the collider. + Return the linear velocity vector at contact point of the collider. </description> </method> <method name="get_contact_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of contacts this body has with other bodies. Note that by default this returns 0 unless bodies are configured to log contacts. + Return the amount of contacts this body has with other bodies. Note that by default this returns 0 unless bodies are configured to log contacts. </description> </method> <method name="get_contact_local_normal" qualifiers="const"> @@ -25395,7 +25486,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the local normal (of this body) of the contact point. + Return the local normal (of this body) of the contact point. </description> </method> <method name="get_contact_local_pos" qualifiers="const"> @@ -25404,7 +25495,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the local position (of this body) of the contact point. + Return the local position (of this body) of the contact point. </description> </method> <method name="get_contact_local_shape" qualifiers="const"> @@ -25413,110 +25504,110 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="contact_idx" type="int"> </argument> <description> - Return the local shape index of the collision. + Return the local shape index of the collision. </description> </method> <method name="get_inverse_inertia" qualifiers="const"> <return type="float"> </return> <description> - Return the inverse of the inertia of the body. + Return the inverse of the inertia of the body. </description> </method> <method name="get_inverse_mass" qualifiers="const"> <return type="float"> </return> <description> - Return the inverse of the mass of the body. + Return the inverse of the mass of the body. </description> </method> <method name="get_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the current linear velocity of the body. + Return the current linear velocity of the body. </description> </method> <method name="get_space_state"> <return type="Physics2DDirectSpaceState"> </return> <description> - Return the current state of space, useful for queries. + Return the current state of space, useful for queries. </description> </method> <method name="get_step" qualifiers="const"> <return type="float"> </return> <description> - Return the timestep (delta) used for the simulation. + Return the timestep (delta) used for the simulation. </description> </method> <method name="get_total_angular_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the rate at which the body stops rotating, if there are not any other forces moving it. + Return the rate at which the body stops rotating, if there are not any other forces moving it. </description> </method> <method name="get_total_gravity" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the total gravity vector being currently applied to this body. + Return the total gravity vector being currently applied to this body. </description> </method> <method name="get_total_linear_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the rate at which the body stops moving, if there are not any other forces moving it. + Return the rate at which the body stops moving, if there are not any other forces moving it. </description> </method> <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Return the transform matrix of the body. + Return the transform matrix of the body. </description> </method> <method name="integrate_forces"> <description> - Call the built-in force integration code. + Call the built-in force integration code. </description> </method> <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> - Return true if this body is currently sleeping (not active). + Return true if this body is currently sleeping (not active). </description> </method> <method name="set_angular_velocity"> <argument index="0" name="velocity" type="float"> </argument> <description> - Change the angular velocity of the body. + Change the angular velocity of the body. </description> </method> <method name="set_linear_velocity"> <argument index="0" name="velocity" type="Vector2"> </argument> <description> - Change the linear velocity of the body. + Change the linear velocity of the body. </description> </method> <method name="set_sleep_state"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the sleeping state of the body, only affects character/rigid bodies. + Set the sleeping state of the body, only affects character/rigid bodies. </description> </method> <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> - Change the transform matrix of the body. + Change the transform matrix of the body. </description> </method> </methods> @@ -25525,10 +25616,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Physics2DDirectBodyStateSW" inherits="Physics2DDirectBodyState" category="Core"> <brief_description> - Software implementation of [Physics2DDirectBodyState]. + Software implementation of [Physics2DDirectBodyState]. </brief_description> <description> - Software implementation of [Physics2DDirectBodyState]. This object exposes no new methods or properties and should not be used, as [Physics2DDirectBodyState] selects the best implementation available. + Software implementation of [Physics2DDirectBodyState]. This object exposes no new methods or properties and should not be used, as [Physics2DDirectBodyState] selects the best implementation available. </description> <methods> </methods> @@ -25537,10 +25628,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Physics2DDirectSpaceState" inherits="Object" category="Core"> <brief_description> - Direct access object to a space in the [Physics2DServer]. + Direct access object to a space in the [Physics2DServer]. </brief_description> <description> - Direct access object to a space in the [Physics2DServer]. It's used mainly to do queries against objects and areas residing in a given space. + Direct access object to a space in the [Physics2DServer]. It's used mainly to do queries against objects and areas residing in a given space. </description> <methods> <method name="cast_motion"> @@ -25549,7 +25640,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> </argument> <description> - Check whether the shape can travel to a point. If it can, the method will return an array with two floats: The first is the distance the shape can move in that direction without colliding, and the second is the distance at which it will collide. + Check whether the shape can travel to a point. If it can, the method will return an array with two floats: The first is the distance the shape can move in that direction without colliding, and the second is the distance at which it will collide. If the shape can not move, the array will be empty. </description> </method> @@ -25561,7 +25652,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="max_results" type="int" default="32"> </argument> <description> - Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time. + Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time. </description> </method> <method name="get_rest_info"> @@ -25570,16 +25661,16 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> </argument> <description> - Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. If it collides with more than a shape, the nearest one is selected. The returned object is a dictionary containing the following fields: - pointo: Place where the shapes intersect. - normal: Normal of the object at the point where the shapes intersect. - shape: Shape index within the object against which the shape intersected. - metadata: Metadata of the shape against which the shape intersected. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. - collider_id: Id of the object against which the shape intersected. - collider: Object against which the shape intersected. - rid: [RID] of the object against which the shape intersected. - linear_velocity: The movement vector of the object the shape intersected, if it was a body. If it was an area, it is (0,0). - If the shape did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. + Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. If it collides with more than a shape, the nearest one is selected. The returned object is a dictionary containing the following fields: + pointo: Place where the shapes intersect. + normal: Normal of the object at the point where the shapes intersect. + shape: Shape index within the object against which the shape intersected. + metadata: Metadata of the shape against which the shape intersected. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. + collider_id: Id of the object against which the shape intersected. + collider: Object against which the shape intersected. + rid: [RID] of the object against which the shape intersected. + linear_velocity: The movement vector of the object the shape intersected, if it was a body. If it was an area, it is (0,0). + If the shape did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. </description> </method> <method name="intersect_point"> @@ -25596,13 +25687,13 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="type_mask" type="int" default="15"> </argument> <description> - Check whether a point is inside any shape. The shapes the point is inside of are returned in an array containing dictionaries with the following fields: - shape: Shape index within the object the point is in. - metadata: Metadata of the shape the point is in. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. - collider_id: Id of the object the point is in. - collider: Object the point is inside of. - rid: [RID] of the object the point is in. - Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, a bitmask representing the physics layers to check in, and another bitmask for the types of objects to check (see TYPE_MASK_* constants). + Check whether a point is inside any shape. The shapes the point is inside of are returned in an array containing dictionaries with the following fields: + shape: Shape index within the object the point is in. + metadata: Metadata of the shape the point is in. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. + collider_id: Id of the object the point is in. + collider: Object the point is inside of. + rid: [RID] of the object the point is in. + Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, a bitmask representing the physics layers to check in, and another bitmask for the types of objects to check (see TYPE_MASK_* constants). </description> </method> <method name="intersect_ray"> @@ -25619,16 +25710,16 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="type_mask" type="int" default="15"> </argument> <description> - Intersect a ray in a given space. The returned object is a dictionary with the following fields: - position: Place where ray is stopped. - normal: Normal of the object at the point where the ray was stopped. - shape: Shape index within the object against which the ray was stopped. - metadata: Metadata of the shape against which the ray was stopped. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. - collider_id: Id of the object against which the ray was stopped. - collider: Object against which the ray was stopped. - rid: [RID] of the object against which the ray was stopped. - If the ray did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. - Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, a bitmask representing the physics layers to check in, and another bitmask for the types of objects to check (see TYPE_MASK_* constants). + Intersect a ray in a given space. The returned object is a dictionary with the following fields: + position: Place where ray is stopped. + normal: Normal of the object at the point where the ray was stopped. + shape: Shape index within the object against which the ray was stopped. + metadata: Metadata of the shape against which the ray was stopped. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. + collider_id: Id of the object against which the ray was stopped. + collider: Object against which the ray was stopped. + rid: [RID] of the object against which the ray was stopped. + If the ray did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. + Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, a bitmask representing the physics layers to check in, and another bitmask for the types of objects to check (see TYPE_MASK_* constants). </description> </method> <method name="intersect_shape"> @@ -25639,13 +25730,13 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="max_results" type="int" default="32"> </argument> <description> - Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The intersected shapes are returned in an array containing dictionaries with the following fields: - shape: Shape index within the object the shape intersected. - metadata: Metadata of the shape intersected by the shape given through the [Physics2DShapeQueryParameters]. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. - collider_id: Id of the object the shape intersected. - collider: Object the shape intersected. - rid: [RID] of the object the shape intersected. - The number of intersections can be limited with the second paramater, to reduce the processing time. + Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The intersected shapes are returned in an array containing dictionaries with the following fields: + shape: Shape index within the object the shape intersected. + metadata: Metadata of the shape intersected by the shape given through the [Physics2DShapeQueryParameters]. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. + collider_id: Id of the object the shape intersected. + collider: Object the shape intersected. + rid: [RID] of the object the shape intersected. + The number of intersections can be limited with the second paramater, to reduce the processing time. </description> </method> </methods> @@ -25653,12 +25744,6 @@ A similar effect may be achieved moving this node's descendants. <constant name="TYPE_MASK_STATIC_BODY" value="1"> Check for collisions with static bodies. </constant> - <constant name="TYPE_MASK_COLLISION" value="15"> - Check for collisions with any kind of bodies (but not areas). - </constant> - <constant name="TYPE_MASK_AREA" value="16"> - Check for collisions with areas. - </constant> <constant name="TYPE_MASK_KINEMATIC_BODY" value="2"> Check for collisions with kinematic bodies. </constant> @@ -25668,14 +25753,20 @@ A similar effect may be achieved moving this node's descendants. <constant name="TYPE_MASK_CHARACTER_BODY" value="8"> Check for collisions with rigid bodies in character mode. </constant> + <constant name="TYPE_MASK_AREA" value="16"> + Check for collisions with areas. + </constant> + <constant name="TYPE_MASK_COLLISION" value="15"> + Check for collisions with any kind of bodies (but not areas). + </constant> </constants> </class> <class name="Physics2DServer" inherits="Object" category="Core"> <brief_description> - Physics 2D Server. + Physics 2D Server. </brief_description> <description> - Physics 2D Server is the server responsible for all 2D physics. It can create many kinds of physics objects, but does not insert them on the node tree. + Physics 2D Server is the server responsible for all 2D physics. It can create many kinds of physics objects, but does not insert them on the node tree. </description> <methods> <method name="area_add_shape"> @@ -25686,7 +25777,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> </argument> <description> - Add a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. + Add a shape to the area, 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="area_attach_object_instance_ID"> @@ -25695,21 +25786,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="id" type="int"> </argument> <description> - Assign the area to a descendant of [Object], so it can exist in the node tree. + Assign the area to a descendant of [Object], so it can exist in the node tree. </description> </method> <method name="area_clear_shapes"> <argument index="0" name="area" type="RID"> </argument> <description> - Remove all shapes from an area. It does not delete the shapes, so they can be reassigned later. + Remove all shapes from an area. It does not delete the shapes, so they can be reassigned later. </description> </method> <method name="area_create"> <return type="RID"> </return> <description> - Create an [Area2D]. + Create an [Area2D]. </description> </method> <method name="area_get_object_instance_ID" qualifiers="const"> @@ -25718,7 +25809,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="area" type="RID"> </argument> <description> - Get the instance ID of the object the area is assigned to. + Get the instance ID of the object the area is assigned to. </description> </method> <method name="area_get_param" qualifiers="const"> @@ -25727,7 +25818,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="param" type="int"> </argument> <description> - Return an area parameter value. + Return an area parameter value. </description> </method> <method name="area_get_shape" qualifiers="const"> @@ -25738,7 +25829,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Return the [RID] of the nth shape of an area. + Return the [RID] of the nth shape of an area. </description> </method> <method name="area_get_shape_count" qualifiers="const"> @@ -25747,7 +25838,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="area" type="RID"> </argument> <description> - Return the number of shapes assigned to an area. + Return the number of shapes assigned to an area. </description> </method> <method name="area_get_shape_transform" qualifiers="const"> @@ -25758,7 +25849,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Return the transform matrix of a shape within an area. + Return the transform matrix of a shape within an area. </description> </method> <method name="area_get_space" qualifiers="const"> @@ -25767,7 +25858,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="area" type="RID"> </argument> <description> - Return the space assigned to the area. + Return the space assigned to the area. </description> </method> <method name="area_get_space_override_mode" qualifiers="const"> @@ -25776,7 +25867,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="area" type="RID"> </argument> <description> - Return the space override mode for the area. + Return the space override mode for the area. </description> </method> <method name="area_get_transform" qualifiers="const"> @@ -25785,7 +25876,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="area" type="RID"> </argument> <description> - Return the transform matrix for an area. + Return the transform matrix for an area. </description> </method> <method name="area_remove_shape"> @@ -25794,7 +25885,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Remove a shape from an area. It does not delete the shape, so it can be reassigned later. + Remove a shape from an area. It does not delete the shape, so it can be reassigned later. </description> </method> <method name="area_set_collision_mask"> @@ -25803,7 +25894,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mask" type="int"> </argument> <description> - Set which physics layers the area will monitor. + Set which physics layers the area will monitor. </description> </method> <method name="area_set_layer_mask"> @@ -25812,7 +25903,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mask" type="int"> </argument> <description> - Assign the area to one or many physics layers. + Assign the area to one or many physics layers. </description> </method> <method name="area_set_monitor_callback"> @@ -25823,12 +25914,12 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="method" type="String"> </argument> <description> - Set the function to call when any body/area enters or exits the area. This callback will be called for any object interacting with the area, and takes five parameters: - 1: AREA_BODY_ADDED or AREA_BODY_REMOVED, depending on whether the object entered or exited the area. - 2: [RID] of the object that entered/exited the area. - 3: Instance ID of the object that entered/exited the area. - 4: The shape index of the object that entered/exited the area. - 5: The shape index of the area where the object entered/exited. + Set the function to call when any body/area enters or exits the area. This callback will be called for any object interacting with the area, and takes five parameters: + 1: AREA_BODY_ADDED or AREA_BODY_REMOVED, depending on whether the object entered or exited the area. + 2: [RID] of the object that entered/exited the area. + 3: Instance ID of the object that entered/exited the area. + 4: The shape index of the object that entered/exited the area. + 5: The shape index of the area where the object entered/exited. </description> </method> <method name="area_set_param"> @@ -25839,7 +25930,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="Variant"> </argument> <description> - Set the value for an area parameter. A list of available parameters is on the AREA_PARAM_* constants. + Set the value for an area parameter. A list of available parameters is on the AREA_PARAM_* constants. </description> </method> <method name="area_set_shape"> @@ -25850,7 +25941,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="shape" type="RID"> </argument> <description> - Substitute a given area shape by another. The old shape is selected by its index, the new one by its [RID]. + Substitute a given area shape by another. The old shape is selected by its index, the new one by its [RID]. </description> </method> <method name="area_set_shape_transform"> @@ -25861,7 +25952,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="transform" type="Matrix32"> </argument> <description> - Set the transform matrix for an area shape. + Set the transform matrix for an area shape. </description> </method> <method name="area_set_space"> @@ -25870,7 +25961,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="space" type="RID"> </argument> <description> - Assign a space to the area. + Assign a space to the area. </description> </method> <method name="area_set_space_override_mode"> @@ -25879,7 +25970,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mode" type="int"> </argument> <description> - Set the space override mode for the area. The modes are described in the constants AREA_SPACE_OVERRIDE_*. + Set the space override mode for the area. The modes are described in the constants AREA_SPACE_OVERRIDE_*. </description> </method> <method name="area_set_transform"> @@ -25888,7 +25979,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="transform" type="Matrix32"> </argument> <description> - Set the transform matrix for an area. + Set the transform matrix for an area. </description> </method> <method name="body_add_collision_exception"> @@ -25897,7 +25988,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="excepted_body" type="RID"> </argument> <description> - Add a body to the list of bodies exempt from collisions. + Add a body to the list of bodies exempt from collisions. </description> </method> <method name="body_add_force"> @@ -25908,7 +25999,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="force" type="Vector2"> </argument> <description> - Add a positioned force to the applied force and torque. As with [method body_apply_impulse], both the force and the offset from the body origin are in global coordinates. A force differs from an impulse in that, while the two are forces, the impulse clears itself after being applied. + Add a positioned force to the applied force and torque. As with [method body_apply_impulse], both the force and the offset from the body origin are in global coordinates. A force differs from an impulse in that, while the two are forces, the impulse clears itself after being applied. </description> </method> <method name="body_add_shape"> @@ -25919,7 +26010,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> </argument> <description> - Add 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. + Add 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_apply_impulse"> @@ -25930,7 +26021,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="impulse" type="Vector2"> </argument> <description> - Add a positioned impulse to the applied force and torque. Both the force and the offset from the body origin are in global coordinates. + Add 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_attach_object_instance_ID"> @@ -25939,14 +26030,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="id" type="int"> </argument> <description> - Assign the area to a descendant of [Object], so it can exist in the node tree. + Assign the area to a descendant of [Object], so it can exist in the node tree. </description> </method> <method name="body_clear_shapes"> <argument index="0" name="body" type="RID"> </argument> <description> - Remove all shapes from a body. + Remove all shapes from a body. </description> </method> <method name="body_create"> @@ -25957,7 +26048,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="init_sleeping" type="bool" default="false"> </argument> <description> - Create a physics body. The first parameter can be any value from constants BODY_MODE*, for the type of body created. Additionally, the body can be created in sleeping state to save processing time. + Create a physics body. The first parameter can be any value from constants BODY_MODE*, for the type of body created. Additionally, the body can be created in sleeping state to save processing time. </description> </method> <method name="body_get_collision_mask" qualifiers="const"> @@ -25966,7 +26057,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the physics layer or layers a body can collide with. + Return the physics layer or layers a body can collide with. </description> </method> <method name="body_get_continuous_collision_detection_mode" qualifiers="const"> @@ -25975,7 +26066,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the continuous collision detection mode. + Return the continuous collision detection mode. </description> </method> <method name="body_get_layer_mask" qualifiers="const"> @@ -25984,7 +26075,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the physics layer or layers a body belongs to. + Return the physics layer or layers a body belongs to. </description> </method> <method name="body_get_max_contacts_reported" qualifiers="const"> @@ -25993,7 +26084,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the maximum contacts that can be reported. See [method body_set_max_contacts_reported]. + Return the maximum contacts that can be reported. See [method body_set_max_contacts_reported]. </description> </method> <method name="body_get_mode" qualifiers="const"> @@ -26002,7 +26093,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the body mode. + Return the body mode. </description> </method> <method name="body_get_object_instance_ID" qualifiers="const"> @@ -26011,7 +26102,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Get the instance ID of the object the area is assigned to. + Get the instance ID of the object the area is assigned to. </description> </method> <method name="body_get_one_way_collision_direction" qualifiers="const"> @@ -26020,7 +26111,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the direction used for one-way collision detection. + Return the direction used for one-way collision detection. </description> </method> <method name="body_get_one_way_collision_max_depth" qualifiers="const"> @@ -26029,7 +26120,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return how far a body can go through the given one, when it allows one-way collisions. + Return how far a body can go through the given one, when it allows one-way collisions. </description> </method> <method name="body_get_param" qualifiers="const"> @@ -26040,7 +26131,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="param" type="int"> </argument> <description> - Return the value of a body parameter. + Return the value of a body parameter. </description> </method> <method name="body_get_shape" qualifiers="const"> @@ -26051,7 +26142,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Return the [RID] of the nth shape of a body. + Return the [RID] of the nth shape of a body. </description> </method> <method name="body_get_shape_count" qualifiers="const"> @@ -26060,7 +26151,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the number of shapes assigned to a body. + Return the number of shapes assigned to a body. </description> </method> <method name="body_get_shape_metadata" qualifiers="const"> @@ -26069,7 +26160,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Return the metadata of a shape of a body. + Return the metadata of a shape of a body. </description> </method> <method name="body_get_shape_transform" qualifiers="const"> @@ -26080,7 +26171,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Return the transform matrix of a body shape. + Return the transform matrix of a body shape. </description> </method> <method name="body_get_space" qualifiers="const"> @@ -26089,7 +26180,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return the [RID] of the space assigned to a body. + Return the [RID] of the space assigned to a body. </description> </method> <method name="body_get_state" qualifiers="const"> @@ -26098,7 +26189,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="state" type="int"> </argument> <description> - Return a body state. + Return a body state. </description> </method> <method name="body_is_omitting_force_integration" qualifiers="const"> @@ -26107,7 +26198,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="RID"> </argument> <description> - Return whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). + Return whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). </description> </method> <method name="body_is_shape_set_as_trigger" qualifiers="const"> @@ -26118,7 +26209,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Return whether a body's shape is marked as a trigger. + Return whether a body's shape is marked as a trigger. </description> </method> <method name="body_remove_collision_exception"> @@ -26127,7 +26218,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="excepted_body" type="RID"> </argument> <description> - Remove a body from the list of bodies exempt from collisions. + Remove a body from the list of bodies exempt from collisions. </description> </method> <method name="body_remove_shape"> @@ -26136,7 +26227,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_idx" type="int"> </argument> <description> - Remove a shape from a body. The shape is not deleted, so it can be reused afterwards. + Remove a shape from a body. The shape is not deleted, so it can be reused afterwards. </description> </method> <method name="body_set_axis_velocity"> @@ -26145,7 +26236,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="axis_velocity" type="Vector2"> </argument> <description> - Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. + Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. </description> </method> <method name="body_set_collision_mask"> @@ -26154,7 +26245,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mask" type="int"> </argument> <description> - Set the physics layer or layers a body can collide with. + Set the physics layer or layers a body can collide with. </description> </method> <method name="body_set_continuous_collision_detection_mode"> @@ -26163,8 +26254,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mode" type="int"> </argument> <description> - Set the continuous collision detection mode from any of the CCD_MODE_* constants. - Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. + Set the continuous collision detection mode from any of the CCD_MODE_* constants. + Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. </description> </method> <method name="body_set_force_integration_callback"> @@ -26177,7 +26268,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="userdata" type="Variant" default="NULL"> </argument> <description> - Set the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force integration]). + Set the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force integration]). </description> </method> <method name="body_set_layer_mask"> @@ -26186,7 +26277,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mask" type="int"> </argument> <description> - Set the physics layer or layers a body belongs to. + Set the physics layer or layers a body belongs to. </description> </method> <method name="body_set_max_contacts_reported"> @@ -26195,7 +26286,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="amount" type="int"> </argument> <description> - Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. + Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. </description> </method> <method name="body_set_mode"> @@ -26204,7 +26295,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mode" type="int"> </argument> <description> - Set the body mode, from one of the constants BODY_MODE*. + Set the body mode, from one of the constants BODY_MODE*. </description> </method> <method name="body_set_omit_force_integration"> @@ -26213,7 +26304,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="enable" type="bool"> </argument> <description> - Set whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). + Set whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). </description> </method> <method name="body_set_one_way_collision_direction"> @@ -26222,7 +26313,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="normal" type="Vector2"> </argument> <description> - Set a direction in which bodies can go through the given one. If this value is different from (0,0), any movement within 90 degrees of this vector is considered a valid movement. Set this direction to (0,0) to disable one-way collisions. + Set a direction in which bodies can go through the given one. If this value is different from (0,0), any movement within 90 degrees of this vector is considered a valid movement. Set this direction to (0,0) to disable one-way collisions. </description> </method> <method name="body_set_one_way_collision_max_depth"> @@ -26231,7 +26322,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="depth" type="float"> </argument> <description> - Set how far a body can go through the given one, if it allows one-way collisions (see [method body_set_one_way_collision_direction]). + Set how far a body can go through the given one, if it allows one-way collisions (see [method body_set_one_way_collision_direction]). </description> </method> <method name="body_set_param"> @@ -26242,7 +26333,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="float"> </argument> <description> - Set a body parameter (see BODY_PARAM* constants). + Set a body parameter (see BODY_PARAM* constants). </description> </method> <method name="body_set_shape"> @@ -26253,7 +26344,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="shape" type="RID"> </argument> <description> - Substitute a given body shape by another. The old shape is selected by its index, the new one by its [RID]. + Substitute a given body shape by another. The old shape is selected by its index, the new one by its [RID]. </description> </method> <method name="body_set_shape_as_trigger"> @@ -26264,7 +26355,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="enable" type="bool"> </argument> <description> - Mark a body's shape as a trigger. A trigger shape cannot affect other bodies, but detects other shapes entering and exiting it. + Mark a body's shape as a trigger. A trigger shape cannot affect other bodies, but detects other shapes entering and exiting it. </description> </method> <method name="body_set_shape_metadata"> @@ -26275,7 +26366,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="metadata" type="Variant"> </argument> <description> - Set metadata of a shape within a body. This metadata is different from [method Object.set_meta], and can be retrieved on shape queries. + Set metadata of a shape within a body. This metadata is different from [method Object.set_meta], and can be retrieved on shape queries. </description> </method> <method name="body_set_shape_transform"> @@ -26286,7 +26377,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="transform" type="Matrix32"> </argument> <description> - Set the transform matrix for a body shape. + Set the transform matrix for a body shape. </description> </method> <method name="body_set_space"> @@ -26295,7 +26386,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="space" type="RID"> </argument> <description> - Assign a space to the body (see [method create_space]). + Assign a space to the body (see [method create_space]). </description> </method> <method name="body_set_state"> @@ -26306,7 +26397,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="Variant"> </argument> <description> - Set a body state (see BODY_STATE* constants). + Set a body state (see BODY_STATE* constants). </description> </method> <method name="body_test_motion"> @@ -26321,7 +26412,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="result" type="Physics2DTestMotionResult" default="NULL"> </argument> <description> - Return whether a body can move in a given direction. Apart from the boolean return value, a [Physics2DTestMotionResult] can be passed to return additional information in. + Return whether a body can move in a given direction. Apart from the boolean return value, a [Physics2DTestMotionResult] can be passed to return additional information in. </description> </method> <method name="damped_spring_joint_create"> @@ -26336,7 +26427,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="body_b" type="RID" default="RID()"> </argument> <description> - Create a damped spring joint between two bodies. If not specified, the second body is assumed to be the joint itself. + Create a damped spring joint between two bodies. If not specified, the second body is assumed to be the joint itself. </description> </method> <method name="damped_string_joint_get_param" qualifiers="const"> @@ -26347,7 +26438,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="param" type="int"> </argument> <description> - Return the value of a damped spring joint parameter. + Return the value of a damped spring joint parameter. </description> </method> <method name="damped_string_joint_set_param"> @@ -26358,14 +26449,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="float"> </argument> <description> - Set a damped spring joint parameter. Parameters are explained in the DAMPED_STRING* constants. + Set a damped spring joint parameter. Parameters are explained in the DAMPED_STRING* constants. </description> </method> <method name="free_rid"> <argument index="0" name="rid" type="RID"> </argument> <description> - Destroy any of the objects created by Physics2DServer. If the [RID] passed is not one of the objects that can be created by Physics2DServer, an error will be sent to the console. + Destroy any of the objects created by Physics2DServer. If the [RID] passed is not one of the objects that can be created by Physics2DServer, an error will be sent to the console. </description> </method> <method name="get_process_info"> @@ -26374,7 +26465,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="process_info" type="int"> </argument> <description> - Return information about the current state of the 2D physics engine. The states are listed under the INFO_* constants. + Return information about the current state of the 2D physics engine. The states are listed under the INFO_* constants. </description> </method> <method name="groove_joint_create"> @@ -26391,7 +26482,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="body_b" type="RID" default="RID()"> </argument> <description> - Create a groove joint between two bodies. If not specified, the bodyies are assumed to be the joint itself. + Create a groove joint between two bodies. If not specified, the bodyies are assumed to be the joint itself. </description> </method> <method name="joint_get_param" qualifiers="const"> @@ -26402,7 +26493,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="param" type="int"> </argument> <description> - Return the value of a joint parameter. + Return the value of a joint parameter. </description> </method> <method name="joint_get_type" qualifiers="const"> @@ -26411,7 +26502,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="joint" type="RID"> </argument> <description> - Return the type of a joint (see JOINT_* constants). + Return the type of a joint (see JOINT_* constants). </description> </method> <method name="joint_set_param"> @@ -26422,7 +26513,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="float"> </argument> <description> - Set a joint parameter. Parameters are explained in the JOINT_PARAM* constants. + Set a joint parameter. Parameters are explained in the JOINT_PARAM* constants. </description> </method> <method name="pin_joint_create"> @@ -26435,14 +26526,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="body_b" type="RID" default="RID()"> </argument> <description> - Create a pin joint between two bodies. If not specified, the second body is assumed to be the joint itself. + Create a pin joint between two bodies. If not specified, the second body is assumed to be the joint itself. </description> </method> <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> - Activate or deactivate the 2D physics engine. + Activate or deactivate the 2D physics engine. </description> </method> <method name="shape_create"> @@ -26451,14 +26542,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="type" type="int"> </argument> <description> - Create a shape of type SHAPE_*. Does not assign it to a body or an area. To do so, you must use [method area_set_shape] or [method body_set_shape]. + Create a shape of type SHAPE_*. Does not assign it to a body or an area. To do so, you must use [method area_set_shape] or [method body_set_shape]. </description> </method> <method name="shape_get_data" qualifiers="const"> <argument index="0" name="shape" type="RID"> </argument> <description> - Return the shape data. + Return the shape data. </description> </method> <method name="shape_get_type" qualifiers="const"> @@ -26467,7 +26558,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="shape" type="RID"> </argument> <description> - Return the type of shape (see SHAPE_* constants). + Return the type of shape (see SHAPE_* constants). </description> </method> <method name="shape_set_data"> @@ -26476,14 +26567,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="data" type="Variant"> </argument> <description> - Set the shape data that defines its shape and size. The data to be passed depends on the kind of shape created [method shape_get_type]. + Set the shape data that defines its shape and size. The data to be passed depends on the kind of shape created [method shape_get_type]. </description> </method> <method name="space_create"> <return type="RID"> </return> <description> - Create a space. A space is a collection of parameters for the physics engine that can be assigned to an area or a body. It can be assigned to an area with [method area_set_space], or to a body with [method body_set_space]. + Create a space. A space is a collection of parameters for the physics engine that can be assigned to an area or a body. It can be assigned to an area with [method area_set_space], or to a body with [method body_set_space]. </description> </method> <method name="space_get_direct_state"> @@ -26492,7 +26583,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="space" type="RID"> </argument> <description> - Return the state of a space, a [Physics2DDirectSpaceState]. This object can be used to make collision/intersection queries. + Return the state of a space, a [Physics2DDirectSpaceState]. This object can be used to make collision/intersection queries. </description> </method> <method name="space_get_param" qualifiers="const"> @@ -26503,7 +26594,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="param" type="int"> </argument> <description> - Return the value of a space parameter. + Return the value of a space parameter. </description> </method> <method name="space_is_active" qualifiers="const"> @@ -26512,7 +26603,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="space" type="RID"> </argument> <description> - Return whether the space is active. + Return whether the space is active. </description> </method> <method name="space_set_active"> @@ -26521,7 +26612,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="active" type="bool"> </argument> <description> - Mark a space as active. It will not have an effect, unless it is assigned to an area or body. + Mark a space as active. It will not have an effect, unless it is assigned to an area or body. </description> </method> <method name="space_set_param"> @@ -26532,47 +26623,71 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="float"> </argument> <description> - Set the value for a space parameter. A list of available parameters is on the SPACE_PARAM_* constants. + Set the value for a space parameter. A list of available parameters is on the SPACE_PARAM_* constants. </description> </method> </methods> <constants> - <constant name="AREA_BODY_ADDED" value="0"> - The value of the first parameter and area callback function receives, when an object enters one of its shapes. + <constant name="SPACE_PARAM_CONTACT_RECYCLE_RADIUS" value="0"> + Constant to set/get the maximum distance a pair of bodies has to move before their collision status has to be recalculated. </constant> - <constant name="AREA_PARAM_GRAVITY" value="0"> - Constant to set/get gravity strength in an area. + <constant name="SPACE_PARAM_CONTACT_MAX_SEPARATION" value="1"> + Constant to set/get the maximum distance a shape can be from another before they are considered separated. </constant> - <constant name="AREA_SPACE_OVERRIDE_DISABLED" value="0"> - This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. + <constant name="SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION" value="2"> + Constant to set/get the maximum distance a shape can penetrate another shape before it is considered a collision. </constant> - <constant name="AREA_BODY_REMOVED" value="1"> - The value of the first parameter and area callback function receives, when an object exits one of its shapes. + <constant name="SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_TRESHOLD" value="3"> + Constant to set/get the linear velocity threshold. Bodies slower than this will be marked as potentially inactive. + </constant> + <constant name="SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_TRESHOLD" value="4"> + Constant to set/get the angular velocity threshold. Bodies slower than this will be marked as potentially inactive. + </constant> + <constant name="SPACE_PARAM_BODY_TIME_TO_SLEEP" value="5"> + Constant to set/get the maximum time of activity. A body marked as potentially inactive for both linear and angular velocity will be put to sleep after this time. + </constant> + <constant name="SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS" value="6"> + Constant to set/get the default solver bias for all physics constraints. A solver bias is a factor controlling how much two objects "rebound", after violating a constraint, to avoid leaving them in that state because of numerical imprecision. + </constant> + <constant name="SHAPE_LINE" value="0"> + This is the constant for creating line shapes. A line shape is an infinite line with an origin point, and a normal. Thus, it can be used for front/behind checks. + </constant> + <constant name="SHAPE_SEGMENT" value="2"> + This is the constant for creating segment shapes. A segment shape is a line from a point A to a point B. It can be checked for intersections. + </constant> + <constant name="SHAPE_CIRCLE" value="3"> + This is the constant for creating circle shapes. A circle shape only has a radius. It can be used for intersections and inside/outside checks. + </constant> + <constant name="SHAPE_RECTANGLE" value="4"> + This is the constant for creating rectangle shapes. A rectangle shape is defined by a width and a height. It can be used for intersections and inside/outside checks. + </constant> + <constant name="SHAPE_CAPSULE" value="5"> + This is the constant for creating capsule shapes. A capsule shape is defined by a radius and a length. It can be used for intersections and inside/outside checks. + </constant> + <constant name="SHAPE_CONVEX_POLYGON" value="6"> + This is the constant for creating convex polygon shapes. A polygon is defined by a list of points. It can be used for intersections and inside/outside checks. Unlike the method [method CollisionPolygon2D.set_polygon], polygons modified with [method shape_set_data] do not verify that the points supplied form, in fact, a convex polygon. + </constant> + <constant name="SHAPE_CONCAVE_POLYGON" value="7"> + This is the constant for creating concave polygon shapes. A polygon is defined by a list of points. It can be used for intersections checks, but not for inside/outside checks. + </constant> + <constant name="SHAPE_CUSTOM" value="8"> + This constant is used internally by the engine. Any attempt to create this kind of shape results in an error. + </constant> + <constant name="AREA_PARAM_GRAVITY" value="0"> + Constant to set/get gravity strength in an area. </constant> <constant name="AREA_PARAM_GRAVITY_VECTOR" value="1"> Constant to set/get gravity vector/center in an area. </constant> - <constant name="AREA_SPACE_OVERRIDE_COMBINE" value="1"> - This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. - </constant> <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="2"> Constant to set/get whether the gravity vector of an area is a direction, or a center point. </constant> - <constant name="AREA_SPACE_OVERRIDE_COMBINE_REPLACE" value="2"> - This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. - </constant> <constant name="AREA_PARAM_GRAVITY_DISTANCE_SCALE" value="3"> Constant to set/get the falloff factor for point gravity of an area. The greater this value is, the faster the strength of gravity decreases with the square of distance. </constant> - <constant name="AREA_SPACE_OVERRIDE_REPLACE" value="3"> - This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. - </constant> <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> This constant was used to set/get the falloff factor for point gravity. It has been superseded by AREA_PARAM_GRAVITY_DISTANCE_SCALE. </constant> - <constant name="AREA_SPACE_OVERRIDE_REPLACE_COMBINE" value="4"> - This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. - </constant> <constant name="AREA_PARAM_LINEAR_DAMP" value="5"> Constant to set/get the linear dampening factor of an area. </constant> @@ -26582,48 +26697,48 @@ A similar effect may be achieved moving this node's descendants. <constant name="AREA_PARAM_PRIORITY" value="7"> Constant to set/get the priority (order of processing) of an area. </constant> - <constant name="BODY_MODE_STATIC" value="0"> - Constant for static bodies. + <constant name="AREA_SPACE_OVERRIDE_DISABLED" value="0"> + This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. </constant> - <constant name="BODY_PARAM_BOUNCE" value="0"> - Constant to set/get a body's bounce factor. + <constant name="AREA_SPACE_OVERRIDE_COMBINE" value="1"> + This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. </constant> - <constant name="BODY_STATE_TRANSFORM" value="0"> - Constant to set/get the current transform matrix of the body. + <constant name="AREA_SPACE_OVERRIDE_COMBINE_REPLACE" value="2"> + This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. </constant> - <constant name="BODY_MODE_KINEMATIC" value="1"> - Constant for kinematic bodies. + <constant name="AREA_SPACE_OVERRIDE_REPLACE" value="3"> + This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. </constant> - <constant name="BODY_PARAM_FRICTION" value="1"> - Constant to set/get a body's friction. + <constant name="AREA_SPACE_OVERRIDE_REPLACE_COMBINE" value="4"> + This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. </constant> - <constant name="BODY_STATE_LINEAR_VELOCITY" value="1"> - Constant to set/get the current linear velocity of the body. + <constant name="BODY_MODE_STATIC" value="0"> + Constant for static bodies. + </constant> + <constant name="BODY_MODE_KINEMATIC" value="1"> + Constant for kinematic bodies. </constant> <constant name="BODY_MODE_RIGID" value="2"> Constant for rigid bodies. </constant> - <constant name="BODY_PARAM_MASS" value="2"> - Constant to set/get a body's mass. - </constant> - <constant name="BODY_STATE_ANGULAR_VELOCITY" value="2"> - Constant to set/get the current angular velocity of the body. - </constant> <constant name="BODY_MODE_CHARACTER" value="3"> Constant for rigid bodies in character mode. In this mode, a body can not rotate, and only its linear velocity is affected by physics. </constant> + <constant name="BODY_PARAM_BOUNCE" value="0"> + Constant to set/get a body's bounce factor. + </constant> + <constant name="BODY_PARAM_FRICTION" value="1"> + Constant to set/get a body's friction. + </constant> + <constant name="BODY_PARAM_MASS" value="2"> + Constant to set/get a body's mass. + </constant> <constant name="BODY_PARAM_INERTIA" value="3"> Constant to set/get a body's inertia. </constant> - <constant name="BODY_STATE_SLEEPING" value="3"> - Constant to sleep/wake up a body, or to get whether it is sleeping. - </constant> <constant name="BODY_PARAM_GRAVITY_SCALE" value="4"> Constant to set/get a body's gravity multiplier. </constant> - <constant name="BODY_STATE_CAN_SLEEP" value="4"> - Constant to set/get whether the body can sleep. - </constant> <constant name="BODY_PARAM_LINEAR_DAMP" value="5"> Constant to set/get a body's linear dampening factor. </constant> @@ -26633,32 +26748,20 @@ A similar effect may be achieved moving this node's descendants. <constant name="BODY_PARAM_MAX" value="7"> This is the last ID for body parameters. Any attempt to set this property is ignored. Any attempt to get it returns 0. </constant> - <constant name="CCD_MODE_DISABLED" value="0"> - Disables continuous collision detection. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. - </constant> - <constant name="CCD_MODE_CAST_RAY" value="1"> - Enables continuous collision detection by raycasting. It is faster than shapecasting, but less precise. - </constant> - <constant name="CCD_MODE_CAST_SHAPE" value="2"> - Enables continuous collision detection by shapecasting. It is the slowest CCD method, and the most precise. - </constant> - <constant name="DAMPED_STRING_REST_LENGTH" value="0"> - Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. - </constant> - <constant name="DAMPED_STRING_STIFFNESS" value="1"> - Set the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. + <constant name="BODY_STATE_TRANSFORM" value="0"> + Constant to set/get the current transform matrix of the body. </constant> - <constant name="DAMPED_STRING_DAMPING" value="2"> - Set the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping). + <constant name="BODY_STATE_LINEAR_VELOCITY" value="1"> + Constant to set/get the current linear velocity of the body. </constant> - <constant name="INFO_ACTIVE_OBJECTS" value="0"> - Constant to get the number of objects that are not sleeping. + <constant name="BODY_STATE_ANGULAR_VELOCITY" value="2"> + Constant to set/get the current angular velocity of the body. </constant> - <constant name="INFO_COLLISION_PAIRS" value="1"> - Constant to get the number of possible collisions. + <constant name="BODY_STATE_SLEEPING" value="3"> + Constant to sleep/wake up a body, or to get whether it is sleeping. </constant> - <constant name="INFO_ISLAND_COUNT" value="2"> - Constant to get the number of space regions where a collision could occur. + <constant name="BODY_STATE_CAN_SLEEP" value="4"> + Constant to set/get whether the body can sleep. </constant> <constant name="JOINT_PIN" value="0"> Constant to create pin joints. @@ -26669,59 +26772,47 @@ A similar effect may be achieved moving this node's descendants. <constant name="JOINT_DAMPED_SPRING" value="2"> Constant to create damped spring joints. </constant> - <constant name="SHAPE_LINE" value="0"> - This is the constant for creating line shapes. A line shape is an infinite line with an origin point, and a normal. Thus, it can be used for front/behind checks. - </constant> - <constant name="SHAPE_SEGMENT" value="2"> - This is the constant for creating segment shapes. A segment shape is a line from a point A to a point B. It can be checked for intersections. - </constant> - <constant name="SHAPE_CIRCLE" value="3"> - This is the constant for creating circle shapes. A circle shape only has a radius. It can be used for intersections and inside/outside checks. - </constant> - <constant name="SHAPE_RECTANGLE" value="4"> - This is the constant for creating rectangle shapes. A rectangle shape is defined by a width and a height. It can be used for intersections and inside/outside checks. - </constant> - <constant name="SHAPE_CAPSULE" value="5"> - This is the constant for creating capsule shapes. A capsule shape is defined by a radius and a length. It can be used for intersections and inside/outside checks. + <constant name="DAMPED_STRING_REST_LENGTH" value="0"> + Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. </constant> - <constant name="SHAPE_CONVEX_POLYGON" value="6"> - This is the constant for creating convex polygon shapes. A polygon is defined by a list of points. It can be used for intersections and inside/outside checks. Unlike the method [method CollisionPolygon2D.set_polygon], polygons modified with [method shape_set_data] do not verify that the points supplied form, in fact, a convex polygon. + <constant name="DAMPED_STRING_STIFFNESS" value="1"> + Set the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. </constant> - <constant name="SHAPE_CONCAVE_POLYGON" value="7"> - This is the constant for creating concave polygon shapes. A polygon is defined by a list of points. It can be used for intersections checks, but not for inside/outside checks. + <constant name="DAMPED_STRING_DAMPING" value="2"> + Set the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping). </constant> - <constant name="SHAPE_CUSTOM" value="8"> - This constant is used internally by the engine. Any attempt to create this kind of shape results in an error. + <constant name="CCD_MODE_DISABLED" value="0"> + Disables continuous collision detection. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. </constant> - <constant name="SPACE_PARAM_CONTACT_RECYCLE_RADIUS" value="0"> - Constant to set/get the maximum distance a pair of bodies has to move before their collision status has to be recalculated. + <constant name="CCD_MODE_CAST_RAY" value="1"> + Enables continuous collision detection by raycasting. It is faster than shapecasting, but less precise. </constant> - <constant name="SPACE_PARAM_CONTACT_MAX_SEPARATION" value="1"> - Constant to set/get the maximum distance a shape can be from another before they are considered separated. + <constant name="CCD_MODE_CAST_SHAPE" value="2"> + Enables continuous collision detection by shapecasting. It is the slowest CCD method, and the most precise. </constant> - <constant name="SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION" value="2"> - Constant to set/get the maximum distance a shape can penetrate another shape before it is considered a collision. + <constant name="AREA_BODY_ADDED" value="0"> + The value of the first parameter and area callback function receives, when an object enters one of its shapes. </constant> - <constant name="SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_TRESHOLD" value="3"> - Constant to set/get the linear velocity threshold. Bodies slower than this will be marked as potentially inactive. + <constant name="AREA_BODY_REMOVED" value="1"> + The value of the first parameter and area callback function receives, when an object exits one of its shapes. </constant> - <constant name="SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_TRESHOLD" value="4"> - Constant to set/get the angular velocity threshold. Bodies slower than this will be marked as potentially inactive. + <constant name="INFO_ACTIVE_OBJECTS" value="0"> + Constant to get the number of objects that are not sleeping. </constant> - <constant name="SPACE_PARAM_BODY_TIME_TO_SLEEP" value="5"> - Constant to set/get the maximum time of activity. A body marked as potentially inactive for both linear and angular velocity will be put to sleep after this time. + <constant name="INFO_COLLISION_PAIRS" value="1"> + Constant to get the number of possible collisions. </constant> - <constant name="SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS" value="6"> - Constant to set/get the default solver bias for all physics constraints. A solver bias is a factor controlling how much two objects "rebound", after violating a constraint, to avoid leaving them in that state because of numerical imprecision. + <constant name="INFO_ISLAND_COUNT" value="2"> + Constant to get the number of space regions where a collision could occur. </constant> </constants> </class> <class name="Physics2DServerSW" inherits="Physics2DServer" category="Core"> <brief_description> - Software implementation of [Physics2DServer]. + Software implementation of [Physics2DServer]. </brief_description> <description> - Software implementation of [Physics2DServer]. This class exposes no new methods or properties and should not be used, as [Physics2DServer] automatically selects the best implementation available. + Software implementation of [Physics2DServer]. This class exposes no new methods or properties and should not be used, as [Physics2DServer] automatically selects the best implementation available. </description> <methods> </methods> @@ -26730,115 +26821,115 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Physics2DShapeQueryParameters" inherits="Reference" category="Core"> <brief_description> - Parameters to be sent to a 2D shape physics query. + Parameters to be sent to a 2D shape physics query. </brief_description> <description> - This class contains the shape and other parameters for intersection/collision queries. + This class contains the shape and other parameters for intersection/collision queries. </description> <methods> <method name="get_exclude" qualifiers="const"> <return type="Array"> </return> <description> - Return the list of objects, or object [RID]s, that will be excluded from collisions. + Return the list of objects, or object [RID]s, that will be excluded from collisions. </description> </method> <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layer(s) the shape belongs to. + Return the physics layer(s) the shape belongs to. </description> </method> <method name="get_margin" qualifiers="const"> <return type="float"> </return> <description> - Return the collision margin for the shape. + Return the collision margin for the shape. </description> </method> <method name="get_motion" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the current movement speed of the shape. + Return the current movement speed of the shape. </description> </method> <method name="get_object_type_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the type of object the shape belongs to. + Return the type of object the shape belongs to. </description> </method> <method name="get_shape_rid" qualifiers="const"> <return type="RID"> </return> <description> - Return the [RID] of the shape queried. + Return the [RID] of the shape queried. </description> </method> <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Return the transform matrix of the shape queried. + Return the transform matrix of the shape queried. </description> </method> <method name="set_exclude"> <argument index="0" name="exclude" type="Array"> </argument> <description> - Set the list of objects, or object [RID]s, that will be excluded from collisions. + Set the list of objects, or object [RID]s, that will be excluded from collisions. </description> </method> <method name="set_layer_mask"> <argument index="0" name="layer_mask" type="int"> </argument> <description> - Set the physics layer(s) the shape belongs to. + Set the physics layer(s) the shape belongs to. </description> </method> <method name="set_margin"> <argument index="0" name="margin" type="float"> </argument> <description> - Set the collision margin for the shape. A collision margin is an amount (in pixels) that the shape will grow when computing collisions, to account for numerical imprecision. + Set the collision margin for the shape. A collision margin is an amount (in pixels) that the shape will grow when computing collisions, to account for numerical imprecision. </description> </method> <method name="set_motion"> <argument index="0" name="motion" type="Vector2"> </argument> <description> - Set the current movement speed of the shape. + Set the current movement speed of the shape. </description> </method> <method name="set_object_type_mask"> <argument index="0" name="object_type_mask" type="int"> </argument> <description> - Set the type of object the shape belongs to (see Physics2DDirectSpaceState.TYPE_MASK_*). + Set the type of object the shape belongs to (see Physics2DDirectSpaceState.TYPE_MASK_*). </description> </method> <method name="set_shape"> <argument index="0" name="shape" type="Shape2D"> </argument> <description> - Set the [Shape2D] that will be used for collision/intersection queries. + Set the [Shape2D] that will be used for collision/intersection queries. </description> </method> <method name="set_shape_rid"> <argument index="0" name="shape" type="RID"> </argument> <description> - Set the [RID] of the shape to be used in queries. + Set the [RID] of the shape to be used in queries. </description> </method> <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> - Set the transormation matrix of the shape. This is necessary to set its position/rotation/scale. + Set the transormation matrix of the shape. This is necessary to set its position/rotation/scale. </description> </method> </methods> @@ -26959,10 +27050,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PhysicsBody" inherits="CollisionObject" category="Core"> <brief_description> - Base class for different types of Physics bodies. + Base class for different types of Physics bodies. </brief_description> <description> - PhysicsBody is an abstract base class for implementing a physics body. All PhysicsBody types inherit from it. + PhysicsBody is an abstract base class for implementing a physics body. All PhysicsBody types inherit from it. </description> <methods> <method name="add_collision_exception_with"> @@ -27039,24 +27130,24 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PhysicsBody2D" inherits="CollisionObject2D" category="Core"> <brief_description> - Base class for all objects affected by physics. + Base class for all objects affected by physics. </brief_description> <description> - PhysicsBody2D is an abstract base class for implementing a physics body. All *Body2D types inherit from it. + PhysicsBody2D is an abstract base class for implementing a physics body. All *Body2D types inherit from it. </description> <methods> <method name="add_collision_exception_with"> <argument index="0" name="body" type="PhysicsBody2D"> </argument> <description> - Adds a body to the collision exception list. This list contains bodies that this body will not collide with. + Adds a body to the collision exception list. This list contains bodies that this body will not collide with. </description> </method> <method name="get_collision_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layers this area can scan for collisions. + Return the physics layers this area can scan for collisions. </description> </method> <method name="get_collision_mask_bit" qualifiers="const"> @@ -27065,14 +27156,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bit" type="int"> </argument> <description> - Return an individual bit on the collision mask. + Return an individual bit on the collision mask. </description> </method> <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the physics layer this area is in. + Return the physics layer this area is in. </description> </method> <method name="get_layer_mask_bit" qualifiers="const"> @@ -27081,35 +27172,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bit" type="int"> </argument> <description> - Return an individual bit on the collision mask. + Return an individual bit on the collision mask. </description> </method> <method name="get_one_way_collision_direction" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the direction used for one-way collision detection. + Return the direction used for one-way collision detection. </description> </method> <method name="get_one_way_collision_max_depth" qualifiers="const"> <return type="float"> </return> <description> - Return how far a body can go through this one, when it allows one-way collisions. + Return how far a body can go through this one, when it allows one-way collisions. </description> </method> <method name="remove_collision_exception_with"> <argument index="0" name="body" type="PhysicsBody2D"> </argument> <description> - Removes a body from the collision exception list. + Removes a body from the collision exception list. </description> </method> <method name="set_collision_mask"> <argument index="0" name="mask" type="int"> </argument> <description> - Set the physics layers this area can scan for collisions. + Set the physics layers this area can scan for collisions. </description> </method> <method name="set_collision_mask_bit"> @@ -27118,16 +27209,16 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="value" type="bool"> </argument> <description> - Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. + Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. </description> </method> <method name="set_layer_mask"> <argument index="0" name="mask" type="int"> </argument> <description> - Set the physics layers this area is in. - Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask]. - A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. + Set the physics layers this area is in. + Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask]. + A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. </description> </method> <method name="set_layer_mask_bit"> @@ -27136,21 +27227,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="value" type="bool"> </argument> <description> - Set/clear individual bits on the layer mask. This makes getting a body in/out of only one layer easier. + Set/clear individual bits on the layer mask. This makes getting a body in/out of only one layer easier. </description> </method> <method name="set_one_way_collision_direction"> <argument index="0" name="dir" type="Vector2"> </argument> <description> - Set a direction in which bodies can go through this one. If this value is different from (0,0), any movement within 90 degrees of this vector is considered a valid movement. Set this direction to (0,0) to disable one-way collisions. + Set a direction in which bodies can go through this one. If this value is different from (0,0), any movement within 90 degrees of this vector is considered a valid movement. Set this direction to (0,0) to disable one-way collisions. </description> </method> <method name="set_one_way_collision_max_depth"> <argument index="0" name="depth" type="float"> </argument> <description> - Set how far a body can go through this one, when it allows one-way collisions (see [method set_one_way_collision_direction]). + Set how far a body can go through this one, when it allows one-way collisions (see [method set_one_way_collision_direction]). </description> </method> </methods> @@ -27429,16 +27520,16 @@ A similar effect may be achieved moving this node's descendants. <constants> <constant name="TYPE_MASK_STATIC_BODY" value="1"> </constant> - <constant name="TYPE_MASK_COLLISION" value="15"> - </constant> - <constant name="TYPE_MASK_AREA" value="16"> - </constant> <constant name="TYPE_MASK_KINEMATIC_BODY" value="2"> </constant> <constant name="TYPE_MASK_RIGID_BODY" value="4"> </constant> <constant name="TYPE_MASK_CHARACTER_BODY" value="8"> </constant> + <constant name="TYPE_MASK_AREA" value="16"> + </constant> + <constant name="TYPE_MASK_COLLISION" value="15"> + </constant> </constants> </class> <class name="PhysicsServer" inherits="Object" category="Core"> @@ -28355,100 +28446,101 @@ A similar effect may be achieved moving this node's descendants. </method> </methods> <constants> - <constant name="AREA_BODY_ADDED" value="0"> + <constant name="JOINT_PIN" value="0"> </constant> - <constant name="AREA_PARAM_GRAVITY" value="0"> + <constant name="JOINT_HINGE" value="1"> </constant> - <constant name="AREA_SPACE_OVERRIDE_DISABLED" value="0"> - This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. + <constant name="JOINT_SLIDER" value="2"> </constant> - <constant name="AREA_BODY_REMOVED" value="1"> + <constant name="JOINT_CONE_TWIST" value="3"> </constant> - <constant name="AREA_PARAM_GRAVITY_VECTOR" value="1"> + <constant name="JOINT_6DOF" value="4"> </constant> - <constant name="AREA_SPACE_OVERRIDE_COMBINE" value="1"> - This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. + <constant name="PIN_JOINT_BIAS" value="0"> </constant> - <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="2"> + <constant name="PIN_JOINT_DAMPING" value="1"> </constant> - <constant name="AREA_SPACE_OVERRIDE_COMBINE_REPLACE" value="2"> - This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. + <constant name="PIN_JOINT_IMPULSE_CLAMP" value="2"> </constant> - <constant name="AREA_PARAM_GRAVITY_DISTANCE_SCALE" value="3"> + <constant name="HINGE_JOINT_BIAS" value="0"> </constant> - <constant name="AREA_SPACE_OVERRIDE_REPLACE" value="3"> - This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. + <constant name="HINGE_JOINT_LIMIT_UPPER" value="1"> </constant> - <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> + <constant name="HINGE_JOINT_LIMIT_LOWER" value="2"> </constant> - <constant name="AREA_SPACE_OVERRIDE_REPLACE_COMBINE" value="4"> - This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. + <constant name="HINGE_JOINT_LIMIT_BIAS" value="3"> </constant> - <constant name="AREA_PARAM_LINEAR_DAMP" value="5"> + <constant name="HINGE_JOINT_LIMIT_SOFTNESS" value="4"> </constant> - <constant name="AREA_PARAM_ANGULAR_DAMP" value="6"> + <constant name="HINGE_JOINT_LIMIT_RELAXATION" value="5"> </constant> - <constant name="AREA_PARAM_PRIORITY" value="7"> + <constant name="HINGE_JOINT_MOTOR_TARGET_VELOCITY" value="6"> </constant> - <constant name="BODY_MODE_STATIC" value="0"> + <constant name="HINGE_JOINT_MOTOR_MAX_IMPULSE" value="7"> </constant> - <constant name="BODY_PARAM_BOUNCE" value="0"> + <constant name="HINGE_JOINT_FLAG_USE_LIMIT" value="0"> </constant> - <constant name="BODY_STATE_TRANSFORM" value="0"> + <constant name="HINGE_JOINT_FLAG_ENABLE_MOTOR" value="1"> </constant> - <constant name="BODY_MODE_KINEMATIC" value="1"> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_UPPER" value="0"> </constant> - <constant name="BODY_PARAM_FRICTION" value="1"> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_LOWER" value="1"> </constant> - <constant name="BODY_STATE_LINEAR_VELOCITY" value="1"> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_SOFTNESS" value="2"> </constant> - <constant name="BODY_MODE_RIGID" value="2"> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION" value="3"> </constant> - <constant name="BODY_PARAM_MASS" value="2"> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_DAMPING" value="4"> </constant> - <constant name="BODY_STATE_ANGULAR_VELOCITY" value="2"> + <constant name="SLIDER_JOINT_LINEAR_MOTION_SOFTNESS" value="5"> </constant> - <constant name="BODY_MODE_CHARACTER" value="3"> + <constant name="SLIDER_JOINT_LINEAR_MOTION_RESTITUTION" value="6"> </constant> - <constant name="BODY_PARAM_GRAVITY_SCALE" value="3"> + <constant name="SLIDER_JOINT_LINEAR_MOTION_DAMPING" value="7"> </constant> - <constant name="BODY_STATE_SLEEPING" value="3"> + <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_SOFTNESS" value="8"> </constant> - <constant name="BODY_PARAM_LINEAR_DAMP" value="4"> + <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_RESTITUTION" value="9"> </constant> - <constant name="BODY_STATE_CAN_SLEEP" value="4"> + <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_DAMPING" value="10"> </constant> - <constant name="BODY_PARAM_ANGULAR_DAMP" value="5"> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_UPPER" value="11"> </constant> - <constant name="BODY_PARAM_MAX" value="6"> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_LOWER" value="12"> </constant> - <constant name="CONE_TWIST_JOINT_SWING_SPAN" value="0"> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_SOFTNESS" value="13"> </constant> - <constant name="CONE_TWIST_JOINT_TWIST_SPAN" value="1"> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_RESTITUTION" value="14"> </constant> - <constant name="CONE_TWIST_JOINT_BIAS" value="2"> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_DAMPING" value="15"> </constant> - <constant name="CONE_TWIST_JOINT_SOFTNESS" value="3"> + <constant name="SLIDER_JOINT_ANGULAR_MOTION_SOFTNESS" value="16"> </constant> - <constant name="CONE_TWIST_JOINT_RELAXATION" value="4"> + <constant name="SLIDER_JOINT_ANGULAR_MOTION_RESTITUTION" value="17"> </constant> - <constant name="G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT" value="0"> + <constant name="SLIDER_JOINT_ANGULAR_MOTION_DAMPING" value="18"> </constant> - <constant name="G6DOF_JOINT_LINEAR_LOWER_LIMIT" value="0"> + <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_SOFTNESS" value="19"> </constant> - <constant name="G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT" value="1"> + <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_RESTITUTION" value="20"> </constant> - <constant name="G6DOF_JOINT_LINEAR_UPPER_LIMIT" value="1"> + <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING" value="21"> </constant> - <constant name="G6DOF_JOINT_ANGULAR_FORCE_LIMIT" value="10"> + <constant name="SLIDER_JOINT_MAX" value="22"> </constant> - <constant name="G6DOF_JOINT_ANGULAR_ERP" value="11"> + <constant name="CONE_TWIST_JOINT_SWING_SPAN" value="0"> </constant> - <constant name="G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY" value="12"> + <constant name="CONE_TWIST_JOINT_TWIST_SPAN" value="1"> </constant> - <constant name="G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT" value="13"> + <constant name="CONE_TWIST_JOINT_BIAS" value="2"> </constant> - <constant name="G6DOF_JOINT_FLAG_ENABLE_MOTOR" value="2"> + <constant name="CONE_TWIST_JOINT_SOFTNESS" value="3"> + </constant> + <constant name="CONE_TWIST_JOINT_RELAXATION" value="4"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_LOWER_LIMIT" value="0"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_UPPER_LIMIT" value="1"> </constant> <constant name="G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS" value="2"> </constant> @@ -28466,111 +28558,110 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="G6DOF_JOINT_ANGULAR_RESTITUTION" value="9"> </constant> - <constant name="HINGE_JOINT_BIAS" value="0"> - </constant> - <constant name="HINGE_JOINT_FLAG_USE_LIMIT" value="0"> - </constant> - <constant name="HINGE_JOINT_FLAG_ENABLE_MOTOR" value="1"> - </constant> - <constant name="HINGE_JOINT_LIMIT_UPPER" value="1"> + <constant name="G6DOF_JOINT_ANGULAR_FORCE_LIMIT" value="10"> </constant> - <constant name="HINGE_JOINT_LIMIT_LOWER" value="2"> + <constant name="G6DOF_JOINT_ANGULAR_ERP" value="11"> </constant> - <constant name="HINGE_JOINT_LIMIT_BIAS" value="3"> + <constant name="G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY" value="12"> </constant> - <constant name="HINGE_JOINT_LIMIT_SOFTNESS" value="4"> + <constant name="G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT" value="13"> </constant> - <constant name="HINGE_JOINT_LIMIT_RELAXATION" value="5"> + <constant name="G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT" value="0"> </constant> - <constant name="HINGE_JOINT_MOTOR_TARGET_VELOCITY" value="6"> + <constant name="G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT" value="1"> </constant> - <constant name="HINGE_JOINT_MOTOR_MAX_IMPULSE" value="7"> + <constant name="G6DOF_JOINT_FLAG_ENABLE_MOTOR" value="2"> </constant> - <constant name="INFO_ACTIVE_OBJECTS" value="0"> + <constant name="SHAPE_PLANE" value="0"> </constant> - <constant name="INFO_COLLISION_PAIRS" value="1"> + <constant name="SHAPE_RAY" value="1"> </constant> - <constant name="INFO_ISLAND_COUNT" value="2"> + <constant name="SHAPE_SPHERE" value="2"> </constant> - <constant name="JOINT_PIN" value="0"> + <constant name="SHAPE_BOX" value="3"> </constant> - <constant name="JOINT_HINGE" value="1"> + <constant name="SHAPE_CAPSULE" value="4"> </constant> - <constant name="JOINT_SLIDER" value="2"> + <constant name="SHAPE_CONVEX_POLYGON" value="5"> </constant> - <constant name="JOINT_CONE_TWIST" value="3"> + <constant name="SHAPE_CONCAVE_POLYGON" value="6"> </constant> - <constant name="JOINT_6DOF" value="4"> + <constant name="SHAPE_HEIGHTMAP" value="7"> </constant> - <constant name="PIN_JOINT_BIAS" value="0"> + <constant name="SHAPE_CUSTOM" value="8"> </constant> - <constant name="PIN_JOINT_DAMPING" value="1"> + <constant name="AREA_PARAM_GRAVITY" value="0"> </constant> - <constant name="PIN_JOINT_IMPULSE_CLAMP" value="2"> + <constant name="AREA_PARAM_GRAVITY_VECTOR" value="1"> </constant> - <constant name="SHAPE_PLANE" value="0"> + <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="2"> </constant> - <constant name="SHAPE_RAY" value="1"> + <constant name="AREA_PARAM_GRAVITY_DISTANCE_SCALE" value="3"> </constant> - <constant name="SHAPE_SPHERE" value="2"> + <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> </constant> - <constant name="SHAPE_BOX" value="3"> + <constant name="AREA_PARAM_LINEAR_DAMP" value="5"> </constant> - <constant name="SHAPE_CAPSULE" value="4"> + <constant name="AREA_PARAM_ANGULAR_DAMP" value="6"> </constant> - <constant name="SHAPE_CONVEX_POLYGON" value="5"> + <constant name="AREA_PARAM_PRIORITY" value="7"> </constant> - <constant name="SHAPE_CONCAVE_POLYGON" value="6"> + <constant name="AREA_SPACE_OVERRIDE_DISABLED" value="0"> + This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. </constant> - <constant name="SHAPE_HEIGHTMAP" value="7"> + <constant name="AREA_SPACE_OVERRIDE_COMBINE" value="1"> + This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. </constant> - <constant name="SHAPE_CUSTOM" value="8"> + <constant name="AREA_SPACE_OVERRIDE_COMBINE_REPLACE" value="2"> + This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. </constant> - <constant name="SLIDER_JOINT_LINEAR_LIMIT_UPPER" value="0"> + <constant name="AREA_SPACE_OVERRIDE_REPLACE" value="3"> + This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. </constant> - <constant name="SLIDER_JOINT_LINEAR_LIMIT_LOWER" value="1"> + <constant name="AREA_SPACE_OVERRIDE_REPLACE_COMBINE" value="4"> + This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one. </constant> - <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_DAMPING" value="10"> + <constant name="BODY_MODE_STATIC" value="0"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_LIMIT_UPPER" value="11"> + <constant name="BODY_MODE_KINEMATIC" value="1"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_LIMIT_LOWER" value="12"> + <constant name="BODY_MODE_RIGID" value="2"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_LIMIT_SOFTNESS" value="13"> + <constant name="BODY_MODE_CHARACTER" value="3"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_LIMIT_RESTITUTION" value="14"> + <constant name="BODY_PARAM_BOUNCE" value="0"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_LIMIT_DAMPING" value="15"> + <constant name="BODY_PARAM_FRICTION" value="1"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_MOTION_SOFTNESS" value="16"> + <constant name="BODY_PARAM_MASS" value="2"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_MOTION_RESTITUTION" value="17"> + <constant name="BODY_PARAM_GRAVITY_SCALE" value="3"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_MOTION_DAMPING" value="18"> + <constant name="BODY_PARAM_ANGULAR_DAMP" value="5"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_SOFTNESS" value="19"> + <constant name="BODY_PARAM_LINEAR_DAMP" value="4"> </constant> - <constant name="SLIDER_JOINT_LINEAR_LIMIT_SOFTNESS" value="2"> + <constant name="BODY_PARAM_MAX" value="6"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_RESTITUTION" value="20"> + <constant name="BODY_STATE_TRANSFORM" value="0"> </constant> - <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING" value="21"> + <constant name="BODY_STATE_LINEAR_VELOCITY" value="1"> </constant> - <constant name="SLIDER_JOINT_MAX" value="22"> + <constant name="BODY_STATE_ANGULAR_VELOCITY" value="2"> </constant> - <constant name="SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION" value="3"> + <constant name="BODY_STATE_SLEEPING" value="3"> </constant> - <constant name="SLIDER_JOINT_LINEAR_LIMIT_DAMPING" value="4"> + <constant name="BODY_STATE_CAN_SLEEP" value="4"> </constant> - <constant name="SLIDER_JOINT_LINEAR_MOTION_SOFTNESS" value="5"> + <constant name="AREA_BODY_ADDED" value="0"> </constant> - <constant name="SLIDER_JOINT_LINEAR_MOTION_RESTITUTION" value="6"> + <constant name="AREA_BODY_REMOVED" value="1"> </constant> - <constant name="SLIDER_JOINT_LINEAR_MOTION_DAMPING" value="7"> + <constant name="INFO_ACTIVE_OBJECTS" value="0"> </constant> - <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_SOFTNESS" value="8"> + <constant name="INFO_COLLISION_PAIRS" value="1"> </constant> - <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_RESTITUTION" value="9"> + <constant name="INFO_ISLAND_COUNT" value="2"> </constant> </constants> </class> @@ -28674,7 +28765,7 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PhysicsShapeQueryResult" inherits="Reference" category="Core"> <brief_description> - Result of a shape query in Physics2DServer. + Result of a shape query in Physics2DServer. </brief_description> <description> </description> @@ -28755,10 +28846,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PinJoint2D" inherits="Joint2D" category="Core"> <brief_description> - Pin Joint for 2D Shapes. + Pin Joint for 2D Shapes. </brief_description> <description> - Pin Joint for 2D Rigid Bodies. It pins 2 bodies (rigid or static) together, or a single body to a fixed position in space. + Pin Joint for 2D Rigid Bodies. It pins 2 bodies (rigid or static) together, or a single body to a fixed position in space. </description> <methods> <method name="get_softness" qualifiers="const"> @@ -28779,10 +28870,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Plane" category="Built-In Types"> <brief_description> - Plane in hessian form. + Plane in hessian form. </brief_description> <description> - Plane represents a normalized plane equation. Basically, "normal" is the normal of the plane (a,b,c normalized), and "d" is the distance from the origin to the plane (in the direction of "normal"). "Over" or "Above" the plane is considered the side of the plane towards where the normal is pointing. + Plane represents a normalized plane equation. Basically, "normal" is the normal of the plane (a,b,c normalized), and "d" is the distance from the origin to the plane (in the direction of "normal"). "Over" or "Above" the plane is considered the side of the plane towards where the normal is pointing. </description> <methods> <method name="Plane"> @@ -28797,7 +28888,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="d" type="float"> </argument> <description> - Creates a plane from the three parameters "a", "b", "c" and "d". + Creates a plane from the three parameters "a", "b", "c" and "d". </description> </method> <method name="Plane"> @@ -28810,7 +28901,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="v3" type="Vector3"> </argument> <description> - Creates a plane from three points. + Creates a plane from three points. </description> </method> <method name="Plane"> @@ -28821,14 +28912,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="d" type="float"> </argument> <description> - Creates a plane from the normal and the plane's distance to the origin. + Creates a plane from the normal and the plane's distance to the origin. </description> </method> <method name="center"> <return type="Vector3"> </return> <description> - Returns the center of the plane. + Returns the center of the plane. </description> </method> <method name="distance_to"> @@ -28837,14 +28928,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="point" type="Vector3"> </argument> <description> - Returns the shortest distance from the plane to the position "point". + Returns the shortest distance from the plane to the position "point". </description> </method> <method name="get_any_point"> <return type="Vector3"> </return> <description> - Returns a point on the plane. + Returns a point on the plane. </description> </method> <method name="has_point"> @@ -28855,7 +28946,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="epsilon" type="float" default="0.00001"> </argument> <description> - Returns true if "point" is inside the plane (by a very minimum threshold). + Returns true if "point" is inside the plane (by a very minimum threshold). </description> </method> <method name="intersect_3"> @@ -28866,7 +28957,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="c" type="Plane"> </argument> <description> - Returns the intersection point of the three planes "b", "c" and this plane. If no intersection is found null is returned. + Returns the intersection point of the three planes "b", "c" and this plane. If no intersection is found null is returned. </description> </method> <method name="intersects_ray"> @@ -28877,7 +28968,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="dir" type="Vector3"> </argument> <description> - Returns the intersection point of a ray consisting of the position "from" and the direction normal "dir" with this plane. If no intersection is found null is returned. + Returns the intersection point of a ray consisting of the position "from" and the direction normal "dir" with this plane. If no intersection is found null is returned. </description> </method> <method name="intersects_segment"> @@ -28888,7 +28979,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="end" type="Vector3"> </argument> <description> - Returns the intersection point of a segment from position "begin" to position "end" with this plane. If no intersection is found null is returned. + Returns the intersection point of a segment from position "begin" to position "end" with this plane. If no intersection is found null is returned. </description> </method> <method name="is_point_over"> @@ -28897,14 +28988,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="point" type="Vector3"> </argument> <description> - Returns true if "point" is located above the plane. + Returns true if "point" is located above the plane. </description> </method> <method name="normalized"> <return type="Plane"> </return> <description> - Returns a copy of the plane, normalized. + Returns a copy of the plane, normalized. </description> </method> <method name="project"> @@ -28913,7 +29004,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="point" type="Vector3"> </argument> <description> - Returns the orthogonal projection of point "p" into a point in the plane. + Returns the orthogonal projection of point "p" into a point in the plane. </description> </method> </methods> @@ -28956,164 +29047,164 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Polygon2D" inherits="Node2D" category="Core"> <brief_description> - 2D polygon representation + 2D polygon representation </brief_description> <description> - A Polygon2D is defined by a set of n vertices connected together by line segments, meaning that the vertex 1 will be connected with vertex 2, vertex 2 with vertex 3 ..., vertex n-1 with vertex n and vertex n with vertex 1 in order to close the loop and define a polygon. + A Polygon2D is defined by a set of n vertices connected together by line segments, meaning that the vertex 1 will be connected with vertex 2, vertex 2 with vertex 3 ..., vertex n-1 with vertex n and vertex n with vertex 1 in order to close the loop and define a polygon. </description> <methods> <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> - Return the polygon fill color. + Return the polygon fill color. </description> </method> <method name="get_invert" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this polygon is inverted or not. + Return whether this polygon is inverted or not. </description> </method> <method name="get_invert_border" qualifiers="const"> <return type="float"> </return> <description> - Return the added padding around the bounding box. + Return the added padding around the bounding box. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the offset for the polygon vertices. + Return the offset for the polygon vertices. </description> </method> <method name="get_polygon" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return the set of vertices that defines this polygon. + Return the set of vertices that defines this polygon. </description> </method> <method name="get_texture" qualifiers="const"> <return type="Object"> </return> <description> - Return the polygon texture + Return the polygon texture </description> </method> <method name="get_texture_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the polygon texture offset. + Return the polygon texture offset. </description> </method> <method name="get_texture_rotation" qualifiers="const"> <return type="float"> </return> <description> - Return the rotation in radians of the texture polygon. + Return the rotation in radians of the texture polygon. </description> </method> <method name="get_texture_scale" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the uv coordinate multiplier. + Return the uv coordinate multiplier. </description> </method> <method name="get_uv" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return the texture coordinates associated with every vertex of the polygon. + Return the texture coordinates associated with every vertex of the polygon. </description> </method> <method name="get_vertex_colors" qualifiers="const"> <return type="ColorArray"> </return> <description> - Return the list of vertex colors. + Return the list of vertex colors. </description> </method> <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Set the polygon fill color. If the polygon has a texture defined, the defined texture will be multiplied by the polygon fill color. This, also, is the default color for those vertices that are not defined by [method get_vertex_colors]. + Set the polygon fill color. If the polygon has a texture defined, the defined texture will be multiplied by the polygon fill color. This, also, is the default color for those vertices that are not defined by [method get_vertex_colors]. </description> </method> <method name="set_invert"> <argument index="0" name="invert" type="bool"> </argument> <description> - Set the polygon as the defined polygon bounding box minus the defined polygon (the defined polygon will appear as a hole on the square that contains the defined polygon). + Set the polygon as the defined polygon bounding box minus the defined polygon (the defined polygon will appear as a hole on the square that contains the defined polygon). </description> </method> <method name="set_invert_border"> <argument index="0" name="invert_border" type="float"> </argument> <description> - Add extra padding around the bounding box, making it bigger. Too small a value can make the polygon triangulate strangely, due to numerical imprecision. + Add extra padding around the bounding box, making it bigger. Too small a value can make the polygon triangulate strangely, due to numerical imprecision. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the an offset that will be added to the vertices' position. E.g. if the offset is set to (10,10) then all the polygon points will move 10 units to the right and 10 units to the bottom. + Set the an offset that will be added to the vertices' position. E.g. if the offset is set to (10,10) then all the polygon points will move 10 units to the right and 10 units to the bottom. </description> </method> <method name="set_polygon"> <argument index="0" name="polygon" type="Vector2Array"> </argument> <description> - Define the set of vertices that will represent the polygon. + Define the set of vertices that will represent the polygon. </description> </method> <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> - Set the polygon texture. + Set the polygon texture. </description> </method> <method name="set_texture_offset"> <argument index="0" name="texture_offset" type="Vector2"> </argument> <description> - Set the offset of the polygon texture. Initially the texture will appear anchored to the polygon position, the offset is used to move the texture location away from that point (notice that the texture origin is set to its top left corner, so when offset is 0,0 the top left corner of the texture is at the polygon position), for example setting the offset to 10, 10 will move the texture 10 units to the left and 10 units to the top. + Set the offset of the polygon texture. Initially the texture will appear anchored to the polygon position, the offset is used to move the texture location away from that point (notice that the texture origin is set to its top left corner, so when offset is 0,0 the top left corner of the texture is at the polygon position), for example setting the offset to 10, 10 will move the texture 10 units to the left and 10 units to the top. </description> </method> <method name="set_texture_rotation"> <argument index="0" name="texture_rotation" type="float"> </argument> <description> - Set the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in radians and clockwise rotation. + Set the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in radians and clockwise rotation. </description> </method> <method name="set_texture_scale"> <argument index="0" name="texture_scale" type="Vector2"> </argument> <description> - Set the value that will multiply the uv coordinates ([method get_uv]) when applying the texture. Larger values make the texture smaller, and vice versa. + Set the value that will multiply the uv coordinates ([method get_uv]) when applying the texture. Larger values make the texture smaller, and vice versa. </description> </method> <method name="set_uv"> <argument index="0" name="uv" type="Vector2Array"> </argument> <description> - Set the texture coordinates for every vertex of the polygon. There should be one uv vertex for every vertex in the polygon. If there are less, the undefined ones will be assumed to be (0,0). Extra uv vertices are ignored. + Set the texture coordinates for every vertex of the polygon. There should be one uv vertex for every vertex in the polygon. If there are less, the undefined ones will be assumed to be (0,0). Extra uv vertices are ignored. </description> </method> <method name="set_vertex_colors"> <argument index="0" name="vertex_colors" type="ColorArray"> </argument> <description> - Set the color for each vertex of the polygon. There should be one color for every vertex in the polygon. If there are less, the undefined ones will be assumed to be [method get_color]. Extra color entries are ignored. + Set the color for each vertex of the polygon. There should be one color for every vertex in the polygon. If there are less, the undefined ones will be assumed to be [method get_color]. Extra color entries are ignored. Colors are interpolated between vertices, resulting in smooth gradients when they differ. </description> </method> @@ -29199,62 +29290,62 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Popup" inherits="Control" category="Core"> <brief_description> - Base container control for popups and dialogs. + Base container control for popups and dialogs. </brief_description> <description> - Popup is a base [Control] used to show dialogs and popups. It's a subwindow and modal by default (see [Control]) and has helpers for custom popup behavior. + Popup is a base [Control] used to show dialogs and popups. It's a subwindow and modal by default (see [Control]) and has helpers for custom popup behavior. </description> <methods> <method name="is_exclusive" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether the popup will hide other popups when shown on the screen. + Returns whether the popup will hide other popups when shown on the screen. </description> </method> <method name="popup"> <description> - Popup (show the control in modal form). + Popup (show the control in modal form). </description> </method> <method name="popup_centered"> <argument index="0" name="size" type="Vector2" default="Vector2(0,0)"> </argument> <description> - Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size". + Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size". </description> </method> <method name="popup_centered_minsize"> <argument index="0" name="minsize" type="Vector2" default="Vector2(0,0)"> </argument> <description> - Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code]. + Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code]. </description> </method> <method name="popup_centered_ratio"> <argument index="0" name="ratio" type="float" default="0.75"> </argument> <description> - Popup (show the control in modal form) in the center of the screen, scaled at a ratio of size of the screen. + Popup (show the control in modal form) in the center of the screen, scaled at a ratio of size of the screen. </description> </method> <method name="set_exclusive"> <argument index="0" name="enable" type="bool"> </argument> <description> - Make the popup hide other popups when shown on the screen. + Make the popup hide other popups when shown on the screen. </description> </method> </methods> <signals> <signal name="about_to_show"> <description> - This signal is emitted when a popup is about to be shown. (often used in [PopupMenu] for clearing the list of options and creating a new one according to the current context). + This signal is emitted when a popup is about to be shown. (often used in [PopupMenu] for clearing the list of options and creating a new one according to the current context). </description> </signal> <signal name="popup_hide"> <description> - This signal is emitted when a popup is hidden. + This signal is emitted when a popup is hidden. </description> </signal> </signals> @@ -29269,10 +29360,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PopupDialog" inherits="Popup" category="Core"> <brief_description> - Base class for Popup Dialogs. + Base class for Popup Dialogs. </brief_description> <description> - PopupDialog is a base class for popup dialogs, along with [WindowDialog]. + PopupDialog is a base class for popup dialogs, along with [WindowDialog]. </description> <methods> </methods> @@ -29281,10 +29372,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PopupMenu" inherits="Popup" category="Core"> <brief_description> - PopupMenu displays a list of options. + PopupMenu displays a list of options. </brief_description> <description> - PopupMenu is the typical Control that displays a list of options. They are popular in toolbars or context menus. + PopupMenu is the typical Control that displays a list of options. They are popular in toolbars or context menus. </description> <methods> <method name="add_check_item"> @@ -29295,7 +29386,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="accel" type="int" default="0"> </argument> <description> - Add a new checkable item with text "label". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. + Add a new checkable item with text "label". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. </description> </method> <method name="add_check_shortcut"> @@ -29316,7 +29407,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="accel" type="int" default="0"> </argument> <description> - Add a new checkable item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. + Add a new checkable item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. </description> </method> <method name="add_icon_check_shortcut"> @@ -29339,7 +29430,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="accel" type="int" default="0"> </argument> <description> - Add a new item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index. + Add a new item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index. </description> </method> <method name="add_icon_shortcut"> @@ -29360,12 +29451,12 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="accel" type="int" default="0"> </argument> <description> - Add a new item with text "label". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index. + Add a new item with text "label". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index. </description> </method> <method name="add_separator"> <description> - Add a separator between items. Separators also occupy an index. + Add a separator between items. Separators also occupy an index. </description> </method> <method name="add_shortcut"> @@ -29384,12 +29475,12 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="id" type="int" default="-1"> </argument> <description> - Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index. + Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index. </description> </method> <method name="clear"> <description> - Clear the popup menu, in effect removing all items. + Clear the popup menu, in effect removing all items. </description> </method> <method name="get_item_ID" qualifiers="const"> @@ -29398,7 +29489,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return the id of the item at index "idx". + Return the id of the item at index "idx". </description> </method> <method name="get_item_accelerator" qualifiers="const"> @@ -29407,14 +29498,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. + Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. </description> </method> <method name="get_item_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of items. + Return the amount of items. </description> </method> <method name="get_item_icon" qualifiers="const"> @@ -29423,7 +29514,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return the icon of the item at index "idx". + Return the icon of the item at index "idx". </description> </method> <method name="get_item_index" qualifiers="const"> @@ -29432,14 +29523,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Find and return the index of the item containing a given id. + Find and return the index of the item containing a given id. </description> </method> <method name="get_item_metadata" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> - Return the metadata of an item, which might be of any type. You can set it with [method set_item_metadata], which provides a simple way of assigning context data to items. + Return the metadata of an item, which might be of any type. You can set it with [method set_item_metadata], which provides a simple way of assigning context data to items. </description> </method> <method name="get_item_shortcut" qualifiers="const"> @@ -29456,7 +29547,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return the submenu name of the item at index "idx". + Return the submenu name of the item at index "idx". </description> </method> <method name="get_item_text" qualifiers="const"> @@ -29465,7 +29556,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return the text of the item at index "idx". + Return the text of the item at index "idx". </description> </method> <method name="is_item_checkable" qualifiers="const"> @@ -29474,7 +29565,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return whether the item at index "idx" has a checkbox. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. + Return whether the item at index "idx" has a checkbox. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. </description> </method> <method name="is_item_checked" qualifiers="const"> @@ -29483,7 +29574,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return the checkstate status of the item at index "idx". + Return the checkstate status of the item at index "idx". </description> </method> <method name="is_item_disabled" qualifiers="const"> @@ -29492,7 +29583,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return whether the item at index "idx" is disabled. When it is disabled it can't be selected, or its action invoked. + Return whether the item at index "idx" is disabled. When it is disabled it can't be selected, or its action invoked. </description> </method> <method name="is_item_separator" qualifiers="const"> @@ -29501,14 +29592,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="idx" type="int"> </argument> <description> - Return whether the item is a seperator. If it is, it would be displayed as a line. + Return whether the item is a seperator. If it is, it would be displayed as a line. </description> </method> <method name="remove_item"> <argument index="0" name="idx" type="int"> </argument> <description> - Removes the item at index "idx" from the menu. Note that the indexes of items after the removed item are going to be shifted by one. + Removes the item at index "idx" from the menu. Note that the indexes of items after the removed item are going to be shifted by one. </description> </method> <method name="set_item_ID"> @@ -29517,7 +29608,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="id" type="int"> </argument> <description> - Set the id of the item at index "idx". + Set the id of the item at index "idx". </description> </method> <method name="set_item_accelerator"> @@ -29526,7 +29617,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="accel" type="int"> </argument> <description> - Set the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. + Set the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. </description> </method> <method name="set_item_as_checkable"> @@ -29535,7 +29626,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="enable" type="bool"> </argument> <description> - Set whether the item at index "idx" has a checkbox. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. + Set whether the item at index "idx" has a checkbox. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. </description> </method> <method name="set_item_as_separator"> @@ -29544,7 +29635,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="enable" type="bool"> </argument> <description> - Mark the item at index "idx" as a seperator, which means that it would be displayed as a mere line. + Mark the item at index "idx" as a seperator, which means that it would be displayed as a mere line. </description> </method> <method name="set_item_checked"> @@ -29553,7 +29644,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="checked" type="bool"> </argument> <description> - Set the checkstate status of the item at index "idx". + Set the checkstate status of the item at index "idx". </description> </method> <method name="set_item_disabled"> @@ -29562,7 +29653,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="disabled" type="bool"> </argument> <description> - Sets whether the item at index "idx" is disabled or not. When it is disabled it can't be selected, or its action invoked. + Sets whether the item at index "idx" is disabled or not. When it is disabled it can't be selected, or its action invoked. </description> </method> <method name="set_item_icon"> @@ -29571,7 +29662,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="icon" type="Object"> </argument> <description> - Set the icon of the item at index "idx". + Set the icon of the item at index "idx". </description> </method> <method name="set_item_metadata"> @@ -29580,7 +29671,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="metadata" type="Variant"> </argument> <description> - Sets the metadata of an item, which might be of any type. You can later get it with [method get_item_metadata], which provides a simple way of assigning context data to items. + Sets the metadata of an item, which might be of any type. You can later get it with [method get_item_metadata], which provides a simple way of assigning context data to items. </description> </method> <method name="set_item_shortcut"> @@ -29597,7 +29688,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="submenu" type="String"> </argument> <description> - Sets the submenu of the item at index "idx". The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. + Sets the submenu of the item at index "idx". The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. </description> </method> <method name="set_item_text"> @@ -29606,7 +29697,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="text" type="String"> </argument> <description> - Set the text of the item at index "idx". + Set the text of the item at index "idx". </description> </method> </methods> @@ -29615,7 +29706,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="ID" type="int"> </argument> <description> - This even is emitted when an item is pressed or its accelerator is activated. The id of the item is returned if it exists, else the index. + This even is emitted when an item is pressed or its accelerator is activated. The id of the item is returned if it exists, else the index. </description> </signal> </signals> @@ -29654,10 +29745,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="PopupPanel" inherits="Popup" category="Core"> <brief_description> - Class for displaying popups with a panel background. + Class for displaying popups with a panel background. </brief_description> <description> - Class for displaying popups with a panel background. In some cases it might be simpler to use than [Popup], since it provides a configurable background. If you are making windows, better check [WindowDialog]. + Class for displaying popups with a panel background. In some cases it might be simpler to use than [Popup], since it provides a configurable background. If you are making windows, better check [WindowDialog]. </description> <methods> </methods> @@ -29670,80 +29761,80 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Portal" inherits="VisualInstance" category="Core"> <brief_description> - Portals provide virtual openings to rooms. + Portals provide virtual openings to rooms. </brief_description> <description> - Portals provide virtual openings to [VisualInstance] nodes, so cameras can look at them from the outside. Note that portals are a visibility optimization technique, and are in no way related to the game of the same name (as in, they are not used for teleportation). For more information on how rooms and portals work, see [VisualInstance]. Portals are represented as 2D convex polygon shapes (in the X,Y local plane), and are placed on the surface of the areas occupied by a [VisualInstance], to indicate that the room can be accessed or looked-at through them. If two rooms are next to each other, and two similar portals in each of them share the same world position (and are parallel and opposed to each other), they will automatically "connect" and form "doors" (for example, the portals that connect a kitchen to a living room are placed in the door they share). Portals must always have a [VisualInstance] node as a parent, grandparent or far parent, or else they will not be active. + Portals provide virtual openings to [VisualInstance] nodes, so cameras can look at them from the outside. Note that portals are a visibility optimization technique, and are in no way related to the game of the same name (as in, they are not used for teleportation). For more information on how rooms and portals work, see [VisualInstance]. Portals are represented as 2D convex polygon shapes (in the X,Y local plane), and are placed on the surface of the areas occupied by a [VisualInstance], to indicate that the room can be accessed or looked-at through them. If two rooms are next to each other, and two similar portals in each of them share the same world position (and are parallel and opposed to each other), they will automatically "connect" and form "doors" (for example, the portals that connect a kitchen to a living room are placed in the door they share). Portals must always have a [VisualInstance] node as a parent, grandparent or far parent, or else they will not be active. </description> <methods> <method name="get_connect_range" qualifiers="const"> <return type="float"> </return> <description> - Return the range for auto-connecting two portals from different rooms sharing the same space. + Return the range for auto-connecting two portals from different rooms sharing the same space. </description> </method> <method name="get_disable_distance" qualifiers="const"> <return type="float"> </return> <description> - Return the distance threshold for disabling the portal. Every time that the portal goes beyond "distance", it disables itself, becoming the opaque color (see [method set_disabled_color]). + Return the distance threshold for disabling the portal. Every time that the portal goes beyond "distance", it disables itself, becoming the opaque color (see [method set_disabled_color]). </description> </method> <method name="get_disabled_color" qualifiers="const"> <return type="Color"> </return> <description> - Return the color for when the portal goes beyond the disable distance (see [method set_disable_distance]) and becomes disabled. + Return the color for when the portal goes beyond the disable distance (see [method set_disable_distance]) and becomes disabled. </description> </method> <method name="get_shape" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return the portal shape. The shape is an array of [Vector2] points, representing a convex polygon in the X,Y plane. + Return the portal shape. The shape is an array of [Vector2] points, representing a convex polygon in the X,Y plane. </description> </method> <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the portal is active. When disabled it causes the parent [VisualInstance] to not be visible any longer when looking through the portal. + Return whether the portal is active. When disabled it causes the parent [VisualInstance] to not be visible any longer when looking through the portal. </description> </method> <method name="set_connect_range"> <argument index="0" name="range" type="float"> </argument> <description> - Set the range for auto-connecting two portals from different rooms sharing the same space. + Set the range for auto-connecting two portals from different rooms sharing the same space. </description> </method> <method name="set_disable_distance"> <argument index="0" name="distance" type="float"> </argument> <description> - Set the distance threshold for disabling the portal. Every time that the portal goes beyond "distance", it disables itself, becoming the opaque color (see [method set_disabled_color]). + Set the distance threshold for disabling the portal. Every time that the portal goes beyond "distance", it disables itself, becoming the opaque color (see [method set_disabled_color]). </description> </method> <method name="set_disabled_color"> <argument index="0" name="color" type="Color"> </argument> <description> - When the portal goes beyond the disable distance (see [method set_disable_distance]), it becomes opaque and displayed with color "color". + When the portal goes beyond the disable distance (see [method set_disable_distance]), it becomes opaque and displayed with color "color". </description> </method> <method name="set_enabled"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable the portal (it is enabled by default though), disabling it will cause the parent [VisualInstance] to not be visible any longer when looking through the portal. + Enable the portal (it is enabled by default though), disabling it will cause the parent [VisualInstance] to not be visible any longer when looking through the portal. </description> </method> <method name="set_shape"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> - Set the portal shape. The shape is an array of [Vector2] points, representing a convex polygon in the X,Y plane. + Set the portal shape. The shape is an array of [Vector2] points, representing a convex polygon in the X,Y plane. </description> </method> </methods> @@ -29752,10 +29843,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Position2D" inherits="Node2D" category="Core"> <brief_description> - Generic 2D Position hint for editing. + Generic 2D Position hint for editing. </brief_description> <description> - Generic 2D Position hint for editing. It's just like a plain [Node2D] but displays as a cross in the 2D-Editor at all times. + Generic 2D Position hint for editing. It's just like a plain [Node2D] but displays as a cross in the 2D-Editor at all times. </description> <methods> </methods> @@ -29764,10 +29855,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Position3D" inherits="Spatial" category="Core"> <brief_description> - Generic 3D Position hint for editing + Generic 3D Position hint for editing </brief_description> <description> - Generic 3D Position hint for editing. It's just like a plain [Spatial] but displays as a cross in the 3D-Editor at all times. + Generic 3D Position hint for editing. It's just like a plain [Spatial] but displays as a cross in the 3D-Editor at all times. </description> <methods> </methods> @@ -29776,10 +29867,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ProgressBar" inherits="Range" category="Core"> <brief_description> - General purpose progress bar. + General purpose progress bar. </brief_description> <description> - General purpose progress bar. Shows fill percentage from right to left. + General purpose progress bar. Shows fill percentage from right to left. </description> <methods> <method name="is_percent_visible" qualifiers="const"> @@ -29812,10 +29903,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ProximityGroup" inherits="Spatial" category="Core"> <brief_description> - General purpose proximity-detection node. + General purpose proximity-detection node. </brief_description> <description> - General purpose proximity-detection node. + General purpose proximity-detection node. </description> <methods> <method name="broadcast"> @@ -29924,10 +30015,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Quat" category="Built-In Types"> <brief_description> - Quaternion. + Quaternion. </brief_description> <description> - Quaternion is a 4 dimensional vector that is used to represent a rotation. It mainly exists to perform SLERP (spherical-linear interpolation) between to rotations obtained by a Matrix3 cheaply. Adding quaternions also cheaply adds the rotations, however quaternions need to be often normalized, or else they suffer from precision issues. + Quaternion is a 4 dimensional vector that is used to represent a rotation. It mainly exists to perform SLERP (spherical-linear interpolation) between to rotations obtained by a Matrix3 cheaply. Adding quaternions also cheaply adds the rotations, however quaternions need to be often normalized, or else they suffer from precision issues. </description> <methods> <method name="Quat"> @@ -29982,35 +30073,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Quat"> </argument> <description> - Returns the dot product between two quaternions. + Returns the dot product between two quaternions. </description> </method> <method name="inverse"> <return type="Quat"> </return> <description> - Returns the inverse of the quaternion (applies to the inverse rotation too). + Returns the inverse of the quaternion (applies to the inverse rotation too). </description> </method> <method name="length"> <return type="float"> </return> <description> - Returns the length of the quaternion. + Returns the length of the quaternion. </description> </method> <method name="length_squared"> <return type="float"> </return> <description> - Returns the length of the quaternion, squared. + Returns the length of the quaternion, squared. </description> </method> <method name="normalized"> <return type="Quat"> </return> <description> - Returns a copy of the quaternion, normalized to unit length. + Returns a copy of the quaternion, normalized to unit length. </description> </method> <method name="slerp"> @@ -30021,7 +30112,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="t" type="float"> </argument> <description> - Perform a spherical-linear interpolation with another quaternion. + Perform a spherical-linear interpolation with another quaternion. </description> </method> <method name="slerpni"> @@ -30082,52 +30173,52 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Range" inherits="Control" category="Core"> <brief_description> - Abstract base class for range-based controls. + Abstract base class for range-based controls. </brief_description> <description> - Range is a base class for [Control] nodes that change a floating point [i]value[/i] between a [i]minimum[/i] and a [i]maximum[/i], using [i]step[/i] and [i]page[/i], for example a [ScrollBar]. + Range is a base class for [Control] nodes that change a floating point [i]value[/i] between a [i]minimum[/i] and a [i]maximum[/i], using [i]step[/i] and [i]page[/i], for example a [ScrollBar]. </description> <methods> <method name="get_max" qualifiers="const"> <return type="float"> </return> <description> - Return the maximum value. + Return the maximum value. </description> </method> <method name="get_min" qualifiers="const"> <return type="float"> </return> <description> - Return the minimum value. + Return the minimum value. </description> </method> <method name="get_page" qualifiers="const"> <return type="float"> </return> <description> - Return the page size, if page is 0, paging is disabled. + Return the page size, if page is 0, paging is disabled. </description> </method> <method name="get_step" qualifiers="const"> <return type="float"> </return> <description> - Return the stepping, if step is 0, stepping is disabled. + Return the stepping, if step is 0, stepping is disabled. </description> </method> <method name="get_unit_value" qualifiers="const"> <return type="float"> </return> <description> - Return value mapped to 0 to 1 (unit) range. + Return value mapped to 0 to 1 (unit) range. </description> </method> <method name="get_val" qualifiers="const"> <return type="float"> </return> <description> - Return the current value. + Return the current value. </description> </method> <method name="get_value" qualifiers="const"> @@ -30164,14 +30255,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="minimum" type="float"> </argument> <description> - Set minimum value, clamped range value to it if it's less. + Set minimum value, clamped range value to it if it's less. </description> </method> <method name="set_page"> <argument index="0" name="pagesize" type="float"> </argument> <description> - Set page size. Page is mainly used for scrollbars or anything that controls text scrolling. + Set page size. Page is mainly used for scrollbars or anything that controls text scrolling. </description> </method> <method name="set_rounded_values"> @@ -30184,14 +30275,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="step" type="float"> </argument> <description> - Set step value. If step is 0, stepping will be disabled. + Set step value. If step is 0, stepping will be disabled. </description> </method> <method name="set_unit_value"> <argument index="0" name="value" type="float"> </argument> <description> - Set value mapped to 0 to 1 (unit) range, it will then be converted to the actual value within min and max. + Set value mapped to 0 to 1 (unit) range, it will then be converted to the actual value within min and max. </description> </method> <method name="set_val"> @@ -30220,14 +30311,14 @@ A similar effect may be achieved moving this node's descendants. <signals> <signal name="changed"> <description> - This signal is emitted when min, max, range or step change. + This signal is emitted when min, max, range or step change. </description> </signal> <signal name="value_changed"> <argument index="0" name="value" type="float"> </argument> <description> - This signal is emitted when value changes. + This signal is emitted when value changes. </description> </signal> </signals> @@ -30236,10 +30327,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RawArray" category="Built-In Types"> <brief_description> - Raw byte array. + Raw byte array. </brief_description> <description> - Raw byte array. Contains bytes. Optimized for memory usage, can't fragment the memory. + Raw byte array. Contains bytes. Optimized for memory usage, can't fragment the memory. </description> <methods> <method name="RawArray"> @@ -30248,7 +30339,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Array"> </argument> <description> - Create from a generic array. + Create from a generic array. </description> </method> <method name="append"> @@ -30261,21 +30352,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="array" type="RawArray"> </argument> <description> - Append an [RawArray] at the end of this array. + Append an [RawArray] at the end of this array. </description> </method> <method name="get_string_from_ascii"> <return type="String"> </return> <description> - Returns a copy of the array's contents formatted as String. Fast alternative to get_string_from_utf8(), assuming the content is ASCII-only (unlike the UTF-8 function, this function maps every byte to a character in the string, so any multibyte sequence will be torn apart). + Returns a copy of the array's contents formatted as String. Fast alternative to get_string_from_utf8(), assuming the content is ASCII-only (unlike the UTF-8 function, this function maps every byte to a character in the string, so any multibyte sequence will be torn apart). </description> </method> <method name="get_string_from_utf8"> <return type="String"> </return> <description> - Returns a copy of the array's contents formatted as String, assuming the array is formatted as UTF-8. Slower than get_string_from_ascii(), but works for UTF-8. Usually you should prefer this function over get_string_from_ascii() to support international input. + Returns a copy of the array's contents formatted as String, assuming the array is formatted as UTF-8. Slower than get_string_from_ascii(), but works for UTF-8. Usually you should prefer this function over get_string_from_ascii() to support international input. </description> </method> <method name="insert"> @@ -30286,33 +30377,33 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="byte" type="int"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="byte" type="int"> </argument> <description> - Append an element at the end of the array. + Append an element at the end of the array. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the [RawArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the [RawArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -30321,14 +30412,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="byte" type="int"> </argument> <description> - Change the byte at the given index. + Change the byte at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the size of the array. + Return the size of the array. </description> </method> </methods> @@ -30453,17 +30544,17 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RayCast2D" inherits="Node2D" category="Core"> <brief_description> - Query the closest object intersecting a ray + Query the closest object intersecting a ray </brief_description> <description> - A RayCast2D represents a line from its origin to its destination position [code]cast_to[/code], it is used to query the 2D space in order to find the closest object intersecting with the ray. + A RayCast2D represents a line from its origin to its destination position [code]cast_to[/code], it is used to query the 2D space in order to find the closest object intersecting with the ray. </description> <methods> <method name="add_exception"> <argument index="0" name="node" type="Object"> </argument> <description> - Adds a collision exception so the ray does not report collisions with the specified [code]node[/code]. + Adds a collision exception so the ray does not report collisions with the specified [code]node[/code]. </description> </method> <method name="add_exception_rid"> @@ -30474,49 +30565,49 @@ A similar effect may be achieved moving this node's descendants. </method> <method name="clear_exceptions"> <description> - Removes all collision exception for this ray. + Removes all collision exception for this ray. </description> </method> <method name="get_cast_to" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the destination point of this ray object + Return the destination point of this ray object </description> </method> <method name="get_collider" qualifiers="const"> <return type="Object"> </return> <description> - Return the closest object the ray is pointing to. Note that this does not consider the length of the vector, so you must also use [method is_colliding] to check if the object returned is actually colliding with the ray. + Return the closest object the ray is pointing to. Note that this does not consider the length of the vector, so you must also use [method is_colliding] to check if the object returned is actually colliding with the ray. </description> </method> <method name="get_collider_shape" qualifiers="const"> <return type="int"> </return> <description> - Returns the collision shape of the closest object the ray is pointing to. + Returns the collision shape of the closest object the ray is pointing to. </description> </method> <method name="get_collision_normal" qualifiers="const"> <return type="Vector2"> </return> <description> - Returns the normal of the intersecting object shape face containing the collision point. + Returns the normal of the intersecting object shape face containing the collision point. </description> </method> <method name="get_collision_point" qualifiers="const"> <return type="Vector2"> </return> <description> - Returns the collision point in which the ray intersects the closest object. + Returns the collision point in which the ray intersects the closest object. </description> </method> <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> - Returns the layer mask for this ray. + Returns the layer mask for this ray. </description> </method> <method name="get_type_mask" qualifiers="const"> @@ -30529,21 +30620,21 @@ A similar effect may be achieved moving this node's descendants. <return type="bool"> </return> <description> - Return whether the closest object the ray is pointing to is colliding with the vector (considering the vector length). + Return whether the closest object the ray is pointing to is colliding with the vector (considering the vector length). </description> </method> <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether this raycast is enabled or not + Returns whether this raycast is enabled or not </description> </method> <method name="remove_exception"> <argument index="0" name="node" type="Object"> </argument> <description> - Removes a collision exception so the ray does report collisions with the specified [code]node[/code]. + Removes a collision exception so the ray does report collisions with the specified [code]node[/code]. </description> </method> <method name="remove_exception_rid"> @@ -30556,14 +30647,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="local_point" type="Vector2"> </argument> <description> - Sets the ray destination point, so that the ray will test from the ray's origin to [code]local_point[/code] + Sets the ray destination point, so that the ray will test from the ray's origin to [code]local_point[/code] </description> </method> <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Enables the RayCast2D. Only enabled raycasts will be able to query the space and report collisions. + Enables the RayCast2D. Only enabled raycasts will be able to query the space and report collisions. </description> </method> <method name="set_layer_mask"> @@ -30606,24 +30697,24 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RayShape2D" inherits="Shape2D" category="Core"> <brief_description> - Ray 2D shape resource for physics. + Ray 2D shape resource for physics. </brief_description> <description> - Ray 2D shape resource for physics. A ray is not really a collision body, instead it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters. + Ray 2D shape resource for physics. A ray is not really a collision body, instead it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters. </description> <methods> <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> - Return the length of the ray. + Return the length of the ray. </description> </method> <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> - Set the length of the ray. + Set the length of the ray. </description> </method> </methods> @@ -30632,10 +30723,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RealArray" category="Built-In Types"> <brief_description> - Real Array . + Real Array . </brief_description> <description> - Real Array. Array of floating point values. Can only contain floats. Optimized for memory usage, can't fragment the memory. + Real Array. Array of floating point values. Can only contain floats. Optimized for memory usage, can't fragment the memory. </description> <methods> <method name="RealArray"> @@ -30644,21 +30735,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Array"> </argument> <description> - Create from a generic array. + Create from a generic array. </description> </method> <method name="append"> <argument index="0" name="value" type="float"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="append_array"> <argument index="0" name="array" type="RealArray"> </argument> <description> - Append an [RealArray] at the end of this array. + Append an [RealArray] at the end of this array. </description> </method> <method name="insert"> @@ -30669,33 +30760,33 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="value" type="float"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="value" type="float"> </argument> <description> - Append an element at the end of the array. + Append an element at the end of the array. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the [RealArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the [RealArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -30704,14 +30795,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="value" type="float"> </argument> <description> - Change the float at the given index. + Change the float at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the size of the array. + Return the size of the array. </description> </method> </methods> @@ -30720,10 +30811,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Rect2" category="Built-In Types"> <brief_description> - 2D Axis-aligned bounding box. + 2D Axis-aligned bounding box. </brief_description> <description> - Rect2 provides an 2D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for fast overlap tests. + Rect2 provides an 2D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for fast overlap tests. </description> <methods> <method name="Rect2"> @@ -30734,7 +30825,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="size" type="Vector2"> </argument> <description> - Construct a [Rect2] by position and size. + Construct a [Rect2] by position and size. </description> </method> <method name="Rect2"> @@ -30749,7 +30840,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="height" type="float"> </argument> <description> - Construct a [Rect2] by x, y, width and height. + Construct a [Rect2] by x, y, width and height. </description> </method> <method name="clip"> @@ -30758,7 +30849,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Rect2"> </argument> <description> - Returns the intersection of this [Rect2] and b. + Returns the intersection of this [Rect2] and b. </description> </method> <method name="encloses"> @@ -30767,7 +30858,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Rect2"> </argument> <description> - Returns true if this [Rect2] completely encloses another one. + Returns true if this [Rect2] completely encloses another one. </description> </method> <method name="expand"> @@ -30776,14 +30867,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="Vector2"> </argument> <description> - Return this [Rect2] expanded to include a given point. + Return this [Rect2] expanded to include a given point. </description> </method> <method name="get_area"> <return type="float"> </return> <description> - Get the area of the [Rect2]. + Get the area of the [Rect2]. </description> </method> <method name="grow"> @@ -30792,14 +30883,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="by" type="float"> </argument> <description> - Return a copy of the [Rect2] grown a given amount of units towards all the sides. + Return a copy of the [Rect2] grown a given amount of units towards all the sides. </description> </method> <method name="has_no_area"> <return type="bool"> </return> <description> - Return true if the [Rect2] is flat or empty. + Return true if the [Rect2] is flat or empty. </description> </method> <method name="has_point"> @@ -30808,7 +30899,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="point" type="Vector2"> </argument> <description> - Return true if the [Rect2] contains a point. + Return true if the [Rect2] contains a point. </description> </method> <method name="intersects"> @@ -30817,7 +30908,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Rect2"> </argument> <description> - Return true if the [Rect2] overlaps with another. + Return true if the [Rect2] overlaps with another. </description> </method> <method name="merge"> @@ -30826,7 +30917,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Rect2"> </argument> <description> - Combine this [Rect2] with another, a larger one is returned that contains both. + Combine this [Rect2] with another, a larger one is returned that contains both. </description> </method> </methods> @@ -30846,24 +30937,24 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RectangleShape2D" inherits="Shape2D" category="Core"> <brief_description> - Rectangle Shape for 2D Physics. + Rectangle Shape for 2D Physics. </brief_description> <description> - Rectangle Shape for 2D Physics. This shape is useful for modeling box-like 2D objects. + Rectangle Shape for 2D Physics. This shape is useful for modeling box-like 2D objects. </description> <methods> <method name="get_extents" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the half extents, the actual width and height of this shape is twice the half extents. + Return the half extents, the actual width and height of this shape is twice the half extents. </description> </method> <method name="set_extents"> <argument index="0" name="extents" type="Vector2"> </argument> <description> - Set the half extents, the actual width and height of this shape is twice the half extents. + Set the half extents, the actual width and height of this shape is twice the half extents. </description> </method> </methods> @@ -30872,10 +30963,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Reference" inherits="Object" category="Core"> <brief_description> - Base class for anything that keeps a reference count. + Base class for anything that keeps a reference count. </brief_description> <description> - Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use. + Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use. </description> <methods> <method name="init_ref"> @@ -30886,14 +30977,14 @@ A similar effect may be achieved moving this node's descendants. </method> <method name="reference"> <description> - Increase the internal reference counter. Use this only if you really know what you are doing. + Increase the internal reference counter. Use this only if you really know what you are doing. </description> </method> <method name="unreference"> <return type="bool"> </return> <description> - Decrease the internal reference counter. Use this only if you really know what you are doing. + Decrease the internal reference counter. Use this only if you really know what you are doing. </description> </method> </methods> @@ -30902,10 +30993,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ReferenceFrame" inherits="Control" category="Core"> <brief_description> - Reference frame for GUI. + Reference frame for GUI. </brief_description> <description> - Reference frame for GUI. It's just like an empty control, except a red box is displayed while editing around its size at all times. + Reference frame for GUI. It's just like an empty control, except a red box is displayed while editing around its size at all times. </description> <methods> </methods> @@ -30918,13 +31009,13 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RegEx" inherits="Reference" category="Core"> <brief_description> - Simple regular expression matcher. + Simple regular expression matcher. </brief_description> <description> - Class for finding text patterns in a string using regular expressions. Regular expressions are a way to define patterns of text to be searched. - This class only finds patterns in a string. It can not perform replacements. - Usage of regular expressions is too long to be explained here, but Internet is full of tutorials and detailed explanations. - Currently supported features: + Class for finding text patterns in a string using regular expressions. Regular expressions are a way to define patterns of text to be searched. + This class only finds patterns in a string. It can not perform replacements. + Usage of regular expressions is too long to be explained here, but Internet is full of tutorials and detailed explanations. + Currently supported features: Capturing [code]()[/code] and non-capturing [code](?:)[/code] groups Any character [code].[/code] Shorthand character classes [code]\w \W \s \S \d \D[/code] @@ -30943,7 +31034,7 @@ A similar effect may be achieved moving this node's descendants. <methods> <method name="clear"> <description> - This method resets the state of the object, as it was freshly created. Namely, it unassigns the regular expression of this object, and forgets all captures made by the last [method find]. + This method resets the state of the object, as it was freshly created. Namely, it unassigns the regular expression of this object, and forgets all captures made by the last [method find]. </description> </method> <method name="compile"> @@ -30954,7 +31045,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="capture" type="int" default="9"> </argument> <description> - Compiles and assign the regular expression pattern to use. The limit on the number of capturing groups can be specified or made unlimited if negative. + Compiles and assign the regular expression pattern to use. The limit on the number of capturing groups can be specified or made unlimited if negative. </description> </method> <method name="find" qualifiers="const"> @@ -30967,7 +31058,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="end" type="int" default="-1"> </argument> <description> - This method tries to find the pattern within the string, and returns the position where it was found. It also stores any capturing group (see [method get_capture]) for further retrieval. + This method tries to find the pattern within the string, and returns the position where it was found. It also stores any capturing group (see [method get_capture]) for further retrieval. </description> </method> <method name="get_capture" qualifiers="const"> @@ -30976,14 +31067,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="capture" type="int"> </argument> <description> - Returns a captured group. A captured group is the part of a string that matches a part of the pattern delimited by parentheses (unless they are non-capturing parentheses [i](?:)[/i]). + Returns a captured group. A captured group is the part of a string that matches a part of the pattern delimited by parentheses (unless they are non-capturing parentheses [i](?:)[/i]). </description> </method> <method name="get_capture_count" qualifiers="const"> <return type="int"> </return> <description> - Returns the number of capturing groups. A captured group is the part of a string that matches a part of the pattern delimited by parentheses (unless they are non-capturing parentheses [i](?:)[/i]). + Returns the number of capturing groups. A captured group is the part of a string that matches a part of the pattern delimited by parentheses (unless they are non-capturing parentheses [i](?:)[/i]). </description> </method> <method name="get_capture_start" qualifiers="const"> @@ -30998,14 +31089,14 @@ A similar effect may be achieved moving this node's descendants. <return type="StringArray"> </return> <description> - Return a list of all the captures made by the regular expression. + Return a list of all the captures made by the regular expression. </description> </method> <method name="is_valid" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether this object has a valid regular expression assigned. + Returns whether this object has a valid regular expression assigned. </description> </method> </methods> @@ -31046,10 +31137,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Resource" inherits="Reference" category="Core"> <brief_description> - Base class for all resources. + Base class for all resources. </brief_description> <description> - Resource is the base class for all resource types. Resources are primarily data containers. They are reference counted and freed when no longer in use. They are also loaded only once from disk, and further attempts to load the resource will return the same reference (all this in contrast to a [Node], which is not reference counted and can be instanced from disk as many times as desired). Resources can be saved externally on disk or bundled into another object, such as a [Node] or another resource. + Resource is the base class for all resource types. Resources are primarily data containers. They are reference counted and freed when no longer in use. They are also loaded only once from disk, and further attempts to load the resource will return the same reference (all this in contrast to a [Node], which is not reference counted and can be instanced from disk as many times as desired). Resources can be saved externally on disk or bundled into another object, such as a [Node] or another resource. </description> <methods> <method name="duplicate"> @@ -31070,21 +31161,21 @@ A similar effect may be achieved moving this node's descendants. <return type="String"> </return> <description> - Return the name of the resources, any name is valid (it doesn't have to be unique). Name is for descriptive purposes only. + Return the name of the resources, any name is valid (it doesn't have to be unique). Name is for descriptive purposes only. </description> </method> <method name="get_path" qualifiers="const"> <return type="String"> </return> <description> - Return the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. + Return the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. </description> </method> <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> - Return the RID of the resource (or an empty RID). Many resources (such as [Texture], [Mesh], etc) are high level abstractions of resources stored in a server, so this function will return the original RID. + Return the RID of the resource (or an empty RID). Many resources (such as [Texture], [Mesh], etc) are high level abstractions of resources stored in a server, so this function will return the original RID. </description> </method> <method name="set_import_metadata"> @@ -31097,21 +31188,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Set the name of the resources, any name is valid (it doesn't have to be unique). Name is for descriptive purposes only. + Set the name of the resources, any name is valid (it doesn't have to be unique). Name is for descriptive purposes only. </description> </method> <method name="set_path"> <argument index="0" name="path" type="String"> </argument> <description> - Set the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. Fails if another [Resource] already has path "path". + Set the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. Fails if another [Resource] already has path "path". </description> </method> <method name="take_over_path"> <argument index="0" name="path" type="String"> </argument> <description> - Set the path of the resource. Differs from set_path(), if another [Resource] exists with "path" it over-takes it, instead of failing. + Set the path of the resource. Differs from set_path(), if another [Resource] exists with "path" it over-takes it, instead of failing. </description> </method> </methods> @@ -31212,38 +31303,38 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ResourceInteractiveLoader" inherits="Reference" category="Core"> <brief_description> - Interactive Resource Loader. + Interactive Resource Loader. </brief_description> <description> - Interactive Resource Loader. This object is returned by ResourceLoader when performing an interactive load. It allows to load with high granularity, so this is mainly useful for displaying load bars/percentages. + Interactive Resource Loader. This object is returned by ResourceLoader when performing an interactive load. It allows to load with high granularity, so this is mainly useful for displaying load bars/percentages. </description> <methods> <method name="get_resource"> <return type="Object"> </return> <description> - Return the loaded resource (only if loaded). Otherwise, returns null. + Return the loaded resource (only if loaded). Otherwise, returns null. </description> </method> <method name="get_stage" qualifiers="const"> <return type="int"> </return> <description> - Return the load stage. The total amount of stages can be queried with [method get_stage_count] + Return the load stage. The total amount of stages can be queried with [method get_stage_count] </description> </method> <method name="get_stage_count" qualifiers="const"> <return type="int"> </return> <description> - Return the total amount of stages (calls to [method poll]) needed to completely load this resource. + Return the total amount of stages (calls to [method poll]) needed to completely load this resource. </description> </method> <method name="poll"> <return type="int"> </return> <description> - Poll the load. If OK is returned, this means poll will have to be called again. If ERR_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource]. + Poll the load. If OK is returned, this means poll will have to be called again. If ERR_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource]. </description> </method> <method name="wait"> @@ -31258,10 +31349,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ResourceLoader" inherits="Object" category="Core"> <brief_description> - Resource Loader. + Resource Loader. </brief_description> <description> - Resource Loader. This is a static object accessible as [ResourceLoader]. GDScript has a simplified load() function, though. + Resource Loader. This is a static object accessible as [ResourceLoader]. GDScript has a simplified load() function, though. </description> <methods> <method name="get_dependencies"> @@ -31278,7 +31369,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="type" type="String"> </argument> <description> - Return the list of recognized extensions for a resource type. + Return the list of recognized extensions for a resource type. </description> </method> <method name="has"> @@ -31317,14 +31408,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="type_hint" type="String" default=""""> </argument> <description> - Load a resource interactively, the returned object allows to load with high granularity. + Load a resource interactively, the returned object allows to load with high granularity. </description> </method> <method name="set_abort_on_missing_resources"> <argument index="0" name="abort" type="bool"> </argument> <description> - Change the behavior on missing sub-resources. Default is to abort load. + Change the behavior on missing sub-resources. Default is to abort load. </description> </method> </methods> @@ -31333,10 +31424,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ResourcePreloader" inherits="Node" category="Core"> <brief_description> - Resource Preloader Node. + Resource Preloader Node. </brief_description> <description> - Resource Preloader Node. This node is used to preload sub-resources inside a scene, so when the scene is loaded all the resources are ready to use and be retrieved from here. + Resource Preloader Node. This node is used to preload sub-resources inside a scene, so when the scene is loaded all the resources are ready to use and be retrieved from here. </description> <methods> <method name="add_resource"> @@ -31345,7 +31436,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="resource" type="Object"> </argument> <description> - Add a resource to the preloader. Set the text-id that will be used to identify it (retrieve it/erase it/etc). + Add a resource to the preloader. Set the text-id that will be used to identify it (retrieve it/erase it/etc). </description> </method> <method name="get_resource" qualifiers="const"> @@ -31354,14 +31445,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return the resource given a text-id. + Return the resource given a text-id. </description> </method> <method name="get_resource_list" qualifiers="const"> <return type="StringArray"> </return> <description> - Return the list of resources inside the preloader. + Return the list of resources inside the preloader. </description> </method> <method name="has_resource" qualifiers="const"> @@ -31370,14 +31461,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return true if the preloader has a given resource. + Return true if the preloader has a given resource. </description> </method> <method name="remove_resource"> <argument index="0" name="name" type="String"> </argument> <description> - Remove a resource from the preloader by text id. + Remove a resource from the preloader by text id. </description> </method> <method name="rename_resource"> @@ -31386,7 +31477,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="newname" type="String"> </argument> <description> - Rename a resource inside the preloader, from a text-id to a new text-id. + Rename a resource inside the preloader, from a text-id to a new text-id. </description> </method> </methods> @@ -31395,10 +31486,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ResourceSaver" inherits="Object" category="Core"> <brief_description> - Resource Saving Interface. + Resource Saving Interface. </brief_description> <description> - Resource Saving Interface. This interface is used for saving resources to disk. + Resource Saving Interface. This interface is used for saving resources to disk. </description> <methods> <method name="get_recognized_extensions"> @@ -31407,7 +31498,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="type" type="Object"> </argument> <description> - Return the list of extensions available for saving a resource of a given type. + Return the list of extensions available for saving a resource of a given type. </description> </method> <method name="save"> @@ -31420,31 +31511,31 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="flags" type="int" default="0"> </argument> <description> - Save a resource to disk, to a given path. + Save a resource to disk, to a given path. </description> </method> </methods> <constants> <constant name="FLAG_RELATIVE_PATHS" value="1"> </constant> - <constant name="FLAG_SAVE_BIG_ENDIAN" value="16"> - </constant> <constant name="FLAG_BUNDLE_RESOURCES" value="2"> </constant> - <constant name="FLAG_COMPRESS" value="32"> - </constant> <constant name="FLAG_CHANGE_PATH" value="4"> </constant> <constant name="FLAG_OMIT_EDITOR_PROPERTIES" value="8"> </constant> + <constant name="FLAG_SAVE_BIG_ENDIAN" value="16"> + </constant> + <constant name="FLAG_COMPRESS" value="32"> + </constant> </constants> </class> <class name="RichTextLabel" inherits="Control" category="Core"> <brief_description> - Label that displays rich text. + Label that displays rich text. </brief_description> <description> - Label that displays rich text. Rich text can contain custom text, fonts, images and some basic formatting. It also adapts itself to given width/heights. + Label that displays rich text. Rich text can contain custom text, fonts, images and some basic formatting. It also adapts itself to given width/heights. </description> <methods> <method name="add_image"> @@ -31483,6 +31574,13 @@ A similar effect may be achieved moving this node's descendants. <description> </description> </method> + <method name="get_text"> + <return type="String"> + </return> + <description> + Returns the raw text, stripping out the formatting information. + </description> + </method> <method name="get_total_character_count" qualifiers="const"> <return type="int"> </return> @@ -31523,7 +31621,7 @@ A similar effect may be achieved moving this node's descendants. <return type="bool"> </return> <description> - Return true if selecting the text inside this richtext is allowed. + Return true if selecting the text inside this richtext is allowed. </description> </method> <method name="is_using_bbcode" qualifiers="const"> @@ -31632,7 +31730,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="enabled" type="bool"> </argument> <description> - Set to true if selecting the text inside this richtext is allowed. + Set to true if selecting the text inside this richtext is allowed. </description> </method> <method name="set_tab_size"> @@ -31681,12 +31779,16 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="ALIGN_FILL" value="3"> </constant> + <constant name="LIST_NUMBERS" value="0"> + </constant> + <constant name="LIST_LETTERS" value="1"> + </constant> + <constant name="LIST_DOTS" value="2"> + </constant> <constant name="ITEM_FRAME" value="0"> </constant> <constant name="ITEM_TEXT" value="1"> </constant> - <constant name="ITEM_META" value="11"> - </constant> <constant name="ITEM_IMAGE" value="2"> </constant> <constant name="ITEM_NEWLINE" value="3"> @@ -31703,11 +31805,7 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="ITEM_LIST" value="9"> </constant> - <constant name="LIST_NUMBERS" value="0"> - </constant> - <constant name="LIST_LETTERS" value="1"> - </constant> - <constant name="LIST_DOTS" value="2"> + <constant name="ITEM_META" value="11"> </constant> </constants> <theme_items> @@ -31739,17 +31837,17 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="RigidBody" inherits="PhysicsBody" category="Core"> <brief_description> - Rigid body node. + Rigid body node. </brief_description> <description> - Rigid body node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift mode between regular Rigid body, Kinematic, Character or Static. + Rigid body node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift mode between regular Rigid body, Kinematic, Character or Static. </description> <methods> <method name="_integrate_forces" qualifiers="virtual"> <argument index="0" name="state" type="PhysicsDirectBodyState"> </argument> <description> - 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. + 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="apply_impulse"> @@ -31758,261 +31856,261 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="impulse" type="Vector3"> </argument> <description> - Apply a positioned impulse (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 once, and only once. Both the impulse and the offset from the body origin are in global coordinates. + Apply a positioned impulse (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 once, and only once. Both the impulse and the offset from the body origin are in global coordinates. </description> </method> <method name="get_angular_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the current body angular damp. Default is -1. + Return the current body angular damp. Default is -1. </description> </method> <method name="get_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the current body angular velocity. + Return the current body angular velocity. </description> </method> <method name="get_axis_lock" qualifiers="const"> <return type="int"> </return> <description> - Return the current axis lock of the body. One of AXIS_LOCK_* enum. + Return the current axis lock of the body. One of AXIS_LOCK_* enum. </description> </method> <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> - Return the current body bounciness. + Return the current body bounciness. </description> </method> <method name="get_colliding_bodies" qualifiers="const"> <return type="Array"> </return> <description> - Return a list of the bodies colliding with this one. + Return a list of the bodies colliding with this one. </description> </method> <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> - Return the current body friction, from 0 (frictionless) to 1 (max friction). + Return the current body friction, from 0 (frictionless) to 1 (max friction). </description> </method> <method name="get_gravity_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the current body gravity scale. + Return the current body gravity scale. </description> </method> <method name="get_linear_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the current body linear damp. Default is -1. + Return the current body linear damp. Default is -1. </description> </method> <method name="get_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the current body linear velocity. + Return the current body linear velocity. </description> </method> <method name="get_mass" qualifiers="const"> <return type="float"> </return> <description> - Return the current body mass. + Return the current body mass. </description> </method> <method name="get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <description> - Return the maximum contacts that can be reported. See [method set_max_contacts_reported]. + Return the maximum contacts that can be reported. See [method set_max_contacts_reported]. </description> </method> <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the current body mode, see [method set_mode]. + Return the current body mode, see [method set_mode]. </description> </method> <method name="get_weight" qualifiers="const"> <return type="float"> </return> <description> - Return the current body weight, given standard earth-weight (gravity 9.8). + Return the current body weight, given standard earth-weight (gravity 9.8). </description> </method> <method name="is_able_to_sleep" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the body has the ability to fall asleep when not moving. See [method set_can_sleep]. + Return whether the body has the ability to fall asleep when not moving. See [method set_can_sleep]. </description> </method> <method name="is_contact_monitor_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether contact monitoring is enabled. + Return whether contact monitoring is enabled. </description> </method> <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the body is sleeping. + Return whether the body is sleeping. </description> </method> <method name="is_using_continuous_collision_detection" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this body is using continuous collision detection. + Return whether this body is using continuous collision detection. </description> </method> <method name="is_using_custom_integrator"> <return type="bool"> </return> <description> - Return whether the body is using a custom integrator. + Return whether the body is using a custom integrator. </description> </method> <method name="set_angular_damp"> <argument index="0" name="angular_damp" type="float"> </argument> <description> - Set the angular damp for this body. Default of -1, cannot be less than -1. If this value is different from -1, any angular damp derived from the world or areas will be overridden. + Set the angular damp for this body. Default of -1, cannot be less than -1. If this value is different from -1, any angular damp derived from the world or areas will be overridden. </description> </method> <method name="set_angular_velocity"> <argument index="0" name="angular_velocity" type="Vector3"> </argument> <description> - Set the body angular velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. + Set the body angular velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. </description> </method> <method name="set_axis_lock"> <argument index="0" name="axis_lock" type="int"> </argument> <description> - Set the axis lock of the body, from the AXIS_LOCK_* enum. Axis lock stops the body from moving along the specified axis(X/Y/Z) and rotating along the other two axes. + Set the axis lock of the body, from the AXIS_LOCK_* enum. Axis lock stops the body from moving along the specified axis(X/Y/Z) and rotating along the other two axes. </description> </method> <method name="set_axis_velocity"> <argument index="0" name="axis_velocity" type="Vector3"> </argument> <description> - Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. + Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. </description> </method> <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> - Set the body bounciness, from 0 (no bounciness) to 1 (max bounciness). + Set the body bounciness, from 0 (no bounciness) to 1 (max bounciness). </description> </method> <method name="set_can_sleep"> <argument index="0" name="able_to_sleep" type="bool"> </argument> <description> - Set the body ability to fall asleep when not moving. This saves an enormous amount of processor time when there are plenty of rigid bodies (non static) in a scene. - Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] / [method set_applied_force] wakes them up. Until then, they behave like a static body. + Set the body ability to fall asleep when not moving. This saves an enormous amount of processor time when there are plenty of rigid bodies (non static) in a scene. + Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] / [method set_applied_force] wakes them up. Until then, they behave like a static body. </description> </method> <method name="set_contact_monitor"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Enable contact monitoring. This allows the body to emit signals when it collides with another. + Enable contact monitoring. This allows the body to emit signals when it collides with another. </description> </method> <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> - Set the body friction, from 0 (frictionless) to 1 (max friction). + Set the body friction, from 0 (frictionless) to 1 (max friction). </description> </method> <method name="set_gravity_scale"> <argument index="0" name="gravity_scale" type="float"> </argument> <description> - Set the gravity factor. This factor multiplies gravity intensity just for this body. + Set the gravity factor. This factor multiplies gravity intensity just for this body. </description> </method> <method name="set_linear_damp"> <argument index="0" name="linear_damp" type="float"> </argument> <description> - Set the linear damp for this body. Default of -1, cannot be less than -1. If this value is different from -1, any linear damp derived from the world or areas will be overridden. + Set the linear damp for this body. Default of -1, cannot be less than -1. If this value is different from -1, any linear damp derived from the world or areas will be overridden. </description> </method> <method name="set_linear_velocity"> <argument index="0" name="linear_velocity" type="Vector3"> </argument> <description> - Set the body linear velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. + Set the body linear velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. </description> </method> <method name="set_mass"> <argument index="0" name="mass" type="float"> </argument> <description> - Set the body mass. + Set the body mass. </description> </method> <method name="set_max_contacts_reported"> <argument index="0" name="amount" type="int"> </argument> <description> - Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. + Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. </description> </method> <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the body mode, from the MODE_* enum. This allows to change to a static body or a character body. + Set the body mode, from the MODE_* enum. This allows to change to a static body or a character body. </description> </method> <method name="set_sleeping"> <argument index="0" name="sleeping" type="bool"> </argument> <description> - Set whether a body is sleeping or not. Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] wakes them up. Until then, they behave like a static body. + Set whether a body is sleeping or not. Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] wakes them up. Until then, they behave like a static body. </description> </method> <method name="set_use_continuous_collision_detection"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the continuous collision detection mode from the enum CCD_MODE_*. - Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. The first is more precise, and misses less impacts by small, fast-moving objects. The second is faster to compute, but can miss small, fast-moving objects. + Set the continuous collision detection mode from the enum CCD_MODE_*. + Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. The first is more precise, and misses less impacts by small, fast-moving objects. The second is faster to compute, but can miss small, fast-moving objects. </description> </method> <method name="set_use_custom_integrator"> <argument index="0" name="enable" type="bool"> </argument> <description> - Pass true to disable the internal force integration (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined. + Pass true to disable the internal force integration (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined. </description> </method> <method name="set_weight"> <argument index="0" name="weight" type="float"> </argument> <description> - Set the body weight given standard earth-weight (gravity 9.8). + Set the body weight given standard earth-weight (gravity 9.8). </description> </method> </methods> @@ -32021,7 +32119,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="Object"> </argument> <description> - Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. + Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. </description> </signal> <signal name="body_enter_shape"> @@ -32034,15 +32132,15 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="local_shape" type="int"> </argument> <description> - Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. - This signal not only receives the body that collided with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body collided with. + Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. + This signal not only receives the body that collided with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body collided with. </description> </signal> <signal name="body_exit"> <argument index="0" name="body" type="Object"> </argument> <description> - Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. + Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. </description> </signal> <signal name="body_exit_shape"> @@ -32055,46 +32153,46 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="local_shape" type="int"> </argument> <description> - Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. - This signal not only receives the body that stopped colliding with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body stopped colliding with. + Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. + This signal not only receives the body that stopped colliding with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body stopped colliding with. </description> </signal> <signal name="sleeping_state_changed"> <description> - Emitted when the body changes it's sleeping state. Either by sleeping or waking up. + Emitted when the body changes it's sleeping state. Either by sleeping or waking up. </description> </signal> </signals> <constants> - <constant name="MODE_RIGID" value="0"> - Rigid body. This is the "natural" state of a rigid body. It is affected by forces, and can move, rotate, and be affected by user code. - </constant> <constant name="MODE_STATIC" value="1"> Static mode. The body behaves like a [StaticBody], and can only move by user code. </constant> - <constant name="MODE_CHARACTER" value="2"> - Character body. This behaves like a rigid body, but can not rotate. - </constant> <constant name="MODE_KINEMATIC" value="3"> Kinematic body. The body behaves like a [KinematicBody], and can only move by user code. </constant> + <constant name="MODE_RIGID" value="0"> + Rigid body. This is the "natural" state of a rigid body. It is affected by forces, and can move, rotate, and be affected by user code. + </constant> + <constant name="MODE_CHARACTER" value="2"> + Character body. This behaves like a rigid body, but can not rotate. + </constant> </constants> </class> <class name="RigidBody2D" inherits="PhysicsBody2D" category="Core"> <brief_description> - Rigid body 2D node. + Rigid body 2D node. </brief_description> <description> - Rigid body 2D node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift state between regular Rigid body, Kinematic, Character or Static. - Character mode forbids the node from being rotated. This node can have a custom force integrator function, for writing complex physics motion behavior per node. - As a warning, don't change this node position every frame or very often. Sporadic changes work fine, but physics runs at a different granularity (fixed hz) than usual rendering (process callback) and maybe even in a separate thread, so changing this from a process loop will yield strange behavior. + Rigid body 2D node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift state between regular Rigid body, Kinematic, Character or Static. + Character mode forbids the node from being rotated. This node can have a custom force integrator function, for writing complex physics motion behavior per node. + As a warning, don't change this node position every frame or very often. Sporadic changes work fine, but physics runs at a different granularity (fixed hz) than usual rendering (process callback) and maybe even in a separate thread, so changing this from a process loop will yield strange behavior. </description> <methods> <method name="_integrate_forces" qualifiers="virtual"> <argument index="0" name="state" type="Physics2DDirectBodyState"> </argument> <description> - 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. + 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_force"> @@ -32103,7 +32201,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="force" type="Vector2"> </argument> <description> - Add a positioned force to the applied force and torque. As with [method apply_impulse], both the force and the offset from the body origin are in global coordinates. + Add a positioned force to the applied force and torque. As with [method apply_impulse], both the force and the offset from the body origin are in global coordinates. </description> </method> <method name="apply_impulse"> @@ -32112,289 +32210,289 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="impulse" type="Vector2"> </argument> <description> - Apply a positioned impulse (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 once, and only once. Both the impulse and the offset from the body origin are in global coordinates. + Apply a positioned impulse (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 once, and only once. Both the impulse and the offset from the body origin are in global coordinates. </description> </method> <method name="get_angular_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the angular damp for this body. + Return the angular damp for this body. </description> </method> <method name="get_angular_velocity" qualifiers="const"> <return type="float"> </return> <description> - Return the body angular velocity. This changes by physics granularity. See [method set_angular_velocity]. + Return the body angular velocity. This changes by physics granularity. See [method set_angular_velocity]. </description> </method> <method name="get_applied_force" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the applied force vector. + Return the applied force vector. </description> </method> <method name="get_applied_torque" qualifiers="const"> <return type="float"> </return> <description> - Return the torque which is being applied to this body. + Return the torque which is being applied to this body. </description> </method> <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> - Return the body bounciness. + Return the body bounciness. </description> </method> <method name="get_colliding_bodies" qualifiers="const"> <return type="Array"> </return> <description> - Return a list of the bodies colliding with this one. + Return a list of the bodies colliding with this one. </description> </method> <method name="get_continuous_collision_detection_mode" qualifiers="const"> <return type="int"> </return> <description> - Return whether this body is using continuous collision detection. + Return whether this body is using continuous collision detection. </description> </method> <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> - Return the body friction. + Return the body friction. </description> </method> <method name="get_gravity_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the gravity factor. + Return the gravity factor. </description> </method> <method name="get_inertia" qualifiers="const"> <return type="float"> </return> <description> - Return the body's moment of inertia. This is usually automatically computed from the mass and the shapes. Note that this doesn't seem to work in a [code]_ready[/code] function: it apparently has not been auto-computed yet. + Return the body's moment of inertia. This is usually automatically computed from the mass and the shapes. Note that this doesn't seem to work in a [code]_ready[/code] function: it apparently has not been auto-computed yet. </description> </method> <method name="get_linear_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the linear damp for this body. + Return the linear damp for this body. </description> </method> <method name="get_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the body linear velocity. This changes by physics granularity. See [method set_linear_velocity]. + Return the body linear velocity. This changes by physics granularity. See [method set_linear_velocity]. </description> </method> <method name="get_mass" qualifiers="const"> <return type="float"> </return> <description> - Return the body mass. + Return the body mass. </description> </method> <method name="get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <description> - Return the maximum contacts that can be reported. See [method set_max_contacts_reported]. + Return the maximum contacts that can be reported. See [method set_max_contacts_reported]. </description> </method> <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the current body mode, see [method set_mode]. + Return the current body mode, see [method set_mode]. </description> </method> <method name="get_weight" qualifiers="const"> <return type="float"> </return> <description> - Return the body weight given standard earth-weight (gravity 9.8). + Return the body weight given standard earth-weight (gravity 9.8). </description> </method> <method name="is_able_to_sleep" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the body has the ability to fall asleep when not moving. See [method set_can_sleep]. + Return true if the body has the ability to fall asleep when not moving. See [method set_can_sleep]. </description> </method> <method name="is_contact_monitor_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether contact monitoring is enabled. + Return whether contact monitoring is enabled. </description> </method> <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the body is sleeping. + Return whether the body is sleeping. </description> </method> <method name="is_using_custom_integrator"> <return type="bool"> </return> <description> - Return true if the body is not doing any built-in force integration. + Return true if the body is not doing any built-in force integration. </description> </method> <method name="set_angular_damp"> <argument index="0" name="angular_damp" type="float"> </argument> <description> - Set the angular damp for this body. If this value is different from -1, any angular damp derived from the world or areas will be overridden. + Set the angular damp for this body. If this value is different from -1, any angular damp derived from the world or areas will be overridden. </description> </method> <method name="set_angular_velocity"> <argument index="0" name="angular_velocity" type="float"> </argument> <description> - Set the body angular velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. + Set the body angular velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. </description> </method> <method name="set_applied_force"> <argument index="0" name="force" type="Vector2"> </argument> <description> - Set the applied force vector. This is the equivalent of pushing a box over the ground: the force applied is applied constantly. + Set the applied force vector. This is the equivalent of pushing a box over the ground: the force applied is applied constantly. </description> </method> <method name="set_applied_torque"> <argument index="0" name="torque" type="float"> </argument> <description> - Set a constant torque which will be applied to this body. + Set a constant torque which will be applied to this body. </description> </method> <method name="set_axis_velocity"> <argument index="0" name="axis_velocity" type="Vector2"> </argument> <description> - Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. + Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. </description> </method> <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> - Set the body bounciness, from 0 (no bounce) to 1 (full bounce). + Set the body bounciness, from 0 (no bounce) to 1 (full bounce). </description> </method> <method name="set_can_sleep"> <argument index="0" name="able_to_sleep" type="bool"> </argument> <description> - Set the body ability to fall asleep when not moving. This saves an enormous amount of processor time when there are plenty of rigid bodies (non static) in a scene. - Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] / [method set_applied_force] wakes them up. Until then, they behave like a static body. + Set the body ability to fall asleep when not moving. This saves an enormous amount of processor time when there are plenty of rigid bodies (non static) in a scene. + Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] / [method set_applied_force] wakes them up. Until then, they behave like a static body. </description> </method> <method name="set_contact_monitor"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Enable contact monitoring. This allows the body to emit signals when it collides with another. + Enable contact monitoring. This allows the body to emit signals when it collides with another. </description> </method> <method name="set_continuous_collision_detection_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the continuous collision detection mode from the enum CCD_MODE_*. - Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. The first is more precise, and misses less impacts by small, fast-moving objects. The second is faster to compute, but can miss small, fast-moving objects. + Set the continuous collision detection mode from the enum CCD_MODE_*. + Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. The first is more precise, and misses less impacts by small, fast-moving objects. The second is faster to compute, but can miss small, fast-moving objects. </description> </method> <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> - Set the body friction, from 0 (frictionless) to 1 (full friction). + Set the body friction, from 0 (frictionless) to 1 (full friction). </description> </method> <method name="set_gravity_scale"> <argument index="0" name="gravity_scale" type="float"> </argument> <description> - Set the gravity factor. This factor multiplies gravity intensity just for this body. + Set the gravity factor. This factor multiplies gravity intensity just for this body. </description> </method> <method name="set_inertia"> <argument index="0" name="inertia" type="float"> </argument> <description> - Set the body's moment of inertia. This is like mass, but for rotation: it determines how much torque it takes to rotate the body. The moment of inertia is usually computed automatically from the mass and the shapes, but this function allows you to set a custom value. Set 0 (or negative) inertia to return to automatically computing it. + Set the body's moment of inertia. This is like mass, but for rotation: it determines how much torque it takes to rotate the body. The moment of inertia is usually computed automatically from the mass and the shapes, but this function allows you to set a custom value. Set 0 (or negative) inertia to return to automatically computing it. </description> </method> <method name="set_linear_damp"> <argument index="0" name="linear_damp" type="float"> </argument> <description> - Set the linear damp for this body. If this value is different from -1, any linear damp derived from the world or areas will be overridden. + Set the linear damp for this body. If this value is different from -1, any linear damp derived from the world or areas will be overridden. </description> </method> <method name="set_linear_velocity"> <argument index="0" name="linear_velocity" type="Vector2"> </argument> <description> - Set the body linear velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. + Set the body linear velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may be running in another thread and definitely runs at a different granularity. Use [method _integrate_forces] as your process loop if you want to have precise control of the body state. </description> </method> <method name="set_mass"> <argument index="0" name="mass" type="float"> </argument> <description> - Set the body mass. + Set the body mass. </description> </method> <method name="set_max_contacts_reported"> <argument index="0" name="amount" type="int"> </argument> <description> - Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. + Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. </description> </method> <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the body mode, from the MODE_* enum. This allows to change to a static body or a character body. + Set the body mode, from the MODE_* enum. This allows to change to a static body or a character body. </description> </method> <method name="set_sleeping"> <argument index="0" name="sleeping" type="bool"> </argument> <description> - Set whether a body is sleeping or not. Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] / [method set_applied_force] wakes them up. Until then, they behave like a static body. + Set whether a body is sleeping or not. Sleeping bodies are not affected by forces until a collision or an [method apply_impulse] / [method set_applied_force] wakes them up. Until then, they behave like a static body. </description> </method> <method name="set_use_custom_integrator"> <argument index="0" name="enable" type="bool"> </argument> <description> - Pass true to disable the internal force integration (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined. + Pass true to disable the internal force integration (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined. </description> </method> <method name="set_weight"> <argument index="0" name="weight" type="float"> </argument> <description> - Set the body weight given standard earth-weight (gravity 9.8). Not really useful for 2D since most measures for this node are in pixels. + Set the body weight given standard earth-weight (gravity 9.8). Not really useful for 2D since most measures for this node are in pixels. </description> </method> <method name="test_motion"> @@ -32407,7 +32505,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="result" type="Physics2DTestMotionResult" default="NULL"> </argument> <description> - Return whether the body would collide, if it tried to move in the given vector. This method allows two extra parameters: A margin, which increases slightly the size of the shapes involved in the collision detection, and an object of type [Physics2DTestMotionResult], which will store additional information about the collision (should there be one). + Return whether the body would collide, if it tried to move in the given vector. This method allows two extra parameters: A margin, which increases slightly the size of the shapes involved in the collision detection, and an object of type [Physics2DTestMotionResult], which will store additional information about the collision (should there be one). </description> </method> </methods> @@ -32416,7 +32514,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="body" type="Object"> </argument> <description> - Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. + Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. </description> </signal> <signal name="body_enter_shape"> @@ -32429,15 +32527,15 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="local_shape" type="int"> </argument> <description> - Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. - This signal not only receives the body that collided with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body collided with. + Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work. + This signal not only receives the body that collided with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body collided with. </description> </signal> <signal name="body_exit"> <argument index="0" name="body" type="Object"> </argument> <description> - Emitted when a body exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. + Emitted when a body exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. </description> </signal> <signal name="body_exit_shape"> @@ -32450,46 +32548,46 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="local_shape" type="int"> </argument> <description> - Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. - This signal not only receives the body that stopped colliding with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body stopped colliding with. + Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work. + This signal not only receives the body that stopped colliding with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body stopped colliding with. </description> </signal> <signal name="sleeping_state_changed"> <description> - Emitted when the body changes it's sleeping state. Either by sleeping or waking up. + Emitted when the body changes it's sleeping state. Either by sleeping or waking up. </description> </signal> </signals> <constants> - <constant name="CCD_MODE_DISABLED" value="0"> - Disables continuous collision detection. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. - </constant> - <constant name="CCD_MODE_CAST_RAY" value="1"> - Enables continuous collision detection by raycasting. It is faster than shapecasting, but less precise. + <constant name="MODE_STATIC" value="1"> + Static mode. The body behaves like a [StaticBody2D], and can only move by user code. </constant> - <constant name="CCD_MODE_CAST_SHAPE" value="2"> - Enables continuous collision detection by shapecasting. It is the slowest CCD method, and the most precise. + <constant name="MODE_KINEMATIC" value="3"> + Kinematic body. The body behaves like a [KinematicBody2D], and can only move by user code. </constant> <constant name="MODE_RIGID" value="0"> Rigid body. This is the "natural" state of a rigid body. It is affected by forces, and can move, rotate, and be affected by user code. </constant> - <constant name="MODE_STATIC" value="1"> - Static mode. The body behaves like a [StaticBody2D], and can only move by user code. - </constant> <constant name="MODE_CHARACTER" value="2"> Character body. This behaves like a rigid body, but can not rotate. </constant> - <constant name="MODE_KINEMATIC" value="3"> - Kinematic body. The body behaves like a [KinematicBody2D], and can only move by user code. + <constant name="CCD_MODE_DISABLED" value="0"> + Disables continuous collision detection. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. + </constant> + <constant name="CCD_MODE_CAST_RAY" value="1"> + Enables continuous collision detection by raycasting. It is faster than shapecasting, but less precise. + </constant> + <constant name="CCD_MODE_CAST_SHAPE" value="2"> + Enables continuous collision detection by shapecasting. It is the slowest CCD method, and the most precise. </constant> </constants> </class> <class name="Room" inherits="VisualInstance" category="Core"> <brief_description> - Room data resource. + Room data resource. </brief_description> <description> - Room contains the data to define the bounds of a scene (using a BSP Tree). It is instanced by a [VisualInstance] node to create rooms. See that class documentation for more information about rooms. + Room contains the data to define the bounds of a scene (using a BSP Tree). It is instanced by a [VisualInstance] node to create rooms. See that class documentation for more information about rooms. </description> <methods> <method name="compute_room_from_subtree"> @@ -32568,10 +32666,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Sample" inherits="Resource" category="Core"> <brief_description> - Audio sample (sound) class. + Audio sample (sound) class. </brief_description> <description> - Sample provides an audio sample class, containing audio data, together with some information for playback, such as format, mix rate and loop. It is used by sound playback routines. + Sample provides an audio sample class, containing audio data, together with some information for playback, such as format, mix rate and loop. It is used by sound playback routines. </description> <methods> <method name="create"> @@ -32582,103 +32680,100 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="length" type="int"> </argument> <description> - Create new data for the sample, with format (see FORMAT_* constants), stereo hint, and length in samples (not bytes). - Calling this method overrides previously existing data. Stereo samples are interleaved pairs of left and right points (in that order), but count as one sample for length purposes. + Create new data for the sample, with format (see FORMAT_* constants), stereo hint, and length in samples (not bytes). + Calling this method overrides previously existing data. Stereo samples are interleaved pairs of left and right points (in that order), but count as one sample for length purposes. </description> </method> <method name="get_data" qualifiers="const"> <return type="RawArray"> </return> <description> - Return sample data as little endian. + Return sample data as little endian. </description> </method> <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> - Return the sample format. + Return the sample format. </description> </method> <method name="get_length" qualifiers="const"> <return type="int"> </return> <description> - Return the sample length in samples. Stereo samples count as one, even if they are made of a left and a right sample. + Return the sample length in samples. Stereo samples count as one, even if they are made of a left and a right sample. </description> </method> <method name="get_loop_begin" qualifiers="const"> <return type="int"> </return> <description> - Return the loop begin position. + Return the loop begin position. </description> </method> <method name="get_loop_end" qualifiers="const"> <return type="int"> </return> <description> - Return the loop end position. + Return the loop end position. </description> </method> <method name="get_loop_format" qualifiers="const"> <return type="int"> </return> <description> - Return the loop format. + Return the loop format. </description> </method> <method name="get_mix_rate" qualifiers="const"> <return type="int"> </return> <description> - Return the mix rate for the sample. + Return the mix rate for the sample. </description> </method> <method name="is_stereo" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the current sample was created as stereo. + Return whether the current sample was created as stereo. </description> </method> <method name="set_data"> <argument index="0" name="data" type="RawArray"> </argument> <description> - Set sample data. Data must be little endian, no matter the host platform, and exactly as long as to fit all samples. The length of this array can be calculated as follows: - Get the sample length ([method get_length]). - If the sample format is FORMAT_PCM16, multiply it by 2. - If the sample format is FORMAT_IMA_ADPCM, divide it by 2 (rounding any fraction up), then add 4. - If the sample is stereo ([method is_stereo]), multiply it by 2. + Set sample data. Data must be little endian, no matter the host platform, and exactly as long as to fit all samples. The length of this array can be calculated as follows: + Get the sample length ([method get_length]). If the sample format is FORMAT_PCM16, multiply it by 2. If the sample format is FORMAT_IMA_ADPCM, divide it by 2 (rounding any fraction up), then add 4. If the sample is stereo ([method is_stereo]), multiply it by 2. </description> </method> <method name="set_loop_begin"> <argument index="0" name="pos" type="int"> </argument> <description> - Set the loop begin position. It must be a valid frame and less than the loop end position. + Set the loop begin position. It must be a valid frame and less than the loop end position. </description> </method> <method name="set_loop_end"> <argument index="0" name="pos" type="int"> </argument> <description> - Set the loop end position. It must be a valid frame and greater than the loop begin position. + Set the loop end position. It must be a valid frame and greater than the loop begin position. </description> </method> <method name="set_loop_format"> <argument index="0" name="format" type="int"> </argument> <description> - Set the loop format (use LOOP_* constants as argument). + Set the loop format (use LOOP_* constants as argument). </description> </method> <method name="set_mix_rate"> <argument index="0" name="hz" type="int"> </argument> <description> - Set the mix rate for the sample (expected playback frequency). + Set the mix rate for the sample (expected playback frequency). </description> </method> </methods> @@ -32705,10 +32800,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SampleLibrary" inherits="Resource" category="Core"> <brief_description> - Library that contains a collection of samples. + Library that contains a collection of samples. </brief_description> <description> - Library that contains a collection of [Sample], each identified by a text ID. This is used as a data container for the majority of the SamplePlayer classes and derivatives. + Library that contains a collection of [Sample], each identified by a text ID. This is used as a data container for the majority of the SamplePlayer classes and derivatives. </description> <methods> <method name="add_sample"> @@ -32717,7 +32812,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="sample" type="Sample"> </argument> <description> - Add a sample to the library, with a given text ID. + Add a sample to the library, with a given text ID. </description> </method> <method name="get_sample" qualifiers="const"> @@ -32726,7 +32821,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return the sample from the library matching the given text ID. Return null if the sample is not found. + Return the sample from the library matching the given text ID. Return null if the sample is not found. </description> </method> <method name="has_sample" qualifiers="const"> @@ -32735,14 +32830,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return true if the sample text ID exists in the library. + Return true if the sample text ID exists in the library. </description> </method> <method name="remove_sample"> <argument index="0" name="name" type="String"> </argument> <description> - Remove the sample matching the given text ID. + Remove the sample matching the given text ID. </description> </method> <method name="sample_get_pitch_scale" qualifiers="const"> @@ -32751,7 +32846,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return the pitch scale for the given sample. + Return the pitch scale for the given sample. </description> </method> <method name="sample_get_volume_db" qualifiers="const"> @@ -32760,7 +32855,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return the volume (in dB) for the given sample. + Return the volume (in dB) for the given sample. </description> </method> <method name="sample_set_pitch_scale"> @@ -32769,7 +32864,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="pitch" type="float"> </argument> <description> - Set the pitch scale for the given sample. + Set the pitch scale for the given sample. </description> </method> <method name="sample_set_volume_db"> @@ -32778,7 +32873,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="db" type="float"> </argument> <description> - Set the volume (in dB) for the given sample. + Set the volume (in dB) for the given sample. </description> </method> </methods> @@ -32787,10 +32882,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SamplePlayer" inherits="Node" category="Core"> <brief_description> - Sample Player node. + Sample Player node. </brief_description> <description> - SamplePlayer is a [Node] meant for simple sample playback. A library of samples is loaded and played back "as is", without positioning or anything. + SamplePlayer is a [Node] meant for simple sample playback. A library of samples is loaded and played back "as is", without positioning or anything. </description> <methods> <method name="get_chorus" qualifiers="const"> @@ -32799,98 +32894,98 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current chorus send level for a given voice. + Return the current chorus send level for a given voice. </description> </method> <method name="get_default_chorus" qualifiers="const"> <return type="float"> </return> <description> - Return the default chorus send level of the player. + Return the default chorus send level of the player. </description> </method> <method name="get_default_filter_cutoff" qualifiers="const"> <return type="float"> </return> <description> - Return the default filter cutoff frequency of the player. + Return the default filter cutoff frequency of the player. </description> </method> <method name="get_default_filter_gain" qualifiers="const"> <return type="float"> </return> <description> - Return the default filter gain of the player. + Return the default filter gain of the player. </description> </method> <method name="get_default_filter_resonance" qualifiers="const"> <return type="float"> </return> <description> - Return the default filter resonance of the player. + Return the default filter resonance of the player. </description> </method> <method name="get_default_filter_type" qualifiers="const"> <return type="int"> </return> <description> - Return the default filter type in use (see FILTER_* constants) for the player. + Return the default filter type in use (see FILTER_* constants) for the player. </description> </method> <method name="get_default_pan" qualifiers="const"> <return type="float"> </return> <description> - Return the default panning of the player. + Return the default panning of the player. </description> </method> <method name="get_default_pan_depth" qualifiers="const"> <return type="float"> </return> <description> - Return the default pan depth of the player. + Return the default pan depth of the player. </description> </method> <method name="get_default_pan_height" qualifiers="const"> <return type="float"> </return> <description> - Return the default pan height of the player. + Return the default pan height of the player. </description> </method> <method name="get_default_pitch_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the default pitch scale of the player. + Return the default pitch scale of the player. </description> </method> <method name="get_default_reverb" qualifiers="const"> <return type="float"> </return> <description> - Return the default reverberation send level of the player. + Return the default reverberation send level of the player. </description> </method> <method name="get_default_reverb_room" qualifiers="const"> <return type="int"> </return> <description> - Return the default reverberation room type of the player (see REVERB_* enum). + Return the default reverberation room type of the player (see REVERB_* enum). </description> </method> <method name="get_default_volume" qualifiers="const"> <return type="float"> </return> <description> - Return the default volume (on a linear scale) of the player. + Return the default volume (on a linear scale) of the player. </description> </method> <method name="get_default_volume_db" qualifiers="const"> <return type="float"> </return> <description> - Return the default volume (in dB) of the player. + Return the default volume (in dB) of the player. </description> </method> <method name="get_filter_cutoff" qualifiers="const"> @@ -32899,7 +32994,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter cutoff frequency for a given voice. + Return the current filter cutoff frequency for a given voice. </description> </method> <method name="get_filter_gain" qualifiers="const"> @@ -32908,7 +33003,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter gain for a given voice. + Return the current filter gain for a given voice. </description> </method> <method name="get_filter_resonance" qualifiers="const"> @@ -32917,7 +33012,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter resonance for a given voice. + Return the current filter resonance for a given voice. </description> </method> <method name="get_filter_type" qualifiers="const"> @@ -32926,7 +33021,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter type in use (see FILTER_* constants) for a given voice. + Return the current filter type in use (see FILTER_* constants) for a given voice. </description> </method> <method name="get_mix_rate" qualifiers="const"> @@ -32935,7 +33030,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current mix rate for a given voice. + Return the current mix rate for a given voice. </description> </method> <method name="get_pan" qualifiers="const"> @@ -32944,7 +33039,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current panning for a given voice. + Return the current panning for a given voice. </description> </method> <method name="get_pan_depth" qualifiers="const"> @@ -32953,7 +33048,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current pan depth for a given voice. + Return the current pan depth for a given voice. </description> </method> <method name="get_pan_height" qualifiers="const"> @@ -32962,7 +33057,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current pan height for a given voice. + Return the current pan height for a given voice. </description> </method> <method name="get_pitch_scale" qualifiers="const"> @@ -32971,14 +33066,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current pitch scale for a given voice. + Return the current pitch scale for a given voice. </description> </method> <method name="get_polyphony" qualifiers="const"> <return type="int"> </return> <description> - Return the polyphony of the player. + Return the polyphony of the player. </description> </method> <method name="get_reverb" qualifiers="const"> @@ -32987,7 +33082,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current reverberation send level for a given voice. + Return the current reverberation send level for a given voice. </description> </method> <method name="get_reverb_room" qualifiers="const"> @@ -32996,14 +33091,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current reverberation room type for a given voice (see REVERB_* enum). + Return the current reverberation room type for a given voice (see REVERB_* enum). </description> </method> <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> - Return the sample library used by the player. + Return the sample library used by the player. </description> </method> <method name="get_volume" qualifiers="const"> @@ -33012,7 +33107,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current volume (on a linear scale) for a given voice. + Return the current volume (on a linear scale) for a given voice. </description> </method> <method name="get_volume_db" qualifiers="const"> @@ -33021,14 +33116,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return the current volume (in dB) for a given voice. + Return the current volume (in dB) for a given voice. </description> </method> <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the player is currently active. + Return whether the player is currently active. </description> </method> <method name="is_voice_active" qualifiers="const"> @@ -33037,7 +33132,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return whether the given voice is currently active. + Return whether the given voice is currently active. </description> </method> <method name="play"> @@ -33048,8 +33143,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="unique" type="bool" default="false"> </argument> <description> - Play a sample referenced by its name. - Optionally, the playback can be made "unique" to force stopping all other samples currently played. The voices allocated for playback will then be returned. + Play a sample referenced by its name. + Optionally, the playback can be made "unique" to force stopping all other samples currently played. The voices allocated for playback will then be returned. </description> </method> <method name="set_chorus"> @@ -33058,14 +33153,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="send" type="float"> </argument> <description> - Set the chorus send level of a voice (from 0 to 1.0). For setting chorus parameters, see [AudioServer]. + Set the chorus send level of a voice (from 0 to 1.0). For setting chorus parameters, see [AudioServer]. </description> </method> <method name="set_default_chorus"> <argument index="0" name="send" type="float"> </argument> <description> - Set the default chorus send level of the player (from 0 to 1.0). For setting chorus parameters, see [AudioServer]. + Set the default chorus send level of the player (from 0 to 1.0). For setting chorus parameters, see [AudioServer]. </description> </method> <method name="set_default_filter"> @@ -33078,7 +33173,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="gain" type="float" default="0"> </argument> <description> - Set the default filter for the player, using the given type (see FILTER_* constants), cutoff frequency (from 20 to 16,384 Hz) and resonance (from 0 to 4.0). + Set the default filter for the player, using the given type (see FILTER_* constants), cutoff frequency (from 20 to 16,384 Hz) and resonance (from 0 to 4.0). Optionally, a gain can also be given (from 0 to 2.0). </description> </method> @@ -33090,15 +33185,15 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="height" type="float" default="0"> </argument> <description> - Set the default panning of the player. Panning goes from -1.0 (left) to +1.0 (right). - Optionally, for hardware than support 3D sound, one can also set depth and height (also in range -1.0 to +1.0). + Set the default panning of the player. Panning goes from -1.0 (left) to +1.0 (right). + Optionally, for hardware than support 3D sound, one can also set depth and height (also in range -1.0 to +1.0). </description> </method> <method name="set_default_pitch_scale"> <argument index="0" name="ratio" type="float"> </argument> <description> - Set the default pitch scale of the player. A ratio of 1.0 is the normal scale. + Set the default pitch scale of the player. A ratio of 1.0 is the normal scale. </description> </method> <method name="set_default_reverb"> @@ -33107,24 +33202,24 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="send" type="float"> </argument> <description> - Set the default reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of the player. + Set the default reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of the player. </description> </method> <method name="set_default_volume"> <argument index="0" name="volume" type="float"> </argument> <description> - Set the default volume of the player using a linear scale. - The "volume" argument should be a positive factor ranging from 0.0 (mute) up to 16.0 (i.e. 24 dB). - A factor of 1.0 means that the voice will be played at normal system volume. Factors above 1.0 might be limited by the platform's audio output. + Set the default volume of the player using a linear scale. + The "volume" argument should be a positive factor ranging from 0.0 (mute) up to 16.0 (i.e. 24 dB). + A factor of 1.0 means that the voice will be played at normal system volume. Factors above 1.0 might be limited by the platform's audio output. </description> </method> <method name="set_default_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> - Set the default volume of the player in dB. - The "dB" argument can range from -80 to 24 dB, 0 dB being the maximum volume. Every 6 dB (resp. -6 dB), the volume is increased (resp. reduced) by half. + Set the default volume of the player in dB. + The "dB" argument can range from -80 to 24 dB, 0 dB being the maximum volume. Every 6 dB (resp. -6 dB), the volume is increased (resp. reduced) by half. </description> </method> <method name="set_filter"> @@ -33139,8 +33234,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="gain" type="float" default="0"> </argument> <description> - Set the filter for a given voice, using the given type (see FILTER_* constants), cutoff frequency (from 20 to 16,384 Hz) and resonance (from 0 to 4.0). - Optionally, a gain can also be given (from 0 to 2.0). + Set the filter for a given voice, using the given type (see FILTER_* constants), cutoff frequency (from 20 to 16,384 Hz) and resonance (from 0 to 4.0). + Optionally, a gain can also be given (from 0 to 2.0). </description> </method> <method name="set_mix_rate"> @@ -33149,7 +33244,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="hz" type="int"> </argument> <description> - Set the mix rate (in Hz) of a given voice. + Set the mix rate (in Hz) of a given voice. </description> </method> <method name="set_pan"> @@ -33162,8 +33257,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="height" type="float" default="0"> </argument> <description> - Set the panning of a voice. Panning goes from -1.0 (left) to +1.0 (right). - Optionally, for hardware than support 3D sound, one can also set depth and height (also in range -1.0 to +1.0). + Set the panning of a voice. Panning goes from -1.0 (left) to +1.0 (right). + Optionally, for hardware than support 3D sound, one can also set depth and height (also in range -1.0 to +1.0). </description> </method> <method name="set_pitch_scale"> @@ -33172,14 +33267,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="ratio" type="float"> </argument> <description> - Set the pitch scale of a given voice. A ratio of 1.0 is the normal scale. + Set the pitch scale of a given voice. A ratio of 1.0 is the normal scale. </description> </method> <method name="set_polyphony"> <argument index="0" name="max_voices" type="int"> </argument> <description> - Set the polyphony of the player (maximum amount of simultaneous voices). + Set the polyphony of the player (maximum amount of simultaneous voices). </description> </method> <method name="set_reverb"> @@ -33190,14 +33285,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="send" type="float"> </argument> <description> - Set the reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of a voice. + Set the reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of a voice. </description> </method> <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> - Set the sample library for the player. + Set the sample library for the player. </description> </method> <method name="set_volume"> @@ -33206,9 +33301,9 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="volume" type="float"> </argument> <description> - Set the volume of a given voice using a linear scale. - The "volume" argument should be a positive factor ranging from 0.0 (mute) up to 16.0 (i.e. 24 dB). - A factor of 1.0 means that the voice will be played at normal system volume. Factors above 1.0 might be limited by the platform's audio output. + Set the volume of a given voice using a linear scale. + The "volume" argument should be a positive factor ranging from 0.0 (mute) up to 16.0 (i.e. 24 dB). + A factor of 1.0 means that the voice will be played at normal system volume. Factors above 1.0 might be limited by the platform's audio output. </description> </method> <method name="set_volume_db"> @@ -33217,20 +33312,20 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="db" type="float"> </argument> <description> - Set the volume of a given voice in dB. - The "dB" argument can range from -80 to 24 dB, 0 dB being the maximum volume. Every 6 dB (resp. -6 dB), the volume is increased (resp. reduced) by half. + Set the volume of a given voice in dB. + The "dB" argument can range from -80 to 24 dB, 0 dB being the maximum volume. Every 6 dB (resp. -6 dB), the volume is increased (resp. reduced) by half. </description> </method> <method name="stop"> <argument index="0" name="voice" type="int"> </argument> <description> - Stop a given voice. + Stop a given voice. </description> </method> <method name="stop_all"> <description> - Stop all playing voices. + Stop all playing voices. </description> </method> </methods> @@ -33262,9 +33357,6 @@ A similar effect may be achieved moving this node's descendants. <constant name="FILTER_HIGH_SHELF" value="8"> High-shelf filter is used for voice. </constant> - <constant name="INVALID_VOICE_ID" value="-1"> - Value returned if the voice ID is invalid. - </constant> <constant name="REVERB_SMALL" value="0"> Small reverberation room (house room). </constant> @@ -33277,35 +33369,38 @@ A similar effect may be achieved moving this node's descendants. <constant name="REVERB_HALL" value="3"> Huge reverberation room (cathedral, warehouse). </constant> + <constant name="INVALID_VOICE_ID" value="-1"> + Value returned if the voice ID is invalid. + </constant> </constants> </class> <class name="SamplePlayer2D" inherits="SoundPlayer2D" category="Core"> <brief_description> - Sample player for positional 2D Sound. + Sample player for positional 2D Sound. </brief_description> <description> - Sample player for positional 2D Sound. Plays sound samples positionally, left and right depending on the distance/place on the screen. + Sample player for positional 2D Sound. Plays sound samples positionally, left and right depending on the distance/place on the screen. </description> <methods> <method name="get_polyphony" qualifiers="const"> <return type="int"> </return> <description> - Return the polyphony of the player. + Return the polyphony of the player. </description> </method> <method name="get_random_pitch_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the amplitude used for random pitch scale variations. + Return the amplitude used for random pitch scale variations. </description> </method> <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> - Return the sample library used by the player. + Return the sample library used by the player. </description> </method> <method name="is_voice_active" qualifiers="const"> @@ -33314,7 +33409,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="voice" type="int"> </argument> <description> - Return whether a voice is still active or has stopped playing. + Return whether a voice is still active or has stopped playing. </description> </method> <method name="play"> @@ -33325,44 +33420,44 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="voice" type="int" default="-2"> </argument> <description> - Play a sample. An internal polyphony ID can optionally be passed, or defaults to NEXT_VOICE. - Return a voice ID which can be used to modify the voice parameters, or INVALID_VOICE if the voice or sample are invalid. + Play a sample. An internal polyphony ID can optionally be passed, or defaults to NEXT_VOICE. + Return a voice ID which can be used to modify the voice parameters, or INVALID_VOICE if the voice or sample are invalid. </description> </method> <method name="set_polyphony"> <argument index="0" name="max_voices" type="int"> </argument> <description> - Set the polyphony of the player (maximum amount of simultaneous voices). + Set the polyphony of the player (maximum amount of simultaneous voices). </description> </method> <method name="set_random_pitch_scale"> <argument index="0" name="val" type="float"> </argument> <description> - Set the amplitude for random pitch scale variations. If different from zero, the pitch scale will vary randomly around 1.0 in a range defined by val. - The actual pitch scale will be, with "variation" ranging from -val to val: - * variation > 0: 1.0 + variation - * variation < 0: 1.0/(1.0 - variation) + Set the amplitude for random pitch scale variations. If different from zero, the pitch scale will vary randomly around 1.0 in a range defined by val. + The actual pitch scale will be, with "variation" ranging from -val to val: + * variation > 0: 1.0 + variation + * variation < 0: 1.0/(1.0 - variation) </description> </method> <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> - Set the sample library for the player. + Set the sample library for the player. </description> </method> <method name="stop_all"> <description> - Stop all playing voices. + Stop all playing voices. </description> </method> <method name="stop_voice"> <argument index="0" name="voice" type="int"> </argument> <description> - Stop a given voice. + Stop a given voice. </description> </method> <method name="voice_set_pitch_scale"> @@ -33371,7 +33466,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="ratio" type="float"> </argument> <description> - Change the pitch scale of a currently playing voice. + Change the pitch scale of a currently playing voice. </description> </method> <method name="voice_set_volume_scale_db"> @@ -33380,7 +33475,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="db" type="float"> </argument> <description> - Change the volume scale (in dB) of a currently playing voice. + Change the volume scale (in dB) of a currently playing voice. </description> </method> </methods> @@ -33809,49 +33904,49 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="GROUP_CALL_UNIQUE" value="4"> </constant> - <constant name="STRETCH_ASPECT_IGNORE" value="0"> - </constant> <constant name="STRETCH_MODE_DISABLED" value="0"> </constant> - <constant name="STRETCH_ASPECT_KEEP" value="1"> - </constant> <constant name="STRETCH_MODE_2D" value="1"> </constant> - <constant name="STRETCH_ASPECT_KEEP_WIDTH" value="2"> - </constant> <constant name="STRETCH_MODE_VIEWPORT" value="2"> </constant> + <constant name="STRETCH_ASPECT_IGNORE" value="0"> + </constant> + <constant name="STRETCH_ASPECT_KEEP" value="1"> + </constant> + <constant name="STRETCH_ASPECT_KEEP_WIDTH" value="2"> + </constant> <constant name="STRETCH_ASPECT_KEEP_HEIGHT" value="3"> </constant> </constants> </class> <class name="Script" inherits="Resource" category="Core"> <brief_description> - Base class for scripts. + Base class for scripts. </brief_description> <description> - Base class for scripts. Any script that is loaded becomes one of these resources, which can then create instances. + Base class for scripts. Any script that is loaded becomes one of these resources, which can then create instances. </description> <methods> <method name="can_instance" qualifiers="const"> <return type="bool"> </return> <description> - Return true if this script can be instance (ie not a library). + Return true if this script can be instance (ie not a library). </description> </method> <method name="get_source_code" qualifiers="const"> <return type="String"> </return> <description> - Return the script source code (if available). + Return the script source code (if available). </description> </method> <method name="has_source_code" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the script contains source code. + Return true if the script contains source code. </description> </method> <method name="instance_has" qualifiers="const"> @@ -33860,7 +33955,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="base_object" type="Object"> </argument> <description> - Return true if a given object uses an instance of this script. + Return true if a given object uses an instance of this script. </description> </method> <method name="reload"> @@ -33875,7 +33970,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="source" type="String"> </argument> <description> - Set the script source code. + Set the script source code. </description> </method> </methods> @@ -33884,10 +33979,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ScrollBar" inherits="Range" category="Core"> <brief_description> - Base class for scroll bars. + Base class for scroll bars. </brief_description> <description> - Scrollbars are a [Range] based [Control], that display a draggable area (the size of the page). Horizontal ([HScrollBar]) and Vertical ([VScrollBar]) versions are available. + Scrollbars are a [Range] based [Control], that display a draggable area (the size of the page). Horizontal ([HScrollBar]) and Vertical ([VScrollBar]) versions are available. </description> <methods> <method name="get_custom_step" qualifiers="const"> @@ -33908,66 +34003,66 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ScrollContainer" inherits="Container" category="Core"> <brief_description> - A helper node for displaying scrollable elements (e.g. lists). + A helper node for displaying scrollable elements (e.g. lists). </brief_description> <description> - A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a [Panel] control. + A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a [Panel] control. </description> <methods> <method name="get_h_scroll" qualifiers="const"> <return type="int"> </return> <description> - Return current horizontal scroll value. + Return current horizontal scroll value. </description> </method> <method name="get_v_scroll" qualifiers="const"> <return type="int"> </return> <description> - Return current vertical scroll value. + Return current vertical scroll value. </description> </method> <method name="is_h_scroll_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return true if horizontal scrool is allowed. + Return true if horizontal scrool is allowed. </description> </method> <method name="is_v_scroll_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return true if vertical scrool is allowed. + Return true if vertical scrool is allowed. </description> </method> <method name="set_enable_h_scroll"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set allows horizontal scrool. + Set allows horizontal scrool. </description> </method> <method name="set_enable_v_scroll"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set allows vertical scrool. + Set allows vertical scrool. </description> </method> <method name="set_h_scroll"> <argument index="0" name="val" type="int"> </argument> <description> - Set horizontal scroll value. + Set horizontal scroll value. </description> </method> <method name="set_v_scroll"> <argument index="0" name="val" type="int"> </argument> <description> - Set vertical scroll value. + Set vertical scroll value. </description> </method> </methods> @@ -33976,38 +34071,38 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SegmentShape2D" inherits="Shape2D" category="Core"> <brief_description> - Segment Shape for 2D Collision Detection. + Segment Shape for 2D Collision Detection. </brief_description> <description> - Segment Shape for 2D Collision Detection, consists of two points, 'a' and 'b'. + Segment Shape for 2D Collision Detection, consists of two points, 'a' and 'b'. </description> <methods> <method name="get_a" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the first point's position. + Return the first point's position. </description> </method> <method name="get_b" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the second point's position. + Return the second point's position. </description> </method> <method name="set_a"> <argument index="0" name="a" type="Vector2"> </argument> <description> - Set the first point's position. + Set the first point's position. </description> </method> <method name="set_b"> <argument index="0" name="b" type="Vector2"> </argument> <description> - Set the second point's position. + Set the second point's position. </description> </method> </methods> @@ -34016,24 +34111,24 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Semaphore" inherits="Reference" category="Core"> <brief_description> - A synchronization Semaphore. + A synchronization Semaphore. </brief_description> <description> - A synchronization Semaphore. Element used in multi-threadding. Initialized to zero on creation. + A synchronization Semaphore. Element used in multi-threadding. Initialized to zero on creation. </description> <methods> <method name="post"> <return type="Error"> </return> <description> - Lowers the [Semaphore], allowing one more thread in. + Lowers the [Semaphore], allowing one more thread in. </description> </method> <method name="wait"> <return type="Error"> </return> <description> - Tries to wait for the [Semaphore], if it's value is zero, blocks until non-zero. + Tries to wait for the [Semaphore], if it's value is zero, blocks until non-zero. </description> </method> </methods> @@ -34042,10 +34137,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Separator" inherits="Control" category="Core"> <brief_description> - Base class for separators. + Base class for separators. </brief_description> <description> - Separator is a [Control] used for separating other controls. It's purely a visual decoration. Horizontal ([HSeparator]) and Vertical ([VSeparator]) versions are available. + Separator is a [Control] used for separating other controls. It's purely a visual decoration. Horizontal ([HSeparator]) and Vertical ([VSeparator]) versions are available. </description> <methods> </methods> @@ -34054,10 +34149,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Shader" inherits="Resource" category="Core"> <brief_description> - To be changed, ignore. + To be changed, ignore. </brief_description> <description> - To be changed, ignore. + To be changed, ignore. </description> <methods> <method name="get_default_texture_param" qualifiers="const"> @@ -34776,15 +34871,25 @@ A similar effect may be achieved moving this node's descendants. </signal> </signals> <constants> - <constant name="GRAPH_OK" value="0"> + <constant name="NODE_INPUT" value="0"> </constant> - <constant name="GRAPH_ERROR_CYCLIC" value="1"> + <constant name="NODE_SCALAR_CONST" value="1"> </constant> - <constant name="GRAPH_ERROR_MISSING_CONNECTIONS" value="2"> + <constant name="NODE_VEC_CONST" value="2"> </constant> - <constant name="NODE_INPUT" value="0"> + <constant name="NODE_RGB_CONST" value="3"> </constant> - <constant name="NODE_SCALAR_CONST" value="1"> + <constant name="NODE_XFORM_CONST" value="4"> + </constant> + <constant name="NODE_TIME" value="5"> + </constant> + <constant name="NODE_SCREEN_TEX" value="6"> + </constant> + <constant name="NODE_SCALAR_OP" value="7"> + </constant> + <constant name="NODE_VEC_OP" value="8"> + </constant> + <constant name="NODE_VEC_SCALAR_OP" value="9"> </constant> <constant name="NODE_RGB_OP" value="10"> </constant> @@ -34806,12 +34911,10 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="NODE_SCALAR_TO_VEC" value="19"> </constant> - <constant name="NODE_VEC_CONST" value="2"> + <constant name="NODE_VEC_TO_XFORM" value="21"> </constant> <constant name="NODE_XFORM_TO_VEC" value="20"> </constant> - <constant name="NODE_VEC_TO_XFORM" value="21"> - </constant> <constant name="NODE_SCALAR_INTERP" value="22"> </constant> <constant name="NODE_VEC_INTERP" value="23"> @@ -34828,8 +34931,6 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="NODE_XFORM_INPUT" value="29"> </constant> - <constant name="NODE_RGB_CONST" value="3"> - </constant> <constant name="NODE_TEXTURE_INPUT" value="30"> </constant> <constant name="NODE_CUBEMAP_INPUT" value="31"> @@ -34842,163 +34943,157 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="NODE_TYPE_MAX" value="35"> </constant> - <constant name="NODE_XFORM_CONST" value="4"> - </constant> - <constant name="NODE_TIME" value="5"> - </constant> - <constant name="NODE_SCREEN_TEX" value="6"> - </constant> - <constant name="NODE_SCALAR_OP" value="7"> + <constant name="SLOT_TYPE_SCALAR" value="0"> </constant> - <constant name="NODE_VEC_OP" value="8"> + <constant name="SLOT_TYPE_VEC" value="1"> </constant> - <constant name="NODE_VEC_SCALAR_OP" value="9"> + <constant name="SLOT_TYPE_XFORM" value="2"> </constant> - <constant name="RGB_OP_SCREEN" value="0"> + <constant name="SLOT_TYPE_TEXTURE" value="3"> </constant> - <constant name="RGB_OP_DIFFERENCE" value="1"> + <constant name="SLOT_MAX" value="4"> </constant> - <constant name="RGB_OP_DARKEN" value="2"> + <constant name="SHADER_TYPE_VERTEX" value="0"> </constant> - <constant name="RGB_OP_LIGHTEN" value="3"> + <constant name="SHADER_TYPE_FRAGMENT" value="1"> </constant> - <constant name="RGB_OP_OVERLAY" value="4"> + <constant name="SHADER_TYPE_LIGHT" value="2"> </constant> - <constant name="RGB_OP_DODGE" value="5"> + <constant name="SHADER_TYPE_MAX" value="3"> </constant> - <constant name="RGB_OP_BURN" value="6"> + <constant name="SLOT_IN" value="0"> </constant> - <constant name="RGB_OP_SOFT_LIGHT" value="7"> + <constant name="SLOT_OUT" value="1"> </constant> - <constant name="RGB_OP_HARD_LIGHT" value="8"> + <constant name="GRAPH_OK" value="0"> </constant> - <constant name="RGB_MAX_OP" value="9"> + <constant name="GRAPH_ERROR_CYCLIC" value="1"> </constant> - <constant name="SCALAR_FUNC_SIN" value="0"> + <constant name="GRAPH_ERROR_MISSING_CONNECTIONS" value="2"> </constant> <constant name="SCALAR_OP_ADD" value="0"> </constant> - <constant name="SCALAR_FUNC_COS" value="1"> - </constant> <constant name="SCALAR_OP_SUB" value="1"> </constant> - <constant name="SCALAR_FUNC_EXP" value="10"> + <constant name="SCALAR_OP_MUL" value="2"> </constant> - <constant name="SCALAR_FUNC_SQRT" value="11"> + <constant name="SCALAR_OP_DIV" value="3"> </constant> - <constant name="SCALAR_FUNC_ABS" value="12"> + <constant name="SCALAR_OP_MOD" value="4"> </constant> - <constant name="SCALAR_FUNC_SIGN" value="13"> + <constant name="SCALAR_OP_POW" value="5"> </constant> - <constant name="SCALAR_FUNC_FLOOR" value="14"> + <constant name="SCALAR_OP_MAX" value="6"> </constant> - <constant name="SCALAR_FUNC_ROUND" value="15"> + <constant name="SCALAR_OP_MIN" value="7"> </constant> - <constant name="SCALAR_FUNC_CEIL" value="16"> + <constant name="SCALAR_OP_ATAN2" value="8"> </constant> - <constant name="SCALAR_FUNC_FRAC" value="17"> + <constant name="SCALAR_MAX_OP" value="9"> </constant> - <constant name="SCALAR_FUNC_SATURATE" value="18"> + <constant name="VEC_OP_ADD" value="0"> </constant> - <constant name="SCALAR_FUNC_NEGATE" value="19"> + <constant name="VEC_OP_SUB" value="1"> </constant> - <constant name="SCALAR_FUNC_TAN" value="2"> + <constant name="VEC_OP_MUL" value="2"> </constant> - <constant name="SCALAR_OP_MUL" value="2"> + <constant name="VEC_OP_DIV" value="3"> </constant> - <constant name="SCALAR_MAX_FUNC" value="20"> + <constant name="VEC_OP_MOD" value="4"> </constant> - <constant name="SCALAR_FUNC_ASIN" value="3"> + <constant name="VEC_OP_POW" value="5"> </constant> - <constant name="SCALAR_OP_DIV" value="3"> + <constant name="VEC_OP_MAX" value="6"> </constant> - <constant name="SCALAR_FUNC_ACOS" value="4"> + <constant name="VEC_OP_MIN" value="7"> </constant> - <constant name="SCALAR_OP_MOD" value="4"> + <constant name="VEC_OP_CROSS" value="8"> </constant> - <constant name="SCALAR_FUNC_ATAN" value="5"> + <constant name="VEC_MAX_OP" value="9"> </constant> - <constant name="SCALAR_OP_POW" value="5"> + <constant name="VEC_SCALAR_OP_MUL" value="0"> </constant> - <constant name="SCALAR_FUNC_SINH" value="6"> + <constant name="VEC_SCALAR_OP_DIV" value="1"> </constant> - <constant name="SCALAR_OP_MAX" value="6"> + <constant name="VEC_SCALAR_OP_POW" value="2"> </constant> - <constant name="SCALAR_FUNC_COSH" value="7"> + <constant name="VEC_SCALAR_MAX_OP" value="3"> </constant> - <constant name="SCALAR_OP_MIN" value="7"> + <constant name="RGB_OP_SCREEN" value="0"> </constant> - <constant name="SCALAR_FUNC_TANH" value="8"> + <constant name="RGB_OP_DIFFERENCE" value="1"> </constant> - <constant name="SCALAR_OP_ATAN2" value="8"> + <constant name="RGB_OP_DARKEN" value="2"> </constant> - <constant name="SCALAR_FUNC_LOG" value="9"> + <constant name="RGB_OP_LIGHTEN" value="3"> </constant> - <constant name="SCALAR_MAX_OP" value="9"> + <constant name="RGB_OP_OVERLAY" value="4"> </constant> - <constant name="SHADER_TYPE_VERTEX" value="0"> + <constant name="RGB_OP_DODGE" value="5"> </constant> - <constant name="SHADER_TYPE_FRAGMENT" value="1"> + <constant name="RGB_OP_BURN" value="6"> </constant> - <constant name="SHADER_TYPE_LIGHT" value="2"> + <constant name="RGB_OP_SOFT_LIGHT" value="7"> </constant> - <constant name="SHADER_TYPE_MAX" value="3"> + <constant name="RGB_OP_HARD_LIGHT" value="8"> </constant> - <constant name="SLOT_IN" value="0"> + <constant name="RGB_MAX_OP" value="9"> </constant> - <constant name="SLOT_TYPE_SCALAR" value="0"> + <constant name="SCALAR_FUNC_SIN" value="0"> </constant> - <constant name="SLOT_OUT" value="1"> + <constant name="SCALAR_FUNC_COS" value="1"> </constant> - <constant name="SLOT_TYPE_VEC" value="1"> + <constant name="SCALAR_FUNC_TAN" value="2"> </constant> - <constant name="SLOT_TYPE_XFORM" value="2"> + <constant name="SCALAR_FUNC_ASIN" value="3"> </constant> - <constant name="SLOT_TYPE_TEXTURE" value="3"> + <constant name="SCALAR_FUNC_ACOS" value="4"> </constant> - <constant name="SLOT_MAX" value="4"> + <constant name="SCALAR_FUNC_ATAN" value="5"> </constant> - <constant name="VEC_FUNC_NORMALIZE" value="0"> + <constant name="SCALAR_FUNC_SINH" value="6"> </constant> - <constant name="VEC_OP_ADD" value="0"> + <constant name="SCALAR_FUNC_COSH" value="7"> </constant> - <constant name="VEC_SCALAR_OP_MUL" value="0"> + <constant name="SCALAR_FUNC_TANH" value="8"> </constant> - <constant name="VEC_FUNC_SATURATE" value="1"> + <constant name="SCALAR_FUNC_LOG" value="9"> </constant> - <constant name="VEC_OP_SUB" value="1"> + <constant name="SCALAR_FUNC_EXP" value="10"> </constant> - <constant name="VEC_SCALAR_OP_DIV" value="1"> + <constant name="SCALAR_FUNC_SQRT" value="11"> </constant> - <constant name="VEC_FUNC_NEGATE" value="2"> + <constant name="SCALAR_FUNC_ABS" value="12"> </constant> - <constant name="VEC_OP_MUL" value="2"> + <constant name="SCALAR_FUNC_SIGN" value="13"> </constant> - <constant name="VEC_SCALAR_OP_POW" value="2"> + <constant name="SCALAR_FUNC_FLOOR" value="14"> </constant> - <constant name="VEC_FUNC_RECIPROCAL" value="3"> + <constant name="SCALAR_FUNC_ROUND" value="15"> </constant> - <constant name="VEC_OP_DIV" value="3"> + <constant name="SCALAR_FUNC_CEIL" value="16"> </constant> - <constant name="VEC_SCALAR_MAX_OP" value="3"> + <constant name="SCALAR_FUNC_FRAC" value="17"> </constant> - <constant name="VEC_FUNC_RGB2HSV" value="4"> + <constant name="SCALAR_FUNC_SATURATE" value="18"> </constant> - <constant name="VEC_OP_MOD" value="4"> + <constant name="SCALAR_FUNC_NEGATE" value="19"> </constant> - <constant name="VEC_FUNC_HSV2RGB" value="5"> + <constant name="SCALAR_MAX_FUNC" value="20"> </constant> - <constant name="VEC_OP_POW" value="5"> + <constant name="VEC_FUNC_NORMALIZE" value="0"> </constant> - <constant name="VEC_MAX_FUNC" value="6"> + <constant name="VEC_FUNC_SATURATE" value="1"> </constant> - <constant name="VEC_OP_MAX" value="6"> + <constant name="VEC_FUNC_NEGATE" value="2"> </constant> - <constant name="VEC_OP_MIN" value="7"> + <constant name="VEC_FUNC_RECIPROCAL" value="3"> </constant> - <constant name="VEC_OP_CROSS" value="8"> + <constant name="VEC_FUNC_RGB2HSV" value="4"> </constant> - <constant name="VEC_MAX_OP" value="9"> + <constant name="VEC_FUNC_HSV2RGB" value="5"> + </constant> + <constant name="VEC_MAX_FUNC" value="6"> </constant> </constants> </class> @@ -35052,10 +35147,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Shape2D" inherits="Resource" category="Core"> <brief_description> - Base class for all 2D Shapes. + Base class for all 2D Shapes. </brief_description> <description> - Base class for all 2D Shapes. All 2D shape types inherit from this. + Base class for all 2D Shapes. All 2D shape types inherit from this. </description> <methods> <method name="collide"> @@ -35068,8 +35163,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="shape_xform" type="Matrix32"> </argument> <description> - Return whether this shape is colliding with another. - This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]). + Return whether this shape is colliding with another. + This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]). </description> </method> <method name="collide_and_get_contacts"> @@ -35082,8 +35177,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="shape_xform" type="Matrix32"> </argument> <description> - Return a list of the points where this shape touches another. If there are no collisions, the list is empty. - This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]). + Return a list of the points where this shape touches another. If there are no collisions, the list is empty. + This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]). </description> </method> <method name="collide_with_motion"> @@ -35100,8 +35195,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="shape_motion" type="Vector2"> </argument> <description> - Return whether this shape would collide with another, if a given movement was applied. - This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]). + Return whether this shape would collide with another, if a given movement was applied. + This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]). </description> </method> <method name="collide_with_motion_and_get_contacts"> @@ -35118,23 +35213,23 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="shape_motion" type="Vector2"> </argument> <description> - Return a list of the points where this shape would touch another, if a given movement was applied. If there are no collisions, the list is empty. - This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]). + Return a list of the points where this shape would touch another, if a given movement was applied. If there are no collisions, the list is empty. + This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]). </description> </method> <method name="get_custom_solver_bias" qualifiers="const"> <return type="float"> </return> <description> - Return the custom solver bias. + Return the custom solver bias. </description> </method> <method name="set_custom_solver_bias"> <argument index="0" name="bias" type="float"> </argument> <description> - Use a custom solver bias. No need to change this unless you really know what you are doing. - The solver bias is a factor controlling how much two objects "rebound" off each other, when colliding, to avoid them getting into each other because of numerical imprecision. + Use a custom solver bias. No need to change this unless you really know what you are doing. + The solver bias is a factor controlling how much two objects "rebound" off each other, when colliding, to avoid them getting into each other because of numerical imprecision. </description> </method> </methods> @@ -35185,17 +35280,17 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Skeleton" inherits="Spatial" category="Core"> <brief_description> - Skeleton for characters and animated objects. + Skeleton for characters and animated objects. </brief_description> <description> - Skeleton provides a hierarchical interface for managing bones, including pose, rest and animation (see [Animation]). Skeleton will support rag doll dynamics in the future. + Skeleton provides a hierarchical interface for managing bones, including pose, rest and animation (see [Animation]). Skeleton will support rag doll dynamics in the future. </description> <methods> <method name="add_bone"> <argument index="0" name="name" type="String"> </argument> <description> - Add a bone, with name "name". [method get_bone_count] will become the bone index. + Add a bone, with name "name". [method get_bone_count] will become the bone index. </description> </method> <method name="bind_child_node_to_bone"> @@ -35204,12 +35299,12 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="node" type="Node"> </argument> <description> - Deprecated soon. + Deprecated soon. </description> </method> <method name="clear_bones"> <description> - Clear all the bones in this skeleton. + Clear all the bones in this skeleton. </description> </method> <method name="find_bone" qualifiers="const"> @@ -35218,14 +35313,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Return the bone index that matches "name" as its name. + Return the bone index that matches "name" as its name. </description> </method> <method name="get_bone_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of bones in the skeleton. + Return the amount of bones in the skeleton. </description> </method> <method name="get_bone_custom_pose" qualifiers="const"> @@ -35250,7 +35345,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bone_idx" type="int"> </argument> <description> - Return the name of the bone at index "index" + Return the name of the bone at index "index" </description> </method> <method name="get_bone_parent" qualifiers="const"> @@ -35259,7 +35354,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bone_idx" type="int"> </argument> <description> - Return the bone index which is the parent of the bone at "bone_idx". If -1, then bone has no parent. Note that the parent bone returned will always be less than "bone_idx". + Return the bone index which is the parent of the bone at "bone_idx". If -1, then bone has no parent. Note that the parent bone returned will always be less than "bone_idx". </description> </method> <method name="get_bone_pose" qualifiers="const"> @@ -35268,7 +35363,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bone_idx" type="int"> </argument> <description> - Return the pose transform for bone "bone_idx". + Return the pose transform for bone "bone_idx". </description> </method> <method name="get_bone_rest" qualifiers="const"> @@ -35277,7 +35372,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bone_idx" type="int"> </argument> <description> - Return the rest transform for a bone "bone_idx". + Return the rest transform for a bone "bone_idx". </description> </method> <method name="get_bone_transform" qualifiers="const"> @@ -35294,7 +35389,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bone_idx" type="int"> </argument> <description> - Deprecated soon. + Deprecated soon. </description> </method> <method name="is_bone_rest_disabled" qualifiers="const"> @@ -35335,7 +35430,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="parent_idx" type="int"> </argument> <description> - Set the bone index "parent_idx" as the parent of the bone at "bone_idx". If -1, then bone has no parent. Note: "parent_idx" must be less than "bone_idx". + Set the bone index "parent_idx" as the parent of the bone at "bone_idx". If -1, then bone has no parent. Note: "parent_idx" must be less than "bone_idx". </description> </method> <method name="set_bone_pose"> @@ -35344,7 +35439,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="pose" type="Transform"> </argument> <description> - Return the pose transform for bone "bone_idx". + Return the pose transform for bone "bone_idx". </description> </method> <method name="set_bone_rest"> @@ -35353,7 +35448,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="rest" type="Transform"> </argument> <description> - Set the rest transform for bone "bone_idx" + Set the rest transform for bone "bone_idx" </description> </method> <method name="unbind_child_node_from_bone"> @@ -35362,7 +35457,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="node" type="Node"> </argument> <description> - Deprecated soon. + Deprecated soon. </description> </method> <method name="unparent_bone_and_rest"> @@ -35379,38 +35474,38 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Slider" inherits="Range" category="Core"> <brief_description> - Base class for GUI Sliders. + Base class for GUI Sliders. </brief_description> <description> - Base class for GUI Sliders. + Base class for GUI Sliders. </description> <methods> <method name="get_ticks" qualifiers="const"> <return type="int"> </return> <description> - Return amounts of ticks to display on slider. + Return amounts of ticks to display on slider. </description> </method> <method name="get_ticks_on_borders" qualifiers="const"> <return type="bool"> </return> <description> - Return true if ticks are visible on borders. + Return true if ticks are visible on borders. </description> </method> <method name="set_ticks"> <argument index="0" name="count" type="int"> </argument> <description> - Set amount of ticks to display in slider. + Set amount of ticks to display in slider. </description> </method> <method name="set_ticks_on_borders"> <argument index="0" name="ticks_on_border" type="bool"> </argument> <description> - Set true if ticks are visible on borders. + Set true if ticks are visible on borders. </description> </method> </methods> @@ -35445,6 +35540,22 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="PARAM_LINEAR_LIMIT_LOWER" value="1"> </constant> + <constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_RESTITUTION" value="3"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_DAMPING" value="4"> + </constant> + <constant name="PARAM_LINEAR_MOTION_SOFTNESS" value="5"> + </constant> + <constant name="PARAM_LINEAR_MOTION_RESTITUTION" value="6"> + </constant> + <constant name="PARAM_LINEAR_MOTION_DAMPING" value="7"> + </constant> + <constant name="PARAM_LINEAR_ORTHOGONAL_SOFTNESS" value="8"> + </constant> + <constant name="PARAM_LINEAR_ORTHOGONAL_RESTITUTION" value="9"> + </constant> <constant name="PARAM_LINEAR_ORTHOGONAL_DAMPING" value="10"> </constant> <constant name="PARAM_ANGULAR_LIMIT_UPPER" value="11"> @@ -35465,36 +35576,20 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="PARAM_ANGULAR_ORTHOGONAL_SOFTNESS" value="19"> </constant> - <constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2"> - </constant> <constant name="PARAM_ANGULAR_ORTHOGONAL_RESTITUTION" value="20"> </constant> <constant name="PARAM_ANGULAR_ORTHOGONAL_DAMPING" value="21"> </constant> <constant name="PARAM_MAX" value="22"> </constant> - <constant name="PARAM_LINEAR_LIMIT_RESTITUTION" value="3"> - </constant> - <constant name="PARAM_LINEAR_LIMIT_DAMPING" value="4"> - </constant> - <constant name="PARAM_LINEAR_MOTION_SOFTNESS" value="5"> - </constant> - <constant name="PARAM_LINEAR_MOTION_RESTITUTION" value="6"> - </constant> - <constant name="PARAM_LINEAR_MOTION_DAMPING" value="7"> - </constant> - <constant name="PARAM_LINEAR_ORTHOGONAL_SOFTNESS" value="8"> - </constant> - <constant name="PARAM_LINEAR_ORTHOGONAL_RESTITUTION" value="9"> - </constant> </constants> </class> <class name="SoundPlayer2D" inherits="Node2D" category="Core"> <brief_description> - Base class for playing spatial 2D sound. + Base class for playing spatial 2D sound. </brief_description> <description> - Base class for playing spatial 2D sound. + Base class for playing spatial 2D sound. </description> <methods> <method name="get_param" qualifiers="const"> @@ -35581,10 +35676,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Spatial" inherits="Node" category="Core"> <brief_description> - Base class for all 3D nodes. + Base class for all 3D nodes. </brief_description> <description> - Spatial is the base for every type of 3D [Node]. It contains a 3D [Transform] which can be set or get as local or global. If a Spatial [Node] has Spatial children, their transforms will be relative to the parent. + Spatial is the base for every type of 3D [Node]. It contains a 3D [Transform] which can be set or get as local or global. If a Spatial [Node] has Spatial children, their transforms will be relative to the parent. </description> <methods> <method name="get_gizmo" qualifiers="const"> @@ -35597,14 +35692,14 @@ A similar effect may be achieved moving this node's descendants. <return type="Transform"> </return> <description> - Return the global transform, relative to worldspace. + Return the global transform, relative to worldspace. </description> </method> <method name="get_parent_spatial" qualifiers="const"> <return type="Object"> </return> <description> - Return the parent [Spatial], or an empty [Object] if no parent exists or parent is not of type [Spatial]. + Return the parent [Spatial], or an empty [Object] if no parent exists or parent is not of type [Spatial]. </description> </method> <method name="get_rotation" qualifiers="const"> @@ -35629,7 +35724,7 @@ A similar effect may be achieved moving this node's descendants. <return type="Transform"> </return> <description> - Return the local transform, relative to the bone parent. + Return the local transform, relative to the bone parent. </description> </method> <method name="get_translation" qualifiers="const"> @@ -35750,7 +35845,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="global" type="Transform"> </argument> <description> - Set the transform globally, relative to worldspace. + Set the transform globally, relative to worldspace. </description> </method> <method name="set_hidden"> @@ -35797,7 +35892,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="local" type="Transform"> </argument> <description> - Set the transform locally, relative to the parent spatial node. + Set the transform locally, relative to the parent spatial node. </description> </method> <method name="set_translation"> @@ -35975,10 +36070,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SpatialSound2DServer" inherits="Object" category="Core"> <brief_description> - Server for Spatial 2D Sound. + Server for Spatial 2D Sound. </brief_description> <description> - Server for Spatial 2D Sound. + Server for Spatial 2D Sound. </description> <methods> </methods> @@ -36191,10 +36286,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SpinBox" inherits="Range" category="Core"> <brief_description> - Numerical input text field. + Numerical input text field. </brief_description> <description> - SpinBox is a numerical input text field. It allows entering integers and floats. + SpinBox is a numerical input text field. It allows entering integers and floats. </description> <methods> <method name="get_line_edit"> @@ -36213,35 +36308,35 @@ A similar effect may be achieved moving this node's descendants. <return type="String"> </return> <description> - Return the specific suffix. + Return the specific suffix. </description> </method> <method name="is_editable" qualifiers="const"> <return type="bool"> </return> <description> - Return if the spinbox is editable. + Return if the spinbox is editable. </description> </method> <method name="set_editable"> <argument index="0" name="editable" type="bool"> </argument> <description> - Set whether the spinbox is editable. + Set whether the spinbox is editable. </description> </method> <method name="set_prefix"> <argument index="0" name="prefix" type="String"> </argument> <description> - Set a prefix. + Set a prefix. </description> </method> <method name="set_suffix"> <argument index="0" name="suffix" type="String"> </argument> <description> - Set a specific suffix. + Set a specific suffix. </description> </method> </methods> @@ -36254,52 +36349,52 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SplitContainer" inherits="Container" category="Core"> <brief_description> - Container for splitting and adjusting. + Container for splitting and adjusting. </brief_description> <description> - Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio. + Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio. </description> <methods> <method name="get_dragger_visibility" qualifiers="const"> <return type="int"> </return> <description> - Return visibility of the split dragger(One of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]). + Return visibility of the split dragger(One of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]). </description> </method> <method name="get_split_offset" qualifiers="const"> <return type="int"> </return> <description> - Return the split offset. + Return the split offset. </description> </method> <method name="is_collapsed" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the split is collapsed. + Return true if the split is collapsed. </description> </method> <method name="set_collapsed"> <argument index="0" name="collapsed" type="bool"> </argument> <description> - Set if the split must be collapsed. + Set if the split must be collapsed. </description> </method> <method name="set_dragger_visibility"> <argument index="0" name="mode" type="int"> </argument> <description> - Set visibility of the split dragger([i]mode[/i] must be one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]). + Set visibility of the split dragger([i]mode[/i] must be one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]). </description> </method> <method name="set_split_offset"> <argument index="0" name="offset" type="int"> </argument> <description> - Set the split offset. + Set the split offset. </description> </method> </methods> @@ -36308,7 +36403,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="offset" type="int"> </argument> <description> - Emmited when the dragger is gragged by user. + Emmited when the dragger is gragged by user. </description> </signal> </signals> @@ -36326,10 +36421,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="SpotLight" inherits="Light" category="Core"> <brief_description> - Spotlight [Light], such as a reflector spotlight or a lantern. + Spotlight [Light], such as a reflector spotlight or a lantern. </brief_description> <description> - A SpotLight light is a type of [Light] node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of [Light]. TODO: Image of a spotlight. + A SpotLight light is a type of [Light] node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of [Light]. TODO: Image of a spotlight. </description> <methods> </methods> @@ -36338,164 +36433,164 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Sprite" inherits="Node2D" category="Core"> <brief_description> - General purpose Sprite node. + General purpose Sprite node. </brief_description> <description> - General purpose Sprite node. This Sprite node can show any texture as a sprite. The texture can be used as a spritesheet for animation, or only a region from a bigger texture can referenced, like an atlas. + General purpose Sprite node. This Sprite node can show any texture as a sprite. The texture can be used as a spritesheet for animation, or only a region from a bigger texture can referenced, like an atlas. </description> <methods> <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> - Return the texture frame for a sprite-sheet, works when vframes or hframes are greater than 1. + Return the texture frame for a sprite-sheet, works when vframes or hframes are greater than 1. </description> </method> <method name="get_hframes" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of horizontal frames. See [method set_hframes]. + Return the amount of horizontal frames. See [method set_hframes]. </description> </method> <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> - Return color modulation for the sprite. All sprite pixels are multiplied by this color. + Return color modulation for the sprite. All sprite pixels are multiplied by this color. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return sprite draw offset. + Return sprite draw offset. </description> </method> <method name="get_region_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return the region rect to read from. + Return the region rect to read from. </description> </method> <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> - Return the base texture for the sprite. + Return the base texture for the sprite. </description> </method> <method name="get_vframes" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of vertical frames. See [method set_vframes]. + Return the amount of vertical frames. See [method set_vframes]. </description> </method> <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> - Return if the sprite is centered at the local origin. + Return if the sprite is centered at the local origin. </description> </method> <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the sprite is flipped horizontally. + Return true if the sprite is flipped horizontally. </description> </method> <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the sprite is flipped vertically. + Return true if the sprite is flipped vertically. </description> </method> <method name="is_region" qualifiers="const"> <return type="bool"> </return> <description> - Return if the sprite reads from a region. + Return if the sprite reads from a region. </description> </method> <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> - Set whether the sprite should be centered on the origin. + Set whether the sprite should be centered on the origin. </description> </method> <method name="set_flip_h"> <argument index="0" name="flip_h" type="bool"> </argument> <description> - Set true to flip the sprite horizontally. + Set true to flip the sprite horizontally. </description> </method> <method name="set_flip_v"> <argument index="0" name="flip_v" type="bool"> </argument> <description> - Set true to flip the sprite vertically. + Set true to flip the sprite vertically. </description> </method> <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> - Set the texture frame for a sprite-sheet, works when vframes or hframes are greater than 1. + Set the texture frame for a sprite-sheet, works when vframes or hframes are greater than 1. </description> </method> <method name="set_hframes"> <argument index="0" name="hframes" type="int"> </argument> <description> - Set the amount of horizontal frames and converts the sprite into a sprite-sheet. This is useful for animation. + Set the amount of horizontal frames and converts the sprite into a sprite-sheet. This is useful for animation. </description> </method> <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> - Set color modulation for the sprite. All sprite pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect. + Set color modulation for the sprite. All sprite pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the sprite draw offset, useful for setting rotation pivots. + Set the sprite draw offset, useful for setting rotation pivots. </description> </method> <method name="set_region"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the sprite as a sub-region of a bigger texture. Useful for texture-atlases. + Set the sprite as a sub-region of a bigger texture. Useful for texture-atlases. </description> </method> <method name="set_region_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> - Set the region rect to read from. + Set the region rect to read from. </description> </method> <method name="set_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> - Set the base texture for the sprite. + Set the base texture for the sprite. </description> </method> <method name="set_vframes"> <argument index="0" name="vframes" type="int"> </argument> <description> - Set the amount of vertical frames and converts the sprite into a sprite-sheet. This is useful for animation. + Set the amount of vertical frames and converts the sprite into a sprite-sheet. This is useful for animation. </description> </method> </methods> @@ -36504,6 +36599,10 @@ A similar effect may be achieved moving this node's descendants. <description> </description> </signal> + <signal name="texture_changed"> + <description> + </description> + </signal> </signals> <constants> </constants> @@ -36734,26 +36833,26 @@ A similar effect may be achieved moving this node's descendants. </method> </methods> <constants> - <constant name="ALPHA_CUT_DISABLED" value="0"> - </constant> - <constant name="ALPHA_CUT_DISCARD" value="1"> - </constant> - <constant name="ALPHA_CUT_OPAQUE_PREPASS" value="2"> - </constant> <constant name="FLAG_TRANSPARENT" value="0"> </constant> <constant name="FLAG_SHADED" value="1"> </constant> <constant name="FLAG_MAX" value="2"> </constant> + <constant name="ALPHA_CUT_DISABLED" value="0"> + </constant> + <constant name="ALPHA_CUT_DISCARD" value="1"> + </constant> + <constant name="ALPHA_CUT_OPAQUE_PREPASS" value="2"> + </constant> </constants> </class> <class name="SpriteFrames" inherits="Resource" category="Core"> <brief_description> - Sprite frame library for AnimatedSprite. + Sprite frame library for AnimatedSprite. </brief_description> <description> - Sprite frame library for [AnimatedSprite]. + Sprite frame library for [AnimatedSprite]. </description> <methods> <method name="add_animation"> @@ -36878,68 +36977,68 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StaticBody" inherits="PhysicsBody" category="Core"> <brief_description> - Static body for 3D Physics. + Static body for 3D Physics. </brief_description> <description> - Static body for 3D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody3D] so they are great for scenario collision. - A static body can also be animated by using simulated motion mode. This is useful for implementing functionalities such as moving platforms. When this mode is active the body can be animated and automatically computes linear and angular velocity to apply in that frame and to influence other bodies. - Alternatively, a constant linear or angular velocity can be set for the static body, so even if it doesn't move, it affects other bodies as if it was moving (this is useful for simulating conveyor belts or conveyor wheels). + Static body for 3D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody3D] so they are great for scenario collision. + A static body can also be animated by using simulated motion mode. This is useful for implementing functionalities such as moving platforms. When this mode is active the body can be animated and automatically computes linear and angular velocity to apply in that frame and to influence other bodies. + Alternatively, a constant linear or angular velocity can be set for the static body, so even if it doesn't move, it affects other bodies as if it was moving (this is useful for simulating conveyor belts or conveyor wheels). </description> <methods> <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> - Return the body bounciness. + Return the body bounciness. </description> </method> <method name="get_constant_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the constant angular velocity for the body. + Return the constant angular velocity for the body. </description> </method> <method name="get_constant_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> - Return the constant linear velocity for the body. + Return the constant linear velocity for the body. </description> </method> <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> - Return the body friction. + Return the body friction. </description> </method> <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> - Set the body bounciness, from 0 (not bouncy) to 1 (bouncy). + Set the body bounciness, from 0 (not bouncy) to 1 (bouncy). </description> </method> <method name="set_constant_angular_velocity"> <argument index="0" name="vel" type="Vector3"> </argument> <description> - Set a constant angular velocity for the body. This does not rotate the body, but affects other bodies touching it, as if it was rotating. + Set a constant angular velocity for the body. This does not rotate the body, but affects other bodies touching it, as if it was rotating. </description> </method> <method name="set_constant_linear_velocity"> <argument index="0" name="vel" type="Vector3"> </argument> <description> - Set a constant linear velocity for the body. This does not move the body, but affects other bodies touching it, as if it was moving. + Set a constant linear velocity for the body. This does not move the body, but affects other bodies touching it, as if it was moving. </description> </method> <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> - Set the body friction, from 0 (frictionless) to 1 (full friction). + Set the body friction, from 0 (frictionless) to 1 (full friction). </description> </method> </methods> @@ -36948,68 +37047,68 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StaticBody2D" inherits="PhysicsBody2D" category="Core"> <brief_description> - Static body for 2D Physics. + Static body for 2D Physics. </brief_description> <description> - Static body for 2D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody2D] so they are great for scenario collision. - A static body can also be animated by using simulated motion mode. This is useful for implementing functionalities such as moving platforms. When this mode is active the body can be animated and automatically computes linear and angular velocity to apply in that frame and to influence other bodies. - Alternatively, a constant linear or angular velocity can be set for the static body, so even if it doesn't move, it affects other bodies as if it was moving (this is useful for simulating conveyor belts or conveyor wheels). + Static body for 2D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody2D] so they are great for scenario collision. + A static body can also be animated by using simulated motion mode. This is useful for implementing functionalities such as moving platforms. When this mode is active the body can be animated and automatically computes linear and angular velocity to apply in that frame and to influence other bodies. + Alternatively, a constant linear or angular velocity can be set for the static body, so even if it doesn't move, it affects other bodies as if it was moving (this is useful for simulating conveyor belts or conveyor wheels). </description> <methods> <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> - Return the body bounciness. + Return the body bounciness. </description> </method> <method name="get_constant_angular_velocity" qualifiers="const"> <return type="float"> </return> <description> - Return the constant angular velocity for the body. + Return the constant angular velocity for the body. </description> </method> <method name="get_constant_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the constant linear velocity for the body. + Return the constant linear velocity for the body. </description> </method> <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> - Return the body friction. + Return the body friction. </description> </method> <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> - Set the body bounciness, from 0 (not bouncy) to 1 (bouncy). + Set the body bounciness, from 0 (not bouncy) to 1 (bouncy). </description> </method> <method name="set_constant_angular_velocity"> <argument index="0" name="vel" type="float"> </argument> <description> - Set a constant angular velocity for the body. This does not rotate the body, but affects other bodies touching it, as if it was rotating. + Set a constant angular velocity for the body. This does not rotate the body, but affects other bodies touching it, as if it was rotating. </description> </method> <method name="set_constant_linear_velocity"> <argument index="0" name="vel" type="Vector2"> </argument> <description> - Set a constant linear velocity for the body. This does not move the body, but affects other bodies touching it, as if it was moving. + Set a constant linear velocity for the body. This does not move the body, but affects other bodies touching it, as if it was moving. </description> </method> <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> - Set the body friction, from 0 (frictionless) to 1 (full friction). + Set the body friction, from 0 (frictionless) to 1 (full friction). </description> </method> </methods> @@ -37018,45 +37117,45 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StreamPeer" inherits="Reference" category="Core"> <brief_description> - Abstraction and base class for stream-based protocols. + Abstraction and base class for stream-based protocols. </brief_description> <description> - StreamPeer is an abstraction and base class for stream-based protocols (such as TCP or Unix Sockets). It provides an API for sending and receiving data through streams as raw data or strings. + StreamPeer is an abstraction and base class for stream-based protocols (such as TCP or Unix Sockets). It provides an API for sending and receiving data through streams as raw data or strings. </description> <methods> <method name="get_16"> <return type="int"> </return> <description> - Get a signed 16 bit value from the stream. + Get a signed 16 bit value from the stream. </description> </method> <method name="get_32"> <return type="int"> </return> <description> - Get a signed 32 bit value from the stream. + Get a signed 32 bit value from the stream. </description> </method> <method name="get_64"> <return type="int"> </return> <description> - Get a signed 64 bit value from the stream. + Get a signed 64 bit value from the stream. </description> </method> <method name="get_8"> <return type="int"> </return> <description> - Get a signed byte from the stream. + Get a signed byte from the stream. </description> </method> <method name="get_available_bytes" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of bytes this [StreamPeer] has available. + Return the amount of bytes this [StreamPeer] has available. </description> </method> <method name="get_data"> @@ -37065,21 +37164,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bytes" type="int"> </argument> <description> - Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will block until the desired amount is received. This function returns two values, an Error code and a data array. + Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will block until the desired amount is received. This function returns two values, an Error code and a data array. </description> </method> <method name="get_double"> <return type="float"> </return> <description> - Get a double-precision float from the stream. + Get a double-precision float from the stream. </description> </method> <method name="get_float"> <return type="float"> </return> <description> - Get a single-precision float from the stream. + Get a single-precision float from the stream. </description> </method> <method name="get_partial_data"> @@ -37088,7 +37187,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bytes" type="int"> </argument> <description> - Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will return how many were actually received. This function returns two values, an Error code, and a data array. + Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will return how many were actually received. This function returns two values, an Error code, and a data array. </description> </method> <method name="get_string"> @@ -37097,35 +37196,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bytes" type="int"> </argument> <description> - Get a string with byte-length "bytes" from the stream. + Get a string with byte-length "bytes" from the stream. </description> </method> <method name="get_u16"> <return type="int"> </return> <description> - Get an unsigned 16 bit value from the stream. + Get an unsigned 16 bit value from the stream. </description> </method> <method name="get_u32"> <return type="int"> </return> <description> - Get an unsigned 32 bit value from the stream. + Get an unsigned 32 bit value from the stream. </description> </method> <method name="get_u64"> <return type="int"> </return> <description> - Get an unsigned 16 bit value from the stream. + Get an unsigned 16 bit value from the stream. </description> </method> <method name="get_u8"> <return type="int"> </return> <description> - Get an unsigned byte from the stream. + Get an unsigned byte from the stream. </description> </method> <method name="get_utf8_string"> @@ -37134,49 +37233,49 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="bytes" type="int"> </argument> <description> - Get an utf8 string with byte-length "bytes" from the stream (this decodes the string sent as utf8). + Get an utf8 string with byte-length "bytes" from the stream (this decodes the string sent as utf8). </description> </method> <method name="get_var"> <return type="Variant"> </return> <description> - Get a Variant from the stream. + Get a Variant from the stream. </description> </method> <method name="is_big_endian_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this [StreamPeer] is using big-endian format. + Return whether this [StreamPeer] is using big-endian format. </description> </method> <method name="put_16"> <argument index="0" name="val" type="int"> </argument> <description> - Put a signed 16 bit value into the stream. + Put a signed 16 bit value into the stream. </description> </method> <method name="put_32"> <argument index="0" name="val" type="int"> </argument> <description> - Put a signed 32 bit value into the stream. + Put a signed 32 bit value into the stream. </description> </method> <method name="put_64"> <argument index="0" name="val" type="int"> </argument> <description> - Put a signed 64 bit value into the stream. + Put a signed 64 bit value into the stream. </description> </method> <method name="put_8"> <argument index="0" name="val" type="int"> </argument> <description> - Put a signed byte into the stream. + Put a signed byte into the stream. </description> </method> <method name="put_data"> @@ -37185,21 +37284,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="data" type="RawArray"> </argument> <description> - Send a chunk of data through the connection, blocking if necessary until the data is done sending. This function returns an Error code. + Send a chunk of data through the connection, blocking if necessary until the data is done sending. This function returns an Error code. </description> </method> <method name="put_double"> <argument index="0" name="val" type="float"> </argument> <description> - Put a double-precision float into the stream. + Put a double-precision float into the stream. </description> </method> <method name="put_float"> <argument index="0" name="val" type="float"> </argument> <description> - Put a single-precision float into the stream. + Put a single-precision float into the stream. </description> </method> <method name="put_partial_data"> @@ -37208,56 +37307,56 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="data" type="RawArray"> </argument> <description> - Send a chunk of data through the connection, if all the data could not be sent at once, only part of it will. This function returns two values, an Error code and an integer, describing how much data was actually sent. + Send a chunk of data through the connection, if all the data could not be sent at once, only part of it will. This function returns two values, an Error code and an integer, describing how much data was actually sent. </description> </method> <method name="put_u16"> <argument index="0" name="val" type="int"> </argument> <description> - Put an unsigned 16 bit value into the stream. + Put an unsigned 16 bit value into the stream. </description> </method> <method name="put_u32"> <argument index="0" name="val" type="int"> </argument> <description> - Put an unsigned 32 bit value into the stream. + Put an unsigned 32 bit value into the stream. </description> </method> <method name="put_u64"> <argument index="0" name="val" type="int"> </argument> <description> - Put an unsigned 64 bit value into the stream. + Put an unsigned 64 bit value into the stream. </description> </method> <method name="put_u8"> <argument index="0" name="val" type="int"> </argument> <description> - Put an unsigned byte into the stream. + Put an unsigned byte into the stream. </description> </method> <method name="put_utf8_string"> <argument index="0" name="val" type="String"> </argument> <description> - Put a zero-terminated utf8 string into the stream. + Put a zero-terminated utf8 string into the stream. </description> </method> <method name="put_var"> <argument index="0" name="val" type="Variant"> </argument> <description> - Put a Variant into the stream. + Put a Variant into the stream. </description> </method> <method name="set_big_endian"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set this [StreamPeer] to use big-endian format. Default is false. + Set this [StreamPeer] to use big-endian format. Default is false. </description> </method> </methods> @@ -37266,10 +37365,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StreamPeerSSL" inherits="StreamPeer" category="Core"> <brief_description> - SSL Stream peer. + SSL Stream peer. </brief_description> <description> - SSL Stream peer. This object can be used to connect to SSL servers. + SSL Stream peer. This object can be used to connect to SSL servers. </description> <methods> <method name="accept"> @@ -37290,19 +37389,19 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="for_hostname" type="String" default=""""> </argument> <description> - Connect to a peer using an underlying [StreamPeer] "stream", when "validate_certs" is true, [StreamPeerSSL] will validate that the certificate presented by the peer matches the "for_hostname". + Connect to a peer using an underlying [StreamPeer] "stream", when "validate_certs" is true, [StreamPeerSSL] will validate that the certificate presented by the peer matches the "for_hostname". </description> </method> <method name="disconnect"> <description> - Disconnect from host. + Disconnect from host. </description> </method> <method name="get_status" qualifiers="const"> <return type="int"> </return> <description> - Return the status of the connection, one of STATUS_* enum. + Return the status of the connection, one of STATUS_* enum. </description> </method> </methods> @@ -37323,10 +37422,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StreamPeerTCP" inherits="StreamPeer" category="Core"> <brief_description> - TCP Stream peer. + TCP Stream peer. </brief_description> <description> - TCP Stream peer. This object can be used to connect to TCP servers, or also is returned by a tcp server. + TCP Stream peer. This object can be used to connect to TCP servers, or also is returned by a tcp server. </description> <methods> <method name="connect"> @@ -37337,40 +37436,40 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="port" type="int"> </argument> <description> - Connect to the specified IP:port pair. Returns [OK] on success or [FAILED] on failure. + Connect to the specified IP:port pair. Returns [OK] on success or [FAILED] on failure. </description> </method> <method name="disconnect"> <description> - Disconnect from host. + Disconnect from host. </description> </method> <method name="get_connected_host" qualifiers="const"> <return type="String"> </return> <description> - Return the IP of this peer. + Return the IP of this peer. </description> </method> <method name="get_connected_port" qualifiers="const"> <return type="int"> </return> <description> - Return the port of this peer. + Return the port of this peer. </description> </method> <method name="get_status" qualifiers="const"> <return type="int"> </return> <description> - Return the status of the connection, one of STATUS_* enum. + Return the status of the connection, one of STATUS_* enum. </description> </method> <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this peer is connected. Returns true while connecting and connected. + Return whether this peer is connected. Returns true while connecting and connected. </description> </method> </methods> @@ -37391,184 +37490,184 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StreamPlayer" inherits="Node" category="Core"> <brief_description> - Base class for audio stream playback. + Base class for audio stream playback. </brief_description> <description> - Base class for audio stream playback. Audio stream players inherit from it. + Base class for audio stream playback. Audio stream players inherit from it. </description> <methods> <method name="get_buffering_msec" qualifiers="const"> <return type="int"> </return> <description> - Return the size of the audio buffer. + Return the size of the audio buffer. </description> </method> <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> - Return the length of the stream, in seconds. + Return the length of the stream, in seconds. </description> </method> <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> - Return the number of times the playback has looped. + Return the number of times the playback has looped. </description> </method> <method name="get_loop_restart_time" qualifiers="const"> <return type="float"> </return> <description> - Return the point in time the stream will rewind to, when looping. + Return the point in time the stream will rewind to, when looping. </description> </method> <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> - Return the playback position, in seconds. + Return the playback position, in seconds. </description> </method> <method name="get_stream" qualifiers="const"> <return type="AudioStream"> </return> <description> - Return the currently assigned stream. + Return the currently assigned stream. </description> </method> <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> - Return the name of the currently assigned stream. This is not the file name, but a field inside the file. If no stream is assigned, if returns "<No Stream>". + Return the name of the currently assigned stream. This is not the file name, but a field inside the file. If no stream is assigned, if returns "<No Stream>". </description> </method> <method name="get_volume" qualifiers="const"> <return type="float"> </return> <description> - Return the playback volume for this player. + Return the playback volume for this player. </description> </method> <method name="get_volume_db" qualifiers="const"> <return type="float"> </return> <description> - Return the playback volume for this player, in decibels. + Return the playback volume for this player, in decibels. </description> </method> <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this player will start playing as soon as it enters the scene tree. + Return whether this player will start playing as soon as it enters the scene tree. </description> </method> <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the stream will be restarted at the end. + Return whether the stream will be restarted at the end. </description> </method> <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the playback is currently paused. + Return whether the playback is currently paused. </description> </method> <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> - Return whether this player is playing. + Return whether this player is playing. </description> </method> <method name="play"> <argument index="0" name="offset" type="float" default="0"> </argument> <description> - Play the currently assigned stream, starting from a given position (in seconds). + Play the currently assigned stream, starting from a given position (in seconds). </description> </method> <method name="seek_pos"> <argument index="0" name="time" type="float"> </argument> <description> - Set the playback position, in seconds. + Set the playback position, in seconds. </description> </method> <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether this player will start playing as soon as it enters the scene tree. + Set whether this player will start playing as soon as it enters the scene tree. </description> </method> <method name="set_buffering_msec"> <argument index="0" name="msec" type="int"> </argument> <description> - Set the size (in milliseconds) of the audio buffer. A long audio buffer protects better against slowdowns, but responds worse to changes (in volume, stream played...). A shorter buffer takes less time to respond to changes, but may stutter if the application suffers some slowdown. - Default is 500 milliseconds. + Set the size (in milliseconds) of the audio buffer. A long audio buffer protects better against slowdowns, but responds worse to changes (in volume, stream played...). A shorter buffer takes less time to respond to changes, but may stutter if the application suffers some slowdown. + Default is 500 milliseconds. </description> </method> <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the stream will be restarted at the end. + Set whether the stream will be restarted at the end. </description> </method> <method name="set_loop_restart_time"> <argument index="0" name="secs" type="float"> </argument> <description> - Set the point in time the stream will rewind to, when looping. + Set the point in time the stream will rewind to, when looping. </description> </method> <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> - Pause stream playback. + Pause stream playback. </description> </method> <method name="set_stream"> <argument index="0" name="stream" type="AudioStream"> </argument> <description> - Set the [EventStream] this player will play. + Set the [EventStream] this player will play. </description> </method> <method name="set_volume"> <argument index="0" name="volume" type="float"> </argument> <description> - Set the playback volume for this player. This is a float between 0.0 (silent) and 1.0 (full volume). Values over 1.0 will amplify sound even more, but may introduce distortion. Negative values will just invert the output waveform, which produces no audible difference. + Set the playback volume for this player. This is a float between 0.0 (silent) and 1.0 (full volume). Values over 1.0 will amplify sound even more, but may introduce distortion. Negative values will just invert the output waveform, which produces no audible difference. </description> </method> <method name="set_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> - Set the playback volume for this player, in decibels. This is a float between -80.0 (silent) and 0.0 (full volume). Values under -79.0 get truncated to -80, but values over 0.0 do not, so the warnings for overamplifying (see [method set_volume]) still apply. + Set the playback volume for this player, in decibels. This is a float between -80.0 (silent) and 0.0 (full volume). Values under -79.0 get truncated to -80, but values over 0.0 do not, so the warnings for overamplifying (see [method set_volume]) still apply. </description> </method> <method name="stop"> <description> - Stop the playback. + Stop the playback. </description> </method> </methods> <signals> <signal name="finished"> <description> - This signal triggers when the player stops playing. It will not trigger on each loop. + This signal triggers when the player stops playing. It will not trigger on each loop. </description> </signal> </signals> @@ -37577,17 +37676,17 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="String" category="Built-In Types"> <brief_description> - Built-in string class. + Built-in string class. </brief_description> <description> - This is the built-in string class (and the one used by GDScript). It supports Unicode and provides all necessary means for string handling. Strings are reference counted and use a copy-on-write approach, so passing them around is cheap in resources. + This is the built-in string class (and the one used by GDScript). It supports Unicode and provides all necessary means for string handling. Strings are reference counted and use a copy-on-write approach, so passing them around is cheap in resources. </description> <methods> <method name="basename"> <return type="String"> </return> <description> - If the string is a path to a file, return the path to the file without the extension. + If the string is a path to a file, return the path to the file without the extension. </description> </method> <method name="begins_with"> @@ -37596,35 +37695,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="text" type="String"> </argument> <description> - Return true if the strings begins with the given string. + Return true if the strings begins with the given string. </description> </method> <method name="bigrams"> <return type="StringArray"> </return> <description> - Return the bigrams (pairs of consecutive letters) of this string. + Return the bigrams (pairs of consecutive letters) of this string. </description> </method> <method name="c_escape"> <return type="String"> </return> <description> - Return a copy of the string with special characters escaped using the C language standard. + Return a copy of the string with special characters escaped using the C language standard. </description> </method> <method name="c_unescape"> <return type="String"> </return> <description> - Return a copy of the string with escaped characters replaced by their meanings according to the C language standard. + Return a copy of the string with escaped characters replaced by their meanings according to the C language standard. </description> </method> <method name="capitalize"> <return type="String"> </return> <description> - Return the string in uppercase. + Change the case of some letters. Replace underscores with spaces, convert all letters to lowercase then capitalize first and every letter following the space character. For [code]capitalize camelCase mixed_with_underscores[/code] it will return [code]Capitalize Camelcase Mixed With Underscores[/code]. </description> </method> <method name="casecmp_to"> @@ -37633,14 +37732,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="String"> </argument> <description> - Perform a case-sensitive comparison to another string, return -1 if less, 0 if equal and +1 if greater. + Perform a case-sensitive comparison to another string, return -1 if less, 0 if equal and +1 if greater. </description> </method> <method name="empty"> <return type="bool"> </return> <description> - Return true if the string is empty. + Return true if the string is empty. </description> </method> <method name="ends_with"> @@ -37649,7 +37748,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="text" type="String"> </argument> <description> - Return true if the strings ends with the given string. + Return true if the strings ends with the given string. </description> </method> <method name="erase"> @@ -37658,14 +37757,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="chars" type="int"> </argument> <description> - Erase [code]chars[/code] characters from the string starting from [code]pos[/code]. + Erase [code]chars[/code] characters from the string starting from [code]pos[/code]. </description> </method> <method name="extension"> <return type="String"> </return> <description> - If the string is a path to a file, return the extension. + If the string is a path to a file, return the extension. </description> </method> <method name="find"> @@ -37676,7 +37775,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="from" type="int" default="0"> </argument> <description> - Find the first occurrence of a substring, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. + Find the first occurrence of a substring, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. </description> </method> <method name="find_last"> @@ -37685,7 +37784,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="what" type="String"> </argument> <description> - Find the last occurrence of a substring, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. + Find the last occurrence of a substring, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. </description> </method> <method name="findn"> @@ -37696,35 +37795,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="from" type="int" default="0"> </argument> <description> - Find the first occurrence of a substring but search as case-insensitive, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. + Find the first occurrence of a substring but search as case-insensitive, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. </description> </method> <method name="get_base_dir"> <return type="String"> </return> <description> - If the string is a path to a file, return the base directory. + If the string is a path to a file, return the base directory. </description> </method> <method name="get_file"> <return type="String"> </return> <description> - If the string is a path to a file, return the file and ignore the base directory. + If the string is a path to a file, return the file and ignore the base directory. </description> </method> <method name="hash"> <return type="int"> </return> <description> - Hash the string and return a 32 bits integer. + Hash the string and return a 32 bits integer. </description> </method> <method name="hex_to_int"> <return type="int"> </return> <description> - Convert a string containing an hexadecimal number into an int. + Convert a string containing an hexadecimal number into an int. </description> </method> <method name="insert"> @@ -37735,21 +37834,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="what" type="String"> </argument> <description> - Insert a substring at a given position. + Insert a substring at a given position. </description> </method> <method name="is_abs_path"> <return type="bool"> </return> <description> - If the string is a path to a file or directory, return true if the path is absolute. + If the string is a path to a file or directory, return true if the path is absolute. </description> </method> <method name="is_rel_path"> <return type="bool"> </return> <description> - If the string is a path to a file or directory, return true if the path is relative. + If the string is a path to a file or directory, return true if the path is relative. </description> </method> <method name="is_subsequence_of"> @@ -37758,7 +37857,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="text" type="String"> </argument> <description> - Check whether this string is a subsequence of the given string. + Check whether this string is a subsequence of the given string. </description> </method> <method name="is_subsequence_ofi"> @@ -37767,49 +37866,49 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="text" type="String"> </argument> <description> - Check whether this string is a subsequence of the given string, without considering case. + Check whether this string is a subsequence of the given string, without considering case. </description> </method> <method name="is_valid_float"> <return type="bool"> </return> <description> - Check whether the string contains a valid float. + Check whether the string contains a valid float. </description> </method> <method name="is_valid_html_color"> <return type="bool"> </return> <description> - Check whether the string contains a valid color in HTML notation. + Check whether the string contains a valid color in HTML notation. </description> </method> <method name="is_valid_identifier"> <return type="bool"> </return> <description> - Check whether the string is a valid identifier. As is common in programming languages, a valid identifier may contain only letters, digits and underscores (_) and the first character may not be a digit. + Check whether the string is a valid identifier. As is common in programming languages, a valid identifier may contain only letters, digits and underscores (_) and the first character may not be a digit. </description> </method> <method name="is_valid_integer"> <return type="bool"> </return> <description> - Check whether the string contains a valid integer. + Check whether the string contains a valid integer. </description> </method> <method name="is_valid_ip_address"> <return type="bool"> </return> <description> - Check whether the string contains a valid IP address. + Check whether the string contains a valid IP address. </description> </method> <method name="json_escape"> <return type="String"> </return> <description> - Return a copy of the string with special characters escaped using the JSON standard. + Return a copy of the string with special characters escaped using the JSON standard. </description> </method> <method name="left"> @@ -37818,14 +37917,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="pos" type="int"> </argument> <description> - Return an amount of characters from the left of the string. + Return an amount of characters from the left of the string. </description> </method> <method name="length"> <return type="int"> </return> <description> - Return the length of the string in characters. + Return the length of the string in characters. </description> </method> <method name="match"> @@ -37834,7 +37933,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="expr" type="String"> </argument> <description> - Do a simple expression match, where '*' matches zero or more arbitrary characters and '?' matches any single character except '.'. + Do a simple expression match, where '*' matches zero or more arbitrary characters and '?' matches any single character except '.'. </description> </method> <method name="matchn"> @@ -37843,21 +37942,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="expr" type="String"> </argument> <description> - Do a simple case insensitive expression match, using ? and * wildcards (see [method match]). + Do a simple case insensitive expression match, using ? and * wildcards (see [method match]). </description> </method> <method name="md5_buffer"> <return type="RawArray"> </return> <description> - Return the MD5 hash of the string as an array of bytes. + Return the MD5 hash of the string as an array of bytes. </description> </method> <method name="md5_text"> <return type="String"> </return> <description> - Return the MD5 hash of the string as a string. + Return the MD5 hash of the string as a string. </description> </method> <method name="nocasecmp_to"> @@ -37866,7 +37965,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="String"> </argument> <description> - Perform a case-insensitive comparison to another string, return -1 if less, 0 if equal and +1 if greater. + Perform a case-insensitive comparison to another string, return -1 if less, 0 if equal and +1 if greater. </description> </method> <method name="ord_at"> @@ -37875,7 +37974,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="at" type="int"> </argument> <description> - Return the character code at position [code]at[/code]. + Return the character code at position [code]at[/code]. </description> </method> <method name="pad_decimals"> @@ -37884,7 +37983,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="digits" type="int"> </argument> <description> - Format a number to have an exact number of [code]digits[/code] after the decimal point. + Format a number to have an exact number of [code]digits[/code] after the decimal point. </description> </method> <method name="pad_zeros"> @@ -37893,21 +37992,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="digits" type="int"> </argument> <description> - Format a number to have an exact number of [code]digits[/code] before the decimal point. + Format a number to have an exact number of [code]digits[/code] before the decimal point. </description> </method> <method name="percent_decode"> <return type="String"> </return> <description> - Decode a percent-encoded string. See [method percent_encode]. + Decode a percent-encoded string. See [method percent_encode]. </description> </method> <method name="percent_encode"> <return type="String"> </return> <description> - Percent-encode a string. This is meant to encode parameters in a URL when sending a HTTP GET request and bodies of form-urlencoded POST request. + Percent-encode a string. This is meant to encode parameters in a URL when sending a HTTP GET request and bodies of form-urlencoded POST request. </description> </method> <method name="plus_file"> @@ -37916,7 +38015,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="file" type="String"> </argument> <description> - If the string is a path, this concatenates [code]file[/code] at the end of the string as a subpath. E.g. [code]"this/is".plus_file("path") == "this/is/path"[/code]. + If the string is a path, this concatenates [code]file[/code] at the end of the string as a subpath. E.g. [code]"this/is".plus_file("path") == "this/is/path"[/code]. </description> </method> <method name="replace"> @@ -37927,7 +38026,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="forwhat" type="String"> </argument> <description> - Replace occurrences of a substring for different ones inside the string. + Replace occurrences of a substring for different ones inside the string. </description> </method> <method name="replacen"> @@ -37938,7 +38037,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="forwhat" type="String"> </argument> <description> - Replace occurrences of a substring for different ones inside the string, but search case-insensitive. + Replace occurrences of a substring for different ones inside the string, but search case-insensitive. </description> </method> <method name="rfind"> @@ -37949,7 +38048,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="from" type="int" default="-1"> </argument> <description> - Perform a search for a substring, but start from the end of the string instead of the beginning. + Perform a search for a substring, but start from the end of the string instead of the beginning. </description> </method> <method name="rfindn"> @@ -37960,7 +38059,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="from" type="int" default="-1"> </argument> <description> - Perform a search for a substring, but start from the end of the string instead of the beginning. Also search case-insensitive. + Perform a search for a substring, but start from the end of the string instead of the beginning. Also search case-insensitive. </description> </method> <method name="right"> @@ -37969,7 +38068,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="pos" type="int"> </argument> <description> - Return the right side of the string from a given position. + Return the right side of the string from a given position. </description> </method> <method name="sha256_buffer"> @@ -37982,7 +38081,7 @@ A similar effect may be achieved moving this node's descendants. <return type="String"> </return> <description> - Return the SHA-256 hash of the string as a string. + Return the SHA-256 hash of the string as a string. </description> </method> <method name="similarity"> @@ -37991,7 +38090,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="text" type="String"> </argument> <description> - Return the similarity index of the text compared to this string. 1 means totally similar and 0 means totally dissimilar. + Return the similarity index of the text compared to this string. 1 means totally similar and 0 means totally dissimilar. </description> </method> <method name="split"> @@ -38002,7 +38101,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="allow_empty" type="bool" default="True"> </argument> <description> - Split the string by a divisor string, return an array of the substrings. Example "One,Two,Three" will return ["One","Two","Three"] if split by ",". + Split the string by a divisor string, return an array of the substrings. Example "One,Two,Three" will return ["One","Two","Three"] if split by ",". </description> </method> <method name="split_floats"> @@ -38013,7 +38112,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="allow_empty" type="bool" default="True"> </argument> <description> - Split the string in floats by using a divisor string, return an array of the substrings. Example "1,2.5,3" will return [1,2.5,3] if split by ",". + Split the string in floats by using a divisor string, return an array of the substrings. Example "1,2.5,3" will return [1,2.5,3] if split by ",". </description> </method> <method name="strip_edges"> @@ -38024,7 +38123,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="right" type="bool" default="True"> </argument> <description> - Return a copy of the string stripped of any non-printable character at the beginning and the end. The optional arguments are used to toggle stripping on the left and right edges respectively. + Return a copy of the string stripped of any non-printable character at the beginning and the end. The optional arguments are used to toggle stripping on the left and right edges respectively. </description> </method> <method name="substr"> @@ -38035,63 +38134,63 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="len" type="int"> </argument> <description> - Return part of the string from the position [code]from[/code], with length [code]len[/code]. + Return part of the string from the position [code]from[/code], with length [code]len[/code]. </description> </method> <method name="to_ascii"> <return type="RawArray"> </return> <description> - Convert the String (which is a character array) to RawArray (which is an array of bytes). The conversion is speeded up in comparison to to_utf8() with the assumption that all the characters the String contains are only ASCII characters. + Convert the String (which is a character array) to RawArray (which is an array of bytes). The conversion is speeded up in comparison to to_utf8() with the assumption that all the characters the String contains are only ASCII characters. </description> </method> <method name="to_float"> <return type="float"> </return> <description> - Convert a string, containing a decimal number, into a [code]float[/code]. + Convert a string, containing a decimal number, into a [code]float[/code]. </description> </method> <method name="to_int"> <return type="int"> </return> <description> - Convert a string, containing an integer number, into an [code]int[/code]. + Convert a string, containing an integer number, into an [code]int[/code]. </description> </method> <method name="to_lower"> <return type="String"> </return> <description> - Return the string converted to lowercase. + Return the string converted to lowercase. </description> </method> <method name="to_upper"> <return type="String"> </return> <description> - Return the string converted to uppercase. + Return the string converted to uppercase. </description> </method> <method name="to_utf8"> <return type="RawArray"> </return> <description> - Convert the String (which is an array of characters) to RawArray (which is an array of bytes). The conversion is a bit slower than to_ascii(), but supports all UTF-8 characters. Therefore, you should prefer this function over to_ascii(). + Convert the String (which is an array of characters) to RawArray (which is an array of bytes). The conversion is a bit slower than to_ascii(), but supports all UTF-8 characters. Therefore, you should prefer this function over to_ascii(). </description> </method> <method name="xml_escape"> <return type="String"> </return> <description> - Return a copy of the string with special characters escaped using the XML standard. + Return a copy of the string with special characters escaped using the XML standard. </description> </method> <method name="xml_unescape"> <return type="String"> </return> <description> - Return a copy of the string with escaped characters replaced by their meanings according to the XML standard. + Return a copy of the string with escaped characters replaced by their meanings according to the XML standard. </description> </method> </methods> @@ -38100,10 +38199,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StringArray" category="Built-In Types"> <brief_description> - String Array. + String Array. </brief_description> <description> - String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory. + String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory. </description> <methods> <method name="StringArray"> @@ -38112,21 +38211,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Array"> </argument> <description> - Create from a generic array. + Create from a generic array. </description> </method> <method name="append"> <argument index="0" name="string" type="String"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="append_array"> <argument index="0" name="array" type="StringArray"> </argument> <description> - Append an [StringArray] at the end of this array. + Append an [StringArray] at the end of this array. </description> </method> <method name="insert"> @@ -38137,33 +38236,33 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="string" type="String"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="string" type="String"> </argument> <description> - Append a string element at end of the array. + Append a string element at end of the array. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the [StringArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the [StringArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -38172,14 +38271,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="string" type="String"> </argument> <description> - Change the [String] at the given index. + Change the [String] at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the size of the array. + Return the size of the array. </description> </method> </methods> @@ -38188,10 +38287,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StyleBox" inherits="Resource" category="Core"> <brief_description> - Base class for drawing stylized boxes for the UI. + Base class for drawing stylized boxes for the UI. </brief_description> <description> - StyleBox is [Resource] that provides an abstract base class for drawing stylized boxes for the UI. StyleBoxes are used for drawing the styles of buttons, line edit backgrounds, tree backgrounds, etc. and also for testing a transparency mask for pointer signals. If mask test fails on a StyleBox assigned as mask to a control, clicks and motion signals will go through it to the one below. + StyleBox is [Resource] that provides an abstract base class for drawing stylized boxes for the UI. StyleBoxes are used for drawing the styles of buttons, line edit backgrounds, tree backgrounds, etc. and also for testing a transparency mask for pointer signals. If mask test fails on a StyleBox assigned as mask to a control, clicks and motion signals will go through it to the one below. </description> <methods> <method name="draw" qualifiers="const"> @@ -38214,7 +38313,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="margin" type="int"> </argument> <description> - Return the default offset of the margin "margin" (see MARGIN_* enum) of a StyleBox, Controls that draw styleboxes with context inside need to know the margin, so the border of the stylebox is not occluded. + Return the default offset of the margin "margin" (see MARGIN_* enum) of a StyleBox, Controls that draw styleboxes with context inside need to know the margin, so the border of the stylebox is not occluded. </description> </method> <method name="get_margin" qualifiers="const"> @@ -38223,21 +38322,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="margin" type="int"> </argument> <description> - Return the offset of margin "margin" (see MARGIN_* enum). + Return the offset of margin "margin" (see MARGIN_* enum). </description> </method> <method name="get_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the minimum size that this stylebox can be shrunk to. + Return the minimum size that this stylebox can be shrunk to. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the "offset" of a stylebox, this is a helper function, like writing [code]Vector2(style.get_margin(MARGIN_LEFT), style.get_margin(MARGIN_TOP))[/code]. + Return the "offset" of a stylebox, this is a helper function, like writing [code]Vector2(style.get_margin(MARGIN_LEFT), style.get_margin(MARGIN_TOP))[/code]. </description> </method> <method name="set_default_margin"> @@ -38246,7 +38345,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="offset" type="float"> </argument> <description> - Set the default offset "offset" of the margin "margin" (see MARGIN_* enum) for a StyleBox, Controls that draw styleboxes with context inside need to know the margin, so the border of the stylebox is not occluded. + Set the default offset "offset" of the margin "margin" (see MARGIN_* enum) for a StyleBox, Controls that draw styleboxes with context inside need to know the margin, so the border of the stylebox is not occluded. </description> </method> <method name="test_mask" qualifiers="const"> @@ -38257,7 +38356,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="rect" type="Rect2"> </argument> <description> - Test a position in a rectangle, return whether it passes the mask test. + Test a position in a rectangle, return whether it passes the mask test. </description> </method> </methods> @@ -38266,10 +38365,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StyleBoxEmpty" inherits="StyleBox" category="Core"> <brief_description> - Empty stylebox (does not display anything). + Empty stylebox (does not display anything). </brief_description> <description> - Empty stylebox (really does not display anything). + Empty stylebox (really does not display anything). </description> <methods> </methods> @@ -38278,10 +38377,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StyleBoxFlat" inherits="StyleBox" category="Core"> <brief_description> - Stylebox of a single color. + Stylebox of a single color. </brief_description> <description> - Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned. + Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned. </description> <methods> <method name="get_bg_color" qualifiers="const"> @@ -38362,17 +38461,17 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StyleBoxImageMask" inherits="StyleBox" category="Core"> <brief_description> - Image mask based StyleBox, for mask test. + Image mask based StyleBox, for mask test. </brief_description> <description> - This StyleBox is similar to [StyleBoxTexture], but only meant to be used for mask testing. It takes an image and applies stretch rules to determine if the point clicked is masked or not. + This StyleBox is similar to [StyleBoxTexture], but only meant to be used for mask testing. It takes an image and applies stretch rules to determine if the point clicked is masked or not. </description> <methods> <method name="get_expand" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the expand property is set(default). When expanding, the image will use the same rules as [StyleBoxTexture] for expand. If not expanding, the image will always be tested at its original size. + Return whether the expand property is set(default). When expanding, the image will use the same rules as [StyleBoxTexture] for expand. If not expanding, the image will always be tested at its original size. </description> </method> <method name="get_expand_margin_size" qualifiers="const"> @@ -38381,21 +38480,21 @@ A similar effect may be achieved moving this node's descendants. <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. + 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. </description> </method> <method name="get_image" qualifiers="const"> <return type="Image"> </return> <description> - Return the image used for mask testing. (see [method set_image]). + Return the image used for mask testing. (see [method set_image]). </description> </method> <method name="set_expand"> <argument index="0" name="expand" type="bool"> </argument> <description> - Set the expand property (default). When expanding, the image will use the same rules as [StyleBoxTexture] for expand. If not expanding, the image will always be tested at its original size. + Set the expand property (default). When expanding, the image will use the same rules as [StyleBoxTexture] for expand. If not expanding, the image will always be tested at its original size. </description> </method> <method name="set_expand_margin_size"> @@ -38404,14 +38503,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="size" type="float"> </argument> <description> - Set an 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. + Set an 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. </description> </method> <method name="set_image"> <argument index="0" name="image" type="Image"> </argument> <description> - Set the image used for mask testing. Pixels (converted to grey) that have a value, less than 0.5 will fail the test. + Set the image used for mask testing. Pixels (converted to grey) that have a value, less than 0.5 will fail the test. </description> </method> </methods> @@ -38420,10 +38519,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="StyleBoxTexture" inherits="StyleBox" category="Core"> <brief_description> - Texture Based 3x3 scale style. + Texture Based 3x3 scale style. </brief_description> <description> - Texture Based 3x3 scale style. This stylebox performs a 3x3 scaling of a texture, where only the center cell is fully stretched. This allows for the easy creation of bordered styles. + Texture Based 3x3 scale style. This stylebox performs a 3x3 scaling of a texture, where only the center cell is fully stretched. This allows for the easy creation of bordered styles. </description> <methods> <method name="get_draw_center" qualifiers="const"> @@ -38495,15 +38594,21 @@ A similar effect may be achieved moving this node's descendants. </description> </method> </methods> + <signals> + <signal name="texture_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> <class name="SurfaceTool" inherits="Reference" category="Core"> <brief_description> - Helper tool to create geometry. + Helper tool to create geometry. </brief_description> <description> - Helper tool to create geometry. + Helper tool to create geometry. </description> <methods> <method name="add_bones"> @@ -38539,13 +38644,13 @@ A similar effect may be achieved moving this node's descendants. <method name="add_triangle_fan"> <argument index="0" name="vertexes" type="Vector3Array"> </argument> - <argument index="1" name="uvs" type="Vector2Array" default="Vector2Array()"> + <argument index="1" name="uvs" type="Vector2Array" default="Vector2Array([])"> </argument> <argument index="2" name="colors" type="ColorArray" default="ColorArray([ColorArray])"> </argument> - <argument index="3" name="uv2s" type="Vector2Array" default="Vector2Array()"> + <argument index="3" name="uv2s" type="Vector2Array" default="Vector2Array([])"> </argument> - <argument index="4" name="normals" type="Vector3Array" default="Vector3Array()"> + <argument index="4" name="normals" type="Vector3Array" default="Vector3Array([])"> </argument> <argument index="5" name="tangents" type="Array" default="Array()"> </argument> @@ -38618,17 +38723,17 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TCP_Server" inherits="Reference" category="Core"> <brief_description> - TCP Server. + TCP Server. </brief_description> <description> - TCP Server class. Listens to connections on a port and returns a [StreamPeerTCP] when got a connection. + TCP Server class. Listens to connections on a port and returns a [StreamPeerTCP] when got a connection. </description> <methods> <method name="is_connection_available" qualifiers="const"> <return type="bool"> </return> <description> - Return true if a connection is available for taking. + Return true if a connection is available for taking. </description> </method> <method name="listen"> @@ -38636,22 +38741,22 @@ A similar effect may be achieved moving this node's descendants. </return> <argument index="0" name="port" type="int"> </argument> - <argument index="1" name="accepted_hosts" type="StringArray" default="StringArray()"> + <argument index="1" name="accepted_hosts" type="StringArray" default="StringArray([])"> </argument> <description> - Listen on a port, alternatively give a white-list of accepted hosts. + Listen on a port, alternatively give a white-list of accepted hosts. </description> </method> <method name="stop"> <description> - Stop listening. + Stop listening. </description> </method> <method name="take_connection"> <return type="Object"> </return> <description> - If a connection is available, return a StreamPeerTCP with the connection/ + If a connection is available, return a StreamPeerTCP with the connection/ </description> </method> </methods> @@ -38660,25 +38765,25 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TabContainer" inherits="Control" category="Core"> <brief_description> - Tabbed Container. + Tabbed Container. </brief_description> <description> - Tabbed Container. Contains several children controls, but shows only one at the same time. Clicking on the top tabs allows to change the currently visible one. - Children controls of this one automatically. + Tabbed Container. Contains several children controls, but shows only one at the same time. Clicking on the top tabs allows to change the currently visible one. + Children controls of this one automatically. </description> <methods> <method name="are_tabs_visible" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the tabs should be visible or hidden. + Return whether the tabs should be visible or hidden. </description> </method> <method name="get_current_tab" qualifiers="const"> <return type="int"> </return> <description> - Return the current tab that is being showed. + Return the current tab that is being showed. </description> </method> <method name="get_current_tab_control" qualifiers="const"> @@ -38697,7 +38802,7 @@ A similar effect may be achieved moving this node's descendants. <return type="int"> </return> <description> - Return tab alignment, from the ALIGN_* enum. + Return tab alignment, from the ALIGN_* enum. </description> </method> <method name="get_tab_control" qualifiers="const"> @@ -38712,7 +38817,7 @@ A similar effect may be achieved moving this node's descendants. <return type="int"> </return> <description> - Return the amount of tabs. + Return the amount of tabs. </description> </method> <method name="get_tab_icon" qualifiers="const"> @@ -38729,14 +38834,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="tab_idx" type="int"> </argument> <description> - Return the title for the tab. Tab titles are by default the children node name, but this can be overridden. + Return the title for the tab. Tab titles are by default the children node name, but this can be overridden. </description> </method> <method name="set_current_tab"> <argument index="0" name="tab_idx" type="int"> </argument> <description> - Bring a tab (and the Control it represents) to the front, and hide the rest. + Bring a tab (and the Control it represents) to the front, and hide the rest. </description> </method> <method name="set_popup"> @@ -38749,7 +38854,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="align" type="int"> </argument> <description> - Set tab alignment, from the ALIGN_* enum. Moves tabs to the left, right or center. + Set tab alignment, from the ALIGN_* enum. Moves tabs to the left, right or center. </description> </method> <method name="set_tab_icon"> @@ -38758,7 +38863,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="icon" type="Texture"> </argument> <description> - Set an icon for a tab. + Set an icon for a tab. </description> </method> <method name="set_tab_title"> @@ -38767,14 +38872,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="title" type="String"> </argument> <description> - Set a title for the tab. Tab titles are by default the children node name, but this can be overridden. + Set a title for the tab. Tab titles are by default the children node name, but this can be overridden. </description> </method> <method name="set_tabs_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> - Set whether the tabs should be visible or hidden. + Set whether the tabs should be visible or hidden. </description> </method> </methods> @@ -38787,7 +38892,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="tab" type="int"> </argument> <description> - Emitted when the current tab changes. + Emitted when the current tab changes. </description> </signal> </signals> @@ -38832,10 +38937,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Tabs" inherits="Control" category="Core"> <brief_description> - Tabs Control. + Tabs Control. </brief_description> <description> - Simple tabs control, similar to [TabContainer] but is only in charge of drawing tabs, not interact with children. + Simple tabs control, similar to [TabContainer] but is only in charge of drawing tabs, not interact with children. </description> <methods> <method name="add_tab"> @@ -38948,12 +39053,12 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="ALIGN_RIGHT" value="2"> </constant> - <constant name="CLOSE_BUTTON_SHOW_NEVER" value="0"> - </constant> <constant name="CLOSE_BUTTON_SHOW_ACTIVE_ONLY" value="1"> </constant> <constant name="CLOSE_BUTTON_SHOW_ALWAYS" value="2"> </constant> + <constant name="CLOSE_BUTTON_SHOW_NEVER" value="0"> + </constant> </constants> <theme_items> <theme_item name="button" type="StyleBox"> @@ -38994,10 +39099,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TestCube" inherits="GeometryInstance" category="Core"> <brief_description> - A simple cube used for testing in 3D. + A simple cube used for testing in 3D. </brief_description> <description> - The TestCube is a simple 2x2x2 cube with a basic texture. It can be used as a placeholder, to verify how the lighting looks, to test shaders, or any other task you may need a textured model to test with. + The TestCube is a simple 2x2x2 cube with a basic texture. It can be used as a placeholder, to verify how the lighting looks, to test shaders, or any other task you may need a textured model to test with. </description> <methods> </methods> @@ -39006,10 +39111,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TextEdit" inherits="Control" category="Core"> <brief_description> - Multiline text editing control. + Multiline text editing control. </brief_description> <description> - TextEdit is meant for editing large, multiline text. It also has facilities for editing code, such as syntax highlighting support and multiple levels of undo/redo. + TextEdit is meant for editing large, multiline text. It also has facilities for editing code, such as syntax highlighting support and multiple levels of undo/redo. </description> <methods> <method name="add_color_region"> @@ -39022,7 +39127,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="line_only" type="bool" default="false"> </argument> <description> - Add color region (given the delimiters) and its colors. + Add color region (given the delimiters) and its colors. </description> </method> <method name="add_keyword_color"> @@ -39031,64 +39136,64 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="color" type="Color"> </argument> <description> - Add a keyword and its color. + Add a keyword and its color. </description> </method> <method name="clear_colors"> <description> - Clear all the syntax coloring information. + Clear all the syntax coloring information. </description> </method> <method name="clear_undo_history"> <description> - Clear the undo history. + Clear the undo history. </description> </method> <method name="copy"> <description> - Copy the current selection. + Copy the current selection. </description> </method> <method name="cursor_get_blink_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Gets whether the text editor caret is blinking. + Gets whether the text editor caret is blinking. </description> </method> <method name="cursor_get_blink_speed" qualifiers="const"> <return type="float"> </return> <description> - Gets the text editor caret blink speed. + Gets the text editor caret blink speed. </description> </method> <method name="cursor_get_column" qualifiers="const"> <return type="int"> </return> <description> - Return the column the editing cursor is at. + Return the column the editing cursor is at. </description> </method> <method name="cursor_get_line" qualifiers="const"> <return type="int"> </return> <description> - Return the line the editing cursor is at. + Return the line the editing cursor is at. </description> </method> <method name="cursor_set_blink_enabled"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the text editor caret to blink. + Set the text editor caret to blink. </description> </method> <method name="cursor_set_blink_speed"> <argument index="0" name="blink_speed" type="float"> </argument> <description> - Set the text editor caret blink speed. Cannot be less then or equal to 0. + Set the text editor caret blink speed. Cannot be less then or equal to 0. </description> </method> <method name="cursor_set_column"> @@ -39109,7 +39214,7 @@ A similar effect may be achieved moving this node's descendants. </method> <method name="cut"> <description> - Cut the current selection. + Cut the current selection. </description> </method> <method name="get_line" qualifiers="const"> @@ -39118,14 +39223,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="line" type="int"> </argument> <description> - Return the text of a specific line. + Return the text of a specific line. </description> </method> <method name="get_line_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of total lines in the text. + Return the amount of total lines in the text. </description> </method> <method name="get_menu" qualifiers="const"> @@ -39138,42 +39243,42 @@ A similar effect may be achieved moving this node's descendants. <return type="int"> </return> <description> - Return the selection begin column. + Return the selection begin column. </description> </method> <method name="get_selection_from_line" qualifiers="const"> <return type="int"> </return> <description> - Return the selection begin line. + Return the selection begin line. </description> </method> <method name="get_selection_text" qualifiers="const"> <return type="String"> </return> <description> - Return the text inside the selection. + Return the text inside the selection. </description> </method> <method name="get_selection_to_column" qualifiers="const"> <return type="int"> </return> <description> - Return the selection end column. + Return the selection end column. </description> </method> <method name="get_selection_to_line" qualifiers="const"> <return type="int"> </return> <description> - Return the selection end line. + Return the selection end line. </description> </method> <method name="get_text"> <return type="String"> </return> <description> - Return the whole text. + Return the whole text. </description> </method> <method name="get_word_under_cursor" qualifiers="const"> @@ -39186,21 +39291,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="text" type="String"> </argument> <description> - Insert a given text at the cursor position. + Insert a given text at the cursor position. </description> </method> <method name="is_selection_active" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the selection is active. + Return true if the selection is active. </description> </method> <method name="is_syntax_coloring_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the syntax coloring is enabled. + Return true if the syntax coloring is enabled. </description> </method> <method name="menu_option"> @@ -39211,12 +39316,12 @@ A similar effect may be achieved moving this node's descendants. </method> <method name="paste"> <description> - Paste the current selection. + Paste the current selection. </description> </method> <method name="redo"> <description> - Perform redo operation. + Perform redo operation. </description> </method> <method name="search" qualifiers="const"> @@ -39231,7 +39336,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="to_line" type="int"> </argument> <description> - Perform a search inside the text. Search flags can be specified in the SEARCH_* enum. + Perform a search inside the text. Search flags can be specified in the SEARCH_* enum. </description> </method> <method name="select"> @@ -39244,73 +39349,73 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="to_column" type="int"> </argument> <description> - Perform selection, from line/column to line/column. + Perform selection, from line/column to line/column. </description> </method> <method name="select_all"> <description> - Select all the text. + Select all the text. </description> </method> <method name="set_custom_bg_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Set a custom background color. A background color with alpha==0 disables this. + Set a custom background color. A background color with alpha==0 disables this. </description> </method> <method name="set_max_chars"> <argument index="0" name="amount" type="int"> </argument> <description> - Set the maximum amount of characters editable. + Set the maximum amount of characters editable. </description> </method> <method name="set_readonly"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the text editor as read-only. Text can be displayed but not edited. + Set the text editor as read-only. Text can be displayed but not edited. </description> </method> <method name="set_symbol_color"> <argument index="0" name="color" type="Color"> </argument> <description> - Set the color for symbols. + Set the color for symbols. </description> </method> <method name="set_syntax_coloring"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set to enable the syntax coloring. + Set to enable the syntax coloring. </description> </method> <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> - Set the entire text. + Set the entire text. </description> </method> <method name="set_wrap"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable text wrapping when it goes beyond he edge of what is visible. + Enable text wrapping when it goes beyond he edge of what is visible. </description> </method> <method name="undo"> <description> - Perform undo operation. + Perform undo operation. </description> </method> </methods> <signals> <signal name="cursor_changed"> <description> - Emitted when the cursor changes. + Emitted when the cursor changes. </description> </signal> <signal name="request_completion"> @@ -39319,11 +39424,20 @@ A similar effect may be achieved moving this node's descendants. </signal> <signal name="text_changed"> <description> - Emitted when the text changes. + Emitted when the text changes. </description> </signal> </signals> <constants> + <constant name="SEARCH_MATCH_CASE" value="1"> + Match case when searching. + </constant> + <constant name="SEARCH_WHOLE_WORDS" value="2"> + Match whole words when searching. + </constant> + <constant name="SEARCH_BACKWARDS" value="4"> + Search from end to beginning. + </constant> <constant name="MENU_CUT" value="0"> </constant> <constant name="MENU_COPY" value="1"> @@ -39338,15 +39452,6 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="MENU_MAX" value="6"> </constant> - <constant name="SEARCH_MATCH_CASE" value="1"> - Match case when searching. - </constant> - <constant name="SEARCH_WHOLE_WORDS" value="2"> - Match whole words when searching. - </constant> - <constant name="SEARCH_BACKWARDS" value="4"> - Search from end to beginning. - </constant> </constants> <theme_items> <theme_item name="brace_mismatch_color" type="Color"> @@ -39357,6 +39462,10 @@ A similar effect may be achieved moving this node's descendants. </theme_item> <theme_item name="completion" type="StyleBox"> </theme_item> + <theme_item name="completion_background_color" type="Color"> + </theme_item> + <theme_item name="completion_existing_color" type="Color"> + </theme_item> <theme_item name="completion_lines" type="int"> </theme_item> <theme_item name="completion_max_width" type="int"> @@ -39365,6 +39474,8 @@ A similar effect may be achieved moving this node's descendants. </theme_item> <theme_item name="completion_scroll_width" type="int"> </theme_item> + <theme_item name="completion_selected_color" type="Color"> + </theme_item> <theme_item name="current_line_color" type="Color"> </theme_item> <theme_item name="focus" type="StyleBox"> @@ -39391,10 +39502,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Texture" inherits="Resource" category="Core"> <brief_description> - Texture for 2D and 3D. + Texture for 2D and 3D. </brief_description> <description> - A texture works by registering an image in the video hardware, which then can be used in 3D models or 2D [Sprite] or GUI [Control]. + A texture works by registering an image in the video hardware, which then can be used in 3D models or 2D [Sprite] or GUI [Control]. </description> <methods> <method name="draw" qualifiers="const"> @@ -39441,35 +39552,35 @@ A similar effect may be achieved moving this node's descendants. <return type="int"> </return> <description> - Return the current texture flags. + Return the current texture flags. </description> </method> <method name="get_height" qualifiers="const"> <return type="int"> </return> <description> - Return the texture height. + Return the texture height. </description> </method> <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> - Return the texture RID as used in the [VisualServer]. + Return the texture RID as used in the [VisualServer]. </description> </method> <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the texture size. + Return the texture size. </description> </method> <method name="get_width" qualifiers="const"> <return type="int"> </return> <description> - Return the texture width. + Return the texture width. </description> </method> <method name="has_alpha" qualifiers="const"> @@ -39482,7 +39593,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="flags" type="int"> </argument> <description> - Change the texture flags. + Change the texture flags. </description> </method> </methods> @@ -39490,33 +39601,33 @@ A similar effect may be achieved moving this node's descendants. <constant name="FLAG_MIPMAPS" value="1"> Generate mipmaps, to enable smooth zooming out of the texture. </constant> - <constant name="FLAG_CONVERT_TO_LINEAR" value="16"> - </constant> <constant name="FLAG_REPEAT" value="2"> Repeat (instead of clamp to edge). </constant> - <constant name="FLAG_MIRRORED_REPEAT" value="32"> - </constant> <constant name="FLAG_FILTER" value="4"> Turn on magnifying filter, to enable smooth zooming in of the texture. </constant> <constant name="FLAG_VIDEO_SURFACE" value="4096"> Texture is a video surface. </constant> - <constant name="FLAG_ANISOTROPIC_FILTER" value="8"> - </constant> <constant name="FLAGS_DEFAULT" value="7"> Default flags. Generate mipmaps, repeat, and filter are enabled. </constant> + <constant name="FLAG_ANISOTROPIC_FILTER" value="8"> + </constant> + <constant name="FLAG_CONVERT_TO_LINEAR" value="16"> + </constant> + <constant name="FLAG_MIRRORED_REPEAT" value="32"> + </constant> </constants> </class> <class name="TextureButton" inherits="BaseButton" category="Core"> <brief_description> - Button that can be themed with textures. + Button that can be themed with textures. </brief_description> <description> - Button that can be themed with textures. This is like a regular [Button] but can be themed by assigning textures to it. This button is intended to be easy to theme, however a regular button can expand (that uses styleboxes) and still be better if the interface is expect to have internationalization of texts. - Only the normal texture is required, the others are optional. + Button that can be themed with textures. This is like a regular [Button] but can be themed by assigning textures to it. This button is intended to be easy to theme, however a regular button can expand (that uses styleboxes) and still be better if the interface is expect to have internationalization of texts. + Only the normal texture is required, the others are optional. </description> <methods> <method name="get_click_mask" qualifiers="const"> @@ -39621,10 +39732,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TextureFrame" inherits="Control" category="Core"> <brief_description> - Control Frame that draws a texture. + Control Frame that draws a texture. </brief_description> <description> - Control frame that simply draws an assigned texture. It can stretch or not. It's a simple way to just show an image in a UI. + Control frame that simply draws an assigned texture. It can stretch or not. It's a simple way to just show an image in a UI. </description> <methods> <method name="get_modulate" qualifiers="const"> @@ -39695,10 +39806,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TextureProgress" inherits="Range" category="Core"> <brief_description> - Textured progress bar implementation. + Textured progress bar implementation. </brief_description> <description> - [ProgressBar] implementation that is easier to theme (by just passing a few textures). + [ProgressBar] implementation that is easier to theme (by just passing a few textures). </description> <methods> <method name="get_fill_degrees"> @@ -39803,11 +39914,11 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Theme" inherits="Resource" category="Core"> <brief_description> - Theme for controls. + Theme for controls. </brief_description> <description> - Theme for skinning controls. Controls can be skinned individually, but for complex applications it's more efficient to just create a global theme that defines everything. This theme can be applied to any [Control], and it and its children will automatically use it. - Theme resources can be alternatively loaded by writing them in a .theme file, see wiki for more info. + Theme for skinning controls. Controls can be skinned individually, but for complex applications it's more efficient to just create a global theme that defines everything. This theme can be applied to any [Control], and it and its children will automatically use it. + Theme resources can be alternatively loaded by writing them in a .theme file, see docs for more info. </description> <methods> <method name="clear_color"> @@ -40076,24 +40187,24 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Thread" inherits="Reference" category="Core"> <brief_description> - A unit of execution in a process. + A unit of execution in a process. </brief_description> <description> - A unit of execution in a process. Can run methods on [Object]s simultaneously. The use of synchronization via [Mutex], [Semaphore] is advised if working with shared objects. + A unit of execution in a process. Can run methods on [Object]s simultaneously. The use of synchronization via [Mutex], [Semaphore] is advised if working with shared objects. </description> <methods> <method name="get_id" qualifiers="const"> <return type="String"> </return> <description> - Return the id of the thread, uniquely identifying it among all threads. + Return the id of the thread, uniquely identifying it among all threads. </description> </method> <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> - Whether this thread is currently active, an active Thread cannot start work on a new method but can be joined with [method wait_to_finish]. + Whether this thread is currently active, an active Thread cannot start work on a new method but can be joined with [method wait_to_finish]. </description> </method> <method name="start"> @@ -40108,15 +40219,15 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="priority" type="int" default="1"> </argument> <description> - Start a new [Thread], it will run "method" on object "instance" using "userdata" as an argument and running with "priority", one of PRIORITY_* enum. - Returns OK on success, or ERR_CANT_CREATE on failure. + Start a new [Thread], it will run "method" on object "instance" using "userdata" as an argument and running with "priority", one of PRIORITY_* enum. + Returns OK on success, or ERR_CANT_CREATE on failure. </description> </method> <method name="wait_to_finish"> <return type="Variant"> </return> <description> - Joins the [Thread] and waits for it to finish. Returns what the method called returned. + Joins the [Thread] and waits for it to finish. Returns what the method called returned. </description> </method> </methods> @@ -40131,16 +40242,16 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TileMap" inherits="Node2D" category="Core"> <brief_description> - Node for 2D tile-based games. + Node for 2D tile-based games. </brief_description> <description> - Node for 2D tile-based games. Tilemaps use a [TileSet] which contain a list of tiles (textures, their rect and a collision) and are used to create complex grid-based maps. - To optimize drawing and culling (sort of like [GridMap]), you can specify a quadrant size, so chunks of the map will be batched together at drawing time. + Node for 2D tile-based games. Tilemaps use a [TileSet] which contain a list of tiles (textures, their rect and a collision) and are used to create complex grid-based maps. + To optimize drawing and culling (sort of like [GridMap]), you can specify a quadrant size, so chunks of the map will be batched together at drawing time. </description> <methods> <method name="clear"> <description> - Clear all cells. + Clear all cells. </description> </method> <method name="get_cell" qualifiers="const"> @@ -40151,14 +40262,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="y" type="int"> </argument> <description> - Return the tile index of the referenced cell. + Return the tile index of the referenced cell. </description> </method> <method name="get_cell_size" qualifiers="const"> <return type="Vector2"> </return> <description> - Return the cell size. + Return the cell size. </description> </method> <method name="get_cellv" qualifiers="const"> @@ -40167,77 +40278,77 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="pos" type="Vector2"> </argument> <description> - Return the tile index of the cell referenced by a Vector2. + Return the tile index of the cell referenced by a Vector2. </description> </method> <method name="get_center_x" qualifiers="const"> <return type="bool"> </return> <description> - Return true if tiles are to be centered in x coordinate (by default this is false and they are drawn from upper left cell corner). + Return true if tiles are to be centered in x coordinate (by default this is false and they are drawn from upper left cell corner). </description> </method> <method name="get_center_y" qualifiers="const"> <return type="bool"> </return> <description> - Return true if tiles are to be centered in y coordinate (by default this is false and they are drawn from upper left cell corner). + Return true if tiles are to be centered in y coordinate (by default this is false and they are drawn from upper left cell corner). </description> </method> <method name="get_collision_bounce" qualifiers="const"> <return type="float"> </return> <description> - Return the collision bounce parameter. + Return the collision bounce parameter. </description> </method> <method name="get_collision_friction" qualifiers="const"> <return type="float"> </return> <description> - Return the collision friction parameter. + Return the collision friction parameter. </description> </method> <method name="get_collision_layer" qualifiers="const"> <return type="int"> </return> <description> - Return the collision layer. + Return the collision layer. </description> </method> <method name="get_collision_mask" qualifiers="const"> <return type="int"> </return> <description> - Return the collision mask. + Return the collision mask. </description> </method> <method name="get_collision_use_kinematic" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the tilemap handles collisions as a kinematic body. + Return whether the tilemap handles collisions as a kinematic body. </description> </method> <method name="get_custom_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Return the custom transform matrix. + Return the custom transform matrix. </description> </method> <method name="get_half_offset" qualifiers="const"> <return type="int"> </return> <description> - Return the current half offset configuration. + Return the current half offset configuration. </description> </method> <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the orientation mode. + Return the orientation mode. </description> </method> <method name="get_occluder_light_mask" qualifiers="const"> @@ -40250,28 +40361,28 @@ A similar effect may be achieved moving this node's descendants. <return type="int"> </return> <description> - Return the quadrant size. + Return the quadrant size. </description> </method> <method name="get_tile_origin" qualifiers="const"> <return type="int"> </return> <description> - Return the tile origin configuration. + Return the tile origin configuration. </description> </method> <method name="get_tileset" qualifiers="const"> <return type="TileSet"> </return> <description> - Return the current tileset. + Return the current tileset. </description> </method> <method name="get_used_cells" qualifiers="const"> <return type="Array"> </return> <description> - Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1). + Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1). </description> </method> <method name="is_cell_transposed" qualifiers="const"> @@ -40282,7 +40393,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="y" type="int"> </argument> <description> - Return whether the referenced cell is transposed, i.e. the X and Y axes are swapped (mirroring with regard to the (1,1) vector). + Return whether the referenced cell is transposed, i.e. the X and Y axes are swapped (mirroring with regard to the (1,1) vector). </description> </method> <method name="is_cell_x_flipped" qualifiers="const"> @@ -40293,7 +40404,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="y" type="int"> </argument> <description> - Return whether the referenced cell is flipped over the X axis. + Return whether the referenced cell is flipped over the X axis. </description> </method> <method name="is_cell_y_flipped" qualifiers="const"> @@ -40304,14 +40415,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="y" type="int"> </argument> <description> - Return whether the referenced cell is flipped over the Y axis. + Return whether the referenced cell is flipped over the Y axis. </description> </method> <method name="is_y_sort_mode_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return the Y sort mode. + Return the Y sort mode. </description> </method> <method name="map_to_world" qualifiers="const"> @@ -40322,8 +40433,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="ignore_half_ofs" type="bool" default="false"> </argument> <description> - Return the absolute world position corresponding to the tilemap (grid-based) coordinates given as an argument. - Optionally, the tilemap's potential half offset can be ignored. + Return the absolute world position corresponding to the tilemap (grid-based) coordinates given as an argument. + Optionally, the tilemap's potential half offset can be ignored. </description> </method> <method name="set_cell"> @@ -40340,16 +40451,16 @@ A similar effect may be achieved moving this node's descendants. <argument index="5" name="transpose" type="bool" default="false"> </argument> <description> - Set the tile index for the cell referenced by its grid-based X and Y coordinates. - A tile index of -1 clears the cell. - Optionally, the tile can also be flipped over the X and Y coordinates or transposed. + Set the tile index for the cell referenced by its grid-based X and Y coordinates. + A tile index of -1 clears the cell. + Optionally, the tile can also be flipped over the X and Y coordinates or transposed. </description> </method> <method name="set_cell_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> - Set the cell size. + Set the cell size. </description> </method> <method name="set_cellv"> @@ -40364,84 +40475,82 @@ A similar effect may be achieved moving this node's descendants. <argument index="4" name="transpose" type="bool" default="false"> </argument> <description> - Set the tile index for the cell referenced by a Vector2 of grid-based coordinates. - A tile index of -1 clears the cell. - Optionally, the tile can also be flipped over the X and Y axes or transposed. + Set the tile index for the cell referenced by a Vector2 of grid-based coordinates. + A tile index of -1 clears the cell. + Optionally, the tile can also be flipped over the X and Y axes or transposed. </description> </method> <method name="set_center_x"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set tiles to be centered in x coordinate. (by default this is false and they are drawn from upper left cell corner). + Set tiles to be centered in x coordinate. (by default this is false and they are drawn from upper left cell corner). </description> </method> <method name="set_center_y"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set tiles to be centered in y coordinate. (by default this is false and they are drawn from upper left cell corner). + Set tiles to be centered in y coordinate. (by default this is false and they are drawn from upper left cell corner). </description> </method> <method name="set_collision_bounce"> <argument index="0" name="value" type="float"> </argument> <description> - Set the collision bounce parameter. - Allowable values range from 0 to 1. + Set the collision bounce parameter. Allowable values range from 0 to 1. </description> </method> <method name="set_collision_friction"> <argument index="0" name="value" type="float"> </argument> <description> - Set the collision friction parameter. - Allowable values range from 0 to 1. + Set the collision friction parameter. Allowable values range from 0 to 1. </description> </method> <method name="set_collision_layer"> <argument index="0" name="mask" type="int"> </argument> <description> - Set the collision layer. - Layers are referenced by binary indexes, so allowable values to describe the 20 available layers range from 0 to 2^20-1. + Set the collision layer. + Layers are referenced by binary indexes, so allowable values to describe the 20 available layers range from 0 to 2^20-1. </description> </method> <method name="set_collision_mask"> <argument index="0" name="mask" type="int"> </argument> <description> - Set the collision masks. - Masks are referenced by binary indexes, so allowable values to describe the 20 available masks range from 0 to 2^20-1. + Set the collision masks. + Masks are referenced by binary indexes, so allowable values to describe the 20 available masks range from 0 to 2^20-1. </description> </method> <method name="set_collision_use_kinematic"> <argument index="0" name="use_kinematic" type="bool"> </argument> <description> - Set the tilemap to handle collisions as a kinematic body (enabled) or a static body (disabled). + Set the tilemap to handle collisions as a kinematic body (enabled) or a static body (disabled). </description> </method> <method name="set_custom_transform"> <argument index="0" name="custom_transform" type="Matrix32"> </argument> <description> - Set custom transform matrix, to use in combination with the custom orientation mode. + Set custom transform matrix, to use in combination with the custom orientation mode. </description> </method> <method name="set_half_offset"> <argument index="0" name="half_offset" type="int"> </argument> <description> - Set an half offset on the X coordinate, Y coordinate, or none (use HALF_OFFSET_* constants as argument). - Half offset sets every other tile off by a half tile size in the specified direction. + Set an half offset on the X coordinate, Y coordinate, or none (use HALF_OFFSET_* constants as argument). + Half offset sets every other tile off by a half tile size in the specified direction. </description> </method> <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the orientation mode as square, isometric or custom (use MODE_* constants as argument). + Set the orientation mode as square, isometric or custom (use MODE_* constants as argument). </description> </method> <method name="set_occluder_light_mask"> @@ -40454,30 +40563,30 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="size" type="int"> </argument> <description> - Set the quadrant size, this optimizes drawing by batching chunks of map at draw/cull time. - Allowed values are integers ranging from 1 to 128. + Set the quadrant size, this optimizes drawing by batching chunks of map at draw/cull time. + Allowed values are integers ranging from 1 to 128. </description> </method> <method name="set_tile_origin"> <argument index="0" name="origin" type="int"> </argument> <description> - Set the tile origin to the tile center or its top-left corner (use TILE_ORIGIN_* constants as argument). + Set the tile origin to the tile center or its top-left corner (use TILE_ORIGIN_* constants as argument). </description> </method> <method name="set_tileset"> <argument index="0" name="tileset" type="TileSet"> </argument> <description> - Set the current tileset. + Set the current tileset. </description> </method> <method name="set_y_sort_mode"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the Y sort mode. Enabled Y sort mode means that children of the tilemap will be drawn in the order defined by their Y coordinate. - A tile with a higher Y coordinate will therefore be drawn later, potentially covering up the tile(s) above it if its sprite is higher than its cell size. + Set the Y sort mode. Enabled Y sort mode means that children of the tilemap will be drawn in the order defined by their Y coordinate. + A tile with a higher Y coordinate will therefore be drawn later, potentially covering up the tile(s) above it if its sprite is higher than its cell size. </description> </method> <method name="world_to_map" qualifiers="const"> @@ -40486,27 +40595,18 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="worldpos" type="Vector2"> </argument> <description> - Return the tilemap (grid-based) coordinates corresponding to the absolute world position given as an argument. + Return the tilemap (grid-based) coordinates corresponding to the absolute world position given as an argument. </description> </method> </methods> <signals> <signal name="settings_changed"> <description> - Signal indicating that a tilemap setting has changed. + Signal indicating that a tilemap setting has changed. </description> </signal> </signals> <constants> - <constant name="HALF_OFFSET_X" value="0"> - Half offset on the X coordinate. - </constant> - <constant name="HALF_OFFSET_Y" value="1"> - Half offset on the Y coordinate. - </constant> - <constant name="HALF_OFFSET_DISABLED" value="2"> - Half offset disabled. - </constant> <constant name="INVALID_CELL" value="-1"> Returned when a cell doesn't exist. </constant> @@ -40519,6 +40619,15 @@ A similar effect may be achieved moving this node's descendants. <constant name="MODE_CUSTOM" value="2"> Custom orientation mode. </constant> + <constant name="HALF_OFFSET_X" value="0"> + Half offset on the X coordinate. + </constant> + <constant name="HALF_OFFSET_Y" value="1"> + Half offset on the Y coordinate. + </constant> + <constant name="HALF_OFFSET_DISABLED" value="2"> + Half offset disabled. + </constant> <constant name="TILE_ORIGIN_TOP_LEFT" value="0"> Tile origin at its top-left corner. </constant> @@ -40529,23 +40638,23 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TileSet" inherits="Resource" category="Core"> <brief_description> - Tile library for tilemaps. + Tile library for tilemaps. </brief_description> <description> - A TileSet is a library of tiles for a [TileMap]. It contains a list of tiles, each consisting of a sprite and optional collision shapes. - Tiles are referenced by a unique integer ID. + A TileSet is a library of tiles for a [TileMap]. It contains a list of tiles, each consisting of a sprite and optional collision shapes. + Tiles are referenced by a unique integer ID. </description> <methods> <method name="clear"> <description> - Clear all tiles. + Clear all tiles. </description> </method> <method name="create_tile"> <argument index="0" name="id" type="int"> </argument> <description> - Create a new tile which will be referenced by the given ID. + Create a new tile which will be referenced by the given ID. </description> </method> <method name="find_tile_by_name" qualifiers="const"> @@ -40554,28 +40663,28 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="name" type="String"> </argument> <description> - Find the first tile matching the given name. + Find the first tile matching the given name. </description> </method> <method name="get_last_unused_tile_id" qualifiers="const"> <return type="int"> </return> <description> - Return the ID following the last currently used ID, useful when creating a new tile. + Return the ID following the last currently used ID, useful when creating a new tile. </description> </method> <method name="get_tiles_ids" qualifiers="const"> <return type="Array"> </return> <description> - Return an array of all currently used tile IDs. + Return an array of all currently used tile IDs. </description> </method> <method name="remove_tile"> <argument index="0" name="id" type="int"> </argument> <description> - Remove the tile referenced by the given ID. + Remove the tile referenced by the given ID. </description> </method> <method name="tile_get_light_occluder" qualifiers="const"> @@ -40584,7 +40693,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the light occluder of the tile. + Return the light occluder of the tile. </description> </method> <method name="tile_get_material" qualifiers="const"> @@ -40593,7 +40702,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the material of the tile. + Return the material of the tile. </description> </method> <method name="tile_get_name" qualifiers="const"> @@ -40602,7 +40711,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the name of the tile. + Return the name of the tile. </description> </method> <method name="tile_get_navigation_polygon" qualifiers="const"> @@ -40611,7 +40720,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the navigation polygon of the tile. + Return the navigation polygon of the tile. </description> </method> <method name="tile_get_navigation_polygon_offset" qualifiers="const"> @@ -40620,7 +40729,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the offset of the tile's navigation polygon. + Return the offset of the tile's navigation polygon. </description> </method> <method name="tile_get_occluder_offset" qualifiers="const"> @@ -40629,7 +40738,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the offset of the tile's light occluder. + Return the offset of the tile's light occluder. </description> </method> <method name="tile_get_region" qualifiers="const"> @@ -40638,7 +40747,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the tile sub-region in the texture. + Return the tile sub-region in the texture. </description> </method> <method name="tile_get_shape" qualifiers="const"> @@ -40647,7 +40756,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the shape of the tile. + Return the shape of the tile. </description> </method> <method name="tile_get_shape_offset" qualifiers="const"> @@ -40656,7 +40765,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the shape offset of the tile. + Return the shape offset of the tile. </description> </method> <method name="tile_get_shapes" qualifiers="const"> @@ -40665,7 +40774,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the array of shapes of the tile. + Return the array of shapes of the tile. </description> </method> <method name="tile_get_texture" qualifiers="const"> @@ -40674,7 +40783,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the texture of the tile. + Return the texture of the tile. </description> </method> <method name="tile_get_texture_offset" qualifiers="const"> @@ -40683,7 +40792,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="id" type="int"> </argument> <description> - Return the texture offset of the tile. + Return the texture offset of the tile. </description> </method> <method name="tile_set_light_occluder"> @@ -40692,7 +40801,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="light_occluder" type="OccluderPolygon2D"> </argument> <description> - Set a light occluder for the tile. + Set a light occluder for the tile. </description> </method> <method name="tile_set_material"> @@ -40701,7 +40810,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="material" type="CanvasItemMaterial"> </argument> <description> - Set the material of the tile. + Set the material of the tile. </description> </method> <method name="tile_set_name"> @@ -40710,7 +40819,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="name" type="String"> </argument> <description> - Set the name of the tile, for descriptive purposes. + Set the name of the tile, for descriptive purposes. </description> </method> <method name="tile_set_navigation_polygon"> @@ -40719,7 +40828,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="navigation_polygon" type="NavigationPolygon"> </argument> <description> - Set a navigation polygon for the tile. + Set a navigation polygon for the tile. </description> </method> <method name="tile_set_navigation_polygon_offset"> @@ -40728,7 +40837,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="navigation_polygon_offset" type="Vector2"> </argument> <description> - Set an offset for the tile's navigation polygon. + Set an offset for the tile's navigation polygon. </description> </method> <method name="tile_set_occluder_offset"> @@ -40737,7 +40846,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="occluder_offset" type="Vector2"> </argument> <description> - Set an offset for the tile's light occluder. + Set an offset for the tile's light occluder. </description> </method> <method name="tile_set_region"> @@ -40746,7 +40855,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="region" type="Rect2"> </argument> <description> - Set the tile sub-region in the texture. This is common in texture atlases. + Set the tile sub-region in the texture. This is common in texture atlases. </description> </method> <method name="tile_set_shape"> @@ -40755,7 +40864,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape" type="Shape2D"> </argument> <description> - Set a shape for the tile, enabling physics to collide with it. + Set a shape for the tile, enabling physics to collide with it. </description> </method> <method name="tile_set_shape_offset"> @@ -40764,7 +40873,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shape_offset" type="Vector2"> </argument> <description> - Set the shape offset of the tile. + Set the shape offset of the tile. </description> </method> <method name="tile_set_shapes"> @@ -40773,7 +40882,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="shapes" type="Array"> </argument> <description> - Set an array of shapes for the tile, enabling physics to collide with it. + Set an array of shapes for the tile, enabling physics to collide with it. </description> </method> <method name="tile_set_texture"> @@ -40782,7 +40891,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="texture" type="Texture"> </argument> <description> - Set the texture of the tile. + Set the texture of the tile. </description> </method> <method name="tile_set_texture_offset"> @@ -40791,7 +40900,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="texture_offset" type="Vector2"> </argument> <description> - Set the texture offset of the tile. + Set the texture offset of the tile. </description> </method> </methods> @@ -40800,104 +40909,104 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Timer" inherits="Node" category="Core"> <brief_description> - A simple Timer node. + A simple Timer node. </brief_description> <description> - Timer node. This is a simple node that will emit a timeout callback when the timer runs out. It can optionally be set to loop. + Timer node. This is a simple node that will emit a timeout callback when the timer runs out. It can optionally be set to loop. </description> <methods> <method name="get_time_left" qualifiers="const"> <return type="float"> </return> <description> - Return the time left for timeout in seconds if the timer is active, 0 otherwise. + Return the time left for timeout in seconds if the timer is active, 0 otherwise. </description> </method> <method name="get_timer_process_mode" qualifiers="const"> <return type="int"> </return> <description> - Return the timer's processing mode. + Return the timer's processing mode. </description> </method> <method name="get_wait_time" qualifiers="const"> <return type="float"> </return> <description> - Return the wait time in seconds. + Return the wait time in seconds. </description> </method> <method name="has_autostart" qualifiers="const"> <return type="bool"> </return> <description> - Return true if set to automatically start when entering the scene. + Return true if set to automatically start when entering the scene. </description> </method> <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> - Return if the timer is active or not. + Return if the timer is active or not. </description> </method> <method name="is_one_shot" qualifiers="const"> <return type="bool"> </return> <description> - Return true if configured as one-shot. + Return true if configured as one-shot. </description> </method> <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> - Set whether the timer is active or not. An inactive timer will be paused until it is activated again. + Set whether the timer is active or not. An inactive timer will be paused until it is activated again. </description> </method> <method name="set_autostart"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set to automatically start when entering the scene. + Set to automatically start when entering the scene. </description> </method> <method name="set_one_shot"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set as one-shot. If enabled, the timer will stop after timeout, otherwise it will automatically restart. + Set as one-shot. If enabled, the timer will stop after timeout, otherwise it will automatically restart. </description> </method> <method name="set_timer_process_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the timer's processing mode (fixed or idle, use TIMER_PROCESS_* constants as argument). + Set the timer's processing mode (fixed or idle, use TIMER_PROCESS_* constants as argument). </description> </method> <method name="set_wait_time"> <argument index="0" name="time_sec" type="float"> </argument> <description> - Set wait time in seconds. When the time is over, it will emit the timeout signal. + Set wait time in seconds. When the time is over, it will emit the timeout signal. </description> </method> <method name="start"> <description> - Start the timer. + Start the timer. </description> </method> <method name="stop"> <description> - Stop (cancel) the timer. + Stop (cancel) the timer. </description> </method> </methods> <signals> <signal name="timeout"> <description> - Emitted when the time runs out. + Emitted when the time runs out. </description> </signal> </signals> @@ -41044,10 +41153,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Transform" category="Built-In Types"> <brief_description> - 3D Transformation. + 3D Transformation. </brief_description> <description> - Transform is used to store transformations, including translations. It consists of a Matrix3 "basis" and Vector3 "origin". Transform is used to represent transformations of any object in space. It is similar to a 4x3 matrix. + Transform is used to store transformations, including translations. It consists of a Matrix3 "basis" and Vector3 "origin". Transform is used to represent transformations of any object in space. It is similar to a 4x3 matrix. </description> <methods> <method name="Transform"> @@ -41062,7 +41171,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="origin" type="Vector3"> </argument> <description> - Construct the Transform from four Vector3. Each axis creates the basis. + Construct the Transform from four Vector3. Each axis creates the basis. </description> </method> <method name="Transform"> @@ -41073,7 +41182,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="origin" type="Vector3"> </argument> <description> - Construct the Transform from a Matrix3 and Vector3. + Construct the Transform from a Matrix3 and Vector3. </description> </method> <method name="Transform"> @@ -41082,7 +41191,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Matrix32"> </argument> <description> - Construct the Transform from a Matrix32. + Construct the Transform from a Matrix32. </description> </method> <method name="Transform"> @@ -41091,7 +41200,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Quat"> </argument> <description> - Construct the Transform from a Quat. The origin will be Vector3(0, 0, 0) + Construct the Transform from a Quat. The origin will be Vector3(0, 0, 0) </description> </method> <method name="Transform"> @@ -41100,21 +41209,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Matrix3"> </argument> <description> - Construct the Transform from a Matrix3. The origin will be Vector3(0, 0, 0) + Construct the Transform from a Matrix3. The origin will be Vector3(0, 0, 0) </description> </method> <method name="affine_inverse"> <return type="Transform"> </return> <description> - Returns the inverse of the transfrom, even if the transform has scale or the axis vectors are not orthogonal. + Returns the inverse of the transfrom, even if the transform has scale or the axis vectors are not orthogonal. </description> </method> <method name="inverse"> <return type="Transform"> </return> <description> - Returns the inverse of the transform. + Returns the inverse of the transform. </description> </method> <method name="looking_at"> @@ -41125,14 +41234,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="up" type="Vector3"> </argument> <description> - Rotate the transform around the up vector to face the target. + Rotate the transform around the up vector to face the target. </description> </method> <method name="orthonormalized"> <return type="Transform"> </return> <description> - Returns a transfrom with the basis orthogonal (90 degrees), and normalized axis vectors. + Returns a transfrom with the basis orthogonal (90 degrees), and normalized axis vectors. </description> </method> <method name="rotated"> @@ -41143,7 +41252,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="phi" type="float"> </argument> <description> - Rotate the transform locally. + Rotate the transform locally. </description> </method> <method name="scaled"> @@ -41152,7 +41261,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="scale" type="Vector3"> </argument> <description> - Scale the transform locally. + Scale the transform locally. </description> </method> <method name="translated"> @@ -41161,7 +41270,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="ofs" type="Vector3"> </argument> <description> - Translate the transform locally. + Translate the transform locally. </description> </method> <method name="xform"> @@ -41170,7 +41279,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="v" type="var"> </argument> <description> - Transforms vector "v" by this transform. + Transforms vector "v" by this transform. </description> </method> <method name="xform_inv"> @@ -41179,7 +41288,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="v" type="var"> </argument> <description> - Inverse-transforms vector "v" by this transform. + Inverse-transforms vector "v" by this transform. </description> </method> </methods> @@ -41196,10 +41305,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Translation" inherits="Resource" category="Core"> <brief_description> - Language Translation. + Language Translation. </brief_description> <description> - Translations are resources that can be loaded/unloaded on demand. They map a string to another string. + Translations are resources that can be loaded/unloaded on demand. They map a string to another string. </description> <methods> <method name="add_message"> @@ -41208,21 +41317,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="xlated_message" type="String"> </argument> <description> - Add a message for translation. + Add a message for translation. </description> </method> <method name="erase_message"> <argument index="0" name="src_message" type="String"> </argument> <description> - Erase a message. + Erase a message. </description> </method> <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> - Return the locale of the translation. + Return the locale of the translation. </description> </method> <method name="get_message" qualifiers="const"> @@ -41231,7 +41340,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="src_message" type="String"> </argument> <description> - Return a message for translation. + Return a message for translation. </description> </method> <method name="get_message_count" qualifiers="const"> @@ -41244,14 +41353,14 @@ A similar effect may be achieved moving this node's descendants. <return type="StringArray"> </return> <description> - Return all the messages (keys). + Return all the messages (keys). </description> </method> <method name="set_locale"> <argument index="0" name="locale" type="String"> </argument> <description> - Set the locale of the translation. + Set the locale of the translation. </description> </method> </methods> @@ -41260,7 +41369,7 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="TranslationServer" inherits="Object" category="Core"> <brief_description> - Server that manages all translations. Translations can be set to it and removed from it. + Server that manages all translations. Translations can be set to it and removed from it. </brief_description> <description> </description> @@ -41597,18 +41706,18 @@ A similar effect may be achieved moving this node's descendants. </signal> </signals> <constants> - <constant name="DROP_MODE_DISABLED" value="0"> - </constant> - <constant name="DROP_MODE_ON_ITEM" value="1"> - </constant> - <constant name="DROP_MODE_INBETWEEN" value="2"> - </constant> <constant name="SELECT_SINGLE" value="0"> </constant> <constant name="SELECT_ROW" value="1"> </constant> <constant name="SELECT_MULTI" value="2"> </constant> + <constant name="DROP_MODE_DISABLED" value="0"> + </constant> + <constant name="DROP_MODE_ON_ITEM" value="1"> + </constant> + <constant name="DROP_MODE_INBETWEEN" value="2"> + </constant> </constants> <theme_items> <theme_item name="arrow" type="Texture"> @@ -42077,18 +42186,18 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Tween" inherits="Node" category="Core"> <brief_description> - Node useful for animations with unknown start and end points. + Node useful for animations with unknown start and end points. </brief_description> <description> - Node useful for animations with unknown start and end points, procedural animations, making one node follow another, and other simple behavior. - Because it is easy to get it wrong, here is a quick usage example: - [codeblock] - var tween = get_node("Tween") - tween.interpolate_property(get_node("Node2D_to_move"), "transform/pos", Vector2(0,0), Vector2(100,100), Tween.TRANS_LINEAR, Tween.EASE_IN_OUT) - tween.start() - [/codeblock] - Some of the methods of this class require a property name. You can get the property name by hovering over the property in the inspector of the editor. - Many of the methods accept [code]trans_type[/code] and [code]ease_type[/code]. The first accepts an TRANS_* constant, and refers to the way the timing of the animation is handled (you might want to see [code]http://easings.net/[/code] for some examples). The second accepts an EASE_* constant, and controls the where [code]trans_type[/code] is applied to the interpolation (in the begining, the end, or both). If you don't know which transision and easing to pick, you can try different TRANS_* constants with EASE_IN_OUT, and use the one that looks best. + Node useful for animations with unknown start and end points, procedural animations, making one node follow another, and other simple behavior. + Because it is easy to get it wrong, here is a quick usage example: + [codeblock] + var tween = get_node("Tween") + tween.interpolate_property(get_node("Node2D_to_move"), "transform/pos", Vector2(0,0), Vector2(100,100), Tween.TRANS_LINEAR, Tween.EASE_IN_OUT) + tween.start() + [/codeblock] + Some of the methods of this class require a property name. You can get the property name by hovering over the property in the inspector of the editor. + Many of the methods accept [code]trans_type[/code] and [code]ease_type[/code]. The first accepts an TRANS_* constant, and refers to the way the timing of the animation is handled (you might want to see [code]http://easings.net/[/code] for some examples). The second accepts an EASE_* constant, and controls the where [code]trans_type[/code] is applied to the interpolation (in the begining, the end, or both). If you don't know which transision and easing to pick, you can try different TRANS_* constants with EASE_IN_OUT, and use the one that looks best. </description> <methods> <method name="follow_method"> @@ -42113,8 +42222,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Follow [code]method[/code] of [code]object[/code] and apply the returned value on [code]target_method[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] later. Methods are animated by calling them with consequitive values. - [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. + Follow [code]method[/code] of [code]object[/code] and apply the returned value on [code]target_method[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] later. Methods are animated by calling them with consequitive values. + [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> <method name="follow_property"> @@ -42139,29 +42248,29 @@ A similar effect may be achieved moving this node's descendants. <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Follow [code]property[/code] of [code]object[/code] and apply it on [code]target_property[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Note that [code]target:target_property[/code] would equal [code]object:property[/code] at the end of the tween. - [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. + Follow [code]property[/code] of [code]object[/code] and apply it on [code]target_property[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Note that [code]target:target_property[/code] would equal [code]object:property[/code] at the end of the tween. + [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> <method name="get_runtime" qualifiers="const"> <return type="float"> </return> <description> - Returns the time needed for all tweens to end in seconds, measured from the start. Thus, if you have two tweens, one ending 10 seconds after the start and the other - 20 seconds, it would return 20 seconds, as by that time all tweens would have finished. + Returns the time needed for all tweens to end in seconds, measured from the start. Thus, if you have two tweens, one ending 10 seconds after the start and the other - 20 seconds, it would return 20 seconds, as by that time all tweens would have finished. </description> </method> <method name="get_speed" qualifiers="const"> <return type="float"> </return> <description> - Returns the speed that has been set from editor GUI or [method set_repeat]. + Returns the speed that has been set from editor GUI or [method set_repeat]. </description> </method> <method name="get_tween_process_mode" qualifiers="const"> <return type="int"> </return> <description> - Returns the process mode that has been set from editor GUI or [method set_tween_process_mode] + Returns the process mode that has been set from editor GUI or [method set_tween_process_mode] </description> </method> <method name="interpolate_callback"> @@ -42184,7 +42293,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="7" name="arg5" type="Variant" default="NULL"> </argument> <description> - Call [code]callback[/code] of [code]object[/code] after [code]times_in_sec[/code]. [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. + Call [code]callback[/code] of [code]object[/code] after [code]times_in_sec[/code]. [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. </description> </method> <method name="interpolate_deferred_callback"> @@ -42207,7 +42316,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="7" name="arg5" type="Variant" default="NULL"> </argument> <description> - Call [code]callback[/code] of [code]object[/code] after [code]times_in_sec[/code] on the main thread (similar to [methog Object.call_deferred). [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. + Call [code]callback[/code] of [code]object[/code] after [code]times_in_sec[/code] on the main thread (similar to [methog Object.call_deferred). [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. </description> </method> <method name="interpolate_method"> @@ -42230,8 +42339,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="7" name="delay" type="float" default="0"> </argument> <description> - Animate [code]method[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values. - [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. + Animate [code]method[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values. + [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> <method name="interpolate_property"> @@ -42254,22 +42363,22 @@ A similar effect may be achieved moving this node's descendants. <argument index="7" name="delay" type="float" default="0"> </argument> <description> - Animate [code]property[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. - [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. + Animate [code]property[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. + [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> - Returns true if any tweens are currently running, and false otherwise. Note that this method doesn't consider tweens that have ended. + Returns true if any tweens are currently running, and false otherwise. Note that this method doesn't consider tweens that have ended. </description> </method> <method name="is_repeat" qualifiers="const"> <return type="bool"> </return> <description> - Returns true if repeat has been set from editor GUI or [method set_repeat]. + Returns true if repeat has been set from editor GUI or [method set_repeat]. </description> </method> <method name="remove"> @@ -42280,14 +42389,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="key" type="String"> </argument> <description> - Stop animating and completely remove a tween, given its object and property/method pair. + Stop animating and completely remove a tween, given its object and property/method pair. </description> </method> <method name="remove_all"> <return type="bool"> </return> <description> - Stop animating and completely remove all tweens. + Stop animating and completely remove all tweens. </description> </method> <method name="reset"> @@ -42298,14 +42407,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="key" type="String"> </argument> <description> - Resets a tween to the initial value (the one given, not the one before the tween), given its object and property/method pair. + Resets a tween to the initial value (the one given, not the one before the tween), given its object and property/method pair. </description> </method> <method name="reset_all"> <return type="bool"> </return> <description> - Resets all tweens to their initial values (the ones given, not those before the tween). + Resets all tweens to their initial values (the ones given, not those before the tween). </description> </method> <method name="resume"> @@ -42316,14 +42425,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="key" type="String"> </argument> <description> - Continue animating a stopped tween, given its object and property/method pair. + Continue animating a stopped tween, given its object and property/method pair. </description> </method> <method name="resume_all"> <return type="bool"> </return> <description> - Continue animating all stopped tweens. + Continue animating all stopped tweens. </description> </method> <method name="seek"> @@ -42332,42 +42441,42 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="time" type="float"> </argument> <description> - Seek the animation to the given [code]time[/code] in seconds. + Seek the animation to the given [code]time[/code] in seconds. </description> </method> <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> - Activate/deactivate the tween. You can use this for pausing animations, though [method stop_all] and [method resume_all] might be more fit for this. + Activate/deactivate the tween. You can use this for pausing animations, though [method stop_all] and [method resume_all] might be more fit for this. </description> </method> <method name="set_repeat"> <argument index="0" name="repeat" type="bool"> </argument> <description> - Make the tween repeat after all tweens have finished. + Make the tween repeat after all tweens have finished. </description> </method> <method name="set_speed"> <argument index="0" name="speed" type="float"> </argument> <description> - Set the speed multiplier of the tween. Set it to 1 for normal speed, 2 for two times nromal speed, and 0.5 for half of the normal speed. Setting it to 0 would pause the animation, but you might consider using [method set_active] or [method stop_all] and [method resume_all] for this. + Set the speed multiplier of the tween. Set it to 1 for normal speed, 2 for two times nromal speed, and 0.5 for half of the normal speed. Setting it to 0 would pause the animation, but you might consider using [method set_active] or [method stop_all] and [method resume_all] for this. </description> </method> <method name="set_tween_process_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set whether the Tween uses [code]_process[/code] or [code]_fixed_process[/code] (accepts TWEEN_PROCESS_IDLE and TWEEN_PROCESS_FIXED constants, respectively). + Set whether the Tween uses [code]_process[/code] or [code]_fixed_process[/code] (accepts TWEEN_PROCESS_IDLE and TWEEN_PROCESS_FIXED constants, respectively). </description> </method> <method name="start"> <return type="bool"> </return> <description> - Start the tween node. You can define tweens both before and after this. + Start the tween node. You can define tweens both before and after this. </description> </method> <method name="stop"> @@ -42378,14 +42487,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="key" type="String"> </argument> <description> - Stop animating a tween, given its object and property/method pair. + Stop animating a tween, given its object and property/method pair. </description> </method> <method name="stop_all"> <return type="bool"> </return> <description> - Stop animating all tweens. + Stop animating all tweens. </description> </method> <method name="targeting_method"> @@ -42410,8 +42519,8 @@ A similar effect may be achieved moving this node's descendants. <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Animate [code]method[/code] of [code]object[/code] from the value returned by [code]initial.initial_method[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values. - [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. + Animate [code]method[/code] of [code]object[/code] from the value returned by [code]initial.initial_method[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values. + [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> <method name="targeting_property"> @@ -42436,15 +42545,15 @@ A similar effect may be achieved moving this node's descendants. <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Animate [code]property[/code] of [code]object[/code] from the current value of the [code]initial_val[/code] property of [code]initial[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. - [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. + Animate [code]property[/code] of [code]object[/code] from the current value of the [code]initial_val[/code] property of [code]initial[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. + [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> <method name="tell" qualifiers="const"> <return type="float"> </return> <description> - Returns the current time of the tween. + Returns the current time of the tween. </description> </method> </methods> @@ -42455,7 +42564,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="key" type="String"> </argument> <description> - This signal is emitted when a tween ends. + This signal is emitted when a tween ends. </description> </signal> <signal name="tween_start"> @@ -42464,7 +42573,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="key" type="String"> </argument> <description> - This signal is emitted when a tween starts. + This signal is emitted when a tween starts. </description> </signal> <signal name="tween_step"> @@ -42477,22 +42586,16 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="value" type="Object"> </argument> <description> - This signal is emitted each step of the tweening. + This signal is emitted each step of the tweening. </description> </signal> </signals> <constants> - <constant name="EASE_IN" value="0"> - Signifies that the interpolation should be focused in the beginning. - </constant> - <constant name="EASE_OUT" value="1"> - Signifies that the interpolation should be focused in the end. - </constant> - <constant name="EASE_IN_OUT" value="2"> - Signifies that the interpolation should be focused in both ends. + <constant name="TWEEN_PROCESS_FIXED" value="0"> + The [Tween] should use [code]_fixed_process[/code] for timekeeping when this is enabled. </constant> - <constant name="EASE_OUT_IN" value="3"> - Signifies that the interpolation should be focused in both ends, but they should be switched (a bit hard to explain, try it for yourself to be sure). + <constant name="TWEEN_PROCESS_IDLE" value="1"> + The [Tween] should use [code]_process[/code] for timekeeping when this is enabled (default). </constant> <constant name="TRANS_LINEAR" value="0"> Means that the animation is interpolated linearly. @@ -42500,9 +42603,6 @@ A similar effect may be achieved moving this node's descendants. <constant name="TRANS_SINE" value="1"> Means that the animation is interpolated using a sine wave. </constant> - <constant name="TRANS_BACK" value="10"> - Means that the animation is interpolated backing out at edges. - </constant> <constant name="TRANS_QUINT" value="2"> Means that the animation is interpolated with a quinary (to the power of 5) function. </constant> @@ -42527,24 +42627,30 @@ A similar effect may be achieved moving this node's descendants. <constant name="TRANS_BOUNCE" value="9"> Means that the animation is interpolated by bouncing at, but never surpassing, the end. </constant> - <constant name="TWEEN_PROCESS_FIXED" value="0"> - The [Tween] should use [code]_fixed_process[/code] for timekeeping when this is enabled. + <constant name="TRANS_BACK" value="10"> + Means that the animation is interpolated backing out at edges. </constant> - <constant name="TWEEN_PROCESS_IDLE" value="1"> - The [Tween] should use [code]_process[/code] for timekeeping when this is enabled (default). + <constant name="EASE_IN" value="0"> + Signifies that the interpolation should be focused in the beginning. + </constant> + <constant name="EASE_OUT" value="1"> + Signifies that the interpolation should be focused in the end. + </constant> + <constant name="EASE_IN_OUT" value="2"> + Signifies that the interpolation should be focused in both ends. + </constant> + <constant name="EASE_OUT_IN" value="3"> + Signifies that the interpolation should be focused in both ends, but they should be switched (a bit hard to explain, try it for yourself to be sure). </constant> </constants> </class> <class name="UndoRedo" inherits="Object" category="Core"> <brief_description> - Helper to manage UndoRedo in the editor or custom tools. + Helper to manage UndoRedo in the editor or custom tools. </brief_description> <description> - Helper to maange UndoRedo in the editor or custom tools. It works by - storing calls to functions in both 'do' an 'undo' lists. - - Common behavior is to create an action, then add do/undo calls to - functions or property changes, then commiting the action. + Helper to maange UndoRedo in the editor or custom tools. It works by storing calls to functions in both 'do' an 'undo' lists. + Common behavior is to create an action, then add do/undo calls to functions or property changes, then commiting the action. </description> <methods> <method name="add_do_method"> @@ -42563,7 +42669,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="6" name="arg4" type="Variant" default="NULL"> </argument> <description> - Add a call to a method in a given object with custom + Add a call to a method in a given object with custom arguments. </description> </method> @@ -42575,16 +42681,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="Variant"> </argument> <description> - Set a property with a custom value. + Set a property with a custom value. </description> </method> <method name="add_do_reference"> <argument index="0" name="object" type="Object"> </argument> <description> - Add a 'do' reference that will be erased if the 'do' - history is lost. This is useful mostly for new nodes - created for the 'do' call. Do not use for resources. + Add a 'do' reference that will be erased if the 'do' history is lost. This is useful mostly for new nodes created for the 'do' call. Do not use for resources. </description> </method> <method name="add_undo_method"> @@ -42603,9 +42707,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="6" name="arg4" type="Variant" default="NULL"> </argument> <description> - Add a call to an undo method in a given object with - custom arguments. Undo calls are used to revert 'do' - calls. + Add a call to an undo method in a given object with custom arguments. Undo calls are used to revert 'do' calls. </description> </method> <method name="add_undo_property"> @@ -42616,29 +42718,25 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="value" type="Variant"> </argument> <description> - Undo setting of a property with a custom value. + Undo setting of a property with a custom value. </description> </method> <method name="add_undo_reference"> <argument index="0" name="object" type="Object"> </argument> <description> - Add an 'undo' reference that will be erased if the - 'undo' history is lost. This is useful mostly for - nodes rmoved with the 'do' call (not the 'undo' - call!). + Add an 'undo' reference that will be erased if the 'undo' history is lost. This is useful mostly for nodes rmoved with the 'do' call (not the 'undo' call!). </description> </method> <method name="clear_history"> <description> - Clear the undo/redo history and associated + Clear the undo/redo history and associated references. </description> </method> <method name="commit_action"> <description> - Commit the action. All 'do' methods/properties are - called/set when this function is called. + Commit the action. All 'do' methods/properties are called/set when this function is called. </description> </method> <method name="create_action"> @@ -42647,29 +42745,22 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="mergeable" type="bool" default="false"> </argument> <description> - Create a new action. After this is called, do all - your calls to [method add_do_method], - [method add_undo_method], [method add_do_property] - and [method add_undo_property]. + Create a new action. After this is called, do all your calls to [method add_do_method], [method add_undo_method], [method add_do_property] and [method add_undo_property]. </description> </method> <method name="get_current_action_name" qualifiers="const"> <return type="String"> </return> <description> - Get the name of the current action. + Get the name of the current action. </description> </method> <method name="get_version" qualifiers="const"> <return type="int"> </return> <description> - Get the version, each time a new action is commited, - the version number of the UndoRedo is increased - automatically. - - This is useful mostly to check if something changed - from a saved version. + Get the version, each time a new action is commited, the version number of the UndoRedo is increased automatically. + This is useful mostly to check if something changed from a saved version. </description> </method> </methods> @@ -42678,10 +42769,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VBoxContainer" inherits="BoxContainer" category="Core"> <brief_description> - Vertical box container. + Vertical box container. </brief_description> <description> - Vertical box container. See [BoxContainer]. + Vertical box container. See [BoxContainer]. </description> <methods> </methods> @@ -42694,10 +42785,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VButtonArray" inherits="ButtonArray" category="Core"> <brief_description> - Vertical button array. + Vertical button array. </brief_description> <description> - Vertical button array. See [ButtonArray]. + Vertical button array. See [ButtonArray]. </description> <methods> </methods> @@ -42728,7 +42819,7 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VScrollBar" inherits="ScrollBar" category="Core"> <brief_description> - Vertical version of [ScrollBar], which goes from left (min) to right (max). + Vertical version of [ScrollBar], which goes from left (min) to right (max). </brief_description> <description> </description> @@ -42757,10 +42848,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VSeparator" inherits="Separator" category="Core"> <brief_description> - Vertical version of [Separator]. + Vertical version of [Separator]. </brief_description> <description> - Vertical version of [Separator]. It is used to separate objects horizontally, though (but it looks vertical!). + Vertical version of [Separator]. It is used to separate objects horizontally, though (but it looks vertical!). </description> <methods> </methods> @@ -42775,10 +42866,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VSlider" inherits="Slider" category="Core"> <brief_description> - Vertical slider. + Vertical slider. </brief_description> <description> - Vertical slider. See [Slider]. This one goes from left (min) to right (max). + Vertical slider. See [Slider]. This one goes from left (min) to right (max). </description> <methods> </methods> @@ -42799,10 +42890,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VSplitContainer" inherits="SplitContainer" category="Core"> <brief_description> - Vertical split container. + Vertical split container. </brief_description> <description> - Vertical split container. See [SplitContainer]. This goes from left to right. + Vertical split container. See [SplitContainer]. This goes from left to right. </description> <methods> </methods> @@ -42819,12 +42910,22 @@ A similar effect may be achieved moving this node's descendants. </theme_item> </theme_items> </class> +<class name="Variant" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </methods> + <constants> + </constants> +</class> <class name="Vector2" category="Built-In Types"> <brief_description> - Vector used for 2D Math. + Vector used for 2D Math. </brief_description> <description> - 2-element structure that can be used to represent positions in 2d-space, or any other pair of numeric values. + 2-element structure that can be used to represent positions in 2d-space, or any other pair of numeric values. </description> <methods> <method name="Vector2"> @@ -42835,7 +42936,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="y" type="float"> </argument> <description> - Constructs a new Vector2 from the given x and y. + Constructs a new Vector2 from the given x and y. </description> </method> <method name="abs"> @@ -42848,8 +42949,8 @@ A similar effect may be achieved moving this node's descendants. <return type="float"> </return> <description> - Returns the result of atan2 when called with the Vector's x and y as parameters (Math::atan2(x,y)). - Be aware that it therefore returns an angle oriented clockwise with regard to the (0, 1) unit vector, and not an angle oriented counter-clockwise with regard to the (1, 0) unit vector (which would be the typical trigonometric representation of the angle when calling Math::atan2(y,x)). + Returns the result of atan2 when called with the Vector's x and y as parameters (Math::atan2(x,y)). + Be aware that it therefore returns an angle oriented clockwise with regard to the (0, 1) unit vector, and not an angle oriented counter-clockwise with regard to the (1, 0) unit vector (which would be the typical trigonometric representation of the angle when calling Math::atan2(y,x)). </description> </method> <method name="angle_to"> @@ -42858,7 +42959,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="Vector2"> </argument> <description> - Returns the angle in radians between the two vectors. + Returns the angle in radians between the two vectors. </description> </method> <method name="angle_to_point"> @@ -42867,7 +42968,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="Vector2"> </argument> <description> - Returns the angle in radians between the line connecting the two points and the x coordinate. + Returns the angle in radians between the line connecting the two points and the x coordinate. </description> </method> <method name="cubic_interpolate"> @@ -42882,7 +42983,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="t" type="float"> </argument> <description> - Cubicly interpolates between this Vector and "b", using "pre_a" and "post_b" as handles, and returning the result at position "t". + Cubicly interpolates between this Vector and "b", using "pre_a" and "post_b" as handles, and returning the result at position "t". </description> </method> <method name="distance_squared_to"> @@ -42891,7 +42992,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="Vector2"> </argument> <description> - Returns the squared distance to vector "b". Prefer this function over "distance_to" if you need to sort vectors or need the squared distance for some formula. + Returns the squared distance to vector "b". Prefer this function over "distance_to" if you need to sort vectors or need the squared distance for some formula. </description> </method> <method name="distance_to"> @@ -42900,7 +43001,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="to" type="Vector2"> </argument> <description> - Returns the distance to vector "b". + Returns the distance to vector "b". </description> </method> <method name="dot"> @@ -42909,42 +43010,42 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="with" type="Vector2"> </argument> <description> - Returns the dot product with vector "b". + Returns the dot product with vector "b". </description> </method> <method name="floor"> <return type="Vector2"> </return> <description> - Remove the fractional part of x and y. + Remove the fractional part of x and y. </description> </method> <method name="floorf"> <return type="Vector2"> </return> <description> - Remove the fractional part of x and y. + Remove the fractional part of x and y. </description> </method> <method name="get_aspect"> <return type="float"> </return> <description> - Returns the ratio of X to Y. + Returns the ratio of X to Y. </description> </method> <method name="length"> <return type="float"> </return> <description> - Returns the length of the vector. + Returns the length of the vector. </description> </method> <method name="length_squared"> <return type="float"> </return> <description> - Returns the squared length of the vector. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. + Returns the squared length of the vector. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. </description> </method> <method name="linear_interpolate"> @@ -42955,14 +43056,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="t" type="float"> </argument> <description> - Returns the result of the linear interpolation between this vector and "b", by amount "t". + Returns the result of the linear interpolation between this vector and "b", by amount "t". </description> </method> <method name="normalized"> <return type="Vector2"> </return> <description> - Returns a normalized vector to unit length. + Returns a normalized vector to unit length. </description> </method> <method name="reflect"> @@ -42971,7 +43072,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="vec" type="Vector2"> </argument> <description> - Like "slide", but reflects the Vector instead of continuing along the wall. + Like "slide", but reflects the Vector instead of continuing along the wall. </description> </method> <method name="rotated"> @@ -42980,7 +43081,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="phi" type="float"> </argument> <description> - Rotates the vector by "phi" radians. + Rotates the vector by "phi" radians. </description> </method> <method name="slide"> @@ -42989,7 +43090,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="vec" type="Vector2"> </argument> <description> - Slides the vector by the other vector. + Slides the vector by the other vector. </description> </method> <method name="snapped"> @@ -42998,14 +43099,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="by" type="Vector2"> </argument> <description> - Snaps the vector to a grid with the given size. + Snaps the vector to a grid with the given size. </description> </method> <method name="tangent"> <return type="Vector2"> </return> <description> - Returns a perpendicular vector. + Returns a perpendicular vector. </description> </method> </methods> @@ -43028,10 +43129,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Vector2Array" category="Built-In Types"> <brief_description> - An Array of Vector2. + An Array of Vector2. </brief_description> <description> - An Array specifically designed to hold Vector2. + An Array specifically designed to hold Vector2. </description> <methods> <method name="Vector2Array"> @@ -43040,21 +43141,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Array"> </argument> <description> - Construct a new [Vector2Array]. Optionally, you can pass in an Array that will be converted. + Construct a new [Vector2Array]. Optionally, you can pass in an Array that will be converted. </description> </method> <method name="append"> <argument index="0" name="vector2" type="Vector2"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="append_array"> <argument index="0" name="array" type="Vector2Array"> </argument> <description> - Append an [Vector2Array] at the end of this array. + Append an [Vector2Array] at the end of this array. </description> </method> <method name="insert"> @@ -43065,33 +43166,33 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="vector2" type="Vector2"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="vector2" type="Vector2"> </argument> <description> - Insert a [Vector2] at the end. + Insert a [Vector2] at the end. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the Vector2Array. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the Vector2Array. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -43100,14 +43201,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="vector2" type="Vector2"> </argument> <description> - Change the [Vector2] at the given index. + Change the [Vector2] at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the size of the array. + Return the size of the array. </description> </method> </methods> @@ -43116,10 +43217,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Vector3" category="Built-In Types"> <brief_description> - Vector class, which performs basic 3D vector math operations. + Vector class, which performs basic 3D vector math operations. </brief_description> <description> - Vector3 is one of the core classes of the engine, and includes several built-in helper functions to perform basic vector math operations. + Vector3 is one of the core classes of the engine, and includes several built-in helper functions to perform basic vector math operations. </description> <methods> <method name="Vector3"> @@ -43132,21 +43233,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="z" type="float"> </argument> <description> - Returns a Vector3 with the given components. + Returns a Vector3 with the given components. </description> </method> <method name="abs"> <return type="Vector3"> </return> <description> - Returns a new vector with all components in absolute values (e.g. positive). + Returns a new vector with all components in absolute values (e.g. positive). </description> </method> <method name="ceil"> <return type="Vector3"> </return> <description> - Returns a new vector with all components rounded up. + Returns a new vector with all components rounded up. </description> </method> <method name="cross"> @@ -43155,7 +43256,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Vector3"> </argument> <description> - Return the cross product with b. + Return the cross product with b. </description> </method> <method name="cubic_interpolate"> @@ -43170,7 +43271,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="3" name="t" type="float"> </argument> <description> - Perform a cubic interpolation between vectors pre_a, a, b, post_b (a is current), by the given amount (t). + Perform a cubic interpolation between vectors pre_a, a, b, post_b (a is current), by the given amount (t). </description> </method> <method name="distance_squared_to"> @@ -43179,7 +43280,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Vector3"> </argument> <description> - Return the squared distance (distance minus the last square root) to b. Prefer this function over distance_to if you need to sort vectors or need the squared distance for some formula. + Return the squared distance (distance minus the last square root) to b. Prefer this function over distance_to if you need to sort vectors or need the squared distance for some formula. </description> </method> <method name="distance_to"> @@ -43188,7 +43289,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Vector3"> </argument> <description> - Return the distance to b. + Return the distance to b. </description> </method> <method name="dot"> @@ -43197,35 +43298,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="b" type="Vector3"> </argument> <description> - Return the dot product with b. + Return the dot product with b. </description> </method> <method name="floor"> <return type="Vector3"> </return> <description> - Returns a new vector with all components rounded down. + Returns a new vector with all components rounded down. </description> </method> <method name="inverse"> <return type="Vector3"> </return> <description> - Returns the inverse of the vector. This is the same as Vector3( 1.0 / v.x, 1.0 / v.y, 1.0 / v.z ) + Returns the inverse of the vector. This is the same as Vector3( 1.0 / v.x, 1.0 / v.y, 1.0 / v.z ) </description> </method> <method name="length"> <return type="float"> </return> <description> - Return the length of the vector. + Return the length of the vector. </description> </method> <method name="length_squared"> <return type="float"> </return> <description> - Return the length of the vector, squared. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. + Return the length of the vector, squared. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. </description> </method> <method name="linear_interpolate"> @@ -43236,28 +43337,28 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="t" type="float"> </argument> <description> - Linearly interpolates the vector to a given one (b), by the given amount (t). + Linearly interpolates the vector to a given one (b), by the given amount (t). </description> </method> <method name="max_axis"> <return type="int"> </return> <description> - Returns AXIS_X, AXIS_Y or AXIS_Z depending on which axis is the largest. + Returns AXIS_X, AXIS_Y or AXIS_Z depending on which axis is the largest. </description> </method> <method name="min_axis"> <return type="int"> </return> <description> - Returns AXIS_X, AXIS_Y or AXIS_Z depending on which axis is the smallest. + Returns AXIS_X, AXIS_Y or AXIS_Z depending on which axis is the smallest. </description> </method> <method name="normalized"> <return type="Vector3"> </return> <description> - Return a copy of the normalized vector to unit length. This is the same as v / v.length(). + Return a copy of the normalized vector to unit length. This is the same as v / v.length(). </description> </method> <method name="reflect"> @@ -43266,7 +43367,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="by" type="Vector3"> </argument> <description> - Like "slide", but reflects the Vector instead of continuing along the wall. + Like "slide", but reflects the Vector instead of continuing along the wall. </description> </method> <method name="rotated"> @@ -43277,7 +43378,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="phi" type="float"> </argument> <description> - Rotates the vector around some axis by phi radians. + Rotates the vector around some axis by phi radians. </description> </method> <method name="slide"> @@ -43286,7 +43387,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="by" type="Vector3"> </argument> <description> - Slides the vector along a wall. + Slides the vector along a wall. </description> </method> <method name="snapped"> @@ -43295,7 +43396,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="by" type="float"> </argument> <description> - Return a copy of the vector, snapped to the lowest neared multiple. + Return a copy of the vector, snapped to the lowest neared multiple. </description> </method> </methods> @@ -43324,10 +43425,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Vector3Array" category="Built-In Types"> <brief_description> - An Array of Vector3. + An Array of Vector3. </brief_description> <description> - An Array specifically designed to hold Vector3. + An Array specifically designed to hold Vector3. </description> <methods> <method name="Vector3Array"> @@ -43336,21 +43437,21 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="Array"> </argument> <description> - Construct a new Vector3Array. Optionally, you can pass in an Array that will be converted. + Construct a new Vector3Array. Optionally, you can pass in an Array that will be converted. </description> </method> <method name="append"> <argument index="0" name="vector3" type="Vector3"> </argument> <description> - Append an element at the end of the array (alias of [method push_back]). + Append an element at the end of the array (alias of [method push_back]). </description> </method> <method name="append_array"> <argument index="0" name="array" type="Vector3Array"> </argument> <description> - Append an [Vector3Array] at the end of this array. + Append an [Vector3Array] at the end of this array. </description> </method> <method name="insert"> @@ -43361,33 +43462,33 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="vector3" type="Vector3"> </argument> <description> - Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> <method name="invert"> <description> - Reverse the order of the elements in the array (so first element will now be the last). + Reverse the order of the elements in the array (so first element will now be the last). </description> </method> <method name="push_back"> <argument index="0" name="vector3" type="Vector3"> </argument> <description> - Insert a Vector3 at the end. + Insert a Vector3 at the end. </description> </method> <method name="remove"> <argument index="0" name="idx" type="int"> </argument> <description> - Remove an element from the array by index. + Remove an element from the array by index. </description> </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> - Set the size of the Vector3Array. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. + Set the size of the Vector3Array. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> <method name="set"> @@ -43396,14 +43497,14 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="vector3" type="Vector3"> </argument> <description> - Change the [Vector3] at the given index. + Change the [Vector3] at the given index. </description> </method> <method name="size"> <return type="int"> </return> <description> - Return the size of the array. + Return the size of the array. </description> </method> </methods> @@ -43438,11 +43539,11 @@ A similar effect may be achieved moving this node's descendants. <return type="Vector3"> </return> <description> - Returns the VehicleBody's velocity vector. To get the absolute speed in scalar value, get the length of the return vector in pixels/second. Example: - [codeblock] - # vehicle is an instance of VehicleBody - var speed = vehicle.get_linear_velocity().length() - [/codeblock] + Returns the VehicleBody's velocity vector. To get the absolute speed in scalar value, get the length of the return vector in pixels/second. Example: + [codeblock] + # vehicle is an instance of VehicleBody + var speed = vehicle.get_linear_velocity().length() + [/codeblock] </description> </method> <method name="get_mass" qualifiers="const"> @@ -43781,176 +43882,176 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="Viewport" inherits="Node" category="Core"> <brief_description> - Creates a sub-view into the screen. + Creates a sub-view into the screen. </brief_description> <description> - A Viewport creates a different view into the screen, or a sub-view inside another viewport. Children 2D Nodes will display on it, and children Camera 3D nodes will render on it too. - Optionally, a viewport can have its own 2D or 3D world, so they don't share what they draw with other viewports. - If a viewport is a child of a [Control], it will automatically take up its same rect and position, otherwise they must be set manually. - Viewports can also choose to be audio listeners, so they generate positional audio depending on a 2D or 3D camera child of it. - Also, viewports can be assigned to different screens in case the devices have multiple screens. - Finally, viewports can also behave as render targets, in which case they will not be visible unless the associated texture is used to draw. + A Viewport creates a different view into the screen, or a sub-view inside another viewport. Children 2D Nodes will display on it, and children Camera 3D nodes will render on it too. + Optionally, a viewport can have its own 2D or 3D world, so they don't share what they draw with other viewports. + If a viewport is a child of a [Control], it will automatically take up its same rect and position, otherwise they must be set manually. + Viewports can also choose to be audio listeners, so they generate positional audio depending on a 2D or 3D camera child of it. + Also, viewports can be assigned to different screens in case the devices have multiple screens. + Finally, viewports can also behave as render targets, in which case they will not be visible unless the associated texture is used to draw. </description> <methods> <method name="find_world" qualifiers="const"> <return type="World"> </return> <description> - Return the 3D world of the viewport, or if no such present, the one of the parent viewport. + Return the 3D world of the viewport, or if no such present, the one of the parent viewport. </description> </method> <method name="find_world_2d" qualifiers="const"> <return type="World2D"> </return> <description> - Return the 2D world of the viewport. + Return the 2D world of the viewport. </description> </method> <method name="get_camera" qualifiers="const"> <return type="Camera"> </return> <description> - Return the active 3D camera. + Return the active 3D camera. </description> </method> <method name="get_canvas_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the canvas transform of the viewport. + Get the canvas transform of the viewport. </description> </method> <method name="get_final_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the total transform of the viewport. + Get the total transform of the viewport. </description> </method> <method name="get_global_canvas_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> - Get the global canvas transform of the viewport. + Get the global canvas transform of the viewport. </description> </method> <method name="get_mouse_pos" qualifiers="const"> <return type="Vector2"> </return> <description> - Get the mouse position, relative to the viewport. + Get the mouse position, relative to the viewport. </description> </method> <method name="get_physics_object_picking"> <return type="bool"> </return> <description> - Get whether picking for all physics objects inside the viewport is enabled. + Get whether picking for all physics objects inside the viewport is enabled. </description> </method> <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return the viewport rect. If the viewport is child of a control, it will use the same rect as the parent. Otherwise, if the rect is empty, the viewport will use all the allowed space. + Return the viewport rect. If the viewport is child of a control, it will use the same rect as the parent. Otherwise, if the rect is empty, the viewport will use all the allowed space. </description> </method> <method name="get_render_target_clear_on_new_frame" qualifiers="const"> <return type="bool"> </return> <description> - Return whether automatic clearing of the render target on each frame is enabled. + Return whether automatic clearing of the render target on each frame is enabled. </description> </method> <method name="get_render_target_filter" qualifiers="const"> <return type="bool"> </return> <description> - Get whether the rendered texture has filters enabled. + Get whether the rendered texture has filters enabled. </description> </method> <method name="get_render_target_gen_mipmaps" qualifiers="const"> <return type="bool"> </return> <description> - Get whether the rendered texture will have mipmaps generated. + Get whether the rendered texture will have mipmaps generated. </description> </method> <method name="get_render_target_texture" qualifiers="const"> <return type="RenderTargetTexture"> </return> <description> - Get the render target's texture, for use with various objects that you want to texture with the viewport. + Get the render target's texture, for use with various objects that you want to texture with the viewport. </description> </method> <method name="get_render_target_update_mode" qualifiers="const"> <return type="int"> </return> <description> - Get when the render target would be updated, will be one of the [code]RENDER_TARGET_UPDATE_*[/code] constants. + Get when the render target would be updated, will be one of the [code]RENDER_TARGET_UPDATE_*[/code] constants. </description> </method> <method name="get_render_target_vflip" qualifiers="const"> <return type="bool"> </return> <description> - Set whether the render target is flipped on the Y axis. + Set whether the render target is flipped on the Y axis. </description> </method> <method name="get_screen_capture" qualifiers="const"> <return type="Image"> </return> <description> - Return the captured screenshot after [method queue_screen_capture]. You might need to check more than one frame untill the right image is returned. + Return the captured screenshot after [method queue_screen_capture]. You might need to check more than one frame untill the right image is returned. </description> </method> <method name="get_size_override" qualifiers="const"> <return type="Vector2"> </return> <description> - Get the size override set with [method set_size_override]. + Get the size override set with [method set_size_override]. </description> </method> <method name="get_viewport" qualifiers="const"> <return type="RID"> </return> <description> - Get the viewport RID from the visual server. + Get the viewport RID from the visual server. </description> </method> <method name="get_visible_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return the final, visible rect in global screen coordinates. + Return the final, visible rect in global screen coordinates. </description> </method> <method name="get_world" qualifiers="const"> <return type="World"> </return> <description> - Return the 3D world of the viewport. + Return the 3D world of the viewport. </description> </method> <method name="gui_get_drag_data" qualifiers="const"> <return type="Variant"> </return> <description> - Returs the drag data from the GUI, that was previously returned by [method Control.get_drag_data]. + Returs the drag data from the GUI, that was previously returned by [method Control.get_drag_data]. </description> </method> <method name="gui_has_modal_stack" qualifiers="const"> <return type="bool"> </return> <description> - Returs whether there are shown modals on-screen. + Returs whether there are shown modals on-screen. </description> </method> <method name="has_transparent_background" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the viewport lets whatever is behind it to show. + Return whether the viewport lets whatever is behind it to show. </description> </method> <method name="input"> @@ -43963,157 +44064,157 @@ A similar effect may be achieved moving this node's descendants. <return type="bool"> </return> <description> - Returns whether the viewport sends sounds to the speakers. + Returns whether the viewport sends sounds to the speakers. </description> </method> <method name="is_audio_listener_2d" qualifiers="const"> <return type="bool"> </return> <description> - Returns whether the viewport sends soundsfrom 2D emitters to the speakers. + Returns whether the viewport sends soundsfrom 2D emitters to the speakers. </description> </method> <method name="is_input_disabled" qualifiers="const"> <return type="bool"> </return> <description> - Return whether input to the viewport is disabled. + Return whether input to the viewport is disabled. </description> </method> <method name="is_set_as_render_target" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the viewport is set as a render target by [method set_as_render_target]. + Return whether the viewport is set as a render target by [method set_as_render_target]. </description> </method> <method name="is_size_override_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Get the enabled status of the size override set with [method set_size_override]. + Get the enabled status of the size override set with [method set_size_override]. </description> </method> <method name="is_size_override_stretch_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Get the enabled status of the size strech override set with [method set_size_override_stretch]. + Get the enabled status of the size strech override set with [method set_size_override_stretch]. </description> </method> <method name="is_using_own_world" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the viewport is using a world separate from the parent viewport's world. + Return whether the viewport is using a world separate from the parent viewport's world. </description> </method> <method name="queue_screen_capture"> <description> - Queue a multithreaded screenshot, you can retrive it at a later frame via [method get_screen_capture]. + Queue a multithreaded screenshot, you can retrive it at a later frame via [method get_screen_capture]. </description> </method> <method name="render_target_clear"> <description> - Clear the render target manually. + Clear the render target manually. </description> </method> <method name="set_as_audio_listener"> <argument index="0" name="enable" type="bool"> </argument> <description> - Makes the viewport send sounds to the speakers. + Makes the viewport send sounds to the speakers. </description> </method> <method name="set_as_audio_listener_2d"> <argument index="0" name="enable" type="bool"> </argument> <description> - Makes the viewport send sounds from 2D emitters to the speakers. + Makes the viewport send sounds from 2D emitters to the speakers. </description> </method> <method name="set_as_render_target"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set the viewport's render target mode. + Set the viewport's render target mode. </description> </method> <method name="set_canvas_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> - Set the canvas transform of the viewport, useful for changing the on-screen positions of all child [CanvasItem]s. This is relative to the global canvas transform of the viewport. + Set the canvas transform of the viewport, useful for changing the on-screen positions of all child [CanvasItem]s. This is relative to the global canvas transform of the viewport. </description> </method> <method name="set_disable_input"> <argument index="0" name="disable" type="bool"> </argument> <description> - Set whether input to the viewport is disabled. + Set whether input to the viewport is disabled. </description> </method> <method name="set_global_canvas_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> - Set the global canvas transform of the viewport. The canvas transform is relative to this. + Set the global canvas transform of the viewport. The canvas transform is relative to this. </description> </method> <method name="set_physics_object_picking"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable/disable picking for all physics objects inside the viewport. + Enable/disable picking for all physics objects inside the viewport. </description> </method> <method name="set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> - Set the viewport rect. If the viewport is child of a control, it will use the same rect as the parent. + Set the viewport rect. If the viewport is child of a control, it will use the same rect as the parent. </description> </method> <method name="set_render_target_clear_on_new_frame"> <argument index="0" name="enable" type="bool"> </argument> <description> - Enable/disable automatic clearing of the render target on each frame. You might find it better to disable this if you are using the viewport for rarely updated textures. To clear manually, check [method render_target_clear] + Enable/disable automatic clearing of the render target on each frame. You might find it better to disable this if you are using the viewport for rarely updated textures. To clear manually, check [method render_target_clear] </description> </method> <method name="set_render_target_filter"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether the rendered texture should have filters enabled. Disable if you want the texture's pixels be visible. + Set whether the rendered texture should have filters enabled. Disable if you want the texture's pixels be visible. </description> </method> <method name="set_render_target_gen_mipmaps"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether the rendered texture should have mipmaps generated. Mipmaps allow the texture to have better antialiasing from far away. + Set whether the rendered texture should have mipmaps generated. Mipmaps allow the texture to have better antialiasing from far away. </description> </method> <method name="set_render_target_to_screen_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> - Map a part of the screen to the render target directly. + Map a part of the screen to the render target directly. </description> </method> <method name="set_render_target_update_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set when the render target should be updated, has to be one of the [code]RENDER_TARGET_UPDATE_*[/code] constants. + Set when the render target should be updated, has to be one of the [code]RENDER_TARGET_UPDATE_*[/code] constants. </description> </method> <method name="set_render_target_vflip"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set whether the render target should be flipped on the Y axis. + Set whether the render target should be flipped on the Y axis. </description> </method> <method name="set_size_override"> @@ -44124,35 +44225,35 @@ A similar effect may be achieved moving this node's descendants. <argument index="2" name="margin" type="Vector2" default="Vector2(0,0)"> </argument> <description> - Set the size of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size. + Set the size of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size. </description> </method> <method name="set_size_override_stretch"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the size override affects stretch as well. + Set whether the size override affects stretch as well. </description> </method> <method name="set_transparent_background"> <argument index="0" name="enable" type="bool"> </argument> <description> - If this viewport is a child of another viewport, keep the previously drawn background visible. + If this viewport is a child of another viewport, keep the previously drawn background visible. </description> </method> <method name="set_use_own_world"> <argument index="0" name="enable" type="bool"> </argument> <description> - Make the viewport use a world separate from the parent viewport's world. + Make the viewport use a world separate from the parent viewport's world. </description> </method> <method name="set_world"> <argument index="0" name="world" type="World"> </argument> <description> - Change the 3D world of the viewport. + Change the 3D world of the viewport. </description> </method> <method name="unhandled_input"> @@ -44163,21 +44264,21 @@ A similar effect may be achieved moving this node's descendants. </method> <method name="update_worlds"> <description> - Force update of the 2D and 3D worlds. + Force update of the 2D and 3D worlds. </description> </method> <method name="warp_mouse"> <argument index="0" name="to_pos" type="Vector2"> </argument> <description> - Wrap the mouse to a position, relative to the viewport. + Wrap the mouse to a position, relative to the viewport. </description> </method> </methods> <signals> <signal name="size_changed"> <description> - Emitted when the size of the viewport is changed, whether by [method set_size_override], resize of window, or some other means. + Emitted when the size of the viewport is changed, whether by [method set_size_override], resize of window, or some other means. </description> </signal> </signals> @@ -44198,66 +44299,66 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="ViewportSprite" inherits="Node2D" category="Core"> <brief_description> - Displays a viewport as a sprite. + Displays a viewport as a sprite. </brief_description> <description> - Used to display a [Viewport] node at some position in the world, without having to mess with [RenderTargetTexture]s. + Used to display a [Viewport] node at some position in the world, without having to mess with [RenderTargetTexture]s. </description> <methods> <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> - Get color modulation for the texture. All texture pixels are multiplied by this color. + Get color modulation for the texture. All texture pixels are multiplied by this color. </description> </method> <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> - get the offset to the origin of the texture. + get the offset to the origin of the texture. </description> </method> <method name="get_viewport_path" qualifiers="const"> <return type="NodePath"> </return> <description> - Return the path to the shown [Viewport] node. + Return the path to the shown [Viewport] node. </description> </method> <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> - Return whether the viewport's texture is centered on the origin. + Return whether the viewport's texture is centered on the origin. </description> </method> <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> - Set whether the viewport's texture should be centered on the origin. + Set whether the viewport's texture should be centered on the origin. </description> </method> <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> - Set color modulation for the texture. All texture pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect. + Set color modulation for the texture. All texture pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect. </description> </method> <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the offset to the origin of the texture. + Set the offset to the origin of the texture. </description> </method> <method name="set_viewport_path"> <argument index="0" name="path" type="NodePath"> </argument> <description> - Set the path to the shown [Viewport] node. + Set the path to the shown [Viewport] node. </description> </method> </methods> @@ -44266,10 +44367,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VisibilityEnabler" inherits="VisibilityNotifier" category="Core"> <brief_description> - Enable certain nodes only when visible. + Enable certain nodes only when visible. </brief_description> <description> - The VisibilityEnabler will disable [RigidBody] and [AnimationPlayer] nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself. + The VisibilityEnabler will disable [RigidBody] and [AnimationPlayer] nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself. </description> <methods> <method name="is_enabler_enabled" qualifiers="const"> @@ -44278,7 +44379,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="enabler" type="int"> </argument> <description> - Returns whether the specified enabler was set to true or not. + Returns whether the specified enabler was set to true or not. </description> </method> <method name="set_enabler"> @@ -44287,27 +44388,27 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="enabled" type="bool"> </argument> <description> - Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler is not in view. See the constants for enablers and what they affect. + Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler is not in view. See the constants for enablers and what they affect. </description> </method> </methods> <constants> - <constant name="ENABLER_PAUSE_ANIMATIONS" value="0"> - This enabler will pause [AnimationPlayer] nodes. - </constant> <constant name="ENABLER_FREEZE_BODIES" value="1"> This enabler will freeze [RigidBody] nodes. </constant> + <constant name="ENABLER_PAUSE_ANIMATIONS" value="0"> + This enabler will pause [AnimationPlayer] nodes. + </constant> <constant name="ENABLER_MAX" value="2"> </constant> </constants> </class> <class name="VisibilityEnabler2D" inherits="VisibilityNotifier2D" category="Core"> <brief_description> - Enable certain nodes only when visible. + Enable certain nodes only when visible. </brief_description> <description> - The VisibilityEnabler2D will disable [RigidBody2D], [AnimationPlayer], and other nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler2D itself. + The VisibilityEnabler2D will disable [RigidBody2D], [AnimationPlayer], and other nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler2D itself. </description> <methods> <method name="is_enabler_enabled" qualifiers="const"> @@ -44316,7 +44417,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="enabler" type="int"> </argument> <description> - Returns whether the specified enabler was set to true or not. + Returns whether the specified enabler was set to true or not. </description> </method> <method name="set_enabler"> @@ -44325,59 +44426,59 @@ A similar effect may be achieved moving this node's descendants. <argument index="1" name="enabled" type="bool"> </argument> <description> - Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler2D is not in view. See the constants for enablers and what they affect. + Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler2D is not in view. See the constants for enablers and what they affect. </description> </method> </methods> <constants> - <constant name="ENABLER_PAUSE_ANIMATIONS" value="0"> - This enabler will pause [AnimationPlayer] nodes. - </constant> <constant name="ENABLER_FREEZE_BODIES" value="1"> This enabler will freeze [RigidBody2D] nodes. </constant> + <constant name="ENABLER_PAUSE_ANIMATIONS" value="0"> + This enabler will pause [AnimationPlayer] nodes. + </constant> <constant name="ENABLER_PAUSE_PARTICLES" value="2"> This enabler will stop [Particles2D] nodes. </constant> + <constant name="ENABLER_PAUSE_ANIMATED_SPRITES" value="5"> + </constant> <constant name="ENABLER_PARENT_PROCESS" value="3"> This enabler will stop the parent's _process function. </constant> <constant name="ENABLER_PARENT_FIXED_PROCESS" value="4"> This enabler will stop the parent's _fixed_process function. </constant> - <constant name="ENABLER_PAUSE_ANIMATED_SPRITES" value="5"> - </constant> <constant name="ENABLER_MAX" value="6"> </constant> </constants> </class> <class name="VisibilityNotifier" inherits="Spatial" category="Core"> <brief_description> - Detect when the node is visible on screen. + Detect when the node is visible on screen. </brief_description> <description> - The VisibilityNotifier is used to notify when its bounding box enters the screen, is visible on the screen, or when it exits the screen. + The VisibilityNotifier is used to notify when its bounding box enters the screen, is visible on the screen, or when it exits the screen. </description> <methods> <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> - Return the visibility bounding box of the VisibilityNotifier. + Return the visibility bounding box of the VisibilityNotifier. </description> </method> <method name="is_on_screen" qualifiers="const"> <return type="bool"> </return> <description> - Return true if any part of the bounding box is on the screen. + Return true if any part of the bounding box is on the screen. </description> </method> <method name="set_aabb"> <argument index="0" name="rect" type="AABB"> </argument> <description> - Set the visibility bounding box of the VisibilityNotifier. + Set the visibility bounding box of the VisibilityNotifier. </description> </method> </methods> @@ -44386,24 +44487,24 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="camera" type="Object"> </argument> <description> - Emitted when the VisibilityNotifier enters a [Camera]'s view. + Emitted when the VisibilityNotifier enters a [Camera]'s view. </description> </signal> <signal name="enter_screen"> <description> - Emitted when the VisibilityNotifier enters the screen. + Emitted when the VisibilityNotifier enters the screen. </description> </signal> <signal name="exit_camera"> <argument index="0" name="camera" type="Object"> </argument> <description> - Emitted when the VisibilityNotifier exits a [Camera]'s view. + Emitted when the VisibilityNotifier exits a [Camera]'s view. </description> </signal> <signal name="exit_screen"> <description> - Emitted when the VisibilityNotifier exits the screen. + Emitted when the VisibilityNotifier exits the screen. </description> </signal> </signals> @@ -44412,57 +44513,57 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VisibilityNotifier2D" inherits="Node2D" category="Core"> <brief_description> - Detect when the node is visible on screen. + Detect when the node is visible on screen. </brief_description> <description> - The VisibilityNotifier2D is used to notify when its bounding rectangle enters the screen, is visible on the screen, or when it exits the screen. + The VisibilityNotifier2D is used to notify when its bounding rectangle enters the screen, is visible on the screen, or when it exits the screen. </description> <methods> <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return the visibility bounding rectangle of the VisibilityNotifier2D. + Return the visibility bounding rectangle of the VisibilityNotifier2D. </description> </method> <method name="is_on_screen" qualifiers="const"> <return type="bool"> </return> <description> - Return true if any part of the bounding rectangle is on the screen. + Return true if any part of the bounding rectangle is on the screen. </description> </method> <method name="set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> - Set the visibility bounding rectangle of the VisibilityNotifier2D. + Set the visibility bounding rectangle of the VisibilityNotifier2D. </description> </method> </methods> <signals> <signal name="enter_screen"> <description> - Emitted when the VisibilityNotifier2D enters the screen. + Emitted when the VisibilityNotifier2D enters the screen. </description> </signal> <signal name="enter_viewport"> <argument index="0" name="viewport" type="Object"> </argument> <description> - Emitted when the VisibilityNotifier2D enters a [Viewport]. + Emitted when the VisibilityNotifier2D enters a [Viewport]. </description> </signal> <signal name="exit_screen"> <description> - Emitted when the VisibilityNotifier2D exits the screen. + Emitted when the VisibilityNotifier2D exits the screen. </description> </signal> <signal name="exit_viewport"> <argument index="0" name="viewport" type="Object"> </argument> <description> - Emitted when the VisibilityNotifier2D exits a [Viewport]. + Emitted when the VisibilityNotifier2D exits a [Viewport]. </description> </signal> </signals> @@ -44499,11 +44600,11 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="VisualServer" inherits="Object" category="Core"> <brief_description> - Server for anything visible. + Server for anything visible. </brief_description> <description> - Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display. - The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed. + Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display. + The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed. </description> <methods> <method name="black_bars_set_images"> @@ -45906,71 +46007,71 @@ A similar effect may be achieved moving this node's descendants. </method> </methods> <constants> - <constant name="ARRAY_VERTEX" value="0"> + <constant name="NO_INDEX_ARRAY" value="-1"> </constant> - <constant name="ARRAY_FORMAT_VERTEX" value="1"> + <constant name="CUSTOM_ARRAY_SIZE" value="8"> </constant> - <constant name="ARRAY_NORMAL" value="1"> + <constant name="ARRAY_WEIGHTS_SIZE" value="4"> </constant> - <constant name="ARRAY_FORMAT_WEIGHTS" value="128"> + <constant name="MAX_PARTICLE_COLOR_PHASES" value="4"> </constant> - <constant name="ARRAY_FORMAT_TEX_UV" value="16"> + <constant name="MAX_PARTICLE_ATTRACTORS" value="4"> </constant> - <constant name="ARRAY_FORMAT_NORMAL" value="2"> + <constant name="MAX_CURSORS" value="8"> </constant> - <constant name="ARRAY_TANGENT" value="2"> + <constant name="TEXTURE_FLAG_MIPMAPS" value="1"> </constant> - <constant name="ARRAY_FORMAT_INDEX" value="256"> + <constant name="TEXTURE_FLAG_REPEAT" value="2"> </constant> - <constant name="ARRAY_COLOR" value="3"> + <constant name="TEXTURE_FLAG_FILTER" value="4"> </constant> - <constant name="ARRAY_FORMAT_TANGENT" value="4"> + <constant name="TEXTURE_FLAG_CUBEMAP" value="2048"> </constant> - <constant name="ARRAY_TEX_UV" value="4"> + <constant name="TEXTURE_FLAGS_DEFAULT" value="7"> </constant> - <constant name="ARRAY_WEIGHTS_SIZE" value="4"> + <constant name="CUBEMAP_LEFT" value="0"> </constant> - <constant name="ARRAY_BONES" value="6"> + <constant name="CUBEMAP_RIGHT" value="1"> </constant> - <constant name="ARRAY_FORMAT_BONES" value="64"> + <constant name="CUBEMAP_BOTTOM" value="2"> </constant> - <constant name="ARRAY_WEIGHTS" value="7"> + <constant name="CUBEMAP_TOP" value="3"> </constant> - <constant name="ARRAY_FORMAT_COLOR" value="8"> + <constant name="CUBEMAP_FRONT" value="4"> </constant> - <constant name="ARRAY_INDEX" value="8"> + <constant name="CUBEMAP_BACK" value="5"> </constant> - <constant name="ARRAY_MAX" value="9"> + <constant name="SHADER_MATERIAL" value="0"> </constant> - <constant name="CUBEMAP_LEFT" value="0"> + <constant name="SHADER_POST_PROCESS" value="2"> </constant> - <constant name="CUBEMAP_RIGHT" value="1"> + <constant name="MATERIAL_FLAG_VISIBLE" value="0"> </constant> - <constant name="CUBEMAP_BOTTOM" value="2"> + <constant name="MATERIAL_FLAG_DOUBLE_SIDED" value="1"> </constant> - <constant name="CUBEMAP_TOP" value="3"> + <constant name="MATERIAL_FLAG_INVERT_FACES" value="2"> </constant> - <constant name="CUBEMAP_FRONT" value="4"> + <constant name="MATERIAL_FLAG_UNSHADED" value="3"> </constant> - <constant name="CUBEMAP_BACK" value="5"> + <constant name="MATERIAL_FLAG_ONTOP" value="4"> </constant> - <constant name="CUSTOM_ARRAY_SIZE" value="8"> + <constant name="MATERIAL_FLAG_MAX" value="7"> </constant> - <constant name="FIXED_MATERIAL_PARAM_DIFFUSE" value="0"> + <constant name="MATERIAL_BLEND_MODE_MIX" value="0"> </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_UV" value="0"> + <constant name="MATERIAL_BLEND_MODE_ADD" value="1"> </constant> - <constant name="FIXED_MATERIAL_PARAM_DETAIL" value="1"> + <constant name="MATERIAL_BLEND_MODE_SUB" value="2"> </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_UV_TRANSFORM" value="1"> + <constant name="MATERIAL_BLEND_MODE_MUL" value="3"> </constant> - <constant name="FIXED_MATERIAL_PARAM_SPECULAR" value="2"> + <constant name="FIXED_MATERIAL_PARAM_DIFFUSE" value="0"> </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_UV2" value="2"> + <constant name="FIXED_MATERIAL_PARAM_DETAIL" value="1"> </constant> - <constant name="FIXED_MATERIAL_PARAM_EMISSION" value="3"> + <constant name="FIXED_MATERIAL_PARAM_SPECULAR" value="2"> </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_SPHERE" value="3"> + <constant name="FIXED_MATERIAL_PARAM_EMISSION" value="3"> </constant> <constant name="FIXED_MATERIAL_PARAM_SPECULAR_EXP" value="4"> </constant> @@ -45982,169 +46083,169 @@ A similar effect may be achieved moving this node's descendants. </constant> <constant name="FIXED_MATERIAL_PARAM_MAX" value="8"> </constant> - <constant name="INFO_OBJECTS_IN_FRAME" value="0"> + <constant name="FIXED_MATERIAL_TEXCOORD_SPHERE" value="3"> </constant> - <constant name="INFO_VERTICES_IN_FRAME" value="1"> + <constant name="FIXED_MATERIAL_TEXCOORD_UV" value="0"> </constant> - <constant name="INFO_MATERIAL_CHANGES_IN_FRAME" value="2"> + <constant name="FIXED_MATERIAL_TEXCOORD_UV_TRANSFORM" value="1"> </constant> - <constant name="INFO_SHADER_CHANGES_IN_FRAME" value="3"> + <constant name="FIXED_MATERIAL_TEXCOORD_UV2" value="2"> </constant> - <constant name="INFO_SURFACE_CHANGES_IN_FRAME" value="4"> + <constant name="ARRAY_VERTEX" value="0"> </constant> - <constant name="INFO_DRAW_CALLS_IN_FRAME" value="5"> + <constant name="ARRAY_NORMAL" value="1"> </constant> - <constant name="INFO_USAGE_VIDEO_MEM_TOTAL" value="6"> + <constant name="ARRAY_TANGENT" value="2"> </constant> - <constant name="INFO_VIDEO_MEM_USED" value="7"> + <constant name="ARRAY_COLOR" value="3"> </constant> - <constant name="INFO_TEXTURE_MEM_USED" value="8"> + <constant name="ARRAY_TEX_UV" value="4"> </constant> - <constant name="INFO_VERTEX_MEM_USED" value="9"> + <constant name="ARRAY_BONES" value="6"> </constant> - <constant name="INSTANCE_MESH" value="1"> + <constant name="ARRAY_WEIGHTS" value="7"> </constant> - <constant name="INSTANCE_MULTIMESH" value="2"> + <constant name="ARRAY_INDEX" value="8"> </constant> - <constant name="INSTANCE_GEOMETRY_MASK" value="30"> + <constant name="ARRAY_MAX" value="9"> </constant> - <constant name="INSTANCE_PARTICLES" value="4"> + <constant name="ARRAY_FORMAT_VERTEX" value="1"> </constant> - <constant name="INSTANCE_LIGHT" value="5"> + <constant name="ARRAY_FORMAT_NORMAL" value="2"> </constant> - <constant name="INSTANCE_ROOM" value="6"> + <constant name="ARRAY_FORMAT_TANGENT" value="4"> </constant> - <constant name="INSTANCE_PORTAL" value="7"> + <constant name="ARRAY_FORMAT_COLOR" value="8"> </constant> - <constant name="LIGHT_COLOR_DIFFUSE" value="0"> + <constant name="ARRAY_FORMAT_TEX_UV" value="16"> </constant> - <constant name="LIGHT_DIRECTIONAL" value="0"> + <constant name="ARRAY_FORMAT_BONES" value="64"> </constant> - <constant name="LIGHT_PARAM_SPOT_ATTENUATION" value="0"> + <constant name="ARRAY_FORMAT_WEIGHTS" value="128"> </constant> - <constant name="LIGHT_COLOR_SPECULAR" value="1"> + <constant name="ARRAY_FORMAT_INDEX" value="256"> </constant> - <constant name="LIGHT_OMNI" value="1"> + <constant name="PRIMITIVE_POINTS" value="0"> </constant> - <constant name="LIGHT_PARAM_SPOT_ANGLE" value="1"> + <constant name="PRIMITIVE_LINES" value="1"> </constant> - <constant name="LIGHT_PARAM_MAX" value="10"> + <constant name="PRIMITIVE_LINE_STRIP" value="2"> </constant> - <constant name="LIGHT_PARAM_RADIUS" value="2"> + <constant name="PRIMITIVE_LINE_LOOP" value="3"> </constant> - <constant name="LIGHT_SPOT" value="2"> + <constant name="PRIMITIVE_TRIANGLES" value="4"> </constant> - <constant name="LIGHT_PARAM_ENERGY" value="3"> + <constant name="PRIMITIVE_TRIANGLE_STRIP" value="5"> </constant> - <constant name="LIGHT_PARAM_ATTENUATION" value="4"> + <constant name="PRIMITIVE_TRIANGLE_FAN" value="6"> </constant> - <constant name="MATERIAL_BLEND_MODE_MIX" value="0"> + <constant name="PRIMITIVE_MAX" value="7"> </constant> - <constant name="MATERIAL_FLAG_VISIBLE" value="0"> + <constant name="PARTICLE_LIFETIME" value="0"> </constant> - <constant name="MATERIAL_BLEND_MODE_ADD" value="1"> + <constant name="PARTICLE_SPREAD" value="1"> </constant> - <constant name="MATERIAL_FLAG_DOUBLE_SIDED" value="1"> + <constant name="PARTICLE_GRAVITY" value="2"> </constant> - <constant name="MATERIAL_BLEND_MODE_SUB" value="2"> + <constant name="PARTICLE_LINEAR_VELOCITY" value="3"> </constant> - <constant name="MATERIAL_FLAG_INVERT_FACES" value="2"> + <constant name="PARTICLE_ANGULAR_VELOCITY" value="4"> </constant> - <constant name="MATERIAL_BLEND_MODE_MUL" value="3"> + <constant name="PARTICLE_LINEAR_ACCELERATION" value="5"> </constant> - <constant name="MATERIAL_FLAG_UNSHADED" value="3"> + <constant name="PARTICLE_RADIAL_ACCELERATION" value="6"> </constant> - <constant name="MATERIAL_FLAG_ONTOP" value="4"> + <constant name="PARTICLE_TANGENTIAL_ACCELERATION" value="7"> </constant> - <constant name="MATERIAL_FLAG_MAX" value="7"> + <constant name="PARTICLE_INITIAL_SIZE" value="9"> </constant> - <constant name="MAX_PARTICLE_ATTRACTORS" value="4"> + <constant name="PARTICLE_FINAL_SIZE" value="10"> </constant> - <constant name="MAX_PARTICLE_COLOR_PHASES" value="4"> + <constant name="PARTICLE_INITIAL_ANGLE" value="11"> </constant> - <constant name="MAX_CURSORS" value="8"> + <constant name="PARTICLE_HEIGHT" value="12"> </constant> - <constant name="NO_INDEX_ARRAY" value="-1"> + <constant name="PARTICLE_HEIGHT_SPEED_SCALE" value="13"> </constant> - <constant name="PARTICLE_LIFETIME" value="0"> + <constant name="PARTICLE_VAR_MAX" value="14"> </constant> - <constant name="PARTICLE_SPREAD" value="1"> + <constant name="LIGHT_DIRECTIONAL" value="0"> </constant> - <constant name="PARTICLE_FINAL_SIZE" value="10"> + <constant name="LIGHT_OMNI" value="1"> </constant> - <constant name="PARTICLE_INITIAL_ANGLE" value="11"> + <constant name="LIGHT_SPOT" value="2"> </constant> - <constant name="PARTICLE_HEIGHT" value="12"> + <constant name="LIGHT_COLOR_DIFFUSE" value="0"> </constant> - <constant name="PARTICLE_HEIGHT_SPEED_SCALE" value="13"> + <constant name="LIGHT_COLOR_SPECULAR" value="1"> </constant> - <constant name="PARTICLE_VAR_MAX" value="14"> + <constant name="LIGHT_PARAM_SPOT_ATTENUATION" value="0"> </constant> - <constant name="PARTICLE_GRAVITY" value="2"> + <constant name="LIGHT_PARAM_SPOT_ANGLE" value="1"> </constant> - <constant name="PARTICLE_LINEAR_VELOCITY" value="3"> + <constant name="LIGHT_PARAM_RADIUS" value="2"> </constant> - <constant name="PARTICLE_ANGULAR_VELOCITY" value="4"> + <constant name="LIGHT_PARAM_ENERGY" value="3"> </constant> - <constant name="PARTICLE_LINEAR_ACCELERATION" value="5"> + <constant name="LIGHT_PARAM_ATTENUATION" value="4"> </constant> - <constant name="PARTICLE_RADIAL_ACCELERATION" value="6"> + <constant name="LIGHT_PARAM_MAX" value="10"> </constant> - <constant name="PARTICLE_TANGENTIAL_ACCELERATION" value="7"> + <constant name="SCENARIO_DEBUG_DISABLED" value="0"> </constant> - <constant name="PARTICLE_INITIAL_SIZE" value="9"> + <constant name="SCENARIO_DEBUG_WIREFRAME" value="1"> </constant> - <constant name="PRIMITIVE_POINTS" value="0"> + <constant name="SCENARIO_DEBUG_OVERDRAW" value="2"> </constant> - <constant name="PRIMITIVE_LINES" value="1"> + <constant name="INSTANCE_MESH" value="1"> </constant> - <constant name="PRIMITIVE_LINE_STRIP" value="2"> + <constant name="INSTANCE_MULTIMESH" value="2"> </constant> - <constant name="PRIMITIVE_LINE_LOOP" value="3"> + <constant name="INSTANCE_PARTICLES" value="4"> </constant> - <constant name="PRIMITIVE_TRIANGLES" value="4"> + <constant name="INSTANCE_LIGHT" value="5"> </constant> - <constant name="PRIMITIVE_TRIANGLE_STRIP" value="5"> + <constant name="INSTANCE_ROOM" value="6"> </constant> - <constant name="PRIMITIVE_TRIANGLE_FAN" value="6"> + <constant name="INSTANCE_PORTAL" value="7"> </constant> - <constant name="PRIMITIVE_MAX" value="7"> + <constant name="INSTANCE_GEOMETRY_MASK" value="30"> </constant> - <constant name="SCENARIO_DEBUG_DISABLED" value="0"> + <constant name="INFO_OBJECTS_IN_FRAME" value="0"> </constant> - <constant name="SCENARIO_DEBUG_WIREFRAME" value="1"> + <constant name="INFO_VERTICES_IN_FRAME" value="1"> </constant> - <constant name="SCENARIO_DEBUG_OVERDRAW" value="2"> + <constant name="INFO_MATERIAL_CHANGES_IN_FRAME" value="2"> </constant> - <constant name="SHADER_MATERIAL" value="0"> + <constant name="INFO_SHADER_CHANGES_IN_FRAME" value="3"> </constant> - <constant name="SHADER_POST_PROCESS" value="2"> + <constant name="INFO_SURFACE_CHANGES_IN_FRAME" value="4"> </constant> - <constant name="TEXTURE_FLAG_MIPMAPS" value="1"> + <constant name="INFO_DRAW_CALLS_IN_FRAME" value="5"> </constant> - <constant name="TEXTURE_FLAG_REPEAT" value="2"> + <constant name="INFO_USAGE_VIDEO_MEM_TOTAL" value="6"> </constant> - <constant name="TEXTURE_FLAG_CUBEMAP" value="2048"> + <constant name="INFO_VIDEO_MEM_USED" value="7"> </constant> - <constant name="TEXTURE_FLAG_FILTER" value="4"> + <constant name="INFO_TEXTURE_MEM_USED" value="8"> </constant> - <constant name="TEXTURE_FLAGS_DEFAULT" value="7"> + <constant name="INFO_VERTEX_MEM_USED" value="9"> </constant> </constants> </class> <class name="WeakRef" inherits="Reference" category="Core"> <brief_description> - Holds an [Object], but does not contribute to the reference count if the object is a reference. + Holds an [Object], but does not contribute to the reference count if the object is a reference. </brief_description> <description> - A weakref can hold a [Reference], without contributing to the reference counter. A weakref can be created from an [Object] using [method @GDScript.weakref]. If this object is not a reference, weakref still works, however, it does not have any effect on the object. Weakrefs are useful in cases where multiple classes have variables that refer to eachother. Without weakrefs, using these classes could lead to memory leaks, since both references keep eachother from being released. Making part of the variables a weakref can prevent this cyclic dependency, and allows the references to be released. + A weakref can hold a [Reference], without contributing to the reference counter. A weakref can be created from an [Object] using [method @GDScript.weakref]. If this object is not a reference, weakref still works, however, it does not have any effect on the object. Weakrefs are useful in cases where multiple classes have variables that refer to eachother. Without weakrefs, using these classes could lead to memory leaks, since both references keep eachother from being released. Making part of the variables a weakref can prevent this cyclic dependency, and allows the references to be released. </description> <methods> <method name="get_ref" qualifiers="const"> <return type="Object"> </return> <description> - Returns the [Object] this weakref is referring to. + Returns the [Object] this weakref is referring to. </description> </method> </methods> @@ -46153,31 +46254,31 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="WindowDialog" inherits="Popup" category="Core"> <brief_description> - Base class for window dialogs. + Base class for window dialogs. </brief_description> <description> - Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel [Control] that draws a window decoration and allows motion and resizing. + Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel [Control] that draws a window decoration and allows motion and resizing. </description> <methods> <method name="get_close_button"> <return type="TextureButton"> </return> <description> - Return the close [TextureButton]. + Return the close [TextureButton]. </description> </method> <method name="get_title" qualifiers="const"> <return type="String"> </return> <description> - Return the title of the window. + Return the title of the window. </description> </method> <method name="set_title"> <argument index="0" name="title" type="String"> </argument> <description> - Set the title of the window. + Set the title of the window. </description> </method> </methods> @@ -46206,10 +46307,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="World" inherits="Resource" category="Core"> <brief_description> - Class that has everything pertaining to a world. + Class that has everything pertaining to a world. </brief_description> <description> - Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world. + Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world. </description> <methods> <method name="get_direct_space_state"> @@ -46254,10 +46355,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="World2D" inherits="Resource" category="Core"> <brief_description> - Class that has everything pertaining to a 2D world. + Class that has everything pertaining to a 2D world. </brief_description> <description> - Class that has everything pertaining to a 2D world. A physics space, a visual scenario and a sound space. 2D nodes register their resources into the current 2D world. + Class that has everything pertaining to a 2D world. A physics space, a visual scenario and a sound space. 2D nodes register their resources into the current 2D world. </description> <methods> <method name="get_canvas"> @@ -46452,24 +46553,24 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="YSort" inherits="Node2D" category="Core"> <brief_description> - Sort all child nodes based on their Y positions. + Sort all child nodes based on their Y positions. </brief_description> <description> - Sort all child nodes based on their Y positions. The child node must inherit from [CanvasItem] for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position. + Sort all child nodes based on their Y positions. The child node must inherit from [CanvasItem] for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position. </description> <methods> <method name="is_sort_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Returns true if the children nodes are being sorted. + Returns true if the children nodes are being sorted. </description> </method> <method name="set_sort_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the children nodes are sorted or not. (default true) + Set whether the children nodes are sorted or not. (default true) </description> </method> </methods> @@ -46478,10 +46579,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="bool" category="Built-In Types"> <brief_description> - Boolean built-in type + Boolean built-in type </brief_description> <description> - Boolean built-in type. + Boolean built-in type. </description> <methods> <method name="bool"> @@ -46490,7 +46591,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="int"> </argument> <description> - Cast an [int] value to a boolean value, this method will return true if called with an integer value different to 0 and false in other case. + Cast an [int] value to a boolean value, this method will return true if called with an integer value different to 0 and false in other case. </description> </method> <method name="bool"> @@ -46499,7 +46600,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="float"> </argument> <description> - Cast a [float] value to a boolean value, this method will return true if called with a floating point value different to 0 and false in other case. + Cast a [float] value to a boolean value, this method will return true if called with a floating point value different to 0 and false in other case. </description> </method> <method name="bool"> @@ -46508,7 +46609,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="String"> </argument> <description> - Cast a [String] value to a boolean value, this method will return true if called with a non empty string and false in other case. Examples: [code]bool('False')[/code] returns true, [code]bool('')[/code]. returns false + Cast a [String] value to a boolean value, this method will return true if called with a non empty string and false in other case. Examples: [code]bool('False')[/code] returns true, [code]bool('')[/code]. returns false </description> </method> </methods> @@ -46517,10 +46618,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="float" category="Built-In Types"> <brief_description> - Float built-in type + Float built-in type </brief_description> <description> - Float built-in type. + Float built-in type. </description> <methods> <method name="float"> @@ -46529,7 +46630,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="bool"> </argument> <description> - Cast a [bool] value to a floating point value, [code]float(true)[/code] will be equals to 1.0 and [code]float(false)[/code] will be equals to 0.0. + Cast a [bool] value to a floating point value, [code]float(true)[/code] will be equals to 1.0 and [code]float(false)[/code] will be equals to 0.0. </description> </method> <method name="float"> @@ -46538,7 +46639,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="int"> </argument> <description> - Cast an [int] value to a floating point value, [code]float(1)[/code] will be equals to 1.0. + Cast an [int] value to a floating point value, [code]float(1)[/code] will be equals to 1.0. </description> </method> <method name="float"> @@ -46547,7 +46648,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="String"> </argument> <description> - Cast a [String] value to a floating point value. This method accepts float value strings like [code] '1.23' [/code] and exponential notation strings for its parameter so calling [code] float('1e3') [/code] will return 1000.0 and calling [code] float('1e-3') [/code] will return -0.001. + Cast a [String] value to a floating point value. This method accepts float value strings like [code] '1.23' [/code] and exponential notation strings for its parameter so calling [code] float('1e3') [/code] will return 1000.0 and calling [code] float('1e-3') [/code] will return -0.001. </description> </method> </methods> @@ -46556,10 +46657,10 @@ A similar effect may be achieved moving this node's descendants. </class> <class name="int" category="Built-In Types"> <brief_description> - Integer built-in type. + Integer built-in type. </brief_description> <description> - Integer built-in type. + Integer built-in type. </description> <methods> <method name="int"> @@ -46568,7 +46669,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="bool"> </argument> <description> - Cast a [bool] value to an integer value, [code]int(true)[/code] will be equals to 1 and [code]int(false)[/code] will be equals to 0. + Cast a [bool] value to an integer value, [code]int(true)[/code] will be equals to 1 and [code]int(false)[/code] will be equals to 0. </description> </method> <method name="int"> @@ -46577,7 +46678,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="float"> </argument> <description> - Cast a float value to an integer value, this method simply removes the number fractions, so for example [code]int(2.7)[/code] will be equals to 2, [code]int(.1)[/code] will be equals to 0 and [code]int(-2.7)[/code] will be equals to -2. + Cast a float value to an integer value, this method simply removes the number fractions, so for example [code]int(2.7)[/code] will be equals to 2, [code]int(.1)[/code] will be equals to 0 and [code]int(-2.7)[/code] will be equals to -2. </description> </method> <method name="int"> @@ -46586,7 +46687,7 @@ A similar effect may be achieved moving this node's descendants. <argument index="0" name="from" type="String"> </argument> <description> - Cast a [String] value to an integer value, this method is an integer parser from a string, so calling this method with an invalid integer string will return 0, a valid string will be something like [code]'1.7'[/code]. This method will ignore all non-number characters, so calling [code]int('1e3')[/code] will return 13. + Cast a [String] value to an integer value, this method is an integer parser from a string, so calling this method with an invalid integer string will return 0, a valid string will be something like [code]'1.7'[/code]. This method will ignore all non-number characters, so calling [code]int('1e3')[/code] will return 13. </description> </method> </methods> diff --git a/drivers/builtin_openssl2/openssl/opensslconf.h b/drivers/builtin_openssl2/openssl/opensslconf.h index 25429e94d6..c86bb60b94 100644 --- a/drivers/builtin_openssl2/openssl/opensslconf.h +++ b/drivers/builtin_openssl2/openssl/opensslconf.h @@ -213,8 +213,13 @@ extern "C" { #ifdef OPENSSL_USE_64_BITS -#define SIXTY_FOUR_BIT_LONG -#undef SIXTY_FOUR_BIT +# ifdef _WIN32 +# undef SIXTY_FOUR_BIT_LONG +# define SIXTY_FOUR_BIT +# else +# define SIXTY_FOUR_BIT_LONG +# undef SIXTY_FOUR_BIT +# endif #undef THIRTY_TWO_BIT #else diff --git a/drivers/chibi/cp_envelope.cpp b/drivers/chibi/cp_envelope.cpp index fab8a68ada..9892b6d4b0 100644 --- a/drivers/chibi/cp_envelope.cpp +++ b/drivers/chibi/cp_envelope.cpp @@ -359,7 +359,6 @@ uint8_t CPEnvelope::get_node_count() { const CPEnvelope::Point& CPEnvelope::get_node(int p_idx) { - static Point errpoint; if (p_idx<0 || p_idx>=node_count) return node[node_count-1]; diff --git a/drivers/chibi/cp_loader_xm.cpp b/drivers/chibi/cp_loader_xm.cpp index 8ab6abc650..bff8615a32 100644 --- a/drivers/chibi/cp_loader_xm.cpp +++ b/drivers/chibi/cp_loader_xm.cpp @@ -560,8 +560,7 @@ CPLoader::Error CPLoader_XM::load_instrument_internal(CPInstrument *p_instr,bool if (s_idx==-1) ABORT_LOAD; //printf("free sample: %i\n",s_idx); - - char auxb; + CPSample& sample=*song->get_sample(s_idx); int sample_size=file->get_dword(); @@ -611,6 +610,7 @@ CPLoader::Error CPLoader_XM::load_instrument_internal(CPInstrument *p_instr,bool sm->set_c5_freq( sample_data, CPTables::get_linear_frequency(CPTables::get_linear_period(note_offset<<1,finetune)) ); //printf("NOTE %i,fine %i\n",note_offset,finetune); + char auxb; auxb=file->get_byte(); //reserved? file->get_byte_array((uint8_t*)instrname,22); sample.set_name(instrname); diff --git a/drivers/chibi/cp_player_data_events.cpp b/drivers/chibi/cp_player_data_events.cpp index 8122988516..fb5090461b 100644 --- a/drivers/chibi/cp_player_data_events.cpp +++ b/drivers/chibi/cp_player_data_events.cpp @@ -325,8 +325,6 @@ void CPPlayer::update_mixer() { printf("cgb %i\n",(int)v.master_channel->channel_global_volume); */ - - int cv=v.master_channel->channel_global_volume; tmpvol=(uint64_t)v.fadeout_volume; /* max 1024 - 10 bits */ tmpvol*=(uint64_t)v.channel_volume; /* * max 64 - 6 bits */ @@ -338,13 +336,9 @@ void CPPlayer::update_mixer() { tmpvol*=(uint64_t)song->get_mixing_volume(); /* max 128 - 7 bits */ tmpvol*=(uint64_t)control.global_volume; /* max 128 - 7 bits*/ /* total 10+6+8+6+7+7=44 bits */ - uint64_t preshift=tmpvol; + tmpvol>>=43; /* Move back to 8 bits range , 44-19+8=43*/ - /* - if (!tmpvol && preshift>>35) - tmpvol=1; // even if the volume should be inaudible, some people WANTS to hear this. - */ if (tmpvol>CP_VOL_MAX) tmpvol=CP_VOL_MAX; diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp index 8bd2fe3862..4cd97a7f6a 100644 --- a/drivers/gles2/rasterizer_gles2.cpp +++ b/drivers/gles2/rasterizer_gles2.cpp @@ -2205,8 +2205,6 @@ Error RasterizerGLES2::_surface_set_arrays(Surface *p_surface, uint8_t *p_mem,ui AABB aabb; float scale=1; - float max=0; - if (p_surface->array[VS::ARRAY_VERTEX].datatype==_GL_HALF_FLOAT_OES) { @@ -5913,8 +5911,7 @@ Error RasterizerGLES2::_setup_geometry(const Geometry *p_geometry, const Materia base = skinned_buffer; //copy stuff and get it ready for the skeleton - int src_stride = surf->stride; - int dst_stride = surf->stride - ( surf->array[VS::ARRAY_BONES].size + surf->array[VS::ARRAY_WEIGHTS].size ); + int dst_stride = surf->stride - ( surf->array[VS::ARRAY_BONES].size + surf->array[VS::ARRAY_WEIGHTS].size ); const uint8_t *src_weights=&surf->array_local[surf->array[VS::ARRAY_WEIGHTS].ofs]; const uint8_t *src_bones=&surf->array_local[surf->array[VS::ARRAY_BONES].ofs]; const Skeleton::Bone *skeleton = &p_skeleton->bones[0]; @@ -6316,9 +6313,9 @@ void RasterizerGLES2::_render(const Geometry *p_geometry,const Material *p_mater void RasterizerGLES2::_setup_shader_params(const Material *p_material) { +#if 0 int idx=0; int tex_idx=0; -#if 0 for(Map<StringName,Variant>::Element *E=p_material->shader_cache->params.front();E;E=E->next(),idx++) { Variant v; // @@ -6384,7 +6381,6 @@ void RasterizerGLES2::_render_list_forward(RenderList *p_render_list,const Trans uint16_t prev_light=0x777E; const Geometry *prev_geometry_cmp=NULL; uint8_t prev_light_type=0xEF; - const ParamOverrideMap* prev_overrides=NULL; // make it diferent than NULL const Skeleton *prev_skeleton =NULL; uint8_t prev_sort_flags=0xFF; const BakedLightData *prev_baked_light=NULL; @@ -6392,8 +6388,6 @@ void RasterizerGLES2::_render_list_forward(RenderList *p_render_list,const Trans const float *prev_morph_values=NULL; int prev_receive_shadows_state=-1; - Geometry::Type prev_geometry_type=Geometry::GEOMETRY_INVALID; - material_shader.set_conditional(MaterialShaderGLES2::USE_VERTEX_LIGHTING,!shadow && !p_fragment_light); material_shader.set_conditional(MaterialShaderGLES2::USE_FRAGMENT_LIGHTING,!shadow && p_fragment_light); material_shader.set_conditional(MaterialShaderGLES2::USE_SKELETON,false); @@ -6450,12 +6444,10 @@ void RasterizerGLES2::_render_list_forward(RenderList *p_render_list,const Trans prev_light=0x777E; prev_geometry_cmp=NULL; prev_light_type=0xEF; - prev_overrides=NULL; // make it diferent than NULL prev_skeleton =NULL; prev_sort_flags=0xFF; prev_morph_values=NULL; prev_receive_shadows_state=-1; - prev_geometry_type=Geometry::GEOMETRY_INVALID; glEnable(GL_BLEND); glDepthMask(GL_TRUE); glEnable(GL_DEPTH_TEST); @@ -6838,7 +6830,6 @@ void RasterizerGLES2::_render_list_forward(RenderList *p_render_list,const Trans prev_sort_flags=sort_flags; prev_baked_light=baked_light; prev_morph_values=morph_values; -// prev_geometry_type=geometry->type; prev_receive_shadows_state=receive_shadows_state; } @@ -8877,8 +8868,6 @@ void RasterizerGLES2::canvas_light_shadow_buffer_update(RID p_buffer, const Matr glEnableVertexAttribArray(VS::ARRAY_VERTEX); canvas_shadow_shader.bind(); - const int vp_height = 10; - glViewport(0, 0, cls->size,cls->height); _glClearDepth(1.0f); glClearColor(1,1,1,1); @@ -8920,12 +8909,6 @@ void RasterizerGLES2::canvas_light_shadow_buffer_update(RID p_buffer, const Matr Vector3 cam_target=Matrix3(Vector3(0,0,Math_PI*2*(i/4.0))).xform(Vector3(0,1,0)); projection = projection * CameraMatrix(Transform().looking_at(cam_target,Vector3(0,0,-1)).affine_inverse()); - //print_line("near: "+rtos(p_near)); - //print_line("far: "+rtos(p_far)); - //projection.set_perspective(60,size/float(vp_height),p_near,p_far); - - // CameraMatrix light_mat = projection * CameraMatrix(camera); - canvas_shadow_shader.set_uniform(CanvasShadowShaderGLES2::PROJECTION_MATRIX,projection); canvas_shadow_shader.set_uniform(CanvasShadowShaderGLES2::LIGHT_MATRIX,light); @@ -9501,19 +9484,15 @@ void RasterizerGLES2::canvas_render_items(CanvasItem *p_item_list,int p_z,const if (ci->copy_back_buffer && framebuffer.active && framebuffer.scale==1) { Rect2 rect; - int x,y,w,h; + int x,y; if (ci->copy_back_buffer->full) { x = viewport.x; y = window_size.height-(viewport.height+viewport.y); - w = viewport.width; - h = viewport.height; } else { x = viewport.x+ci->copy_back_buffer->screen_rect.pos.x; y = window_size.height-(viewport.y+ci->copy_back_buffer->screen_rect.pos.y+ci->copy_back_buffer->screen_rect.size.y); - w = ci->copy_back_buffer->screen_rect.size.x; - h = ci->copy_back_buffer->screen_rect.size.y; } glActiveTexture(GL_TEXTURE0+max_texture_units-1); glBindTexture(GL_TEXTURE_2D,framebuffer.sample_color); @@ -9531,9 +9510,6 @@ void RasterizerGLES2::canvas_render_items(CanvasItem *p_item_list,int p_z,const } else { glCopyTexSubImage2D(GL_TEXTURE_2D,0,x,y,x,y,viewport.width,viewport.height); } -// if (current_clip) { -// // print_line(" a clip "); -// } canvas_texscreen_used=true; glActiveTexture(GL_TEXTURE0); @@ -10496,7 +10472,6 @@ void RasterizerGLES2::_update_framebuffer() { // GLuint format_rgba = use_fp16_fb?_GL_RGBA16F_EXT:GL_RGBA; GLuint format_rgba = GL_RGBA; - GLuint format_rgb = use_fp16_fb?_GL_RGB16F_EXT:GL_RGB; GLuint format_type = use_fp16_fb?_GL_HALF_FLOAT_OES:GL_UNSIGNED_BYTE; GLuint format_internal=GL_RGBA; @@ -10998,10 +10973,9 @@ void RasterizerGLES2::init() { { //shadowmaps - OS::VideoMode vm=OS::get_singleton()->get_video_mode(); //don't use a shadowbuffer too big in GLES, this should be the maximum - int max_shadow_size = GLOBAL_DEF("rasterizer/max_shadow_buffer_size",1024);//nearest_power_of_2(MIN(vm.width,vm.height))/2; + int max_shadow_size = GLOBAL_DEF("rasterizer/max_shadow_buffer_size",1024); int smsize=max_shadow_size; while(smsize>=16) { diff --git a/drivers/jpegd/image_loader_jpegd.cpp b/drivers/jpegd/image_loader_jpegd.cpp index 913a7bdf39..496334605d 100644 --- a/drivers/jpegd/image_loader_jpegd.cpp +++ b/drivers/jpegd/image_loader_jpegd.cpp @@ -129,6 +129,8 @@ static Image _jpegd_mem_loader_func(const uint8_t* p_png,int p_size) { Image img; Error err = jpeg_load_image_from_buffer(&img,p_png,p_size); + if (err) + ERR_PRINT("Couldn't initialize ImageLoaderJPG with the given resource."); return img; } diff --git a/drivers/openssl/stream_peer_openssl.cpp b/drivers/openssl/stream_peer_openssl.cpp index 67f58b6028..aa3d8a8f7f 100644 --- a/drivers/openssl/stream_peer_openssl.cpp +++ b/drivers/openssl/stream_peer_openssl.cpp @@ -309,6 +309,9 @@ Error StreamPeerOpenSSL::connect(Ref<StreamPeer> p_base, bool p_validate_certs, validate_certs=p_validate_certs; validate_hostname=p_for_hostname!=""; + + + if (p_validate_certs) { @@ -380,6 +383,10 @@ Error StreamPeerOpenSSL::connect(Ref<StreamPeer> p_base, bool p_validate_certs, bio->ptr = this; SSL_set_bio( ssl, bio, bio ); + if (p_for_hostname!=String()) { + SSL_set_tlsext_host_name(ssl,p_for_hostname.utf8().get_data()); + } + use_blocking=true; // let handshake use blocking // Set the SSL to automatically retry on failure. SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY); @@ -462,7 +469,6 @@ Error StreamPeerOpenSSL::put_partial_data(const uint8_t* p_data,int p_bytes, int if (p_bytes==0) return OK; - int s=0; Error err = put_data(p_data,p_bytes); if (err!=OK) return err; diff --git a/drivers/png/resource_saver_png.cpp b/drivers/png/resource_saver_png.cpp index b91329c8da..2578fe9eb6 100644 --- a/drivers/png/resource_saver_png.cpp +++ b/drivers/png/resource_saver_png.cpp @@ -133,7 +133,6 @@ Error ResourceSaverPNG::save_image(const String &p_path, Image &p_img) { } int pngf=0; - int pngb=8; int cs=0; diff --git a/drivers/speex/Makefile.am b/drivers/speex/Makefile.am deleted file mode 100644 index 3d4e03f9a6..0000000000 --- a/drivers/speex/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -# Disable automatic dependency tracking if using other tools than gcc and gmake -#AUTOMAKE_OPTIONS = no-dependencies - - -EXTRA_DIST=echo_diagnostic.m - -INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@ - -lib_LTLIBRARIES = libspeex.la libspeexdsp.la - -# Sources for compilation in the library -libspeex_la_SOURCES = cb_search.c exc_10_32_table.c exc_8_128_table.c \ - filters.c gain_table.c hexc_table.c high_lsp_tables.c lsp.c \ - ltp.c speex.c stereo.c vbr.c vq.c bits.c exc_10_16_table.c \ - exc_20_32_table.c exc_5_256_table.c exc_5_64_table.c gain_table_lbr.c hexc_10_32_table.c \ - lpc.c lsp_tables_nb.c modes.c modes_wb.c nb_celp.c quant_lsp.c sb_celp.c \ - speex_callbacks.c speex_header.c window.c - -if BUILD_KISS_FFT - FFTSRC=kiss_fft.c _kiss_fft_guts.h kiss_fft.h kiss_fftr.c kiss_fftr.h -else -if BUILD_SMALLFT - FFTSRC=smallft.c -else - FFTSRC= -endif -endif - -libspeexdsp_la_SOURCES = preprocess.c jitter.c mdf.c fftwrap.c filterbank.c resample.c buffer.c scal.c $(FFTSRC) - -noinst_HEADERS = arch.h cb_search_arm4.h cb_search_bfin.h cb_search_sse.h \ - filters.h filters_arm4.h filters_bfin.h filters_sse.h fixed_arm4.h \ - fixed_arm5e.h fixed_bfin.h fixed_debug.h lpc.h lpc_bfin.h ltp.h ltp_arm4.h \ - ltp_sse.h math_approx.h misc_bfin.h nb_celp.h quant_lsp.h sb_celp.h \ - stack_alloc.h vbr.h vq.h vq_arm4.h vq_bfin.h vq_sse.h cb_search.h fftwrap.h \ - filterbank.h fixed_generic.h lsp.h lsp_bfin.h ltp_bfin.h modes.h os_support.h \ - pseudofloat.h quant_lsp_bfin.h smallft.h vorbis_psy.h resample_sse.h - - -libspeex_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@ -libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@ - -noinst_PROGRAMS = testenc testenc_wb testenc_uwb testdenoise testecho testjitter -testenc_SOURCES = testenc.c -testenc_LDADD = libspeex.la -testenc_wb_SOURCES = testenc_wb.c -testenc_wb_LDADD = libspeex.la -testenc_uwb_SOURCES = testenc_uwb.c -testenc_uwb_LDADD = libspeex.la -testdenoise_SOURCES = testdenoise.c -testdenoise_LDADD = libspeexdsp.la @FFT_LIBS@ -testecho_SOURCES = testecho.c -testecho_LDADD = libspeexdsp.la @FFT_LIBS@ -testjitter_SOURCES = testjitter.c -testjitter_LDADD = libspeexdsp.la @FFT_LIBS@ diff --git a/drivers/speex/Makefile.in b/drivers/speex/Makefile.in deleted file mode 100644 index a1044a58d8..0000000000 --- a/drivers/speex/Makefile.in +++ /dev/null @@ -1,667 +0,0 @@ -# Makefile.in generated by automake 1.8.5 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Disable automatic dependency tracking if using other tools than gcc and gmake -#AUTOMAKE_OPTIONS = no-dependencies - - - -SOURCES = $(libspeex_la_SOURCES) $(libspeexdsp_la_SOURCES) $(testdenoise_SOURCES) $(testecho_SOURCES) $(testenc_SOURCES) $(testenc_uwb_SOURCES) $(testenc_wb_SOURCES) $(testjitter_SOURCES) - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_triplet = @host@ -noinst_PROGRAMS = testenc$(EXEEXT) testenc_wb$(EXEEXT) \ - testenc_uwb$(EXEEXT) testdenoise$(EXEEXT) testecho$(EXEEXT) \ - testjitter$(EXEEXT) -subdir = libspeex -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(mkdir_p) -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -am__installdirs = "$(DESTDIR)$(libdir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -libspeex_la_LIBADD = -am_libspeex_la_OBJECTS = cb_search.lo exc_10_32_table.lo \ - exc_8_128_table.lo filters.lo gain_table.lo hexc_table.lo \ - high_lsp_tables.lo lsp.lo ltp.lo speex.lo stereo.lo vbr.lo \ - vq.lo bits.lo exc_10_16_table.lo exc_20_32_table.lo \ - exc_5_256_table.lo exc_5_64_table.lo gain_table_lbr.lo \ - hexc_10_32_table.lo lpc.lo lsp_tables_nb.lo modes.lo \ - modes_wb.lo nb_celp.lo quant_lsp.lo sb_celp.lo \ - speex_callbacks.lo speex_header.lo window.lo -libspeex_la_OBJECTS = $(am_libspeex_la_OBJECTS) -libspeexdsp_la_LIBADD = -am__libspeexdsp_la_SOURCES_DIST = preprocess.c jitter.c mdf.c \ - fftwrap.c filterbank.c resample.c buffer.c scal.c smallft.c \ - kiss_fft.c _kiss_fft_guts.h kiss_fft.h kiss_fftr.c kiss_fftr.h -@BUILD_KISS_FFT_FALSE@@BUILD_SMALLFT_TRUE@am__objects_1 = smallft.lo -@BUILD_KISS_FFT_TRUE@am__objects_1 = kiss_fft.lo kiss_fftr.lo -am_libspeexdsp_la_OBJECTS = preprocess.lo jitter.lo mdf.lo fftwrap.lo \ - filterbank.lo resample.lo buffer.lo scal.lo $(am__objects_1) -libspeexdsp_la_OBJECTS = $(am_libspeexdsp_la_OBJECTS) -PROGRAMS = $(noinst_PROGRAMS) -am_testdenoise_OBJECTS = testdenoise.$(OBJEXT) -testdenoise_OBJECTS = $(am_testdenoise_OBJECTS) -testdenoise_DEPENDENCIES = libspeexdsp.la -am_testecho_OBJECTS = testecho.$(OBJEXT) -testecho_OBJECTS = $(am_testecho_OBJECTS) -testecho_DEPENDENCIES = libspeexdsp.la -am_testenc_OBJECTS = testenc.$(OBJEXT) -testenc_OBJECTS = $(am_testenc_OBJECTS) -testenc_DEPENDENCIES = libspeex.la -am_testenc_uwb_OBJECTS = testenc_uwb.$(OBJEXT) -testenc_uwb_OBJECTS = $(am_testenc_uwb_OBJECTS) -testenc_uwb_DEPENDENCIES = libspeex.la -am_testenc_wb_OBJECTS = testenc_wb.$(OBJEXT) -testenc_wb_OBJECTS = $(am_testenc_wb_OBJECTS) -testenc_wb_DEPENDENCIES = libspeex.la -am_testjitter_OBJECTS = testjitter.$(OBJEXT) -testjitter_OBJECTS = $(am_testjitter_OBJECTS) -testjitter_DEPENDENCIES = libspeexdsp.la -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/bits.Plo ./$(DEPDIR)/buffer.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/cb_search.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/exc_10_16_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/exc_10_32_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/exc_20_32_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/exc_5_256_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/exc_5_64_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/exc_8_128_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/fftwrap.Plo ./$(DEPDIR)/filterbank.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/filters.Plo ./$(DEPDIR)/gain_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/gain_table_lbr.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/hexc_10_32_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/hexc_table.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/high_lsp_tables.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/jitter.Plo ./$(DEPDIR)/kiss_fft.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/kiss_fftr.Plo ./$(DEPDIR)/lpc.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/lsp.Plo ./$(DEPDIR)/lsp_tables_nb.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/ltp.Plo ./$(DEPDIR)/mdf.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/modes.Plo ./$(DEPDIR)/modes_wb.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/nb_celp.Plo ./$(DEPDIR)/preprocess.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/quant_lsp.Plo ./$(DEPDIR)/resample.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/sb_celp.Plo ./$(DEPDIR)/scal.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/smallft.Plo ./$(DEPDIR)/speex.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/speex_callbacks.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/speex_header.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/stereo.Plo ./$(DEPDIR)/testdenoise.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/testecho.Po ./$(DEPDIR)/testenc.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/testenc_uwb.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/testenc_wb.Po \ -@AMDEP_TRUE@ ./$(DEPDIR)/testjitter.Po ./$(DEPDIR)/vbr.Plo \ -@AMDEP_TRUE@ ./$(DEPDIR)/vq.Plo ./$(DEPDIR)/window.Plo -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libspeex_la_SOURCES) $(libspeexdsp_la_SOURCES) \ - $(testdenoise_SOURCES) $(testecho_SOURCES) $(testenc_SOURCES) \ - $(testenc_uwb_SOURCES) $(testenc_wb_SOURCES) \ - $(testjitter_SOURCES) -DIST_SOURCES = $(libspeex_la_SOURCES) \ - $(am__libspeexdsp_la_SOURCES_DIST) $(testdenoise_SOURCES) \ - $(testecho_SOURCES) $(testenc_SOURCES) $(testenc_uwb_SOURCES) \ - $(testenc_wb_SOURCES) $(testjitter_SOURCES) -HEADERS = $(noinst_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@ -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@ -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@ -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -FFT_CFLAGS = @FFT_CFLAGS@ -FFT_LIBS = @FFT_LIBS@ -FFT_PKGCONFIG = @FFT_PKGCONFIG@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ -MAKEINFO = @MAKEINFO@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -SIZE16 = @SIZE16@ -SIZE32 = @SIZE32@ -SPEEX_LT_AGE = @SPEEX_LT_AGE@ -SPEEX_LT_CURRENT = @SPEEX_LT_CURRENT@ -SPEEX_LT_REVISION = @SPEEX_LT_REVISION@ -SPEEX_VERSION = @SPEEX_VERSION@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -src = @src@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = echo_diagnostic.m -INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@ -lib_LTLIBRARIES = libspeex.la libspeexdsp.la - -# Sources for compilation in the library -libspeex_la_SOURCES = cb_search.c exc_10_32_table.c exc_8_128_table.c \ - filters.c gain_table.c hexc_table.c high_lsp_tables.c lsp.c \ - ltp.c speex.c stereo.c vbr.c vq.c bits.c exc_10_16_table.c \ - exc_20_32_table.c exc_5_256_table.c exc_5_64_table.c gain_table_lbr.c hexc_10_32_table.c \ - lpc.c lsp_tables_nb.c modes.c modes_wb.c nb_celp.c quant_lsp.c sb_celp.c \ - speex_callbacks.c speex_header.c window.c - -@BUILD_KISS_FFT_FALSE@@BUILD_SMALLFT_FALSE@FFTSRC = -@BUILD_KISS_FFT_FALSE@@BUILD_SMALLFT_TRUE@FFTSRC = smallft.c -@BUILD_KISS_FFT_TRUE@FFTSRC = kiss_fft.c _kiss_fft_guts.h kiss_fft.h kiss_fftr.c kiss_fftr.h -libspeexdsp_la_SOURCES = preprocess.c jitter.c mdf.c fftwrap.c filterbank.c resample.c buffer.c scal.c $(FFTSRC) -noinst_HEADERS = arch.h cb_search_arm4.h cb_search_bfin.h cb_search_sse.h \ - filters.h filters_arm4.h filters_bfin.h filters_sse.h fixed_arm4.h \ - fixed_arm5e.h fixed_bfin.h fixed_debug.h lpc.h lpc_bfin.h ltp.h ltp_arm4.h \ - ltp_sse.h math_approx.h misc_bfin.h nb_celp.h quant_lsp.h sb_celp.h \ - stack_alloc.h vbr.h vq.h vq_arm4.h vq_bfin.h vq_sse.h cb_search.h fftwrap.h \ - filterbank.h fixed_generic.h lsp.h lsp_bfin.h ltp_bfin.h modes.h os_support.h \ - pseudofloat.h quant_lsp_bfin.h smallft.h vorbis_psy.h resample_sse.h - -libspeex_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@ -libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@ -testenc_SOURCES = testenc.c -testenc_LDADD = libspeex.la -testenc_wb_SOURCES = testenc_wb.c -testenc_wb_LDADD = libspeex.la -testenc_uwb_SOURCES = testenc_uwb.c -testenc_uwb_LDADD = libspeex.la -testdenoise_SOURCES = testdenoise.c -testdenoise_LDADD = libspeexdsp.la @FFT_LIBS@ -testecho_SOURCES = testecho.c -testecho_LDADD = libspeexdsp.la @FFT_LIBS@ -testjitter_SOURCES = testjitter.c -testjitter_LDADD = libspeexdsp.la @FFT_LIBS@ -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libspeex/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu libspeex/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libspeex.la: $(libspeex_la_OBJECTS) $(libspeex_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libspeex_la_LDFLAGS) $(libspeex_la_OBJECTS) $(libspeex_la_LIBADD) $(LIBS) -libspeexdsp.la: $(libspeexdsp_la_OBJECTS) $(libspeexdsp_la_DEPENDENCIES) - $(LINK) -rpath $(libdir) $(libspeexdsp_la_LDFLAGS) $(libspeexdsp_la_OBJECTS) $(libspeexdsp_la_LIBADD) $(LIBS) - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -testdenoise$(EXEEXT): $(testdenoise_OBJECTS) $(testdenoise_DEPENDENCIES) - @rm -f testdenoise$(EXEEXT) - $(LINK) $(testdenoise_LDFLAGS) $(testdenoise_OBJECTS) $(testdenoise_LDADD) $(LIBS) -testecho$(EXEEXT): $(testecho_OBJECTS) $(testecho_DEPENDENCIES) - @rm -f testecho$(EXEEXT) - $(LINK) $(testecho_LDFLAGS) $(testecho_OBJECTS) $(testecho_LDADD) $(LIBS) -testenc$(EXEEXT): $(testenc_OBJECTS) $(testenc_DEPENDENCIES) - @rm -f testenc$(EXEEXT) - $(LINK) $(testenc_LDFLAGS) $(testenc_OBJECTS) $(testenc_LDADD) $(LIBS) -testenc_uwb$(EXEEXT): $(testenc_uwb_OBJECTS) $(testenc_uwb_DEPENDENCIES) - @rm -f testenc_uwb$(EXEEXT) - $(LINK) $(testenc_uwb_LDFLAGS) $(testenc_uwb_OBJECTS) $(testenc_uwb_LDADD) $(LIBS) -testenc_wb$(EXEEXT): $(testenc_wb_OBJECTS) $(testenc_wb_DEPENDENCIES) - @rm -f testenc_wb$(EXEEXT) - $(LINK) $(testenc_wb_LDFLAGS) $(testenc_wb_OBJECTS) $(testenc_wb_LDADD) $(LIBS) -testjitter$(EXEEXT): $(testjitter_OBJECTS) $(testjitter_DEPENDENCIES) - @rm -f testjitter$(EXEEXT) - $(LINK) $(testjitter_LDFLAGS) $(testjitter_OBJECTS) $(testjitter_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bits.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buffer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cb_search.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exc_10_16_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exc_10_32_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exc_20_32_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exc_5_256_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exc_5_64_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exc_8_128_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fftwrap.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filterbank.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filters.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gain_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gain_table_lbr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hexc_10_32_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hexc_table.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/high_lsp_tables.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jitter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kiss_fft.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kiss_fftr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lpc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lsp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lsp_tables_nb.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ltp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mdf.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modes.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modes_wb.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nb_celp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preprocess.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quant_lsp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resample.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sb_celp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smallft.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/speex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/speex_callbacks.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/speex_header.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stereo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdenoise.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testecho.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testenc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testenc_uwb.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testenc_wb.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testjitter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vbr.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vq.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/window.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - clean-noinstPROGRAMS mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: install-libLTLIBRARIES - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS ctags \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-libLTLIBRARIES install-man \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am \ - uninstall-info-am uninstall-libLTLIBRARIES - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/drivers/speex/audio_stream_speex.cpp b/drivers/speex/audio_stream_speex.cpp index 79f3e58ac0..3aa80fd0b9 100644 --- a/drivers/speex/audio_stream_speex.cpp +++ b/drivers/speex/audio_stream_speex.cpp @@ -69,8 +69,7 @@ int AudioStreamPlaybackSpeex::mix(int16_t* p_buffer,int p_frames) { return 0; }; - int eos = 0; - bool reloaded=false; + int eos = 0; while (todo > page_size) { @@ -100,7 +99,6 @@ int AudioStreamPlaybackSpeex::mix(int16_t* p_buffer,int p_frames) { packets_available=true; } /*Extract all available packets*/ - //int packet_no=0; while (todo > page_size && !eos) { if (ogg_stream_packetout(&os, &op)!=1) { @@ -157,7 +155,6 @@ int AudioStreamPlaybackSpeex::mix(int16_t* p_buffer,int p_frames) { { - int frame_offset = 0; int new_frame_size = frame_size; /*printf ("packet %d %d\n", packet_no, skip_samples);*/ @@ -165,7 +162,6 @@ int AudioStreamPlaybackSpeex::mix(int16_t* p_buffer,int p_frames) { { /*printf ("chopping first packet\n");*/ new_frame_size -= skip_samples; - frame_offset = skip_samples; } if (packet_no == page_nb_packets && skip_samples < 0) { @@ -241,10 +237,8 @@ void AudioStreamPlaybackSpeex::unload() { void *AudioStreamPlaybackSpeex::process_header(ogg_packet *op, int *frame_size, int *rate, int *nframes, int *channels, int *extra_headers) { - void *st; SpeexHeader *header; int modeID; - SpeexCallback callback; header = speex_packet_to_header((char*)op->packet, op->bytes); if (!header) @@ -353,7 +347,6 @@ void AudioStreamPlaybackSpeex::reload() { /*Loop for all complete pages we got (most likely only one)*/ while (ogg_sync_pageout(&oy, &og)==1) { - int packet_no; if (stream_init == 0) { ogg_stream_init(&os, ogg_page_serialno(&og)); stream_init = 1; @@ -377,7 +370,6 @@ void AudioStreamPlaybackSpeex::reload() { last_granule = page_granule; /*Extract all available packets*/ - packet_no=0; while (!eos && ogg_stream_packetout(&os, &op)==1) { /*If first packet, process as Speex header*/ diff --git a/drivers/theora/video_stream_theora.cpp b/drivers/theora/video_stream_theora.cpp index fa2a79dc7b..1f3832ec16 100644 --- a/drivers/theora/video_stream_theora.cpp +++ b/drivers/theora/video_stream_theora.cpp @@ -81,12 +81,12 @@ int VideoStreamPlaybackTheora::queue_page(ogg_page *page){ void VideoStreamPlaybackTheora::video_write(void){ th_ycbcr_buffer yuv; - int y_offset, uv_offset; th_decode_ycbcr_out(td,yuv); + /* + int y_offset, uv_offset; y_offset=(ti.pic_x&~1)+yuv[0].stride*(ti.pic_y&~1); - /* { int pixels = size.x * size.y; frame_data.resize(pixels * 4); @@ -117,7 +117,7 @@ void VideoStreamPlaybackTheora::video_write(void){ DVector<uint8_t>::Write w = frame_data.write(); char* dst = (char*)w.ptr(); - uv_offset=(ti.pic_x/2)+(yuv[1].stride)*(ti.pic_y/2); + //uv_offset=(ti.pic_x/2)+(yuv[1].stride)*(ti.pic_y/2); if (px_fmt == TH_PF_444) { @@ -543,16 +543,10 @@ void VideoStreamPlaybackTheora::update(float p_delta) { bool frame_done=false; bool audio_done=!vorbis_p; - bool theora_done=false; - while (!frame_done || (!audio_done && !vorbis_eos)) { //a frame needs to be produced ogg_packet op; - bool audio_pending = false; - - - bool no_vorbis=false; bool no_theora=false; @@ -604,8 +598,6 @@ void VideoStreamPlaybackTheora::update(float p_delta) { int tr = vorbis_synthesis_read(&vd, ret-to_read); - audio_pending=true; - if (vd.granulepos>=0) { // print_line("wrote: "+itos(audio_frames_wrote)+" gpos: "+itos(vd.granulepos)); @@ -627,7 +619,6 @@ void VideoStreamPlaybackTheora::update(float p_delta) { } } else { /* we need more data; break out to suck in another page */ //printf("need moar data\n"); - no_vorbis=true; break; }; } diff --git a/drivers/unix/dir_access_unix.cpp b/drivers/unix/dir_access_unix.cpp index f0e4511b1d..b3bea8ac27 100644 --- a/drivers/unix/dir_access_unix.cpp +++ b/drivers/unix/dir_access_unix.cpp @@ -67,8 +67,8 @@ bool DirAccessUnix::file_exists(String p_file) { if (p_file.is_rel_path()) p_file=current_dir.plus_file(p_file); - else - p_file=fix_path(p_file); + + p_file=fix_path(p_file); struct stat flags; bool success = (stat(p_file.utf8().get_data(),&flags)==0); @@ -88,8 +88,8 @@ bool DirAccessUnix::dir_exists(String p_dir) { if (p_dir.is_rel_path()) p_dir=get_current_dir().plus_file(p_dir); - else - p_dir=fix_path(p_dir); + + p_dir=fix_path(p_dir); struct stat flags; bool success = (stat(p_dir.utf8().get_data(),&flags)==0); @@ -105,8 +105,8 @@ uint64_t DirAccessUnix::get_modified_time(String p_file) { if (p_file.is_rel_path()) p_file=current_dir.plus_file(p_file); - else - p_file=fix_path(p_file); + + p_file=fix_path(p_file); struct stat flags; bool success = (stat(p_file.utf8().get_data(),&flags)==0); @@ -201,8 +201,11 @@ Error DirAccessUnix::make_dir(String p_dir) { if (p_dir.is_rel_path()) p_dir=get_current_dir().plus_file(p_dir); - else - p_dir=fix_path(p_dir); + + + p_dir=fix_path(p_dir); + + #if 1 @@ -245,7 +248,7 @@ Error DirAccessUnix::change_dir(String p_dir) { chdir(current_dir.utf8().get_data()); //ascii since this may be unicode or wathever the host os wants bool worked=(chdir(p_dir.utf8().get_data())==0); // we can only give this utf8 -#ifndef IPHONE_ENABLED + String base = _get_root_path(); if (base!="") { @@ -255,7 +258,7 @@ Error DirAccessUnix::change_dir(String p_dir) { if (!new_dir.begins_with(base)) worked=false; } -#endif + if (worked) { getcwd(real_current_dir_name,2048); @@ -287,13 +290,13 @@ Error DirAccessUnix::rename(String p_path,String p_new_path) { if (p_path.is_rel_path()) p_path=get_current_dir().plus_file(p_path); - else - p_path=fix_path(p_path); + + p_path=fix_path(p_path); if (p_new_path.is_rel_path()) p_new_path=get_current_dir().plus_file(p_new_path); - else - p_new_path=fix_path(p_new_path); + + p_new_path=fix_path(p_new_path); return ::rename(p_path.utf8().get_data(),p_new_path.utf8().get_data())==0?OK:FAILED; } @@ -301,8 +304,8 @@ Error DirAccessUnix::remove(String p_path) { if (p_path.is_rel_path()) p_path=get_current_dir().plus_file(p_path); - else - p_path=fix_path(p_path); + + p_path=fix_path(p_path); struct stat flags; if ((stat(p_path.utf8().get_data(),&flags)!=0)) diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp index fa18f7c1f5..90e43d2518 100644 --- a/drivers/windows/dir_access_windows.cpp +++ b/drivers/windows/dir_access_windows.cpp @@ -193,8 +193,8 @@ Error DirAccessWindows::make_dir(String p_dir) { if (p_dir.is_rel_path()) p_dir=get_current_dir().plus_file(p_dir); - else - p_dir=fix_path(p_dir); + + p_dir=fix_path(p_dir); p_dir = p_dir.replace("/","\\"); bool success; @@ -268,8 +268,8 @@ bool DirAccessWindows::dir_exists(String p_dir) { if (p_dir.is_rel_path()) p_dir=get_current_dir().plus_file(p_dir); - else - p_dir=fix_path(p_dir); + + p_dir=fix_path(p_dir); //p_dir.replace("/","\\"); @@ -289,13 +289,13 @@ Error DirAccessWindows::rename(String p_path,String p_new_path) { if (p_path.is_rel_path()) p_path=get_current_dir().plus_file(p_path); - else - p_path=fix_path(p_path); + + p_path=fix_path(p_path); if (p_new_path.is_rel_path()) p_new_path=get_current_dir().plus_file(p_new_path); - else - p_new_path=fix_path(p_new_path); + + p_new_path=fix_path(p_new_path); if (file_exists(p_new_path)) { if (remove(p_new_path) != OK) { @@ -310,8 +310,8 @@ Error DirAccessWindows::remove(String p_path) { if (p_path.is_rel_path()) p_path=get_current_dir().plus_file(p_path); - else - p_path=fix_path(p_path); + + p_path=fix_path(p_path); printf("erasing %s\n",p_path.utf8().get_data()); diff --git a/main/input_default.cpp b/main/input_default.cpp index 4fcb450bce..e975d4141f 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -30,6 +30,7 @@ #include "servers/visual_server.h" #include "os/os.h" #include "input_map.h" +#include "scene/resources/texture.h" void InputDefault::SpeedTrack::update(const Vector2& p_delta_p) { @@ -463,9 +464,11 @@ void InputDefault::set_custom_mouse_cursor(const RES& p_cursor,const Vector2& p_ set_mouse_mode(MOUSE_MODE_VISIBLE); VisualServer::get_singleton()->cursor_set_visible(false); } else { + Ref<AtlasTexture> atex = custom_cursor; + Rect2 region = atex.is_valid() ? atex->get_region() : Rect2(); set_mouse_mode(MOUSE_MODE_HIDDEN); VisualServer::get_singleton()->cursor_set_visible(true); - VisualServer::get_singleton()->cursor_set_texture(custom_cursor->get_rid(),p_hotspot); + VisualServer::get_singleton()->cursor_set_texture(custom_cursor->get_rid(),p_hotspot, 0, region); VisualServer::get_singleton()->cursor_set_pos(get_mouse_pos()); } } diff --git a/main/main.cpp b/main/main.cpp index de212deefd..adaebab1d4 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -101,7 +101,7 @@ static bool init_fullscreen=false; static bool init_use_custom_pos=false; static bool debug_collisions=false; static bool debug_navigation=false; -static bool allow_hidpi=true; +static int frame_delay=0; static Vector2 init_custom_pos; static int video_driver_idx=-1; static int audio_driver_idx=-1; @@ -262,7 +262,6 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas Vector<String> breakpoints; bool use_custom_res=true; bool force_res=false; - bool profile=false; I=args.front(); @@ -490,7 +489,7 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas if (I->next()) { - OS::get_singleton()->set_frame_delay(I->next()->get().to_int()); + frame_delay=I->next()->get().to_int(); N=I->next()->next(); } else { goto error; @@ -807,12 +806,19 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas OS::get_singleton()->set_screen_orientation(OS::SCREEN_LANDSCAPE); } + OS::get_singleton()->set_iterations_per_second(GLOBAL_DEF("physics/fixed_fps",60)); - OS::get_singleton()->set_target_fps(GLOBAL_DEF("application/target_fps",0)); + OS::get_singleton()->set_target_fps(GLOBAL_DEF("debug/force_fps",0)); if (!OS::get_singleton()->_verbose_stdout) //overrided OS::get_singleton()->_verbose_stdout=GLOBAL_DEF("debug/verbose_stdout",false); + if (frame_delay==0) { + frame_delay=GLOBAL_DEF("application/frame_delay_msec",0); + } + + OS::get_singleton()->set_frame_delay(frame_delay); + message_queue = memnew( MessageQueue ); Globals::get_singleton()->register_global_defaults(); @@ -916,6 +922,8 @@ Error Main::setup2() { if (boot_logo_path!=String() /*&& FileAccess::exists(boot_logo_path)*/) { print_line("Boot splash path: "+boot_logo_path); Error err = boot_logo.load(boot_logo_path); + if (err) + ERR_PRINTS("Non-existing or invalid boot splash at: " + boot_logo_path + ". Loading default splash."); } if (!boot_logo.empty()) { @@ -1040,7 +1048,6 @@ bool Main::start() { String _import_script; String dumpstrings; bool noquit=false; - bool convert_old=false; bool export_debug=false; bool project_manager_request = false; List<String> args = OS::get_singleton()->get_cmdline_args(); @@ -1050,8 +1057,6 @@ bool Main::start() { doc_base=false; } else if (args[i]=="-noquit") { noquit=true; - } else if (args[i]=="-convert_old") { - convert_old=true; } else if (args[i]=="-editor" || args[i]=="-e") { editor=true; } else if (args[i] == "-pm" || args[i] == "-project_manager") { diff --git a/main/splash.h b/main/splash.h index 832f504288..b96aff8754 100644 --- a/main/splash.h +++ b/main/splash.h @@ -29,12 +29,1394 @@ #ifndef BOOT_SPLASH_H #define BOOT_SPLASH_H -static const unsigned char boot_splash_png[]={ -0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,0x0,0x0,0xef,0x0,0x0,0x1,0x3,0x8,0x6,0x0,0x0,0x0,0xdd,0x81,0x53,0xf4,0x0,0x0,0x0,0x9,0x70,0x48,0x59,0x73,0x0,0x0,0x32,0xdf,0x0,0x0,0x32,0xdf,0x1,0x17,0xbe,0xe4,0xb,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xde,0x1,0x19,0x13,0x8,0x19,0x46,0x43,0xd9,0xbb,0x0,0x0,0x0,0x19,0x74,0x45,0x58,0x74,0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x0,0x43,0x72,0x65,0x61,0x74,0x65,0x64,0x20,0x77,0x69,0x74,0x68,0x20,0x47,0x49,0x4d,0x50,0x57,0x81,0xe,0x17,0x0,0x0,0x20,0x0,0x49,0x44,0x41,0x54,0x78,0xda,0xed,0x9d,0x79,0x78,0x54,0xd5,0xf9,0xc7,0x3f,0xef,0x9d,0x49,0xc2,0xe,0xb2,0xb9,0xaf,0xb8,0x2f,0x3f,0xb5,0xa8,0xb4,0xa2,0x66,0x66,0x2,0x4,0xea,0x5a,0xad,0x5a,0x6d,0xb5,0x2e,0xad,0x56,0x24,0x1b,0x4,0xb5,0x5a,0x2b,0xb6,0x6a,0x55,0x2,0x9,0x9,0xae,0x5d,0xd4,0x5a,0x6b,0x15,0xad,0x15,0x15,0x48,0x48,0x66,0x26,0x50,0x10,0x17,0xa,0x2a,0x56,0x51,0x11,0xd7,0x8a,0xec,0x90,0x0,0x59,0x66,0xee,0xfb,0xfb,0x63,0x82,0x4,0x32,0x9,0x99,0x9b,0x99,0x64,0x92,0x9c,0xcf,0xf3,0xcc,0x43,0xb8,0x33,0xf7,0xdc,0x73,0xde,0x73,0xbe,0xe7,0xbc,0xe7,0xdc,0xb3,0x80,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x6,0x83,0xc1,0x60,0x30,0x18,0xc,0x86,0x16,0x19,0x53,0xe0,0xdf,0xaf,0xbd,0x9e,0x95,0x71,0x5f,0x79,0x2f,0x63,0xf1,0xce,0x87,0x18,0x13,0x24,0x81,0x50,0xa7,0x96,0xa,0x92,0x76,0xb4,0xc0,0x39,0xa0,0xe7,0x0,0xe7,0x0,0x43,0x4a,0xf3,0xbd,0x9,0x17,0x55,0x66,0x81,0xdf,0x7,0x52,0xe,0x2c,0x5,0x16,0x0,0xb,0xdc,0x96,0x1d,0x7c,0x6d,0x62,0xc6,0x16,0x93,0x33,0x46,0xbc,0x86,0x28,0x8c,0x9b,0x56,0xe9,0xb2,0x35,0xec,0x1,0xb9,0x0,0x38,0xf,0x38,0xa2,0x69,0xee,0xc8,0x43,0xa5,0x93,0x3c,0x13,0x12,0x2b,0xde,0x40,0x15,0xd0,0x27,0xca,0x57,0xb,0x15,0x5e,0x1,0x99,0x5d,0x96,0xef,0x59,0x69,0x72,0xcc,0x88,0xb7,0x5b,0xf3,0xc3,0x82,0xa,0xcb,0xc6,0xf2,0x2a,0xfc,0x1c,0xb8,0x8,0xe8,0xbb,0x97,0x5b,0xea,0x43,0x75,0xe1,0xfe,0x15,0xb7,0x8f,0xda,0x91,0x10,0xe1,0x4e,0xd,0xdc,0x88,0xf0,0x68,0x2b,0x7e,0xfa,0x11,0xf0,0xac,0xad,0xfa,0xd4,0xfc,0xc9,0xbe,0xd5,0x26,0x27,0x8d,0x78,0xbb,0xd,0x63,0xb,0x2,0x47,0x2a,0x5c,0xb,0x5c,0x5,0x1c,0x1c,0xe3,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26,0x44,0xbc,0x0,0xa7,0x8c,0x2a,0x2c,0x77,0xdc,0xb7,0xcc,0x2c,0x8,0x4c,0x4b,0x54,0x9e,0x4b,0x64,0xe0,0xca,0xd0,0x8e,0xb8,0x8d,0x9,0x12,0x52,0x92,0x13,0x25,0x5e,0xcb,0x15,0x76,0xbd,0x4,0x78,0x77,0x5e,0x18,0x53,0x10,0x18,0xec,0xb2,0xb4,0x4f,0xd8,0x96,0x5e,0x88,0xf4,0x6,0x3b,0x84,0x6d,0x6d,0x3,0x7b,0x5b,0x38,0xc5,0xde,0x52,0x91,0x3b,0xaa,0xf1,0x8,0x70,0x6e,0xe2,0xea,0x2b,0x35,0x2d,0xaf,0x11,0x6f,0x57,0x68,0x78,0x59,0x9b,0xc0,0x77,0x70,0xe7,0x64,0x16,0x4,0xca,0x80,0x43,0x81,0x43,0x80,0x1e,0xb6,0x2d,0x91,0x77,0x7e,0xaa,0x91,0x36,0x50,0x22,0xff,0xba,0x43,0x2e,0x32,0xb,0x2,0x1b,0x80,0xcf,0x81,0x4d,0x9,0xf6,0xb4,0x8c,0x78,0x8d,0x78,0xbb,0x42,0xc3,0x4b,0x55,0x82,0xbb,0x3a,0xa3,0x63,0xf8,0xfd,0xa0,0x86,0x4f,0xa2,0xab,0xac,0x7a,0x93,0xf3,0xa6,0xcf,0xdb,0xf9,0xc5,0x2b,0x52,0xd3,0xcd,0x92,0x1c,0xaa,0x75,0x89,0x11,0xaf,0x11,0x6f,0x17,0x70,0x9b,0x95,0xee,0x36,0xe7,0xf7,0x83,0x60,0x9e,0x57,0x4d,0xce,0x1b,0xf1,0x76,0x5,0xf5,0x76,0x37,0xf1,0xbe,0x63,0x32,0xdd,0x88,0xb7,0x4b,0x60,0x63,0xd5,0x18,0xf1,0x1a,0x8c,0x78,0x3b,0x21,0xf3,0x27,0xa7,0xdb,0x44,0x46,0x78,0xbb,0x49,0x27,0x5f,0x97,0x9b,0x5c,0x37,0xe2,0xed,0x4a,0xac,0xe8,0x36,0x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1,0x6d,0xec,0xff,0x26,0x92,0x1e,0x44,0xde,0x3f,0x9f,0xb0,0x7b,0xbc,0x85,0xfa,0x5e,0xbd,0x12,0xf1,0xbc,0xd7,0xea,0x7b,0xf7,0xee,0x3c,0xb3,0xa7,0x77,0x91,0x61,0x84,0xbb,0xcb,0xad,0xeb,0x16,0x94,0x4d,0xce,0x54,0x4b,0xac,0x89,0xc0,0xab,0x26,0xdb,0x3b,0x6d,0x15,0x7c,0x65,0x69,0xbe,0x77,0x89,0xb1,0x43,0x37,0x13,0x2f,0xc0,0xdc,0x49,0xe9,0x75,0xaa,0xfa,0x63,0xe0,0x19,0x93,0xf5,0x9d,0x4b,0xb5,0xa2,0x72,0x69,0x69,0xbe,0xef,0x59,0x63,0x8a,0x6e,0xd8,0xe7,0x6d,0xcc,0xd8,0xc2,0x80,0x5b,0xc3,0x14,0x2,0x13,0x4c,0x11,0x48,0x7a,0xea,0x5,0xcd,0x9c,0x97,0xef,0xb,0x18,0x53,0x74,0xe3,0x96,0x77,0x27,0xf3,0xf2,0xbc,0xa1,0x70,0x28,0x94,0x83,0x70,0xa7,0x29,0x2,0x49,0xcd,0x7a,0x90,0x11,0x46,0xb8,0xa6,0xe5,0x8d,0x4a,0x66,0x41,0xc0,0xb,0xcc,0xa2,0x63,0x5f,0x7d,0x18,0x9a,0x52,0x66,0x69,0xf8,0x27,0x73,0x27,0x8f,0xda,0x64,0x4c,0x61,0x5a,0xde,0xa8,0x94,0xe6,0x7b,0x3,0x60,0x1f,0xb,0x54,0x98,0xe2,0x90,0x34,0xfc,0xd6,0xb2,0xed,0x1f,0x1a,0xe1,0x9a,0x96,0xb7,0x75,0x2d,0xf0,0xf4,0x80,0x1b,0x25,0x7,0xe5,0x5e,0x1c,0xce,0x5f,0x36,0xb4,0x99,0xf7,0x11,0xb9,0xa1,0x74,0x92,0x67,0xb1,0x31,0x85,0x11,0x6f,0xcc,0x8c,0x79,0xb0,0x62,0x3f,0xb1,0xac,0x87,0x89,0x2c,0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xb6,0xa,0x77,0xcd,0x9c,0x51,0xa8,0x7b,0xa4,0xe5,0xf,0xc0,0xfe,0x25,0xc5,0x85,0xd7,0x64,0x65,0xe5,0x9e,0x8c,0xc8,0x94,0x6,0x1b,0x7c,0x1,0x1a,0xb0,0x2d,0xfe,0xf0,0x50,0x51,0x51,0xd4,0x35,0xd3,0x13,0xb2,0x27,0xa6,0xb,0x3a,0x19,0x38,0xe,0xd8,0xa4,0xf0,0x12,0x22,0xf,0x12,0x96,0x11,0x62,0xd9,0xbf,0x50,0xdb,0xfa,0xd5,0xcc,0x99,0xd3,0x6a,0x1a,0x3d,0xeb,0x2f,0x28,0xcf,0x95,0x94,0x14,0x96,0xee,0x8a,0x67,0xde,0x9d,0x28,0x47,0x94,0x14,0x17,0x5e,0x9b,0x95,0x93,0x77,0x22,0xca,0x6f,0x80,0x53,0x88,0x9c,0xe3,0xe4,0x77,0x59,0x7a,0x7f,0x51,0x51,0x51,0xd4,0x2d,0x8e,0x72,0x73,0x73,0x7,0x84,0x6d,0xb9,0x85,0x48,0x5,0xde,0x1b,0xf8,0x8f,0xa,0x33,0x67,0xce,0x28,0x7c,0xa7,0xbb,0x88,0xb7,0xb3,0xf,0x58,0x9d,0x46,0x2b,0xf6,0x8b,0x2e,0x29,0x9e,0xfe,0x75,0x49,0x71,0xe1,0x35,0xc5,0xc5,0x85,0xaf,0x37,0x15,0x63,0xee,0x15,0xa0,0xff,0x25,0xb2,0x48,0x7c,0x45,0x83,0x68,0x46,0x21,0x2c,0x9a,0x90,0x9d,0x97,0x1d,0x25,0xb8,0xf3,0x80,0xcb,0xb2,0xb2,0xf3,0x2e,0x6,0x9d,0x43,0x64,0x77,0x8a,0xa5,0xc0,0x49,0x28,0x4f,0x67,0x65,0xe7,0xdd,0x9c,0x9d,0x3d,0xd1,0x2d,0x96,0xcc,0x2,0x26,0x3,0xab,0x80,0xaf,0x80,0x1b,0xc3,0xb6,0x7c,0x38,0x61,0x42,0x7e,0xff,0xa6,0xae,0x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,0xfa,0xac,0xec,0xbc,0xb9,0x44,0x16,0x58,0xf4,0xdd,0xb0,0x71,0x4b,0x3a,0x70,0x14,0x22,0xc5,0xa1,0xfa,0x9a,0x2f,0x8c,0x95,0x8c,0x78,0xd,0x49,0x88,0x86,0xf5,0x5e,0xb1,0x64,0xd,0x30,0x8e,0xc8,0x7a,0xdf,0xed,0xc0,0xbb,0x82,0xe4,0x17,0xcf,0x98,0x3e,0xdb,0x58,0xa8,0x7d,0xf8,0x7f,0x49,0xf1,0x1a,0x6f,0x4b,0xd5,0x18,0xc6,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82 +static const unsigned char boot_splash_png[] = { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, + 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0xef, 0x00, 0x00, 0x01, 0x03, + 0x08, 0x06, 0x00, 0x00, 0x00, 0xdd, 0x81, 0x53, 0xf4, 0x00, 0x00, 0x00, + 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x32, 0xdf, 0x00, 0x00, 0x32, + 0xdf, 0x01, 0x17, 0xbe, 0xe4, 0x0b, 0x00, 0x00, 0x00, 0x07, 0x74, 0x49, + 0x4d, 0x45, 0x07, 0xde, 0x01, 0x19, 0x13, 0x08, 0x19, 0x46, 0x43, 0xd9, + 0xbb, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x57, 0x81, + 0x0e, 0x17, 0x00, 0x00, 0x20, 0x00, 0x49, 0x44, 0x41, 0x54, 0x78, 0xda, + 0xed, 0x9d, 0x79, 0x78, 0x54, 0xd5, 0xf9, 0xc7, 0x3f, 0xef, 0x9d, 0x49, + 0xc2, 0x0e, 0xb2, 0xb9, 0xaf, 0xb8, 0x2f, 0x3f, 0xb5, 0xa8, 0xb4, 0xa2, + 0x66, 0x66, 0x02, 0x04, 0xea, 0x5a, 0xad, 0x5a, 0x6d, 0xb5, 0x2e, 0xad, + 0x56, 0x24, 0x1b, 0x04, 0xb5, 0x5a, 0x2b, 0xb6, 0x6a, 0x55, 0x02, 0x09, + 0x09, 0xae, 0x5d, 0xd4, 0x5a, 0x6b, 0x15, 0xad, 0x15, 0x15, 0x48, 0x48, + 0x66, 0x26, 0x50, 0x10, 0x17, 0x0a, 0x2a, 0x56, 0x51, 0x11, 0xd7, 0x8a, + 0xec, 0x90, 0x00, 0x59, 0x66, 0xee, 0xfb, 0xfb, 0x63, 0x82, 0x04, 0x32, + 0x09, 0x99, 0x9b, 0x99, 0x64, 0x92, 0x9c, 0xcf, 0xf3, 0xcc, 0x43, 0xb8, + 0x33, 0xf7, 0xdc, 0x73, 0xde, 0x73, 0xbe, 0xe7, 0xbc, 0xe7, 0xdc, 0xb3, + 0x80, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, + 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, + 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, + 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, + 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, + 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, + 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, + 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, + 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, + 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x86, 0x16, + 0x19, 0x53, 0xe0, 0xdf, 0xaf, 0xbd, 0x9e, 0x95, 0x71, 0x5f, 0x79, 0x2f, + 0x63, 0xf1, 0xce, 0x87, 0x18, 0x13, 0x24, 0x81, 0x50, 0xa7, 0x96, 0x0a, + 0x92, 0x76, 0xb4, 0xc0, 0x39, 0xa0, 0xe7, 0x00, 0xe7, 0x00, 0x43, 0x4a, + 0xf3, 0xbd, 0x09, 0x17, 0x55, 0x66, 0x81, 0xdf, 0x07, 0x52, 0x0e, 0x2c, + 0x05, 0x16, 0x00, 0x0b, 0xdc, 0x96, 0x1d, 0x7c, 0x6d, 0x62, 0xc6, 0x16, + 0x93, 0x33, 0x46, 0xbc, 0x86, 0x28, 0x8c, 0x9b, 0x56, 0xe9, 0xb2, 0x35, + 0xec, 0x01, 0xb9, 0x00, 0x38, 0x0f, 0x38, 0xa2, 0x69, 0xee, 0xc8, 0x43, + 0xa5, 0x93, 0x3c, 0x13, 0x12, 0x2b, 0xde, 0x40, 0x15, 0xd0, 0x27, 0xca, + 0x57, 0x0b, 0x15, 0x5e, 0x01, 0x99, 0x5d, 0x96, 0xef, 0x59, 0x69, 0x72, + 0xcc, 0x88, 0xb7, 0x5b, 0xf3, 0xc3, 0x82, 0x0a, 0xcb, 0xc6, 0xf2, 0x2a, + 0xfc, 0x1c, 0xb8, 0x08, 0xe8, 0xbb, 0x97, 0x5b, 0xea, 0x43, 0x75, 0xe1, + 0xfe, 0x15, 0xb7, 0x8f, 0xda, 0x91, 0x10, 0xe1, 0x4e, 0x0d, 0xdc, 0x88, + 0xf0, 0x68, 0x2b, 0x7e, 0xfa, 0x11, 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ea, 0xc5, 0x3d, 0xc0, 0xe4, 0xbc, + 0x11, 0x6f, 0x57, 0x60, 0x6d, 0xdc, 0xeb, 0x03, 0x9b, 0x57, 0xe3, 0xd4, + 0xea, 0xba, 0x80, 0xf3, 0x13, 0x90, 0xe6, 0xb0, 0xc9, 0x76, 0x23, 0x5e, + 0x23, 0xde, 0xe8, 0x1c, 0x39, 0x66, 0xaa, 0xff, 0x80, 0x38, 0xb4, 0xba, + 0x7f, 0x4a, 0x50, 0xbe, 0x1b, 0xf1, 0x1a, 0xf1, 0x1a, 0xf1, 0x36, 0x97, + 0x57, 0x22, 0xf2, 0x4a, 0x1c, 0xc2, 0xb9, 0x3a, 0x41, 0x9d, 0x05, 0x23, + 0x5e, 0x23, 0xde, 0x2e, 0x80, 0x26, 0x44, 0xbc, 0x00, 0xa7, 0x8c, 0x2a, + 0x2c, 0x77, 0xdc, 0xb7, 0xcc, 0x2c, 0x08, 0x4c, 0x4b, 0x54, 0x9e, 0x4b, + 0x64, 0xe0, 0xca, 0xd0, 0x8e, 0xb8, 0x8d, 0x09, 0x12, 0x52, 0x92, 0x13, + 0x25, 0x5e, 0xcb, 0x15, 0x76, 0xbd, 0x04, 0x78, 0x77, 0x5e, 0x18, 0x53, + 0x10, 0x18, 0xec, 0xb2, 0xb4, 0x4f, 0xd8, 0x96, 0x5e, 0x88, 0xf4, 0x06, + 0x3b, 0x84, 0x6d, 0x6d, 0x03, 0x7b, 0x5b, 0x38, 0xc5, 0xde, 0x52, 0x91, + 0x3b, 0xaa, 0xf1, 0x08, 0x70, 0x6e, 0xe2, 0xea, 0x2b, 0x35, 0x2d, 0xaf, + 0x11, 0x6f, 0x57, 0x68, 0x78, 0x59, 0x9b, 0xc0, 0x77, 0x70, 0xe7, 0x64, + 0x16, 0x04, 0xca, 0x80, 0x43, 0x81, 0x43, 0x80, 0x1e, 0xb6, 0x2d, 0x91, + 0x77, 0x7e, 0xaa, 0x91, 0x36, 0x50, 0x22, 0xff, 0xba, 0x43, 0x2e, 0x32, + 0x0b, 0x02, 0x1b, 0x80, 0xcf, 0x81, 0x4d, 0x09, 0xf6, 0xb4, 0x8c, 0x78, + 0x8d, 0x78, 0xbb, 0x42, 0xc3, 0x4b, 0x55, 0x82, 0xbb, 0x3a, 0xa3, 0x63, + 0xf8, 0xfd, 0xa0, 0x86, 0x4f, 0xa2, 0xab, 0xac, 0x7a, 0x93, 0xf3, 0xa6, + 0xcf, 0xdb, 0xf9, 0xc5, 0x2b, 0x52, 0xd3, 0xcd, 0x92, 0x1c, 0xaa, 0x75, + 0x89, 0x11, 0xaf, 0x11, 0x6f, 0x17, 0x70, 0x9b, 0x95, 0xee, 0x36, 0xe7, + 0xf7, 0x83, 0x60, 0x9e, 0x57, 0x4d, 0xce, 0x1b, 0xf1, 0x76, 0x05, 0xf5, + 0x76, 0x37, 0xf1, 0xbe, 0x63, 0x32, 0xdd, 0x88, 0xb7, 0x4b, 0x60, 0x63, + 0xd5, 0x18, 0xf1, 0x1a, 0x8c, 0x78, 0x3b, 0x21, 0xf3, 0x27, 0xa7, 0xdb, + 0x44, 0x46, 0x78, 0xbb, 0x49, 0x27, 0x5f, 0x97, 0x9b, 0x5c, 0x37, 0xe2, + 0xed, 0x4a, 0xac, 0xe8, 0x36, 0xda, 0xb5, 0xd5, 0xec, 0xb4, 0xd1, 0x11, + 0x76, 0x37, 0x26, 0x88, 0x2f, 0x63, 0xa7, 0xf9, 0x53, 0x54, 0xe5, 0x76, + 0xe0, 0x4e, 0xc0, 0xd5, 0x4d, 0x92, 0xbd, 0x5a, 0x85, 0x5f, 0x95, 0x4d, + 0xf2, 0x96, 0x99, 0x12, 0x60, 0xc4, 0xdb, 0x29, 0xc9, 0x2c, 0x08, 0x8c, + 0x06, 0x1e, 0x01, 0x86, 0x75, 0x53, 0x13, 0x3c, 0x6f, 0x5b, 0xf6, 0xcd, + 0xf3, 0x27, 0x66, 0xac, 0x37, 0xa5, 0xc1, 0x88, 0x37, 0x21, 0x8c, 0x7b, + 0x20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 0x9c, + 0x0a, 0x7a, 0x2a, 0x70, 0x72, 0x83, 0xa0, 0x8f, 0x31, 0xba, 0x6c, 0xc2, + 0xca, 0x06, 0xa1, 0x2e, 0x07, 0x59, 0x86, 0xe8, 0xf2, 0xd2, 0x49, 0xde, + 0xb5, 0xbb, 0x2a, 0xda, 0xe0, 0x6f, 0x14, 0xfd, 0x1c, 0xe8, 0xd1, 0xda, + 0x00, 0x33, 0x0b, 0x02, 0x8b, 0x51, 0x7e, 0x10, 0xe5, 0xab, 0xe3, 0xba, + 0x9b, 0x71, 0xbb, 0x9c, 0x78, 0x55, 0xf6, 0x5a, 0x10, 0xf6, 0x89, 0x31, + 0xc8, 0xf5, 0x8d, 0x85, 0x0b, 0xd0, 0x50, 0x00, 0x4b, 0x1b, 0x3e, 0x00, + 0x9c, 0xfb, 0xc0, 0x82, 0x5e, 0xf5, 0x2e, 0xfb, 0x14, 0x89, 0x08, 0xfa, + 0x94, 0x06, 0x41, 0x9f, 0x04, 0xa4, 0x76, 0x83, 0x72, 0x54, 0x07, 0xbc, + 0x1b, 0x11, 0x29, 0xcb, 0x14, 0x59, 0x9e, 0x12, 0xb6, 0x96, 0xbf, 0x76, + 0xeb, 0x39, 0x2d, 0xbe, 0xf0, 0x9e, 0x97, 0xef, 0x59, 0x9b, 0x59, 0x10, + 0xd8, 0x18, 0xa3, 0x27, 0x33, 0xa0, 0x99, 0xeb, 0x46, 0xbc, 0x5d, 0x80, + 0x78, 0x8b, 0xa5, 0x55, 0x53, 0x85, 0x1a, 0x0a, 0xea, 0xe2, 0x86, 0x0f, + 0x00, 0x23, 0xff, 0xf8, 0xa6, 0xab, 0xef, 0xd6, 0xed, 0x27, 0xa8, 0xad, + 0xa7, 0x21, 0xdc, 0x0e, 0x0c, 0xeb, 0x42, 0x76, 0xfe, 0x04, 0xe5, 0x5e, + 0xb1, 0x64, 0xe9, 0xe6, 0x81, 0x7d, 0xde, 0x5f, 0x72, 0xed, 0x69, 0x76, + 0x22, 0xed, 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, 0x66, 0x41, 0x60, + 0xa1, 0x20, 0xff, 0x0c, 0xdb, 0xe1, 0x7f, 0xcd, 0xbf, 0x25, 0xe3, 0x4b, + 0x80, 0x31, 0xd3, 0x02, 0xbd, 0x51, 0x67, 0xa3, 0xaa, 0x16, 0xe1, 0x30, + 0xb8, 0x4a, 0x80, 0x23, 0x88, 0xcc, 0xb4, 0x1a, 0x46, 0x8c, 0xaf, 0x67, + 0x3a, 0xda, 0xa4, 0xc0, 0xa7, 0xc0, 0x2a, 0x60, 0x55, 0x24, 0x3d, 0x8e, + 0x18, 0x31, 0x66, 0x5a, 0xa0, 0x67, 0xd9, 0x24, 0xef, 0x0e, 0x80, 0xb1, + 0x05, 0xfe, 0x43, 0xc0, 0xba, 0x48, 0xd1, 0x4b, 0x80, 0x91, 0x10, 0x73, + 0xe5, 0x98, 0x53, 0x7a, 0x4b, 0x46, 0x9d, 0x11, 0x6f, 0x17, 0x22, 0x38, + 0xc5, 0xab, 0x63, 0x0b, 0x02, 0x13, 0xd4, 0xd9, 0xc2, 0x7b, 0x17, 0xe0, + 0x51, 0xd4, 0x63, 0x59, 0x56, 0x51, 0x66, 0x41, 0xe0, 0x2d, 0xe0, 0x6d, + 0x94, 0x73, 0x5a, 0x74, 0xdf, 0x5a, 0x72, 0x0f, 0x6f, 0x19, 0x15, 0x06, + 0xb2, 0x77, 0xb5, 0x32, 0xa5, 0x62, 0x91, 0x76, 0x30, 0xe8, 0x91, 0x2a, + 0xdf, 0x89, 0x79, 0xa7, 0xb0, 0x8f, 0x04, 0xfa, 0x75, 0x80, 0xd9, 0xb6, + 0xec, 0x14, 0xe7, 0xce, 0x8f, 0x28, 0xab, 0x40, 0x56, 0xd9, 0xd4, 0x7e, + 0x59, 0x36, 0x39, 0x33, 0x1e, 0xaf, 0xae, 0x7a, 0x88, 0xf2, 0x7a, 0x66, + 0x41, 0xe0, 0xdf, 0xc0, 0xe9, 0x0a, 0xa7, 0xb7, 0xe1, 0xbd, 0xf0, 0xd7,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, + 0xbe, 0x77, 0x89, 0xb1, 0x43, 0x37, 0x13, 0x2f, 0xc0, 0xdc, 0x49, 0xe9, + 0x75, 0xaa, 0xfa, 0x63, 0xe0, 0x19, 0x93, 0xf5, 0x9d, 0x4b, 0xb5, 0xa2, + 0x72, 0x69, 0x69, 0xbe, 0xef, 0x59, 0x63, 0x8a, 0x6e, 0xd8, 0xe7, 0x6d, + 0xcc, 0xd8, 0xc2, 0x80, 0x5b, 0xc3, 0x14, 0x02, 0x13, 0x4c, 0x11, 0x48, + 0x7a, 0xea, 0x05, 0xcd, 0x9c, 0x97, 0xef, 0x0b, 0x18, 0x53, 0x74, 0xe3, + 0x96, 0x77, 0x27, 0xf3, 0xf2, 0xbc, 0xa1, 0x70, 0x28, 0x94, 0x83, 0x70, + 0xa7, 0x29, 0x02, 0x49, 0xcd, 0x7a, 0x90, 0x11, 0x46, 0xb8, 0xa6, 0xe5, + 0x8d, 0x4a, 0x66, 0x41, 0xc0, 0x0b, 0xcc, 0xa2, 0x63, 0x5f, 0x7d, 0x18, + 0x9a, 0x52, 0x66, 0x69, 0xf8, 0x27, 0x73, 0x27, 0x8f, 0xda, 0x64, 0x4c, + 0x61, 0x5a, 0xde, 0xa8, 0x94, 0xe6, 0x7b, 0x03, 0x60, 0x1f, 0x0b, 0x54, + 0x98, 0xe2, 0x90, 0x34, 0xfc, 0xd6, 0xb2, 0xed, 0x1f, 0x1a, 0xe1, 0x9a, + 0x96, 0xb7, 0x75, 0x2d, 0xf0, 0xf4, 0x80, 0x1b, 0x25, 0x07, 0xe5, 0x5e, + 0x1c, 0xce, 0x5f, 0x36, 0xb4, 0x99, 0xf7, 0x11, 0xb9, 0xa1, 0x74, 0x92, + 0x67, 0xb1, 0x31, 0x85, 0x11, 0x6f, 0xcc, 0x8c, 0x79, 0xb0, 0x62, 0x3f, + 0xb1, 0xac, 0x87, 0x89, 0x2c, 0x15, 0x34, 0xb4, 0x0f, 0xf5, 0xc0, 0x9d, + 0xaa, 0x3a, 0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52, 0xe4, 0x10, 0x2c, 0x86, 0xa2, 0x3a, 0x14, 0x18, + 0x42, 0x64, 0x97, 0xc6, 0xa1, 0x44, 0x56, 0x40, 0xf5, 0x88, 0xf2, 0x49, + 0x6d, 0x68, 0x29, 0x6b, 0xa2, 0x7c, 0xb6, 0x01, 0xeb, 0x88, 0x1c, 0xea, + 0xb5, 0x16, 0x64, 0x1d, 0xe8, 0x5a, 0x15, 0x59, 0x6b, 0x61, 0xaf, 0xaa, + 0xdb, 0x6e, 0xad, 0xf2, 0xdf, 0xe9, 0x09, 0x1b, 0xeb, 0x1b, 0x0c, 0x1d, + 0xc0, 0x8f, 0x9f, 0x9f, 0x65, 0x19, 0x2b, 0x18, 0x0c, 0x06, 0x83, 0xc1, + 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, + 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, + 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, + 0x30, 0x18, 0x0c, 0x06, 0x83, 0xc1, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x43, + 0xdb, 0xe9, 0x90, 0x9d, 0x34, 0x32, 0x32, 0x32, 0xd2, 0x34, 0xac, 0x67, + 0xa8, 0x70, 0x00, 0x36, 0x43, 0x91, 0xef, 0x76, 0x89, 0xe8, 0x0d, 0x54, + 0x03, 0x55, 0x91, 0x8f, 0x6c, 0x11, 0xf4, 0x23, 0x1b, 0x79, 0x3f, 0x18, + 0xac, 0xf8, 0xb2, 0x3d, 0xe3, 0xe8, 0xf5, 0x78, 0x0f, 0x04, 0x4e, 0x07, + 0x6b, 0x28, 0xe8, 0xce, 0xf8, 0x0d, 0x24, 0xb2, 0xf9, 0xda, 0x5a, 0x60, + 0x1d, 0xe8, 0x5a, 0x84, 0x77, 0x03, 0x81, 0xc0, 0x27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0x97, 0xe0, + 0x82, 0x35, 0x1f, 0x91, 0x69, 0x81, 0x40, 0x45, 0x69, 0xfc, 0x5d, 0xe3, + 0x8c, 0x63, 0x05, 0x9d, 0x46, 0xa4, 0xb5, 0x8d, 0x77, 0x39, 0xdb, 0xa8, + 0x70, 0x4f, 0x38, 0x5c, 0x5f, 0xbc, 0x70, 0xe1, 0xc2, 0x70, 0x2b, 0x6c, + 0x79, 0x1d, 0xf0, 0xe7, 0x8e, 0xea, 0x26, 0x28, 0x7a, 0x54, 0x30, 0x18, + 0xff, 0xae, 0x55, 0x42, 0x44, 0xe5, 0xf3, 0x64, 0x9c, 0xae, 0xca, 0x3b, + 0xc0, 0x2f, 0x12, 0x28, 0x5c, 0x88, 0xec, 0x98, 0xf8, 0xe3, 0x58, 0x6f, + 0x1a, 0x39, 0x72, 0xa4, 0xe5, 0xf5, 0xf8, 0x26, 0x09, 0x1a, 0x48, 0x90, + 0x70, 0x01, 0x0e, 0x17, 0x78, 0xd6, 0xeb, 0xf1, 0xdd, 0x13, 0x7b, 0x6b, + 0x35, 0xca, 0xdd, 0x0e, 0xc2, 0x05, 0x18, 0x8d, 0xea, 0x3c, 0xaf, 0xc7, + 0xf7, 0xd7, 0x11, 0x23, 0xbe, 0xef, 0x8a, 0x63, 0x6b, 0x7b, 0x91, 0xa0, + 0xcb, 0x1a, 0xdc, 0xd4, 0x44, 0x34, 0x10, 0x03, 0x05, 0xa6, 0xbb, 0x5d, + 0x29, 0x7f, 0xf7, 0xa5, 0xfb, 0x5a, 0xd3, 0xfd, 0x3a, 0xbb, 0x43, 0x07, + 0x96, 0x54, 0x12, 0xd2, 0xf2, 0x5a, 0xf1, 0x17, 0xae, 0xef, 0x3c, 0x45, + 0x2b, 0x81, 0xc1, 0xed, 0x64, 0x1b, 0x57, 0x6c, 0x05, 0xcb, 0xdb, 0x23, + 0x35, 0x25, 0xed, 0xcf, 0x40, 0x41, 0x3b, 0xc4, 0xcd, 0x02, 0xee, 0xf0, + 0x7a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0x54, + 0x2c, 0xe9, 0x65, 0xc4, 0xdb, 0xb4, 0x10, 0xf4, 0x70, 0x56, 0x08, 0xd8, + 0xd4, 0xd2, 0x97, 0x5e, 0x8f, 0xef, 0xaf, 0xc0, 0xe5, 0x0a, 0xa9, 0x82, + 0x46, 0x3a, 0x68, 0xb2, 0x47, 0x47, 0x4d, 0x1a, 0x9c, 0x62, 0x81, 0x70, + 0xc8, 0xae, 0xf3, 0x7a, 0x7c, 0xaf, 0x20, 0x3a, 0xb1, 0xc9, 0x6e, 0x92, + 0xc2, 0x7e, 0x0e, 0x7a, 0x78, 0x75, 0x4e, 0x0d, 0xa9, 0x10, 0x72, 0x32, + 0x1d, 0x68, 0xc3, 0x86, 0x0d, 0xfb, 0x3b, 0x75, 0x67, 0x1d, 0x78, 0x4c, + 0x9b, 0x9c, 0xcd, 0x59, 0x92, 0x3d, 0x67, 0x10, 0x1d, 0xec, 0xb0, 0xf6, + 0x08, 0xb5, 0x21, 0xfa, 0xf5, 0xb1, 0x8a, 0x57, 0x55, 0x87, 0x1a, 0xf1, + 0xee, 0x81, 0x0d, 0x5b, 0xc5, 0x51, 0x01, 0xdf, 0xdb, 0x20, 0x92, 0x1e, + 0x00, 0x12, 0xcb, 0xf0, 0x7e, 0x2a, 0x70, 0x09, 0x2a, 0x5b, 0x80, 0xeb, + 0xe3, 0x25, 0x44, 0x67, 0xfd, 0x42, 0x11, 0x27, 0xe3, 0x41, 0xed, 0xb8, + 0x8d, 0x30, 0x88, 0xf4, 0x73, 0x38, 0x66, 0x55, 0x17, 0x1f, 0xdb, 0xda, + 0xd2, 0x26, 0x13, 0x1b, 0xda, 0xde, 0xe7, 0x15, 0xc4, 0xd1, 0xfa, 0x44, + 0x51, 0x06, 0x25, 0xa8, 0x2f, 0x27, 0x51, 0xae, 0xad, 0x71, 0x10, 0x92, + 0xf3, 0xf7, 0x82, 0xaa, 0x4e, 0x2a, 0x42, 0xdd, 0xbc, 0x79, 0x73, 0x3b, + 0xae, 0x35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0x38, 0x7e, 0x5f, 0x13, 0xa8, 0xf4, 0xdf, 0x27, 0xc2, 0x55, + 0xed, 0x5c, 0x81, 0x3f, 0x81, 0x68, 0x46, 0x30, 0x58, 0xb1, 0x8d, 0x6e, + 0x86, 0x15, 0xef, 0x00, 0x03, 0xc1, 0x8a, 0xd7, 0x11, 0xce, 0xa0, 0x1d, + 0xb7, 0x79, 0xc5, 0x6a, 0xfd, 0xde, 0x48, 0xc1, 0x60, 0xd0, 0x0e, 0x04, + 0xfc, 0x77, 0x6b, 0xe4, 0x74, 0xc3, 0x44, 0xaf, 0xa7, 0xdd, 0x01, 0x72, + 0x51, 0x20, 0xe8, 0xbf, 0x2f, 0xc6, 0x3e, 0x7c, 0x7b, 0xf2, 0x99, 0x82, + 0x2f, 0x50, 0xe9, 0xff, 0x47, 0x5c, 0x3c, 0xb0, 0x80, 0xff, 0xef, 0x0a, + 0x67, 0x03, 0x5b, 0xda, 0x21, 0xee, 0xb9, 0x29, 0xa9, 0xee, 0xeb, 0x03, + 0x81, 0x40, 0x0d, 0xdd, 0x10, 0x2b, 0x11, 0x81, 0x06, 0x02, 0xfe, 0xd5, + 0x96, 0xca, 0x08, 0x22, 0xd3, 0xf2, 0xaa, 0x12, 0x9c, 0x06, 0x55, 0x8d, + 0x7d, 0xf9, 0x5f, 0x30, 0xe8, 0x7f, 0x4e, 0x84, 0x13, 0x71, 0xb6, 0x78, + 0x61, 0x6f, 0xd8, 0xc0, 0x73, 0x88, 0x1e, 0x1f, 0x08, 0x56, 0xc4, 0xbc, + 0x0f, 0x74, 0xd8, 0xb6, 0x42, 0xed, 0xd0, 0x7a, 0x6d, 0x04, 0xc6, 0x5b, + 0x2a, 0x47, 0x04, 0x83, 0xfe, 0x40, 0x3c, 0x03, 0x0e, 0x06, 0xfd, 0x6f, + 0x5a, 0x2e, 0x39, 0x12, 0x78, 0x3c, 0x41, 0x15, 0x64, 0x25, 0xe8, 0xf7, + 0x03, 0x41, 0xff, 0x8c, 0xb2, 0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0x30, + 0x61, 0x42, 0x6e, 0x8a, 0x58, 0x92, 0x43, 0x64, 0x11, 0x7a, 0x1f, 0x60, + 0x91, 0xcb, 0xd2, 0xdb, 0x8b, 0x8a, 0x8a, 0xa2, 0x9e, 0x42, 0x30, 0x7e, + 0xe2, 0x44, 0xb1, 0x42, 0x7a, 0x83, 0xc0, 0x68, 0xe0, 0x64, 0xe0, 0x3d, + 0x60, 0x41, 0x49, 0x71, 0x61, 0x51, 0xcc, 0x1e, 0x49, 0xce, 0xc4, 0x4b, + 0x50, 0xbd, 0x08, 0xf8, 0x7e, 0x83, 0x67, 0xf2, 0xb6, 0x0a, 0x77, 0xcd, + 0x9c, 0x51, 0xa8, 0x7b, 0xa4, 0xe5, 0x0f, 0xc0, 0xfe, 0x25, 0xc5, 0x85, + 0xd7, 0x64, 0x65, 0xe5, 0x9e, 0x8c, 0xc8, 0x94, 0x06, 0x1b, 0x7c, 0x01, + 0x1a, 0xb0, 0x2d, 0xfe, 0xf0, 0x50, 0x51, 0x51, 0xd4, 0x35, 0xd3, 0x13, + 0xb2, 0x27, 0xa6, 0x0b, 0x3a, 0x19, 0x38, 0x0e, 0xd8, 0xa4, 0xf0, 0x12, + 0x22, 0x0f, 0x12, 0x96, 0x11, 0x62, 0xd9, 0xbf, 0x50, 0xdb, 0xfa, 0xd5, + 0xcc, 0x99, 0xd3, 0x6a, 0x1a, 0x3d, 0xeb, 0x2f, 0x28, 0xcf, 0x95, 0x94, + 0x14, 0x96, 0xee, 0x8a, 0x67, 0xde, 0x9d, 0x28, 0x47, 0x94, 0x14, 0x17, + 0x5e, 0x9b, 0x95, 0x93, 0x77, 0x22, 0xca, 0x6f, 0x80, 0x53, 0x88, 0x9c, + 0xe3, 0xe4, 0x77, 0x59, 0x7a, 0x7f, 0x51, 0x51, 0x51, 0xd4, 0x2d, 0x8e, + 0x72, 0x73, 0x73, 0x07, 0x84, 0x6d, 0xb9, 0x85, 0x48, 0x05, 0xde, 0x1b, + 0xf8, 0x8f, 0x0a, 0x33, 0x67, 0xce, 0x28, 0x7c, 0xa7, 0xbb, 0x88, 0xb7, + 0xb3, 0x0f, 0x58, 0x9d, 0x46, 0x2b, 0xf6, 0x8b, 0x2e, 0x29, 0x9e, 0xfe, + 0x75, 0x49, 0x71, 0xe1, 0x35, 0xc5, 0xc5, 0x85, 0xaf, 0x37, 0x15, 0x63, + 0xee, 0x15, 0xa0, 0xff, 0x25, 0xb2, 0x48, 0x7c, 0x45, 0x83, 0x68, 0x46, + 0x21, 0x2c, 0x9a, 0x90, 0x9d, 0x97, 0x1d, 0x25, 0xb8, 0xf3, 0x80, 0xcb, + 0xb2, 0xb2, 0xf3, 0x2e, 0x06, 0x9d, 0x43, 0x64, 0x77, 0x8a, 0xa5, 0xc0, + 0x49, 0x28, 0x4f, 0x67, 0x65, 0xe7, 0xdd, 0x9c, 0x9d, 0x3d, 0xd1, 0x2d, + 0x96, 0xcc, 0x02, 0x26, 0x03, 0xab, 0x80, 0xaf, 0x80, 0x1b, 0xc3, 0xb6, + 0x7c, 0x38, 0x61, 0x42, 0x7e, 0xff, 0xa6, 0xae, 0xfd, 0x44, 0xb7, 0x2b, + 0xa4, 0x4f, 0x0a, 0x3c, 0x42, 0x64, 0x93, 0x82, 0x52, 0x22, 0x87, 0xa3, + 0x15, 0x66, 0x65, 0xe7, 0xc5, 0xb4, 0x9b, 0x63, 0x56, 0x76, 0xde, 0x3d, + 0xa8, 0xbe, 0x00, 0x9c, 0xd4, 0x10, 0x4e, 0x0f, 0xe0, 0x4e, 0x51, 0x96, + 0x5e, 0x77, 0xfd, 0x2f, 0xf6, 0x7c, 0xaf, 0x7f, 0x31, 0xf0, 0xf3, 0x09, + 0xd9, 0x79, 0x23, 0x10, 0x59, 0x4a, 0x64, 0x17, 0x89, 0xca, 0x48, 0x1c, + 0xe4, 0x1e, 0xcb, 0x96, 0xe7, 0x73, 0x73, 0x73, 0x25, 0xca, 0x33, 0x2e, + 0x15, 0xb4, 0x02, 0xc8, 0x20, 0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, 0xe5, 0xfa, 0xac, 0xec, 0xbc, 0xb9, 0x44, + 0x16, 0x58, 0xf4, 0xdd, 0xb0, 0x71, 0x4b, 0x3a, 0x70, 0x14, 0x22, 0xc5, + 0xa1, 0xfa, 0x9a, 0x2f, 0x8c, 0x95, 0x8c, 0x78, 0x0d, 0x49, 0x88, 0x86, + 0xf5, 0x5e, 0xb1, 0x64, 0x0d, 0x30, 0x8e, 0xc8, 0x7a, 0xdf, 0xed, 0xc0, + 0xbb, 0x82, 0xe4, 0x17, 0xcf, 0x98, 0x3e, 0xdb, 0x58, 0xa8, 0x7d, 0xf8, + 0x7f, 0x49, 0xf1, 0x1a, 0x6f, 0x4b, 0xd5, 0x18, 0xc6, 0x00, 0x00, 0x00, + 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 }; -static const unsigned char app_icon_png[]={ -0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a,0x0,0x0,0x0,0x0d,0x49,0x48,0x44,0x52,0x0,0x0,0x01,0x0,0x0,0x0,0x01,0x0,0x08,0x06,0x0,0x0,0x0,0x5c,0x72,0xa8,0x66,0x0,0x0,0x0,0x06,0x62,0x4b,0x47,0x44,0x0,0xff,0x0,0xff,0x0,0xff,0xa0,0xbd,0xa7,0x93,0x0,0x0,0x0,0x09,0x70,0x48,0x59,0x73,0x0,0x0,0x0d,0xd7,0x0,0x0,0x0d,0xd7,0x01,0x42,0x28,0x9b,0x78,0x0,0x0,0x20,0x0,0x49,0x44,0x41,0x54,0x78,0xda,0xed,0x9d,0x79,0x9c,0x54,0xd5,0x99,0xf7,0x7f,0xe7,0xde,0x5b,0x7b,0x55,0x57,0xf5,0xbe,0x77,0x43,0x37,0x6b,0xb3,0x8b,0x20,0x8b,0x22,0x2e,0xd1,0x98,0x31,0xd1,0xc4,0x84,0x44,0x07,0xd0,0x06,0x9d,0x64,0x26,0xaf,0x8e,0x89,0x79,0x67,0x46,0xf3,0x26,0xa2,0x93,0x65,0x7c,0xe7,0xcd,0x32,0x8e,0x66,0x24,0x09,0x69,0x40,0x8d,0x19,0x26,0x89,0x21,0x2e,0xb8,0x6f,0x80,0x88,0x82,0xa0,0xec,0x74,0x43,0xd3,0xd0,0x6b,0xf5,0x56,0xfb,0x7a,0xef,0x3d,0xef,0x1f,0x8d,0xad,0xd0,0x5b,0x55,0x77,0xed,0xf5,0x7c,0x3f,0x1f,0x3e,0x68,0x51,0x55,0xe7,0xd6,0x59,0x7e,0xe7,0x39,0xcf,0x79,0xce,0x73,0x0,0x82,0x20,0x08,0x82,0x20,0x08,0x82,0x20,0x08,0x82,0x20,0xb2,0x01,0x96,0xce,0x0f,0xbf,0x6d,0xe3,0x46,0xab,0x47,0xa3,0xd1,0xea,0x0,0x0b,0x67,0xcc,0xa4,0xaa,0xaa,0x8e,0x33,0x66,0xa3,0x66,0x25,0xe2,0x3a,0x68,0x38,0x0f,0x88,0xa2,0xe8,0x57,0x65,0xd9,0xc9,0xb5,0xda,0x90,0x28,0x8a,0x6e,0x8d,0x46,0xe3,0x5d,0xb5,0x6a,0x55,0x88,0x04,0x20,0x0e,0x34,0x34,0x34,0xd8,0x24,0xc6,0x96,0x73,0x60,0x16,0x38,0x9f,0x2e,0x70,0x3e,0x93,0x33,0x36,0x03,0x40,0x2e,0x75,0x47,0x22,0x35,0x46,0x12,0x93,0xc1,0x79,0x33,0x07,0x8e,0x0a,0x9c,0x9f,0xe0,0xc0,0x71,0xae,0xaa,0x1f,0xac,0x59,0xbf,0xfe,0x08,0x63,0x8c,0x93,0x0,0x44,0xc1,0xc6,0x8d,0x1b,0x8d,0x26,0x8d,0xe6,0x6a,0x15,0x58,0xc9,0x18,0x5b,0x09,0x60,0x3e,0x0,0x91,0x7a,0x19,0x91,0x86,0x74,0x83,0xb1,0xb7,0x39,0xf0,0x16,0x53,0x94,0xd7,0xd6,0xac,0x5f,0x7f,0x82,0x04,0x60,0x18,0xde,0xdc,0xb0,0x41,0x3a,0x57,0x5d,0x7d,0x83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0x0e,0xac,0xa1,0x66,0x24,0x88,0x09,0xd1,0xc6,0x55,0xf5,0x1b,0xf1,0xd8,0x2d,0x88,0x8b,0x0,0x3c,0xb3,0x69,0x53,0x99,0x2c,0x8a,0xdb,0xc1,0xf9,0xa5,0xd4,0x76,0x04,0x11,0x13,0x42,0xe0,0xfc,0x9e,0x35,0xeb,0xd6,0x6d,0x4c,0x69,0x01,0x78,0xba,0xa1,0x61,0xbe,0x0a,0xbc,0x08,0xa0,0x94,0xda,0x8c,0x20,0x62,0x3c,0x63,0x73,0xfe,0x68,0xd3,0xd9,0xb3,0xdf,0xd9,0xb0,0x61,0x83,0x9a,0x72,0x02,0xf0,0xf4,0xe6,0xcd,0x2b,0x54,0xce,0xb7,0x03,0xa0,0x03,0x39,0x04,0x11,0x3f,0xfe,0x24,0x03,0xab,0xeb,0xeb,0xeb,0x03,0x13,0xfd,0x22,0x21,0x56,0x4f,0xf4,0x64,0x43,0xc3,0xe7,0x54,0xce,0x77,0xd0,0xe0,0x27,0x88,0xb8,0x73,0x8b,0x04,0x6c,0xdb,0xb6,0x6d,0x9b,0x36,0x25,0x2c,0x80,0xad,0x9b,0x36,0x5d,0xce,0x04,0xe1,0x15,0x90,0xa7,0x9f,0x20,0x12,0x07,0xe7,0x7f,0xd5,0x99,0xcd,0x5f,0x59,0xb5,0x6a,0x95,0x92,0x34,0x0b,0xe0,0xc9,0x4d,0x9b,0xe6,0x31,0x41,0x78,0x9e,0x06,0x3f,0x41,0x24,0xda,0x21,0xc0,0xbe,0x14,0xf4,0x7a,0x1f,0x4f,0xda,0x12,0xe0,0x99,0x4d,0x9b,0xca,0x98,0x20,0xfc,0x05,0x80,0x95,0x5a,0x83,0x20,0x92,0xc2,0x37,0x9f,0x6c,0x68,0xf8,0xe7,0x84,0x2f,0x01,0xb6,0x6d,0xdb,0xa6,0x0d,0x7a,0xbd,0xbb,0x0,0x2c,0xa2,0x36,0x20,0x88,0xe4,0x2e,0x06,0x0,0x7c,0x65,0x4d,0x7d,0xfd,0x5f,0x12,0x66,0x01,0x04,0x7d,0xbe,0x7f,0xa3,0xc1,0x4f,0x10,0xa9,0xb1,0x18,0x0,0xf0,0xbb,0x86,0x86,0x86,0x49,0x09,0x11,0x80,0xad,0x0d,0x0d,0x5f,0x01,0xe7,0xf7,0x52,0xbd,0x13,0x44,0xca,0x90,0x2b,0x02,0xff,0x1d,0xed,0xce,0x40,0xd4,0x02,0xf0,0xfb,0xdf,0xfc,0xa6,0x98,0x31,0xb6,0x11,0x69,0x9e,0x50,0x94,0x20,0x32,0xd0,0x0c,0x58,0x1c,0xf4,0x7a,0x1f,0x88,0xab,0x0,0x28,0x92,0xf4,0x4b,0x70,0x5e,0x40,0xd5,0x4d,0x10,0xa9,0xa8,0x02,0xec,0xfb,0x5b,0xb6,0x6c,0x99,0x1b,0x17,0x01,0x78,0xb2,0xa1,0xe1,0xf3,0x0,0xbe,0x41,0xb5,0x9c,0x1c,0x42,0xaa,0x80,0x10,0x17,0xd2,0xea,0x99,0xbd,0xaa,0x04,0x4e,0x4d,0x97,0x38,0x38,0x97,0x04,0x55,0x7d,0x8c,0x73,0x1e,0x91,0x85,0x1e,0xb1,0x19,0xff,0xe8,0xa3,0x8f,0xea,0x72,0x2d,0x96,0x43,0x0,0xa6,0x52,0x2d,0x27,0x06,0xa7,0xa2,0x81,0x3d,0xac,0x83,0x5d,0xd6,0xa3,0x27,0xac,0x87,0x5b,0x95,0x30,0x49,0xeb,0xc1,0xe5,0x96,0x9e,0xb4,0x19,0xfc,0x7f,0x75,0x94,0x83,0x73,0x20,0x57,0x0a,0xa3,0x44,0xe3,0x47,0xa1,0x14,0x44,0x91,0x26,0x0,0x2d,0x53,0xa9,0x81,0xe3,0x69,0x08,0x70,0xbe,0x66,0xf5,0xba,0x75,0x4f,0xc5,0x4c,0x0,0x9e,0x6a,0x68,0xb8,0x9b,0x03,0x8f,0x52,0xd5,0xc6,0x8f,0x30,0x67,0x68,0x0b,0x1b,0xd1,0x15,0xd6,0xc3,0x1e,0xd6,0xc3,0xa9,0x68,0x86,0x6d,0xb0,0xeb,0xad,0xed,0x28,0x90,0x52,0xff,0x0e,0x8a,0xdd,0xee,0x02,0x34,0x87,0xcc,0x43,0x5e,0x17,0x19,0x1f,0x14,0x82,0x72,0xad,0x1f,0x79,0x62,0x90,0x1c,0x4a,0xb1,0x5f,0x0a,0xb4,0xf6,0xbb,0x5c,0x53,0xee,0xb9,0xe7,0x9e,0xe0,0x68,0x6f,0x93,0x22,0xf9,0xae,0x6d,0xdb,0xb6,0x19,0xa2,0x75,0x2e,0x10,0x91,0xcf,0xf2,0xad,0x21,0x23,0xda,0xc2,0x46,0xd8,0xc3,0xda,0x31,0x35,0x99,0x03,0x78,0xdf,0x5b,0x80,0x2f,0x58,0xdb,0x53,0xfa,0x77,0x75,0x85,0x75,0xc3,0x0e,0x7e,0x0,0x50,0x38,0x43,0x67,0x58,0x8f,0xce,0xb0,0x1e,0x1f,0xfb,0x6c,0xd0,0x09,0x2a,0xca,0x34,0x3e,0x54,0x6a,0xfd,0x28,0xd3,0xf8,0x21,0x91,0x75,0x10,0x8b,0xa5,0x40,0x45,0x9e,0xc5,0xb2,0x1e,0xc0,0xaf,0x26,0x6c,0x01,0x6c,0x6d,0x68,0xf8,0x16,0x03,0xfe,0x8b,0x6a,0x35,0x76,0x83,0xfe,0x6c,0xc8,0x88,0xd6,0x90,0x11,0x7d,0xb2,0x6e,0x5c,0x6b,0xe4,0xe5,0xe6,0x6e,0x4c,0xd6,0x79,0x53,0xb3,0xef,0x01,0x78,0xd9,0x59,0x8a,0x1e,0x59,0x17,0xf5,0x67,0xb5,0x4c,0x45,0x99,0xc6,0x8f,0x0a,0xad,0x0f,0xe5,0x5a,0x1f,0x34,0x8c,0x3c,0x08,0x13,0x68,0x87,0x73,0x7a,0x93,0x69,0xca,0x68,0x57,0x96,0x8d,0x69,0x01,0xbc,0xb9,0x61,0x83,0xd4,0x0a,0xfc,0x13,0x55,0xe7,0xc4,0x08,0x72,0x11,0x67,0x02,0x46,0x9c,0x0e,0x59,0xd0,0x2b,0x4f,0xf8,0x10,0x17,0x0e,0xfa,0x72,0x51,0xa5,0xf5,0x41,0x4c,0xc1,0x01,0x72,0x26,0x64,0x1e,0xd7,0xe0,0x07,0x80,0x10,0x17,0x70,0x26,0x64,0xc2,0x99,0x90,0x09,0x22,0xe3,0xa8,0xd2,0x78,0x51,0xa3,0xf7,0xa2,0x54,0xe3,0xa7,0x4e,0x14,0xed,0x2a,0x0,0xa8,0x0c,0x79,0x3c,0xb7,0x02,0xd8,0x32,0x6e,0x01,0x68,0xab,0xaa,0xba,0x19,0x74,0x61,0xc7,0xb8,0x90,0x39,0x43,0x73,0xd0,0x84,0xe6,0x90,0x25,0x22,0xf3,0x3e,0x1a,0xbc,0xaa,0x84,0xa3,0x81,0x1c,0xcc,0x31,0x38,0x53,0xea,0x37,0x2b,0x9c,0xe1,0x80,0x37,0x37,0x66,0xdf,0xd5,0x1c,0x32,0xa3,0x39,0x64,0x86,0x56,0x50,0x51,0xad,0xf5,0xa1,0x46,0xe7,0x41,0xa1,0x14,0xa0,0xce,0x15,0xa9,0x15,0xc0,0xd8,0x77,0x46,0x13,0x80,0x31,0xf7,0x94,0x38,0xb0,0x8e,0xaa,0x31,0x3a,0x5c,0x8a,0x06,0xfb,0xbc,0x79,0x78,0xd6,0x51,0x89,0xbd,0xde,0x02,0xd8,0xc3,0x3a,0xc4,0x23,0x6e,0xea,0xb8,0xdf,0x9a,0x72,0xdb,0x82,0x8d,0x41,0x0b,0x7c,0x6a,0xec,0xaf,0x71,0x0c,0xa9,0x02,0x1a,0x03,0x66,0xbc,0xec,0x2c,0xc1,0x4b,0xce,0x52,0x34,0x06,0x2c,0x50,0x38,0xb9,0x0e,0x23,0x60,0xde,0xd6,0x4d,0x9b,0x2e,0x1d,0x97,0x05,0xd0,0xd0,0xd0,0x50,0x02,0xe0,0x3a,0xaa,0xc3,0xc8,0x68,0x0d,0x19,0x71,0x34,0x60,0x3d,0x3f,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x3a,0x9b,0xff,0x4d,0x54,0x4b,0x0,0x89,0xf3,0xab,0x40,0x27,0xfe,0x46,0x45,0x9b,0x22,0x5b,0x70,0x2a,0x18,0x0e,0xf9,0x93,0x97,0x94,0x29,0xc8,0x45,0x1c,0x0b,0xe4,0x50,0xbb,0xa4,0xf4,0x5a,0x55,0xbd,0x26,0x3a,0x1f,0x80,0x20,0x5c,0x4d,0xb5,0x36,0x3a,0xa2,0x90,0x3a,0x1d,0xed,0x54,0xc0,0x0c,0x6f,0x92,0xac,0x80,0xa3,0x7e,0x0b,0xe4,0x14,0xf2,0xc8,0x8b,0x24,0x0,0xc3,0x59,0x0,0x33,0xb7,0x6c,0xd9,0x52,0x1e,0xb9,0x0,0x70,0x4e,0x02,0x30,0xd6,0x4c,0x83,0xd4,0x09,0x59,0x55,0x31,0xe0,0x0b,0x48,0xc6,0xec,0x7f,0xd2,0x9f,0x93,0x5a,0xed,0x42,0xa1,0xc4,0xc3,0xcf,0xe9,0x9c,0xaf,0x8c,0x48,0x0,0xb6,0x6e,0xdd,0x5a,0x04,0xa0,0x86,0xaa,0x6c,0x74,0xa4,0x14,0x9b,0x69,0x9a,0x02,0xe6,0x84,0xfb,0x02,0x8e,0xfb,0x73,0x10,0x86,0x90,0x62,0xed,0x42,0x02,0x30,0x02,0x4b,0x22,0xb3,0x0,0x64,0x79,0x26,0xd5,0x55,0x24,0xa6,0x66,0x6a,0x75,0x34,0x15,0x0c,0xc7,0x12,0x38,0x1b,0x87,0x39,0xc3,0x89,0x80,0x25,0xc5,0x5a,0x85,0xd3,0x12,0x60,0x64,0xab,0x7e,0x66,0x44,0x02,0xc0,0x04,0x61,0x3a,0xd5,0x56,0x7a,0x9a,0x9a,0x27,0x83,0x96,0x84,0xed,0xc5,0x9f,0x0c,0xe4,0xa4,0x5c,0x24,0xa2,0xc4,0x38,0x79,0xae,0x47,0xf6,0x03,0x4c,0x8f,0xcc,0x02,0xe0,0x9c,0x04,0x20,0x22,0x0b,0x20,0xf5,0x66,0x1a,0x85,0x33,0x9c,0xf0,0x9b,0xe3,0x6f,0x6d,0x70,0xe0,0x44,0x20,0x27,0xe5,0x7e,0x3f,0xed,0x0,0x8c,0x6a,0x01,0x94,0x6f,0x7b,0xfc,0x71,0xf3,0xd8,0x02,0x40,0x59,0x7f,0x22,0x42,0x93,0xa2,0x6b,0xcd,0x13,0x81,0x9c,0xb8,0xc7,0xc9,0x9f,0x0e,0x99,0xe3,0x12,0xf3,0x9f,0x89,0xa2,0x9c,0x4a,0x36,0x40,0xd8,0x68,0x9c,0x72,0x81,0xc5,0x34,0xc2,0x1b,0x4b,0xa8,0xae,0x22,0x11,0x80,0xd4,0xec,0x6c,0x41,0x2e,0xe2,0x74,0xd0,0x84,0xa9,0x7a,0xcf,0x88,0xef,0x09,0xa9,0x02,0x14,0x30,0x84,0xb9,0x80,0x30,0x67,0x0,0x18,0x04,0xc6,0x21,0x31,0x15,0x5a,0xc6,0x21,0x41,0x1d,0x71,0x30,0x71,0x20,0x69,0x51,0x7f,0xe9,0xb8,0x2c,0x4b,0x25,0xd4,0x8b,0xc6,0xb6,0x34,0x42,0x03,0x5b,0x68,0x1d,0x15,0xc9,0x7a,0x33,0x75,0x3b,0xdb,0xb1,0x80,0x15,0x12,0x1b,0x38,0x36,0xec,0x55,0x45,0x78,0x14,0x09,0x3e,0x55,0x82,0x47,0x95,0xa2,0xb2,0x0e,0xf4,0x82,0x02,0xb3,0xa0,0xc0,0x24,0x84,0x61,0x14,0x14,0x98,0x44,0x19,0x32,0x67,0x70,0x28,0xda,0x94,0xfc,0xdd,0x22,0x48,0x0,0x46,0x5d,0x05,0x0,0x96,0x31,0x05,0x80,0x5d,0xf4,0x26,0x22,0xfd,0x04,0xc0,0xa5,0x68,0xb0,0xdb,0x33,0xf1,0xec,0xed,0x01,0x55,0x44,0x40,0x15,0xd1,0x03,0x6d,0x5a,0xb4,0x09,0x59,0x0,0xa3,0x23,0x5c,0x34,0xb6,0x47,0xf2,0x01,0x90,0x0,0x44,0x80,0x81,0x3a,0x5b,0xca,0xa1,0xa3,0x43,0x40,0x63,0x91,0x13,0x89,0x0,0x98,0xa8,0x9e,0x22,0xb3,0x0,0xc8,0xe9,0x94,0x62,0xa2,0x2c,0x90,0x28,0x8f,0xea,0x03,0xe0,0x3c,0xa2,0x5d,0x0,0xca,0x01,0x10,0xe9,0x1a,0x99,0xd1,0x8c,0x93,0x5a,0x16,0x0,0x09,0xc0,0x68,0x30,0xc6,0xa4,0x48,0x04,0x80,0xa0,0x19,0x27,0x4d,0x05,0x59,0xa6,0x4a,0x88,0xce,0x27,0x40,0x50,0x87,0x23,0x41,0x26,0x01,0x20,0xc6,0x67,0x72,0x8a,0xd4,0xe1,0x48,0x90,0x49,0x0,0xb2,0x16,0x93,0x40,0x1d,0x2e,0x95,0xa0,0x54,0x60,0x24,0x0,0x09,0xc5,0x4c,0x02,0x90,0x32,0x48,0x4c,0x85,0x96,0x96,0x0,0x24,0x0,0x89,0x9d,0x71,0x48,0x0,0x52,0xc7,0x1a,0xa3,0xd9,0x9f,0x04,0x80,0x2c,0x80,0xec,0x6d,0x0b,0x91,0xda,0x82,0x04,0x20,0xd1,0x16,0x80,0xa8,0x0,0xa0,0x60,0xa0,0x94,0x68,0x0b,0x72,0x0,0x92,0x0,0x24,0x1a,0xb7,0x22,0x41,0xa4,0x93,0x53,0x29,0x41,0x90,0x8b,0x50,0x29,0x1d,0x48,0x54,0x50,0x02,0xf5,0xf1,0x76,0x36,0x55,0xc0,0x3e,0x5f,0x1e,0x9a,0x83,0x26,0x50,0xf6,0xf4,0xd4,0xe0,0x6c,0xc8,0x88,0x67,0xfb,0x2b,0xb0,0xc0,0xd8,0x87,0x9a,0x14,0xbd,0x3a,0x9d,0x04,0x20,0xcd,0xe1,0x18,0x48,0xbe,0x79,0xd0,0x9f,0x87,0xa0,0x4a,0x06,0x54,0xaa,0xe1,0x57,0x45,0xbc,0xeb,0x29,0xc4,0xe9,0xa0,0x05,0x8b,0x4c,0xbd,0xb0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2,0xe3,0x03,0x5f,0x1e,0x0c,0xa2,0x8a,0x2a,0x6d,0x6a,0x38,0x29,0x85,0x54,0x6d,0xac,0x3d,0xde,0x42,0x74,0x0e,0x63,0x6e,0x07,0x55,0x01,0x1f,0x7a,0x73,0xf1,0x57,0x67,0x05,0xce,0x84,0x4c,0x71,0x59,0xd9,0x85,0xb8,0x80,0xb7,0xdd,0x45,0x78,0xdf,0x93,0x47,0x83,0x3f,0xc3,0xe8,0x95,0xb5,0x78,0xd1,0x51,0x76,0x7e,0xf7,0x26,0xf6,0x04,0xb9,0x88,0xbd,0xde,0x7c,0x3c,0xef,0x28,0xc7,0xb9,0x8b,0x06,0xff,0x0,0x0c,0xbb,0xdc,0x05,0xb0,0xcb,0x7a,0x12,0x80,0x91,0x78,0xdf,0x9b,0x3f,0x66,0x03,0x79,0x15,0x11,0xbb,0xdc,0x85,0xd8,0xe1,0x2c,0x83,0x3d,0x1c,0xbb,0xca,0xec,0x91,0x75,0x78,0xc1,0x51,0x86,0x73,0x21,0x23,0x8d,0x96,0x0c,0x25,0x0c,0x01,0xbb,0x3d,0x85,0xd8,0xed,0x29,0x88,0x99,0xc0,0x2b,0x9c,0xe1,0x63,0x9f,0x0d,0x7f,0xee,0xaf,0x40,0x63,0xc0,0x32,0xea,0xc4,0xa4,0x82,0xe1,0x0d,0x57,0x11,0xfa,0x52,0x60,0x59,0x99,0x72,0x02,0x70,0x2c,0x60,0x45,0x63,0x14,0xd7,0x4d,0xf5,0xc9,0x5a,0xbc,0xe2,0x2a,0xc6,0xbb,0x9e,0x02,0x04,0x26,0x98,0xa7,0xbe,0x39,0x68,0xc6,0xab,0xae,0x92,0xa4,0xdd,0xb2,0x4b,0x24,0x96,0x58,0xb5,0x77,0x6b,0xd8,0x88,0xe7,0x9d,0xe5,0xf8,0xd8,0x6f,0x8b,0x58,0x50,0x64,0x2e,0xe0,0x4d,0x77,0x71,0xd2,0xfb,0x5a,0x4a,0x09,0xc0,0xb9,0x90,0x11,0xfb,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0,0xd8,0x3b,0x24,0x36,0xbc,0x35,0x6c,0xc4,0x2e,0x77,0x21,0x64,0x32,0xf9,0x89,0xcf,0x70,0x3a,0x68,0x86,0x47,0x95,0xb0,0xd2,0x62,0xbf,0xe0,0x92,0x91,0x20,0x17,0xf1,0x81,0x27,0x17,0x67,0x42,0xf1,0xb9,0x78,0xf5,0xb0,0xdf,0x06,0x9b,0x14,0x46,0x75,0x82,0xb7,0x07,0x93,0x6e,0x01,0xec,0xf5,0xe4,0xa3,0x33,0x1c,0xbf,0x2d,0x91,0xa0,0x2a,0xe0,0x5d,0x4f,0x21,0x5e,0x71,0x95,0xc2,0xa9,0x68,0x0,0x0,0x8d,0x01,0x0b,0xde,0x76,0x15,0xd1,0xe0,0x27,0x86,0xc5,0x1e,0xd6,0xe3,0x65,0x67,0xe9,0xa0,0x83,0xee,0x78,0x20,0x07,0xdb,0xfb,0xcb,0xe3,0x36,0xf8,0x3f,0x99,0xb0,0xde,0xf5,0x14,0xa0,0x27,0xc1,0x3b,0x03,0x49,0xb5,0x0,0x9a,0x82,0x16,0x9c,0x0a,0x9a,0x13,0xd4,0xa8,0x3a,0xec,0x70,0x96,0xa1,0x5a,0xeb,0xc5,0xa9,0x20,0xdd,0x7b,0x42,0x8c,0x8e,0x53,0xd1,0xe0,0x35,0x67,0x31,0xcc,0xa2,0x9c,0xb0,0xf0,0x6f,0x85,0x33,0xec,0x74,0x17,0xe1,0x0b,0xb6,0x0e,0xe8,0x12,0x74,0xdf,0x44,0xd2,0x2c,0x80,0x1e,0x59,0x87,0xf7,0xbd,0xf9,0x09,0x2d,0x53,0xe6,0xec,0xbc,0xe0,0xd0,0xcc,0x4f,0x8c,0x8d,0x5b,0xd5,0x24,0xfc,0xec,0x87,0x57,0x95,0xf0,0x8e,0xbb,0x30,0x61,0x47,0x97,0x92,0x22,0x0,0x41,0x55,0xc0,0x3b,0xee,0x42,0xa8,0x74,0x40,0x8b,0x20,0x86,0xd0,0x15,0xd6,0xe3,0x63,0x5f,0x6e,0xe6,0x0a,0xc0,0x7b,0xbe,0x02,0xf8,0x28,0xd8,0x86,0x20,0x46,0xe4,0x90,0x3f,0x27,0xae,0xbe,0xb1,0xa4,0x09,0x40,0x63,0xd0,0x82,0x73,0x41,0x0a,0xb3,0x25,0x88,0xd1,0x61,0xd8,0xed,0x29,0x8c,0xfb,0x31,0xf8,0x84,0x0a,0x80,0x43,0xd6,0x60,0x9f,0x37,0x8f,0xda,0x96,0x20,0x22,0xc0,0xaf,0x8a,0xd8,0xed,0x2e,0x88,0xab,0x3f,0x20,0x61,0x02,0xa0,0x70,0x86,0x9d,0x9e,0x22,0x0a,0xb5,0x25,0x88,0x28,0x68,0x0f,0x1b,0xe2,0x1a,0xa5,0x9a,0x30,0x01,0x38,0xe8,0xb3,0x0d,0xee,0xc3,0x13,0x04,0x11,0x39,0xfb,0x7d,0x79,0x71,0x1b,0x3b,0x09,0x11,0x80,0xce,0xb0,0x01,0xc7,0x03,0x56,0x6a,0x49,0x82,0x18,0xa7,0xf5,0xbc,0xcb,0x5d,0x18,0x97,0x94,0xe7,0x42,0x22,0x1e,0xfe,0x7d,0x6f,0x1e,0xa5,0x64,0x24,0x88,0x09,0xd0,0xaf,0x68,0xe3,0x92,0x53,0x30,0xee,0x02,0x70,0xd8,0x6f,0x83,0x8b,0x4c,0x7f,0x82,0x98,0x30,0x1f,0xf9,0x6c,0x70,0xc7,0x78,0xfb,0x3c,0xae,0x02,0xd0,0xaf,0x68,0x71,0xc4,0x9f,0x43,0x2d,0x47,0x10,0xb1,0xb2,0xa6,0x3d,0xf9,0xe9,0x23,0x0,0x7b,0x3d,0xf9,0x74,0x55,0x13,0x41,0xc4,0x90,0x8e,0xb0,0x21,0xa6,0xf9,0x0c,0xe3,0x26,0x0,0x27,0x03,0x16,0x3a,0x67,0x4f,0x10,0x71,0x60,0x9f,0x37,0x2f,0x66,0x01,0x42,0x71,0x11,0x80,0xa0,0x2a,0xe0,0xa0,0x3f,0x97,0x5a,0x8a,0x20,0xe2,0x31,0xbe,0xb8,0x18,0xb3,0x04,0x22,0x71,0x11,0x0,0x9d,0xa0,0xc2,0x2a,0xd0,0x9d,0x6c,0x04,0x11,0x2f,0x0a,0xa5,0x60,0x6a,0x2f,0x01,0x2e,0x33,0xf7,0x26,0xf4,0x06,0x16,0x82,0xc8,0x16,0x4a,0x35,0x7e,0x4c,0xd6,0x79,0x52,0x5b,0x0,0x6c,0x62,0x08,0xb3,0xf4,0x4e,0x6a,0x2d,0x82,0x88,0x21,0x1a,0xa8,0x58,0x62,0xee,0x8d,0xd9,0xf7,0xc5,0x75,0x17,0x60,0x8e,0xd1,0x41,0xd7,0x33,0x13,0x44,0x8c,0xc7,0x94,0x49,0x90,0xd3,0x43,0x0,0x04,0x70,0x5c,0x6a,0xea,0xa3,0x8d,0x40,0x82,0x88,0x01,0xb9,0x62,0x08,0x33,0x62,0x7c,0xb1,0x68,0xdc,0x23,0x01,0x4b,0x35,0x7e,0x4c,0xd5,0xbb,0xa9,0xf5,0x08,0x62,0x02,0x88,0x8c,0xe3,0x72,0x4b,0x37,0x84,0x18,0x07,0xd5,0x27,0xe4,0x30,0xd0,0x25,0xc6,0x3e,0x58,0x68,0x57,0x80,0x20,0xc6,0xcd,0x5c,0x83,0x33,0x2e,0xcb,0xe9,0x84,0x08,0x80,0xc4,0x38,0x96,0x9a,0x7b,0x0,0x3a,0x12,0x44,0x10,0x51,0x53,0x20,0x05,0x51,0x67,0x70,0xc4,0x69,0x99,0x9e,0x20,0x8a,0x34,0x41,0xcc,0xa0,0xa5,0x0,0x41,0x44,0x6d,0xfa,0x2f,0x35,0xf7,0xc4,0xcd,0x8f,0x96,0xd0,0x94,0x60,0xf3,0x4c,0x0e,0x58,0x62,0xe8,0xc1,0x24,0x88,0x4c,0x67,0x8e,0x21,0xbe,0x3b,0x69,0x09,0x15,0x0,0x0d,0x54,0x5c,0x61,0xb1,0x53,0x80,0x10,0x41,0x44,0x40,0x89,0x26,0x80,0xd9,0x86,0xf8,0xc6,0xd2,0x24,0x3c,0x2b,0x70,0x9e,0x14,0xc2,0xbc,0x38,0xad,0x67,0x08,0x22,0x53,0xd0,0x09,0x2a,0x96,0x9b,0xbb,0xe3,0x5e,0x4e,0x52,0xee,0x05,0x98,0x65,0x70,0xa0,0x44,0x13,0xa0,0x56,0x26,0x88,0x11,0x58,0x62,0xec,0x81,0x41,0x50,0x32,0x53,0x0,0x0,0x60,0xb9,0xb9,0x1b,0xba,0xcf,0xdc,0xbe,0x4a,0x10,0xc4,0x0,0x53,0x74,0x6e,0x54,0xea,0x7c,0x09,0x29,0x2b,0x69,0x02,0x60,0x10,0x14,0x2c,0x32,0xf5,0x52,0x6b,0x13,0xc4,0x67,0xc8,0x11,0xc3,0x58,0x68,0xea,0x4b,0x58,0x79,0x49,0xbd,0x1e,0x7c,0x92,0xce,0x8b,0x99,0x06,0x17,0xb5,0x3a,0x41,0x0,0x90,0x98,0x8a,0x95,0x16,0x3b,0x34,0x8c,0x67,0x87,0x0,0x0,0xc0,0x02,0x63,0x3f,0x8a,0x34,0x41,0x6a,0x7d,0x82,0xd6,0xfd,0xe6,0x3e,0xe4,0x24,0xf8,0xf0,0x5c,0xd2,0x05,0x40,0x0,0x3f,0xef,0x0f,0x50,0xa8,0x07,0x10,0x59,0x4b,0xad,0xde,0x83,0x49,0x5a,0x4f,0x12,0xc6,0x5f,0x0a,0x60,0x12,0x64,0x2c,0xb5,0xf4,0x82,0x42,0x85,0x89,0x6c,0xc4,0x26,0x86,0xb0,0xc8,0x98,0x1c,0x7f,0x98,0x90,0x2a,0x95,0x50,0xa1,0xf1,0xa5,0xce,0xc3,0x10,0x44,0x02,0x29,0xd3,0x06,0x20,0x31,0x9e,0xdd,0x02,0x40,0x10,0x04,0x09,0x0,0x41,0x10,0x09,0x44,0xa2,0x2a,0x88,0x1e,0x93,0x4e,0x42,0x65,0x9e,0x11,0x15,0xb9,0x46,0x68,0xa5,0x4f,0x35,0x54,0x51,0x39,0x3a,0x9d,0x7e,0x9c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e,0x45,0x51,0x51,0x61,0xd4,0xcb,0xb3,0xfb,0xff,0xa6,0x0e,0xf7,0xfe,0xfe,0x43,0x84,0x15,0x95,0x04,0x20,0x53,0xf9,0xdc,0xec,0x12,0x2c,0xa9,0x2d,0x88,0xea,0x33,0x76,0xbb,0x1d,0x5b,0x36,0x6f,0xc5,0xcb,0x2f,0xbf,0x0c,0x55,0x1d,0xda,0x39,0x14,0x45,0x81,0xdd,0xde,0x0d,0xbb,0xbd,0x1b,0x07,0x0e,0x1c,0xc0,0xaf,0x37,0xfe,0x1a,0x75,0xb3,0xea,0x70,0xd7,0x5d,0x77,0x62,0xde,0xbc,0x79,0x23,0x7e,0x6f,0x71,0x8e,0x1e,0x77,0xad,0xac,0xc5,0x2f,0x5e,0x3e,0x91,0xb5,0xed,0xf1,0xd5,0x45,0x95,0xa8,0x2b,0x1b,0xdd,0x11,0x77,0xfa,0x74,0x33,0x36,0x6d,0xda,0x84,0x3d,0xef,0xee,0x19,0xf6,0xdf,0x65,0x59,0x46,0x7b,0x7b,0x3b,0xda,0xdb,0xdb,0xb1,0x77,0xef,0x5e,0xe0,0x97,0xff,0x81,0xe5,0xcb,0x97,0x63,0xdd,0xfa,0x7a,0x4c,0x9e,0x3c,0x39,0xaa,0x65,0xe1,0x6d,0x4b,0xab,0xb1,0x65,0x57,0x33,0x2d,0x01,0x32,0x11,0xa3,0x56,0x42,0xfd,0x15,0x35,0x51,0x99,0x98,0xcf,0x3c,0xf3,0x07,0xac,0x59,0xbd,0x16,0x3b,0x76,0xec,0x18,0x76,0xf0,0x8f,0xc4,0xd1,0x23,0x47,0xf1,0x9d,0x7b,0xbf,0x8b,0x1f,0xfe,0xe0,0x87,0xf0,0x7a,0xbd,0x23,0xbe,0xef,0xba,0x59,0x25,0x98,0x56,0x62,0xc9,0xca,0xf6,0xc8,0x37,0xeb,0xf0,0x8d,0xcb,0xaa,0x47,0xfc,0x77,0x59,0x96,0xf1,0x1f,0xbf,0x7c,0x14,0x77,0xdd,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79,0x2f,0x21,0xcf,0xe3,0x76,0xbb,0xf1,0xf1,0xc7,0x1f,0x0f,0x7d,0xce,0xdc,0xf8,0x84,0xa2,0x9a,0xc7,0x19,0xf2,0x1c,0x89,0xd5,0x14,0xab,0xf6,0xb0,0xdb,0xed,0x68,0x6c,0x6c,0x4c,0x48,0xfd,0x1f,0x3f,0x7e,0x1c,0xdd,0xdd,0x63,0xdf,0xc2,0x5b,0x96,0x6b,0x20,0x01,0xc8,0x04,0x22,0x19,0x0,0x67,0xce,0x9c,0x19,0x35,0x60,0x27,0xd6,0x1c,0x3e,0x74,0x78,0x98,0x01,0x17,0x9f,0x20,0x4d,0xc6,0xc6,0xe7,0x5e,0x8c,0x97,0x53,0x72,0xb8,0x33,0x18,0x87,0x0f,0x1f,0x89,0xab,0xef,0xe5,0xb3,0x70,0xce,0x71,0xf4,0xe8,0xb1,0xa4,0x09,0x20,0x09,0x40,0x82,0x89,0xc4,0xfc,0xed,0xe9,0xe9,0x49,0xe8,0x33,0x0d,0x57,0xde,0x48,0x41,0x31,0x19,0xd7,0x1e,0xc3,0xfc,0xce,0x78,0xaf,0xfd,0x87,0xd4,0x7f,0x04,0x16,0x40,0xa6,0xb6,0x47,0xd6,0x09,0x40,0x58,0x19,0x7b,0x66,0xe9,0xed,0xed,0x4b,0x6c,0x07,0x1c,0xa6,0xc3,0xcb,0x59,0x92,0x32,0x6c,0xb8,0xdf,0x99,0x68,0x01,0x88,0xa4,0xbc,0x4c,0x3d,0x14,0x94,0x75,0x02,0x10,0x51,0x12,0xc8,0x44,0x67,0xf0,0x1d,0xa6,0x3c,0x5f,0x48,0xce,0xde,0xf6,0x48,0x70,0xfd,0x47,0x52,0x9a,0x3f,0x43,0x93,0x87,0x66,0x9d,0x0,0xf4,0xb8,0xc7,0xde,0xf7,0x2d,0x28,0x2c,0x48,0xe8,0x33,0x15,0x14,0x0e,0x3d,0xae,0xda,0xed,0xce,0x8e,0xfc,0x74,0xc3,0xfd,0xce,0xfc,0x82,0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0x83,0x78,0xed,0x68,0x27,0x5e,0x3b,0xda,0x49,0x9d,0x93,0x04,0x80,0x88,0x06,0x6f,0x50,0xc6,0x86,0xbf,0x1c,0xc6,0x9c,0x0a,0x1b,0xae,0x9d,0x55,0x8c,0xb9,0x15,0x36,0x58,0xf4,0x1a,0xf8,0x42,0x32,0x8e,0x77,0xb8,0xf0,0xc6,0x31,0x3b,0xf6,0x9e,0xee,0x01,0xe7,0x54,0x57,0x24,0x0,0x44,0xc6,0x72,0xa8,0xd5,0x91,0x35,0xd9,0x87,0x88,0xa1,0x08,0x54,0x05,0x04,0x41,0x02,0x90,0x12,0x24,0x2a,0x11,0x24,0x41,0x10,0x29,0x26,0x0,0x4c,0x10,0x20,0x8a,0x64,0x90,0x10,0xd9,0x87,0x28,0x26,0xef,0xda,0xb1,0x94,0xf1,0x01,0x4c,0x9b,0x36,0x0d,0x4f,0xcd,0x5b,0x88,0x3d,0x4d,0x3d,0x78,0xe7,0x64,0x37,0x3e,0x3a,0xdb,0x9f,0x75,0x61,0x99,0x44,0xf6,0x61,0xd0,0x8a,0x98,0x39,0xa9,0x04,0xe8,0xe8,0xce,0x5e,0x01,0xd0,0xe9,0x74,0x98,0x77,0xc9,0x25,0xd0,0x6a,0x35,0xb8,0x7e,0x4e,0x29,0xae,0x9f,0x53,0x8a,0x60,0x58,0xc1,0x81,0xb3,0x0e,0xec,0x3c,0x69,0xc7,0xee,0xc6,0x1e,0x0a,0xda,0x20,0x32,0x06,0x9b,0x51,0x8b,0x2b,0x67,0x14,0x61,0xc5,0xb4,0x42,0xcc,0x2c,0xcb,0x01,0x38,0xc7,0x73,0xcf,0x9e,0x81,0xdb,0xed,0xce,0x4c,0x01,0x50,0xc1,0x20,0x8c,0x92,0x87,0x77,0xee,0xfc,0xf9,0x43,0xd2,0x63,0xe9,0x34,0x22,0x96,0xd4,0xe6,0x63,0x49,0x6d,0x3e,0xbe,0x75,0x55,0x18,0x2f,0x1f,0xea,0xc4,0xe6,0xdd,0xcd,0x59,0x75,0x52,0x8b,0xc8,0xbc,0x81,0x7f,0xd7,0x95,0xb5,0xb8,0x62,0x5a,0x21,0xb4,0xd2,0x67,0x96,0xbb,0x8c,0x61,0xee,0x82,0x05,0xd8,0xfd,0xce,0x3b,0x99,0xe9,0x03,0x68,0x09,0x1a,0xf1,0x57,0x47,0x39,0x0e,0xfa,0x6c,0x70,0x28,0x17,0x0e,0x74,0x5b,0x6e,0x2e,0xa6,0xcd,0x98,0x31,0xea,0xe7,0x2d,0x7a,0x0d,0xbe,0xba,0xa8,0x12,0x77,0xad,0xa8,0xa1,0x5e,0x44,0xa4,0x2d,0xff,0xe7,0x8b,0xb3,0x70,0x4d,0x5d,0xf1,0x85,0x83,0xff,0x3c,0x93,0x6b,0x6a,0x90,0x37,0xca,0x95,0x68,0xbd,0x8a,0x0e,0x3c,0x5d,0x05,0xc0,0xa1,0x68,0xe1,0x52,0x34,0x38,0xec,0xb7,0xe1,0x79,0x47,0x19,0x9e,0x75,0x54,0xe2,0x03,0x5f,0x3e,0xba,0x65,0x3d,0x16,0x2e,0x5e,0x1c,0xb1,0xf7,0xff,0x73,0xb3,0x4b,0x40,0xfb,0x04,0x44,0x3a,0x52,0x66,0x33,0x60,0x76,0xc5,0xe8,0xa1,0xd7,0x0b,0x16,0x2e,0xbc,0xc0,0x6a,0x6e,0x0d,0x19,0xb1,0xdb,0x53,0x80,0xff,0xe9,0xab,0xc4,0x0e,0x47,0x29,0x7c,0x6a,0xec,0x0d,0x76,0x29,0x51,0x02,0xf0,0x59,0xbc,0x8a,0x88,0x13,0x7e,0x0b,0x4e,0xf8,0x2d,0x38,0xf0,0x7c,0x0b,0x96,0x4e,0xf1,0x62,0xc5,0xb4,0xc2,0x31,0x63,0xd3,0x8d,0x5a,0x09,0x1a,0x49,0xa0,0xec,0x39,0x44,0xda,0x61,0x35,0x8e,0x7d,0xfa,0xb2,0xa8,0xa4,0x14,0x5e,0x73,0x05,0x0e,0x76,0x06,0xd0,0x1e,0x32,0x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8,0xaf,0x87,0x33,0xd6,0xef,0x61,0x11,0x63,0x2f,0x64,0x09,0x71,0xd1,0x59,0xa5,0xd8,0x29,0x57,0x2c,0x6e,0x85,0x21,0x88,0x44,0x63,0x35,0x4c,0xbc,0xdf,0xe6,0x88,0x69,0x6a,0x01,0x14,0x4a,0x01,0x34,0x22,0x36,0x61,0xbd,0x5b,0xef,0x5a,0x82,0x96,0x5e,0x2f,0x76,0x9e,0xe8,0xc6,0xdb,0x27,0xec,0x38,0xd7,0xe7,0xa3,0xde,0xf5,0x19,0xfc,0x61,0x05,0x8a,0x12,0xfd,0xda,0x56,0xaf,0x11,0x20,0x89,0x03,0x07,0xad,0xc6,0x73,0x26,0x42,0x2b,0x09,0x51,0xaf,0xcd,0x33,0x19,0x06,0xa0,0xae,0xdc,0x8a,0x2b,0xa6,0x15,0x62,0xe9,0x94,0x02,0x14,0x4f,0xf0,0x7a,0x39,0x1d,0x53,0xd3,0x57,0x0,0x0a,0xa4,0xd8,0x5e,0x2b,0x55,0x9d,0x6f,0x42,0xf5,0x32,0x13,0x56,0x2f,0x9b,0x34,0x28,0x06,0x7b,0x4f,0xf7,0x0e,0x59,0xa7,0x67,0x23,0x3f,0xfa,0xeb,0x11,0xec,0x3f,0x93,0xf8,0x8b,0x2e,0xbf,0x7a,0x69,0x25,0xee,0xbc,0xb2,0x36,0xab,0xeb,0x5e,0x14,0x18,0xe6,0x56,0xda,0x70,0x59,0x4d,0x3e,0x96,0x4d,0x29,0x88,0xc9,0x9d,0x92,0x9f,0x90,0x2f,0x05,0xe3,0xe2,0x5f,0x4a,0x88,0x0,0x58,0xc4,0x30,0x8c,0x82,0x1c,0xd5,0x79,0xe6,0x7e,0x6f,0x28,0x6a,0x31,0xe8,0x74,0x06,0xf0,0xde,0xa9,0x1e,0xec,0x3c,0xd9,0x4d,0x51,0x78,0x44,0x42,0x90,0x04,0x86,0x85,0x93,0xf2,0x70,0xc5,0xf4,0x42,0x2c,0x9e,0x9c,0x8f,0x1c,0x43,0x74,0xe7,0x0b,0x22,0xdd,0x26,0x2d,0xd1,0xc6,0xe7,0x4a,0xb3,0x84,0x08,0x0,0x03,0x50,0xa9,0xf5,0xe1,0x44,0x20,0x27,0xe2,0xcf,0x3c,0xf7,0x51,0x1b,0x96,0x4c,0xc9,0x8f,0x2a,0x86,0xbb,0xc4,0xaa,0xc7,0xcd,0x97,0x54,0xe0,0xe6,0x4b,0x2a,0x60,0x77,0x05,0xf0,0x6e,0xd3,0x79,0x31,0x68,0x77,0x52,0x4f,0x25,0x62,0x37,0x68,0x44,0x01,0x0b,0xab,0x73,0x71,0xc5,0xf4,0x42,0x5c,0x56,0x93,0x1f,0xf5,0xa1,0xa2,0x4f,0xf0,0x06,0xe5,0xc1,0xed,0xe6,0xb1,0xa8,0xd4,0xfa,0xd2,0x57,0x0,0x30,0x0e,0x01,0x38,0xd0,0xd2,0x8f,0xef,0xff,0xe9,0x63,0xdc,0xbe,0x7c,0x32,0xa6,0x97,0xe6,0x44,0x6d,0xfe,0x14,0xe5,0x7c,0x2a,0x06,0x1d,0x0e,0x7f,0xcc,0x4f,0x17,0x12,0xd9,0xc9,0x0d,0x73,0x4b,0xb1,0x76,0xf9,0xa4,0x09,0x39,0xa3,0x65,0x95,0x63,0xff,0x99,0x3e,0x6c,0x7a,0xe7,0x34,0xba,0x22,0xb8,0xac,0xd4,0x26,0x86,0x60,0x11,0xc2,0xe9,0x2d,0x0,0x45,0x9a,0x20,0x0c,0x82,0x02,0xbf,0x2a,0x46,0x25,0x02,0x07,0x5a,0xfa,0x51,0x60,0xd1,0x61,0xf9,0x94,0x02,0x2c,0x9b,0x5a,0x88,0x39,0x15,0xd6,0xa8,0x4f,0x76,0x95,0xda,0x0c,0xd4,0x73,0x89,0x98,0x30,0xb5,0x78,0x7c,0xce,0xec,0x90,0xac,0x62,0x5f,0x73,0x1f,0x76,0x37,0x0d,0xf8,0xab,0x3c,0x81,0xc8,0xb7,0xf4,0x26,0xeb,0xe2,0xe7,0xe8,0x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17,0x92,0x71,0x36,0xce,0x81,0x44,0xa2,0xc0,0x30,0xb3,0x2c,0x07,0xed,0xfd,0x7e,0x38,0x29,0xbf,0xe0,0x84,0x60,0x0,0xf2,0x2d,0xba,0x71,0xaf,0xc3,0xa3,0xe1,0x64,0xa7,0x7b,0xd4,0x23,0x6c,0x6d,0xfd,0x3e,0xec,0x6a,0xec,0xc1,0xee,0xc6,0x6e,0x34,0x9e,0x7f,0x6f,0xac,0x29,0xd7,0xfa,0x51,0x20,0x05,0x33,0x4b,0x0,0xac,0x62,0x18,0x93,0x74,0x5e,0x34,0x07,0x4d,0x71,0x2b,0x43,0x56,0x39,0x3e,0x6c,0xe9,0xc7,0x87,0x2d,0xfd,0x78,0xec,0xf5,0x93,0xa8,0x2b,0xb3,0x62,0xd9,0x94,0x02,0x2c,0x9f,0x5a,0x38,0x98,0xf4,0x31,0x10,0x56,0xf0,0xb3,0x97,0x4e,0xc4,0xfd,0xca,0x31,0xad,0x24,0xe0,0x17,0xb7,0x5e,0x32,0x68,0x6d,0x74,0x7b,0x82,0xe8,0x74,0x04,0xd0,0xe1,0xf4,0xa3,0xd3,0x19,0x40,0x87,0x63,0xe0,0xef,0x96,0x5e,0x2f,0x65,0x25,0x06,0x60,0xd0,0x88,0xa8,0xc8,0x33,0xa2,0xc4,0xaa,0x47,0xa9,0xcd,0x30,0xf0,0xb7,0xd5,0x80,0x12,0x9b,0x1e,0x45,0x16,0x3d,0x44,0x21,0x31,0xc7,0xad,0x4e,0xd9,0x3d,0xd8,0xb2,0xab,0x19,0x6b,0x97,0x4f,0x1a,0x74,0x3a,0x9f,0xb2,0x7b,0xb0,0xbb,0xb1,0x1b,0xbb,0x1b,0x7b,0xe2,0x92,0x1d,0xf8,0x62,0xb1,0x9b,0x6b,0x70,0xc4,0xfd,0x77,0x26,0xe5,0x38,0xd9,0x7c,0x63,0x3f,0xce,0x86,0x8c,0x50,0x78,0xfc,0x1b,0x93,0x73,0xe0,0x48,0x9b,0x13,0x47,0xda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,0xcd,0x88,0x7e,0x34,0xd7,0xe8,0x84,0x51,0x48,0x8c,0xc5,0x97,0xb4,0xe3,0x5b,0x22,0xe3,0x58,0x6e,0xee,0xc9,0xa8,0xbb,0xfe,0x9e,0xda,0x73,0x06,0xef,0x36,0xf5,0xd0,0x19,0x84,0x04,0x23,0xab,0x1c,0x7f,0xdc,0x77,0x0e,0x6f,0x1f,0xb7,0xa7,0xfd,0x6f,0x29,0x94,0x82,0x98,0xa9,0x4f,0x5c,0xe8,0xba,0x94,0xdc,0x1f,0x1b,0xc0,0x2c,0x83,0x13,0x87,0xfd,0xd6,0x8c,0xe8,0x88,0x81,0xb0,0x82,0x87,0xb7,0x1f,0x46,0x81,0x45,0x87,0x49,0xf9,0x26,0x94,0xda,0x0c,0x28,0xb5,0x19,0x50,0x66,0x1b,0x70,0x68,0x95,0x5a,0x0d,0x74,0x64,0x76,0x02,0x78,0x83,0x32,0x3a,0x1c,0x7e,0x74,0x38,0x07,0x96,0x42,0x9d,0x4e,0x3f,0x3a,0x1c,0x01,0x9c,0xee,0xce,0x8c,0x1b,0x9c,0x24,0xc6,0xb1,0xcc,0x92,0xd8,0x49,0x31,0xe9,0xf6,0xf7,0x5c,0x43,0x3f,0x3a,0xc2,0x7a,0xf4,0xca,0x99,0x93,0xde,0xb9,0xc7,0x1d,0x1c,0x31,0x15,0x78,0xbe,0x59,0x87,0x52,0xdb,0x80,0xc3,0xab,0xec,0xbc,0x40,0x7c,0xf2,0xff,0xd1,0x9e,0x24,0x1b,0xa9,0xec,0x64,0xd0,0xeb,0x8d,0xcd,0x91,0xef,0x5e,0x4f,0x10,0x1d,0xe7,0x1d,0xa1,0xed,0x0e,0xff,0xa0,0x23,0xb4,0xdd,0xe1,0xcf,0xf8,0x6b,0xda,0x16,0x99,0xfa,0xe2,0x16,0xf3,0x9f,0xb2,0x02,0x20,0x30,0xe0,0x4a,0x4b,0x37,0x5e,0x74,0x96,0x22,0xa0,0x66,0x7e,0x58,0x6f,0xaf,0x27,0x88,0x5e,0x4f,0x10,0x87,0x5b,0x87,0x9a,0x79,0x26,0x9d,0x74,0xde,0x52,0xd0,0x0f,0x8a,0x43,0xc9,0xf9,0xff,0x8e,0xc4,0x71,0x76,0xa2,0xd3,0x85,0xb3,0x7d,0xde,0xa4,0xfc,0xae,0xfd,0x67,0xfa,0xd0,0xef,0x0b,0x21,0x77,0x8c,0x68,0xcc,0x01,0x87,0x66,0x10,0x1d,0xce,0x81,0xc1,0xdd,0xe1,0xf0,0xa3,0xdd,0x11,0x40,0xe7,0xf9,0x01,0x9f,0xad,0x5b,0xa1,0xd3,0xf5,0x2e,0xd4,0xea,0x12,0x9f,0xcf,0x22,0x25,0x3c,0x70,0x46,0x41,0xc6,0x95,0x16,0x3b,0x5e,0x75,0x95,0x22,0x9b,0x0f,0xed,0x79,0x83,0x32,0x9a,0xba,0xdc,0x68,0x1a,0x26,0xb1,0x89,0x24,0x0a,0x83,0x5b,0x65,0x65,0x36,0x3d,0x4a,0xac,0x9f,0x2e,0x2f,0x04,0xc6,0x70,0xa4,0xdd,0x89,0xad,0xbb,0xcf,0x24,0xed,0x1e,0x16,0x97,0x3f,0x8c,0xef,0xff,0xf1,0x63,0xac,0x5e,0x36,0x09,0x93,0x0a,0x4c,0xf0,0x87,0x94,0xcf,0x0c,0xf2,0xc0,0xe0,0x6c,0xde,0xed,0x0e,0xa6,0x5d,0x36,0xde,0x78,0x53,0xa2,0x09,0x60,0xa1,0xa9,0x3f,0x29,0x65,0xa7,0x8c,0x0b,0xbe,0x50,0x0a,0x62,0x85,0xb9,0x0b,0x6f,0xbb,0x8b,0xc9,0x89,0x36,0xc2,0xcc,0xd9,0xda,0xe7,0x43,0x6b,0x0a,0xa7,0x40,0x3b,0xdd,0xed,0xc1,0xc3,0xdb,0x0f,0x53,0x63,0x45,0x41,0x9e,0x14,0xc2,0x95,0x96,0x2e,0x08,0x49,0xea,0xf5,0x29,0xe5,0x91,0xaa,0xd0,0xfa,0xb1,0xd8,0xd4,0x4b,0xbd,0x82,0xc8,0x0a,0x4c,0x82,0x8c,0x95,0x96,0x2e,0x68,0x58,0xf2,0xa6,0xbc,0x94,0x73,0x49,0x4f,0xd5,0xbb,0x51,0xa7,0xa7,0x0c,0x3e,0x44,0x66,0xa3,0x63,0x2a,0xae,0xb2,0x74,0x25,0x6c,0xbf,0x3f,0x6d,0x04,0x0,0x0,0x2e,0x31,0xf5,0x63,0x81,0xb1,0x9f,0x7a,0x09,0x91,0x91,0x18,0x04,0x05,0xd7,0x59,0x3b,0x60,0x93,0x92,0xbf,0xab,0x91,0xb2,0x61,0x78,0xb3,0x0c,0x4e,0x30,0x70,0x7c,0xe8,0xcb,0xa3,0x1e,0x43,0x64,0x0c,0x46,0x41,0xc6,0xb5,0x39,0x5d,0x71,0x49,0xf1,0x9d,0x51,0x02,0x0,0x0,0x75,0x06,0x17,0x18,0x80,0xfd,0xbe,0x5c,0x0,0x8c,0x7a,0x0f,0x91,0xd6,0x58,0x44,0x19,0xd7,0x58,0x3a,0x61,0x16,0x53,0xe7,0xaa,0xb2,0x91,0x04,0x40,0x01,0x52,0xe3,0x2e,0xaf,0x99,0x06,0x17,0xac,0x62,0x08,0x3b,0x3d,0xc5,0x08,0x73,0x12,0x01,0x22,0x3d,0x29,0xd5,0xf8,0x71,0xa5,0xa5,0x1b,0x12,0x4b,0x6e,0x9c,0x03,0xe7,0x5c,0x8e,0xc4,0x07,0xe0,0x49,0xa5,0xca,0x2b,0xd3,0x06,0x70,0x8d,0xa5,0x13,0x06,0x41,0xa1,0x9e,0x44,0xa4,0x1d,0xd5,0x3a,0x2f,0x56,0x5a,0xec,0x49,0x1f,0xfc,0x0,0xc0,0x18,0x73,0x8f,0x2d,0x0,0x17,0xbd,0x29,0x15,0x28,0xd0,0x04,0x71,0xa3,0xad,0x1d,0x25,0x9a,0x0,0xf5,0x28,0x22,0x2d,0x10,0x18,0x70,0x99,0xa9,0x07,0x57,0x98,0xbb,0x21,0xb2,0x14,0x89,0x6e,0xe1,0x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8,0x55,0x89,0x7a,0x27,0x11,0x37,0x18,0x80,0x49,0x3a,0x0f,0x2e,0x31,0xf6,0xa7,0xd3,0xf6,0xf4,0x89,0x8b,0x5f,0x18,0x7e,0x94,0x68,0x34,0x27,0xa1,0xa4,0xa7,0x49,0x5d,0xa1,0xf5,0xa1,0x4c,0xeb,0xc7,0xc9,0x80,0x05,0x1f,0xf9,0x72,0x29,0x78,0x88,0x88,0x39,0x85,0x52,0x10,0x8b,0x4c,0xbd,0xc8,0x93,0x42,0xe9,0xf5,0xe0,0x8c,0x9d,0xbc,0xf8,0xa5,0x61,0xa7,0xf9,0xb5,0x6b,0xd7,0xda,0x01,0x9c,0x4c,0xd7,0x06,0x12,0xc0,0x31,0x43,0xef,0xc2,0x8d,0xb6,0x36,0x4c,0xd1,0x79,0x28,0x88,0x98,0x88,0x09,0x26,0x41,0xc6,0x52,0x53,0x0f,0xae,0xb3,0x76,0xa4,0xdf,0xe0,0x07,0xc0,0x54,0x75,0x57,0x64,0x16,0xc0,0x80,0x89,0xf3,0x06,0x07,0xa6,0xa5,0x7b,0x83,0x2d,0x31,0xf7,0x60,0x8e,0xa1,0x1f,0x87,0x03,0xb9,0x68,0x0a,0x98,0x29,0xd9,0x08,0x11,0x35,0x46,0x41,0xc1,0x1c,0x43,0x3f,0x6a,0xf5,0xde,0xa4,0x25,0xee,0x88,0x01,0x5c,0x95,0xa4,0x37,0x23,0x16,0x0,0x15,0x78,0x83,0x01,0xdf,0xca,0x08,0xe5,0x16,0x15,0x5c,0x66,0xea,0xc1,0x54,0x9d,0x0b,0x87,0x02,0x36,0xb4,0x06,0x8d,0x24,0x04,0xc4,0x98,0xe8,0x05,0x15,0x33,0xf5,0x4e,0x4c,0xd7,0xbb,0x53,0x22,0x8c,0x77,0x82,0x1c,0x3a,0x6f,0xd9,0x47,0x26,0x0,0x5c,0x10,0xde,0x60,0xaa,0xaa,0x22,0x45,0x73,0x06,0x8c,0x87,0x3c,0x29,0x84,0x2b,0xcd,0x76,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90,0xc9,0x2a,0xc8,0x04,0x44,0xc6,0x51,0xa9,0xf1,0xa1,0x46,0xef,0x41,0x59,0x16,0x9d,0x21,0x51,0x18,0x9b,0x7d,0xc7,0x1d,0x77,0x1c,0x89,0xda,0x02,0x0,0x0,0x81,0xf3,0xa7,0x38,0x63,0x59,0x27,0x0,0x06,0xa6,0xa0,0x4e,0xef,0x44,0x9d,0xde,0x09,0x87,0xa2,0x45,0x73,0xd0,0x84,0x33,0x41,0x13,0xbc,0x14,0x61,0x98,0x6e,0x6b,0x5f,0x14,0x6b,0x02,0xa8,0xd1,0x79,0x50,0xa9,0xf5,0x26,0x35,0x05,0x77,0x92,0xf8,0x68,0xa4,0xc1,0x1f,0x91,0x0,0x34,0x9d,0x3d,0xfb,0xe7,0x29,0xd5,0xd5,0x47,0x38,0x30,0x2b,0x9b,0xcd,0xc5,0x05,0xc6,0x10,0x16,0x18,0xfb,0xe1,0x54,0x34,0x68,0x0d,0x19,0xd1,0x16,0x36,0xa2,0x3b,0xac,0xa3,0xed,0xc4,0x14,0x5d,0xd2,0x55,0x68,0xbd,0xa8,0xd6,0xfa,0x50,0xa2,0xf1,0x67,0x94,0x33,0x2f,0x6a,0x01,0xe4,0xfc,0xa7,0x63,0x09,0xe4,0x98,0x6c,0x6d,0x68,0xb8,0x83,0x01,0x0d,0xd4,0xb5,0x2e,0xc4,0xa9,0x68,0xd0,0x16,0x32,0xa2,0x3d,0x6c,0x80,0x3d,0xac,0x83,0x4a,0x5b,0x8a,0x49,0xc3,0x28,0xc8,0x28,0xd5,0x06,0x50,0xae,0xf1,0xa3,0x4c,0xe3,0xcf,0x84,0x7d,0xfb,0x58,0x70,0x52,0x67,0x32,0xd5,0xad,0x5a,0xb5,0x4a,0x19,0xb7,0x05,0x0,0x0,0xfe,0x50,0xe8,0x69,0x93,0x56,0xfb,0x20,0x07,0x26,0x51,0x9d,0x7e,0x8a,0x55,0x0c,0xc3,0x6a,0x70,0xa2,0xce,0xe0,0x84,0xcc,0x19,0xba,0xc2,0x7a,0xb4,0xcb,0x46,0x74,0x86,0xf4,0x70,0x29,0x1a,0xb2,0x0e,0xe2,0x39,0xcb,0x43,0x45,0x91,0x36,0x88,0x62,0xc9,0x8f,0x32,0x6d,0x0,0x36,0x31,0x44,0x95,0x32,0x74,0x76,0x7f,0x64,0xb4,0xc1,0x1f,0xb1,0x05,0x0,0x0,0x4f,0x35,0x34,0xdc,0xcd,0x81,0x47,0xa9,0x5a,0x23,0xc3,0xcf,0x45,0x74,0x85,0xf5,0xe8,0x3a,0x6f,0x1d,0x90,0x20,0x4c,0x0c,0x89,0xa9,0x28,0x90,0x42,0x28,0xd1,0x04,0x50,0x24,0xf9,0x51,0xa0,0x09,0xa5,0x73,0x58,0x6e,0x02,0x46,0x3f,0x6b,0xed,0x77,0xb9,0xa6,0xdc,0x73,0xcf,0x3d,0xc1,0x98,0x08,0xc0,0xb6,0x6d,0xdb,0xc4,0xa0,0xd7,0xbb,0x0f,0xc0,0x7c,0xaa,0xdd,0xe8,0x09,0x72,0x01,0xbd,0xb2,0x0e,0xdd,0x61,0x1d,0xba,0x65,0x3d,0xfa,0x64,0x2d,0x42,0x5c,0xa0,0x8a,0x19,0x06,0x91,0x71,0xe4,0x8a,0x21,0x14,0x48,0x41,0xe4,0x49,0x41,0xe4,0x4b,0x21,0x58,0x53,0xe4,0x22,0x8d,0x74,0x81,0x03,0xb7,0xac,0xad,0xaf,0xff,0x73,0x04,0x56,0x42,0xe4,0x3c,0xbd,0x65,0xcb,0x62,0x55,0x55,0xf7,0x20,0x83,0xc2,0x83,0x93,0x89,0x5b,0x95,0xe0,0x90,0xb5,0xe8,0x95,0xb5,0x70,0xc8,0x5a,0x38,0x54,0x2d,0x7c,0x8a,0x98,0x55,0xbe,0x04,0x2d,0x53,0x61,0x11,0x65,0xe4,0x8a,0x41,0xe4,0x4b,0x41,0x14,0x48,0x21,0x58,0xa5,0x30,0xcd,0xee,0x13,0x19,0xfc,0x8c,0x3d,0xbf,0xf6,0x8e,0x3b,0xbe,0x18,0xe1,0x32,0x21,0x3a,0xb6,0x36,0x34,0x6c,0x62,0xc0,0x3a,0xaa,0xe6,0xf8,0x11,0x52,0x05,0x38,0x55,0x2d,0x1c,0xb2,0x04,0x8f,0xaa,0x81,0x5b,0x91,0xe0,0x55,0x35,0x70,0x28,0x1a,0x28,0x69,0x18,0x9c,0x64,0x11,0x64,0x98,0xc4,0x30,0x2c,0xa2,0x02,0xb3,0x10,0x86,0x45,0x94,0x61,0x15,0x43,0x30,0x0b,0x72,0xea,0xa4,0xcb,0xce,0x1c,0x02,0xe7,0xf7,0xfd,0x4f,0x45,0xb4,0xb4,0x8a,0x7a,0x2d,0x26,0xcb,0x0f,0x28,0x1a,0xcd,0x97,0xc0,0x79,0x01,0xd5,0x75,0x9c,0x66,0x45,0x41,0x45,0xa1,0x10,0x40,0xe1,0x45,0xad,0xa3,0x82,0x9d,0x17,0x03,0x09,0x41,0x2e,0x22,0xa0,0x8a,0x08,0xaa,0x02,0x02,0xaa,0x88,0x0,0x1f,0xf8,0xef,0x20,0x17,0xe0,0x57,0xa5,0xb8,0x27,0x42,0x11,0xc0,0xa1,0x13,0x54,0xe8,0x98,0x02,0xbd,0xa0,0x42,0xcf,0x64,0xe8,0x05,0x15,0x5a,0xa6,0x40,0x2f,0x72,0x18,0x98,0x0c,0x1d,0x53,0x61,0x11,0xc3,0x74,0xa1,0x4b,0x62,0x79,0x24,0xd2,0xc1,0x3f,0x2e,0x0b,0xe0,0xfc,0x52,0xe0,0x2a,0x55,0x55,0x5f,0x45,0x8a,0x5c,0x1f,0x46,0x0c,0x45,0x05,0x43,0x50,0x15,0x20,0x73,0x86,0x10,0x17,0x10,0xe6,0x02,0x64,0x2e,0x40,0x86,0x80,0x70,0x84,0x3b,0x64,0x8c,0x01,0x5a,0xc6,0x21,0x41,0x81,0xc4,0x38,0x24,0xc6,0xa1,0x11,0x54,0x68,0xa1,0x42,0x27,0xd0,0x36,0x5b,0x0a,0xf2,0xea,0xa9,0x96,0x96,0xcf,0x8f,0x14,0xf6,0x1b,0x33,0x01,0x0,0x80,0x27,0x1b,0x1a,0x1e,0x06,0xf0,0x03,0xaa,0x73,0x82,0x48,0x09,0xda,0xb9,0x28,0x2e,0x18,0xee,0xcc,0xff,0xe8,0x96,0xdc,0x38,0x39,0xd5,0xd2,0xb2,0x81,0x31,0xf6,0x1a,0xd5,0x3b,0x41,0x24,0x1d,0x85,0x73,0x7e,0x5b,0xb4,0x83,0x7f,0x42,0x16,0x0,0x0,0x3c,0xb3,0x69,0x53,0x99,0x22,0x08,0xbb,0x29,0x40,0x88,0x20,0x92,0xca,0xbf,0xac,0xa9,0xaf,0x7f,0x64,0x3c,0x1f,0x9c,0xd0,0x76,0xde,0xad,0xeb,0xd7,0xb7,0x33,0xce,0xaf,0x01,0xd0,0x41,0x6d,0x40,0x10,0x89,0x87,0x03,0xff,0x36,0xde,0xc1,0x3f,0x61,0x0b,0xe0,0x13,0x9e,0x6a,0x68,0x98,0xc3,0x81,0xb7,0x01,0xe4,0x52,0x93,0x10,0x44,0xc2,0xd8,0xb4,0xfa,0x8e,0x3b,0xee,0x62,0x6c,0xfc,0x7b,0xa9,0x31,0x09,0xe8,0x59,0x5d,0x5f,0x7f,0x08,0xc0,0xd7,0x01,0xf8,0xa8,0x4d,0x08,0x22,0x21,0x3c,0xa7,0x33,0x99,0xfe,0x61,0x22,0x83,0x3f,0x66,0x02,0x0,0x0,0x6b,0xea,0xeb,0x5f,0x65,0xc0,0x12,0x0,0x6d,0xd4,0x36,0x04,0x11,0x57,0x7e,0xa5,0x33,0x99,0xbe,0xbc,0x6a,0xd5,0xaa,0x09,0x9f,0x80,0x8a,0x79,0xb4,0xc8,0xd6,0xad,0x5b,0x27,0x33,0x45,0x79,0x09,0x69,0x7e,0xa7,0x0,0x41,0xa4,0xe6,0x92,0x1f,0xf7,0x4f,0x64,0xcd,0x1f,0x37,0x0b,0xe0,0x13,0xd6,0xae,0x5d,0xdb,0x2c,0xa9,0xea,0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0x13,0x84,0x75,0xe0,0x7c,0x0a,0xf5,0x07,0x22,0x4b,0x08,0x32,0xe0,0x05,0x55,0x55,0x7f,0xb1,0x76,0xfd,0xfa,0x5d,0xc9,0x7a,0x88,0x94,0xca,0x2f,0xb5,0x79,0xf3,0xe6,0x59,0x22,0xe7,0x5f,0x03,0xb0,0x06,0x40,0x0d,0xf5,0x11,0x22,0xc3,0x08,0x73,0xc6,0x5e,0x06,0xe7,0x5b,0xf5,0x26,0xd3,0xf3,0xab,0x56,0xad,0x4a,0xfa,0xfd,0x64,0x29,0x99,0x60,0xee,0xcd,0x0d,0x1b,0xa4,0xd6,0xea,0xea,0xa5,0x9c,0xf3,0x6b,0x19,0x63,0xd7,0x82,0xb1,0xc5,0xe0,0x9c,0xee,0xe4,0x22,0xd2,0x91,0x0e,0x06,0xbc,0xc6,0x19,0x7b,0x4d,0xe6,0xfc,0x95,0xfa,0xfa,0xfa,0xce,0x54,0x7a,0xb8,0xb4,0xc8,0x30,0xf9,0xd4,0x53,0x4f,0xe5,0xa8,0xe1,0xf0,0xe5,0x60,0x6c,0x36,0x38,0x9f,0x2e,0x70,0x3e,0x93,0x33,0x36,0x03,0x74,0xfa,0x90,0x48,0x99,0x91,0xc4,0x64,0x70,0xde,0xcc,0x81,0xa3,0x02,0xe7,0x27,0x38,0x70,0x5c,0x11,0x84,0xf7,0x47,0xbb,0x97,0x8f,0x04,0x20,0x06,0xfe,0x03,0x8f,0x46,0xa3,0xd5,0x01,0x16,0xce,0x98,0x89,0x31,0xa6,0xa5,0x9e,0x48,0x24,0x0a,0x55,0x96,0x9d,0x5c,0xab,0x0d,0x89,0xa2,0xe8,0xd6,0x68,0x34,0xde,0x58,0x1c,0xce,0x21,0x08,0x82,0x20,0x08,0x82,0x20,0x08,0x82,0x88,0x23,0xff,0x1f,0x03,0x13,0x3a,0x12,0x64,0x41,0x40,0x31,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82 +static const unsigned char app_icon_png[] = { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, + 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x40, + 0x08, 0x06, 0x00, 0x00, 0x00, 0xaa, 0x69, 0x71, 0xde, 0x00, 0x00, 0x00, + 0x04, 0x73, 0x42, 0x49, 0x54, 0x08, 0x08, 0x08, 0x08, 0x7c, 0x08, 0x64, + 0x88, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, + 0xdd, 0x00, 0x00, 0x00, 0xdd, 0x01, 0x70, 0x53, 0xa2, 0x07, 0x00, 0x00, + 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, + 0x72, 0x65, 0x00, 0x77, 0x77, 0x77, 0x2e, 0x69, 0x6e, 0x6b, 0x73, 0x63, + 0x61, 0x70, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x9b, 0xee, 0x3c, 0x1a, 0x00, + 0x00, 0x0b, 0xe0, 0x49, 0x44, 0x41, 0x54, 0x78, 0x9c, 0xed, 0x9b, 0x7b, + 0x74, 0xd4, 0xd7, 0x71, 0xc7, 0x3f, 0x77, 0x57, 0x2b, 0xed, 0x4a, 0xbb, + 0x7a, 0x20, 0xb4, 0x12, 0x12, 0x7e, 0x80, 0x1e, 0x08, 0xb0, 0x31, 0x36, + 0x9c, 0x02, 0xb5, 0x63, 0xd0, 0x0a, 0x24, 0x70, 0x93, 0xda, 0x24, 0x81, + 0xf8, 0x1c, 0xc7, 0x39, 0xf5, 0x49, 0x6d, 0x62, 0x37, 0x07, 0x6c, 0x04, + 0xd8, 0x75, 0x82, 0xab, 0xc4, 0x75, 0x4a, 0x8c, 0x54, 0x3b, 0xad, 0xc3, + 0x69, 0x4c, 0xeb, 0xe4, 0x70, 0xda, 0xb4, 0x91, 0x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e, 0x9c, 0x03, 0x44, 0xc9, 0xc5, 0x70, 0xc9, 0x0a, 0x9b, 0x03, 0x3c, + 0x9a, 0x4a, 0x08, 0x97, 0xac, 0xd1, 0x61, 0x98, 0x14, 0x36, 0x49, 0x01, + 0xa9, 0x22, 0x2a, 0xaf, 0xa8, 0x3c, 0x3b, 0x10, 0xcb, 0x92, 0xc2, 0x72, + 0x73, 0x5e, 0x71, 0xc5, 0x2f, 0x14, 0xb2, 0x33, 0x5c, 0x4a, 0x8d, 0x06, + 0x85, 0xec, 0xcc, 0x2f, 0x2a, 0x7f, 0x79, 0x49, 0x61, 0xb9, 0x39, 0x10, + 0x5f, 0x5e, 0x51, 0x79, 0x36, 0x12, 0x38, 0x34, 0x07, 0x24, 0xe6, 0x15, + 0x97, 0xff, 0x8d, 0x12, 0x79, 0x0e, 0xd4, 0x6b, 0xee, 0x08, 0xcf, 0x8f, + 0x0f, 0x3e, 0xb9, 0xb4, 0x71, 0x24, 0x7d, 0xd9, 0x8b, 0x87, 0x32, 0x0d, + 0x06, 0x79, 0x03, 0x64, 0x4e, 0xf0, 0xea, 0x87, 0x13, 0xea, 0xa4, 0xa6, + 0xa9, 0x6f, 0xbf, 0xbf, 0x69, 0x71, 0xe5, 0xc8, 0xd1, 0xdc, 0x97, 0x0f, + 0x24, 0x1b, 0x3d, 0xc6, 0x17, 0x94, 0xc8, 0x23, 0xa2, 0xd4, 0x4f, 0x4b, + 0x0b, 0x72, 0x7e, 0xe2, 0x57, 0x82, 0x3f, 0x42, 0xfe, 0xd6, 0xb2, 0xfb, + 0x51, 0xec, 0x02, 0x75, 0x79, 0x95, 0x74, 0x0a, 0xb2, 0xa9, 0xb4, 0x20, + 0x67, 0x3b, 0x4a, 0x49, 0xfe, 0xd6, 0xf2, 0xa5, 0x28, 0x4a, 0x80, 0x09, + 0x5c, 0xfa, 0xba, 0x68, 0x57, 0x4a, 0x56, 0xed, 0x2b, 0x70, 0x1c, 0x44, + 0x44, 0x2d, 0xff, 0xf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, 0x11, 0xd7, 0xee, 0xc3, 0xc9, 0xc2, 0x92, 0x48, + 0xa7, 0xd5, 0x7e, 0x87, 0x86, 0xcc, 0x42, 0xc9, 0x0c, 0x25, 0x6a, 0x3a, + 0x8a, 0x54, 0x84, 0x24, 0x50, 0x76, 0x10, 0xc5, 0x95, 0x46, 0xeb, 0x76, + 0x50, 0x02, 0xd2, 0x04, 0xaa, 0x09, 0xa4, 0x01, 0xd4, 0x97, 0x28, 0xed, + 0x8c, 0xa6, 0xd4, 0x67, 0x6d, 0x31, 0xb6, 0x13, 0xa1, 0x2c, 0xef, 0x1b, + 0xb8, 0x81, 0x1b, 0x18, 0x15, 0xff, 0x0b, 0x12, 0x38, 0x4d, 0x79, 0xd2, + 0x8f, 0xa8, 0xd2, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, + 0x42, 0x60, 0x82 }; static const Color boot_splash_bg_color = Color(224/255.0,224/255.0,224/255.0); diff --git a/methods.py b/methods.py index 7128b334ec..74c282b8cf 100755 --- a/methods.py +++ b/methods.py @@ -1326,7 +1326,9 @@ def android_add_aidl_dir(self,subpath): def android_add_jni_dir(self,subpath): base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+subpath self.android_jni_dirs.append(base_path) - +def android_add_default_config(self,config): + self.android_default_config.append(config) + def android_add_to_manifest(self,file): base_path = self.Dir(".").abspath+"/modules/"+self.current_module+"/"+file f = open(base_path,"rb") diff --git a/modules/gdscript/gd_compiler.cpp b/modules/gdscript/gd_compiler.cpp index 7481eac620..304ed6b100 100644 --- a/modules/gdscript/gd_compiler.cpp +++ b/modules/gdscript/gd_compiler.cpp @@ -460,7 +460,6 @@ int GDCompiler::_parse_expression(CodeGen& codegen,const GDParser::Node *p_expre const GDParser::Node *instance = on->arguments[0]; - bool in_static=false; if (instance->type==GDParser::Node::TYPE_SELF) { //room for optimization @@ -550,17 +549,25 @@ int GDCompiler::_parse_expression(CodeGen& codegen,const GDParser::Node *p_expre int index; if (named) { -#ifdef DEBUG_ENABLED if (on->arguments[0]->type==GDParser::Node::TYPE_SELF && codegen.script && codegen.function_node && !codegen.function_node->_static) { - const Map<StringName,GDScript::MemberInfo>::Element *MI = codegen.script->member_indices.find(static_cast<GDParser::IdentifierNode*>(on->arguments[1])->name); + GDParser::IdentifierNode* identifier = static_cast<GDParser::IdentifierNode*>(on->arguments[1]); + const Map<StringName,GDScript::MemberInfo>::Element *MI = codegen.script->member_indices.find(identifier->name); + +#ifdef DEBUG_ENABLED if (MI && MI->get().getter==codegen.function_node->name) { String n = static_cast<GDParser::IdentifierNode*>(on->arguments[1])->name; _set_error("Must use '"+n+"' instead of 'self."+n+"' in getter.",on); return -1; } - } #endif + + if (MI && MI->get().getter=="") { + // Faster than indexing self (as if no self. had been used) + return (MI->get().index)|(GDFunction::ADDR_TYPE_MEMBER<<GDFunction::ADDR_BITS); + } + } + index=codegen.get_name_map_pos(static_cast<GDParser::IdentifierNode*>(on->arguments[1])->name); } else { @@ -763,8 +770,6 @@ int GDCompiler::_parse_expression(CodeGen& codegen,const GDParser::Node *p_expre Vector<int> setchain; - int prev_key_idx=-1; - for(List<GDParser::OperatorNode*>::Element *E=chain.back();E;E=E->prev()) { @@ -814,7 +819,6 @@ int GDCompiler::_parse_expression(CodeGen& codegen,const GDParser::Node *p_expre setchain.push_back(named ? GDFunction::OPCODE_SET_NAMED : GDFunction::OPCODE_SET); prev_pos=dst_pos; - prev_key_idx=key_idx; } @@ -1203,7 +1207,6 @@ Error GDCompiler::_parse_function(GDScript *p_script,const GDParser::ClassNode * if (p_func) { for(int i=0;i<p_func->arguments.size();i++) { - int idx = i; codegen.add_stack_identifier(p_func->arguments[i],i); #ifdef TOOLS_ENABLED argnames.push_back(p_func->arguments[i]); @@ -1441,7 +1444,6 @@ Error GDCompiler::_parse_class(GDScript *p_script, GDScript *p_owner, const GDPa p_script->name=p_class->name; - int index_from=0; Ref<GDNativeClass> native; if (p_class->extends_used) { @@ -1497,7 +1499,8 @@ Error GDCompiler::_parse_class(GDScript *p_script, GDScript *p_owner, const GDPa String sub = p_class->extends_class[i]; if (script->subclasses.has(sub)) { - script=script->subclasses[sub]; + Ref<Script> subclass = script->subclasses[sub]; //avoid reference from dissapearing + script=subclass; } else { _set_error("Could not find subclass: "+sub,p_class); @@ -1683,6 +1686,7 @@ Error GDCompiler::_parse_class(GDScript *p_script, GDScript *p_owner, const GDPa if (err) return err; + p_script->constants.insert(name,subclass); //once parsed, goes to the list of constants p_script->subclasses.insert(name,subclass); diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index b1da7e782c..520a8b18d8 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -212,7 +212,7 @@ String GDScriptLanguage::debug_get_stack_level_source(int p_level) const { ERR_FAIL_INDEX_V(p_level,_debug_call_stack_pos,""); int l = _debug_call_stack_pos - p_level -1; - return _call_stack[l].function->get_script()->get_path(); + return _call_stack[l].function->get_source(); } void GDScriptLanguage::debug_get_stack_level_locals(int p_level,List<String> *p_locals, List<Variant> *p_values, int p_max_subitems,int p_max_depth) { @@ -449,57 +449,21 @@ static Ref<Reference> _get_parent_class(GDCompletionContext& context) { } String base=context._class->extends_class[0]; - const GDParser::ClassNode *p = context._class->owner; - Ref<GDScript> base_class; -#if 0 - while(p) { - - if (p->subclasses.has(base)) { - - base_class=p->subclasses[base]; - break; - } - p=p->_owner; - } -#endif - if (base_class.is_valid()) { -#if 0 - for(int i=1;i<context._class->extends_class.size();i++) { - - String subclass=context._class->extends_class[i]; - - if (base_class->subclasses.has(subclass)) { - - base_class=base_class->subclasses[subclass]; - } else { - - //print_line("Could not find subclass: "+subclass); - return _get_type_from_class(context); //fail please - } - } - - script=base_class; -#endif - - } else { - - if (context._class->extends_class.size()>1) { - return REF(); + if (context._class->extends_class.size()>1) { + return REF(); - } - //if not found, try engine classes - if (!GDScriptLanguage::get_singleton()->get_global_map().has(base)) { - - return REF(); - } + } + //if not found, try engine classes + if (!GDScriptLanguage::get_singleton()->get_global_map().has(base)) { - int base_idx = GDScriptLanguage::get_singleton()->get_global_map()[base]; - native = GDScriptLanguage::get_singleton()->get_global_array()[base_idx]; - return native; + return REF(); } + int base_idx = GDScriptLanguage::get_singleton()->get_global_map()[base]; + native = GDScriptLanguage::get_singleton()->get_global_array()[base_idx]; + return native; } @@ -2100,10 +2064,8 @@ static void _find_call_arguments(GDCompletionContext& context,const GDParser::No } Error GDScriptLanguage::complete_code(const String& p_code, const String& p_base_path, Object*p_owner, List<String>* r_options, String &r_call_hint) { - //print_line( p_code.replace(String::chr(0xFFFF),"<cursor>")); GDParser p; - //Error parse(const String& p_code, const String& p_base_path="", bool p_just_validate=false,const String& p_self_path="",bool p_for_completion=false); Error err = p.parse(p_code,p_base_path,false,"",true); bool isfunction=false; @@ -2204,7 +2166,6 @@ Error GDScriptLanguage::complete_code(const String& p_code, const String& p_base if (code!="") { //if there is code, parse it. This way is slower but updates in real-time GDParser p; - //Error parse(const String& p_code, const String& p_base_path="", bool p_just_validate=false,const String& p_self_path="",bool p_for_completion=false); Error err = p.parse(scr->get_source_code(),scr->get_path().get_base_dir(),true,"",false); diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index 6e52686de4..de86eb2ab9 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -846,6 +846,8 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a gdfs->state._class=_class; gdfs->state.ip=ip+ipofs; gdfs->state.line=line; + gdfs->state.instance_id=(p_instance && p_instance->get_owner())?p_instance->get_owner()->get_instance_ID():0; + gdfs->state.script_id=_class->get_instance_ID(); //gdfs->state.result_pos=ip+ipofs-1; gdfs->state.defarg=defarg; gdfs->state.instance=p_instance; @@ -1352,6 +1354,18 @@ GDFunction::~GDFunction() { Variant GDFunctionState::_signal_callback(const Variant** p_args, int p_argcount, Variant::CallError& r_error) { +#ifdef DEBUG_ENABLED + if (state.instance_id && !ObjectDB::get_instance(state.instance_id)) { + ERR_EXPLAIN("Resumed after yield, but class instance is gone"); + ERR_FAIL_V(Variant()); + } + + if (state.script_id && !ObjectDB::get_instance(state.script_id)) { + ERR_EXPLAIN("Resumed after yield, but script is gone"); + ERR_FAIL_V(Variant()); + } +#endif + Variant arg; r_error.error=Variant::CallError::CALL_OK; @@ -1398,6 +1412,17 @@ bool GDFunctionState::is_valid() const { Variant GDFunctionState::resume(const Variant& p_arg) { ERR_FAIL_COND_V(!function,Variant()); +#ifdef DEBUG_ENABLED + if (state.instance_id && !ObjectDB::get_instance(state.instance_id)) { + ERR_EXPLAIN("Resumed after yield, but class instance is gone"); + ERR_FAIL_V(Variant()); + } + + if (state.script_id && !ObjectDB::get_instance(state.script_id)) { + ERR_EXPLAIN("Resumed after yield, but script is gone"); + ERR_FAIL_V(Variant()); + } +#endif state.result=p_arg; Variant::CallError err; diff --git a/modules/gdscript/gd_function.h b/modules/gdscript/gd_function.h index 1f790eaadc..e09c6509dd 100644 --- a/modules/gdscript/gd_function.h +++ b/modules/gdscript/gd_function.h @@ -136,6 +136,9 @@ public: struct CallState { + ObjectID instance_id; //by debug only + ObjectID script_id; + GDInstance *instance; Vector<uint8_t> stack; int stack_size; @@ -160,6 +163,7 @@ public: int get_default_argument_count() const; int get_default_argument_addr(int p_idx) const; GDScript *get_script() const { return _script; } + StringName get_source() const { return source; } void debug_get_stack_member_state(int p_line,List<Pair<StringName,int> > *r_stackvars) const; diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp index ec66841662..b9815a5efd 100644 --- a/modules/gdscript/gd_functions.cpp +++ b/modules/gdscript/gd_functions.cpp @@ -502,7 +502,6 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va Ref<FuncRef> fr = memnew( FuncRef); - Object *obj = *p_args[0]; fr->set_instance(*p_args[0]); fr->set_function(*p_args[1]); diff --git a/modules/gdscript/gd_parser.cpp b/modules/gdscript/gd_parser.cpp index 3ef42f81a4..e87bd99e4f 100644 --- a/modules/gdscript/gd_parser.cpp +++ b/modules/gdscript/gd_parser.cpp @@ -31,6 +31,7 @@ #include "io/resource_loader.h" #include "os/file_access.h" #include "script_language.h" +#include "gd_script.h" template<class T> T* GDParser::alloc_node() { @@ -216,7 +217,7 @@ bool GDParser::_get_completable_identifier(CompletionType p_type,StringName& ide } -GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_allow_assign) { +GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_allow_assign,bool p_parsing_constant) { // Vector<Node*> expressions; // Vector<OperatorNode::Operator> operators; @@ -243,7 +244,7 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ //subexpression () tokenizer->advance(); parenthesis++; - Node* subexpr = _parse_expression(p_parent,p_static); + Node* subexpr = _parse_expression(p_parent,p_static,p_allow_assign,p_parsing_constant); parenthesis--; if (!subexpr) return NULL; @@ -477,20 +478,30 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ } else if (tokenizer->get_token()==GDTokenizer::TK_IDENTIFIER) { //identifier (reference) - const ClassNode* cln = static_cast<const ClassNode*>(get_parse_tree()); + const ClassNode* cln = current_class; bool bfn = false; StringName identifier; if (_get_completable_identifier(COMPLETION_IDENTIFIER,identifier)) { } - for( int i=0; i<cln->constant_expressions.size(); ++i ) { + if (p_parsing_constant) { + for( int i=0; i<cln->constant_expressions.size(); ++i ) { - if( cln->constant_expressions[i].identifier == identifier ) { + if( cln->constant_expressions[i].identifier == identifier ) { - expr = cln->constant_expressions[i].expression; - bfn = true; - break; + expr = cln->constant_expressions[i].expression; + bfn = true; + break; + } + } + + if (GDScriptLanguage::get_singleton()->get_global_map().has(identifier)) { + //check from constants + ConstantNode *constant = alloc_node<ConstantNode>(); + constant->value = GDScriptLanguage::get_singleton()->get_global_array()[ GDScriptLanguage::get_singleton()->get_global_map()[identifier] ]; + expr=constant; + bfn = true; } } @@ -503,8 +514,7 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ } else if (/*tokenizer->get_token()==GDTokenizer::TK_OP_ADD ||*/ tokenizer->get_token()==GDTokenizer::TK_OP_SUB || tokenizer->get_token()==GDTokenizer::TK_OP_NOT || tokenizer->get_token()==GDTokenizer::TK_OP_BIT_INVERT) { //single prefix operators like !expr -expr ++expr --expr - OperatorNode *op = alloc_node<OperatorNode>(); - + alloc_node<OperatorNode>(); Expression e; e.is_op=true; @@ -567,7 +577,7 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ _set_error("',' or ']' expected"); return NULL; } - Node *n = _parse_expression(arr,p_static); + Node *n = _parse_expression(arr,p_static,p_allow_assign,p_parsing_constant); if (!n) return NULL; arr->elements.push_back(n); @@ -674,7 +684,7 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ expecting=DICT_EXPECT_VALUE; } else { //python/js style more flexible - key = _parse_expression(dict,p_static); + key = _parse_expression(dict,p_static,p_allow_assign,p_parsing_constant); if (!key) return NULL; expecting=DICT_EXPECT_COLON; @@ -682,7 +692,7 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ } if (expecting==DICT_EXPECT_VALUE) { - Node *value = _parse_expression(dict,p_static); + Node *value = _parse_expression(dict,p_static,p_allow_assign,p_parsing_constant); if (!value) return NULL; expecting=DICT_EXPECT_COMMA; @@ -833,7 +843,7 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ tokenizer->advance(1); - Node *subexpr = _parse_expression(op,p_static); + Node *subexpr = _parse_expression(op,p_static,p_allow_assign,p_parsing_constant); if (!subexpr) { return NULL; } @@ -1432,7 +1442,7 @@ GDParser::Node* GDParser::_reduce_expression(Node *p_node,bool p_to_const) { GDParser::Node* GDParser::_parse_and_reduce_expression(Node *p_parent,bool p_static,bool p_reduce_const,bool p_allow_assign) { - Node* expr=_parse_expression(p_parent,p_static,p_allow_assign); + Node* expr=_parse_expression(p_parent,p_static,p_allow_assign,p_reduce_const); if (!expr || error_set) return NULL; expr = _reduce_expression(expr,p_reduce_const); diff --git a/modules/gdscript/gd_parser.h b/modules/gdscript/gd_parser.h index 6c49c1df52..4afc534a8c 100644 --- a/modules/gdscript/gd_parser.h +++ b/modules/gdscript/gd_parser.h @@ -435,7 +435,7 @@ private: bool _parse_arguments(Node* p_parent, Vector<Node*>& p_args, bool p_static, bool p_can_codecomplete=false); bool _enter_indent_block(BlockNode *p_block=NULL); bool _parse_newline(); - Node* _parse_expression(Node *p_parent,bool p_static,bool p_allow_assign=false); + Node* _parse_expression(Node *p_parent, bool p_static, bool p_allow_assign=false, bool p_parsing_constant=false); Node* _reduce_expression(Node *p_node,bool p_to_const=false); Node* _parse_and_reduce_expression(Node *p_parent,bool p_static,bool p_reduce_const=false,bool p_allow_assign=false); diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index e37a2ca155..d9783c218a 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -874,6 +874,10 @@ GDScript::~GDScript() { memdelete( E->get() ); } + for (Map<StringName,Ref<GDScript> >::Element *E=subclasses.front();E;E=E->next()) { + E->get()->_owner=NULL; //bye, you are no longer owned cause I died + } + #ifdef DEBUG_ENABLED if (GDScriptLanguage::get_singleton()->lock) { GDScriptLanguage::get_singleton()->lock->lock(); @@ -960,11 +964,16 @@ bool GDInstance::get(const StringName& p_name, Variant &r_ret) const { } { - const Map<StringName,Variant>::Element *E = script->constants.find(p_name); - if (E) { - r_ret=E->get(); - return true; //index found + const GDScript *sl = sptr; + while(sl) { + const Map<StringName,Variant>::Element *E = sl->constants.find(p_name); + if (E) { + r_ret=E->get(); + return true; //index found + + } + sl=sl->_base; } } diff --git a/modules/gdscript/gd_script.h b/modules/gdscript/gd_script.h index 166e29ad70..723761c3a9 100644 --- a/modules/gdscript/gd_script.h +++ b/modules/gdscript/gd_script.h @@ -202,6 +202,8 @@ friend class GDCompiler; public: + _FORCE_INLINE_ Object* get_owner() { return owner; } + virtual bool set(const StringName& p_name, const Variant& p_value); virtual bool get(const StringName& p_name, Variant &r_ret) const; virtual void get_property_list(List<PropertyInfo> *p_properties) const; diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp index 0a77b96569..93863c4eb2 100644 --- a/modules/gdscript/gd_tokenizer.cpp +++ b/modules/gdscript/gd_tokenizer.cpp @@ -1156,7 +1156,6 @@ Vector<uint8_t> GDTokenizerBuffer::parse_code_string(const String& p_code) { GDTokenizerText tt; tt.set_code(p_code); int line=-1; - int col=0; while(true) { diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index 5e30416641..37a3fb2b25 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -912,7 +912,6 @@ void GridMap::_octant_bake(const OctantKey &p_key, const Ref<TriangleMesh>& p_tm int lc = p_lights.size(); const BakeLight* bl = p_lights.ptr(); float ofs = cell_size*0.02; - float att = 0.2; for(;V;V=V->next()) { diff --git a/modules/ik/ik.cpp b/modules/ik/ik.cpp index 172e16459e..35b3ba7e83 100644 --- a/modules/ik/ik.cpp +++ b/modules/ik/ik.cpp @@ -241,7 +241,7 @@ void InverseKinematics::_notification(int p_what) } } break; case NOTIFICATION_PROCESS: { - float delta = get_process_delta_time(); + Spatial *sksp = skel->cast_to<Spatial>(); if (!bound) break; diff --git a/platform/android/SCsub b/platform/android/SCsub index 9fcf73972f..60bb4bd613 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -79,6 +79,11 @@ for x in env.android_jni_dirs: gradle_asset_dirs_text="" +gradle_default_config_text="" + +for x in env.android_default_config: + gradle_default_config_text+=x+"\n\t\t" + gradle_text = gradle_text.replace("$$GRADLE_REPOSITORY_URLS$$",gradle_maven_repos_text) gradle_text = gradle_text.replace("$$GRADLE_DEPENDENCIES$$",gradle_maven_dependencies_text) gradle_text = gradle_text.replace("$$GRADLE_JAVA_DIRS$$",gradle_java_dirs_text) @@ -86,6 +91,7 @@ gradle_text = gradle_text.replace("$$GRADLE_RES_DIRS$$",gradle_res_dirs_text) gradle_text = gradle_text.replace("$$GRADLE_ASSET_DIRS$$",gradle_asset_dirs_text) gradle_text = gradle_text.replace("$$GRADLE_AIDL_DIRS$$",gradle_aidl_dirs_text) gradle_text = gradle_text.replace("$$GRADLE_JNI_DIRS$$",gradle_jni_dirs_text) +gradle_text = gradle_text.replace("$$GRADLE_DEFAULT_CONFIG$$",gradle_default_config_text) gradle_baseout.write( gradle_text ) diff --git a/platform/android/build.gradle.template b/platform/android/build.gradle.template index d7bc615e37..24951b921b 100644 --- a/platform/android/build.gradle.template +++ b/platform/android/build.gradle.template @@ -39,6 +39,7 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 23 + $$GRADLE_DEFAULT_CONFIG$$ } // Both signing and zip-aligning will be done at export time buildTypes.all { buildType -> diff --git a/platform/android/java_glue.cpp b/platform/android/java_glue.cpp index 5fd2ab8910..45d02876ba 100644 --- a/platform/android/java_glue.cpp +++ b/platform/android/java_glue.cpp @@ -238,6 +238,10 @@ String _get_class_name(JNIEnv * env, jclass cls, bool* array) { Variant _jobject_to_variant(JNIEnv * env, jobject obj) { + if (obj == NULL) { + return Variant(); + } + jclass c = env->GetObjectClass(obj); bool array; String name = _get_class_name(env, c, &array); @@ -259,8 +263,7 @@ Variant _jobject_to_variant(JNIEnv * env, jobject obj) { for (int i=0; i<stringCount; i++) { jstring string = (jstring) env->GetObjectArrayElement(arr, i); - const char *rawString = env->GetStringUTFChars(string, 0); - sarr.push_back(String(rawString)); + sarr.push_back(String::utf8(env->GetStringUTFChars(string, NULL))); env->DeleteLocalRef(string); } @@ -506,7 +509,7 @@ public: } break; case Variant::BOOL: { - ret = env->CallBooleanMethodA(instance,E->get().method,v); + ret = env->CallBooleanMethodA(instance,E->get().method,v)==JNI_TRUE; //print_line("call bool"); } break; case Variant::INT: { @@ -521,8 +524,7 @@ public: case Variant::STRING: { jobject o = env->CallObjectMethodA(instance,E->get().method,v); - String str = env->GetStringUTFChars((jstring)o, NULL ); - ret=str; + ret = String::utf8(env->GetStringUTFChars((jstring)o, NULL)); env->DeleteLocalRef(o); } break; case Variant::STRING_ARRAY: { diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 4e6dfb2db2..13cdf2a020 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -708,8 +708,33 @@ void OS_Android::set_need_reload_hooks(bool p_needs_them) { String OS_Android::get_data_dir() const { - if (get_data_dir_func) - return get_data_dir_func(); + if (data_dir_cache!=String()) + return data_dir_cache; + + if (get_data_dir_func) { + String data_dir=get_data_dir_func(); + + //store current dir + char real_current_dir_name[2048]; + getcwd(real_current_dir_name,2048); + + //go to data dir + chdir(data_dir.utf8().get_data()); + + //get actual data dir, so we resolve potential symlink (Android 6.0+ seems to use symlink) + char data_current_dir_name[2048]; + getcwd(data_current_dir_name,2048); + + //cache by parsing utf8 + data_dir_cache.parse_utf8(data_current_dir_name); + + //restore original dir so we don't mess things up + chdir(real_current_dir_name); + + return data_dir_cache; + } + + return "."; //return Globals::get_singleton()->get_singleton_object("GodotOS")->call("get_data_dir"); }; diff --git a/platform/android/os_android.h b/platform/android/os_android.h index 843b3c4788..e82e08ea49 100644 --- a/platform/android/os_android.h +++ b/platform/android/os_android.h @@ -123,6 +123,8 @@ private: PhysicsServer *physics_server; Physics2DServer *physics_2d_server; + mutable String data_dir_cache; + #if 0 AudioDriverAndroid audio_driver_android; #else diff --git a/platform/bb10/export/export.cpp b/platform/bb10/export/export.cpp index 7cb0aa3607..14d87aef41 100644 --- a/platform/bb10/export/export.cpp +++ b/platform/bb10/export/export.cpp @@ -714,7 +714,6 @@ Error EditorExportPlatformBB10::run(int p_device, int p_flags) { args.push_back("-installApp"); args.push_back("-launchApp"); args.push_back("-device"); - int idx = devices[p_device].index; String host = EditorSettings::get_singleton()->get("blackberry/device_"+itos(p_device+1)+"/host"); String pass = EditorSettings::get_singleton()->get("blackberry/device_"+itos(p_device+1)+"/password"); args.push_back(host); diff --git a/platform/haiku/context_gl_haiku.cpp b/platform/haiku/context_gl_haiku.cpp index 2fedd1532a..bf890d14bf 100644 --- a/platform/haiku/context_gl_haiku.cpp +++ b/platform/haiku/context_gl_haiku.cpp @@ -35,6 +35,8 @@ ContextGL_Haiku::ContextGL_Haiku(HaikuDirectWindow* p_window) { uint32 type = BGL_RGB | BGL_DOUBLE | BGL_DEPTH; view = new HaikuGLView(window->Bounds(), type); + + use_vsync = false; } ContextGL_Haiku::~ContextGL_Haiku() { @@ -57,7 +59,7 @@ void ContextGL_Haiku::make_current() { } void ContextGL_Haiku::swap_buffers() { - view->SwapBuffers(); + view->SwapBuffers(use_vsync); } int ContextGL_Haiku::get_window_width() { @@ -68,4 +70,12 @@ int ContextGL_Haiku::get_window_height() { return window->Bounds().IntegerHeight(); } +void ContextGL_Haiku::set_use_vsync(bool p_use) { + use_vsync = p_use; +} + +bool ContextGL_Haiku::is_using_vsync() const { + return use_vsync; +} + #endif diff --git a/platform/haiku/context_gl_haiku.h b/platform/haiku/context_gl_haiku.h index 91aae6b382..c7f80543aa 100644 --- a/platform/haiku/context_gl_haiku.h +++ b/platform/haiku/context_gl_haiku.h @@ -40,6 +40,8 @@ class ContextGL_Haiku : public ContextGL { private: HaikuGLView* view; HaikuDirectWindow* window; + + bool use_vsync; public: ContextGL_Haiku(HaikuDirectWindow* p_window); @@ -51,6 +53,9 @@ public: virtual void swap_buffers(); virtual int get_window_width(); virtual int get_window_height(); + + virtual void set_use_vsync(bool p_use); + virtual bool is_using_vsync() const; }; #endif diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py index 6d1a96a8da..f36b0c567e 100644 --- a/platform/haiku/detect.py +++ b/platform/haiku/detect.py @@ -24,7 +24,7 @@ def get_opts(): def get_flags(): return [ ('builtin_zlib', 'no'), - #('glew', 'yes'), # TODO: investigate the GLEW situation on Haiku + ('glew', 'yes'), ] def configure(env): @@ -38,8 +38,8 @@ def configure(env): env.Append(CPPPATH = ['#platform/haiku']) - env["CC"] = "gcc" - env["CXX"] = "g++" + env["CC"] = "gcc-x86" + env["CXX"] = "g++-x86" if (env["target"]=="release"): if (env["debug_release"]=="yes"): diff --git a/platform/javascript/os_javascript.cpp b/platform/javascript/os_javascript.cpp index 2e42e79996..1defcb7cb2 100644 --- a/platform/javascript/os_javascript.cpp +++ b/platform/javascript/os_javascript.cpp @@ -415,6 +415,9 @@ void OS_JavaScript::push_input(const InputEvent& p_ev) { InputEvent ev = p_ev; ev.ID=last_id++; + if (ev.type==InputEvent::MOUSE_MOTION) { + input->set_mouse_pos(Point2(ev.mouse_motion.x, ev.mouse_motion.y)); + } input->parse_input_event(p_ev); } diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index cb0514da9d..47b0392b25 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -48,6 +48,11 @@ class EditorExportPlatformOSX : public EditorExportPlatform { String custom_release_package; String custom_debug_package; + enum BitsMode { + BITS_FAT, + BITS_64, + BITS_32 + }; int version_code; @@ -59,8 +64,7 @@ class EditorExportPlatformOSX : public EditorExportPlatform { String version; String signature; String copyright; - bool use64; - bool useFat; + BitsMode bits_mode; bool high_resolution; Ref<ImageTexture> logo; @@ -83,7 +87,7 @@ public: virtual bool poll_devices() { return false;} - virtual int get_device_count() const { return 0; }; + virtual int get_device_count() const { return 0; } virtual String get_device_name(int p_device) const { return String(); } virtual String get_device_info(int p_device) const { return String(); } virtual Error run(int p_device,int p_flags=0); @@ -122,10 +126,8 @@ bool EditorExportPlatformOSX::_set(const StringName& p_name, const Variant& p_va version=p_value; else if (n=="application/copyright") copyright=p_value; - else if (n=="application/64_bits") - use64=p_value; - else if (n=="application/fat_bits") - useFat=p_value; + else if (n=="application/bits_mode") + bits_mode=BitsMode(int(p_value)); else if (n=="display/high_res") high_resolution=p_value; else @@ -158,10 +160,8 @@ bool EditorExportPlatformOSX::_get(const StringName& p_name,Variant &r_ret) cons r_ret=version; else if (n=="application/copyright") r_ret=copyright; - else if (n=="application/64_bits") - r_ret=use64; - else if (n=="application/fat_bits") - r_ret=useFat; + else if (n=="application/bits_mode") + r_ret=bits_mode; else if (n=="display/high_res") r_ret=high_resolution; else @@ -182,13 +182,9 @@ void EditorExportPlatformOSX::_get_property_list( List<PropertyInfo> *p_list) co p_list->push_back( PropertyInfo( Variant::STRING, "application/short_version") ); p_list->push_back( PropertyInfo( Variant::STRING, "application/version") ); p_list->push_back( PropertyInfo( Variant::STRING, "application/copyright") ); - p_list->push_back( PropertyInfo( Variant::BOOL, "application/64_bits") ); - p_list->push_back( PropertyInfo( Variant::BOOL, "application/fat_bits") ); + p_list->push_back( PropertyInfo( Variant::INT, "application/bits_mode", PROPERTY_HINT_ENUM, "Fat (32 & 64 bits),64 bits,32 bits") ); p_list->push_back( PropertyInfo( Variant::BOOL, "display/high_res") ); - - //p_list->push_back( PropertyInfo( Variant::INT, "resources/pack_mode", PROPERTY_HINT_ENUM,"Copy,Single Exec.,Pack (.pck),Bundles (Optical)")); - } void EditorExportPlatformOSX::_make_icon(const Image& p_icon,Vector<uint8_t>& icon) { @@ -321,7 +317,8 @@ Error EditorExportPlatformOSX::export_project(const String& p_path, bool p_debug io2.opaque=&dst_f; zipFile dpkg=zipOpen2(p_path.utf8().get_data(),APPEND_STATUS_CREATE,NULL,&io2); - String binary_to_use="godot_osx_"+String(p_debug?"debug":"release")+"."+String(useFat?"fat":use64?"64":"32"); + String binary_to_use = "godot_osx_" + String(p_debug ? "debug" : "release") + "."; + binary_to_use += String(bits_mode==BITS_FAT ? "fat" : bits_mode==BITS_64 ? "64" : "32"); print_line("binary: "+binary_to_use); String pkg_name; @@ -333,6 +330,8 @@ Error EditorExportPlatformOSX::export_project(const String& p_path, bool p_debug pkg_name="Unnamed"; + bool found_binary = false; + while(ret==UNZ_OK) { //get filename @@ -366,6 +365,7 @@ Error EditorExportPlatformOSX::export_project(const String& p_path, bool p_debug ret = unzGoToNextFile(pkg); continue; //ignore! } + found_binary = true; file="Contents/MacOS/"+pkg_name; } @@ -420,6 +420,13 @@ Error EditorExportPlatformOSX::export_project(const String& p_path, bool p_debug ret = unzGoToNextFile(pkg); } + if (!found_binary) { + ERR_PRINTS("Requested template binary '"+binary_to_use+"' not found. It might be missing from your template archive."); + zipClose(dpkg,NULL); + unzClose(pkg); + return ERR_FILE_NOT_FOUND; + } + ep.step("Making PKG",1); @@ -487,13 +494,12 @@ EditorExportPlatformOSX::EditorExportPlatformOSX() { logo = Ref<ImageTexture>( memnew( ImageTexture )); logo->create_from_image(img); - info="This Game is Nice"; - identifier="com.godot.macgame"; + info="Made with Godot Engine"; + identifier="org.godotengine.macgame"; signature="godotmacgame"; short_version="1.0"; version="1.0"; - use64=false; - useFat=false; + bits_mode=BITS_FAT; high_resolution=false; } diff --git a/platform/windows/joystick.cpp b/platform/windows/joystick.cpp index 663bbe3b9b..e69bfe6a52 100644 --- a/platform/windows/joystick.cpp +++ b/platform/windows/joystick.cpp @@ -283,7 +283,7 @@ void joystick_windows::close_joystick(int id) { d_joysticks[id].attached = false; attached_joysticks[d_joysticks[id].id] = false; d_joysticks[id].guid.Data1 = d_joysticks[id].guid.Data2 = d_joysticks[id].guid.Data3 = 0; - input->joy_connection_changed(id, false, ""); + input->joy_connection_changed(d_joysticks[id].id, false, ""); joystick_count--; } diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 9421e0d48e..b0a50ca4b8 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -612,6 +612,20 @@ LRESULT OS_Windows::WndProc(HWND hWnd,UINT uMsg, WPARAM wParam, LPARAM lParam) { } //return 0; // Jump Back } break; + + case WM_ENTERSIZEMOVE: { + move_timer_id = SetTimer(hWnd, 1, USER_TIMER_MINIMUM,(TIMERPROC) NULL); + } break; + case WM_EXITSIZEMOVE: { + KillTimer(hWnd, move_timer_id); + } break; + case WM_TIMER: { + if (wParam == move_timer_id) { + process_key_events(); + Main::iteration(); + } + } break; + case WM_SYSKEYDOWN: case WM_SYSKEYUP: case WM_KEYUP: @@ -1140,7 +1154,7 @@ void OS_Windows::initialize(const VideoMode& p_desired,int p_video_driver,int p_ DragAcceptFiles(hWnd,true); - + move_timer_id = 1; } void OS_Windows::set_clipboard(const String& p_text) { @@ -2164,6 +2178,68 @@ String OS_Windows::get_locale() const { return "en"; } + +OS::LatinKeyboardVariant OS_Windows::get_latin_keyboard_variant() const { + + unsigned long azerty[] = { + 0x00020401, // Arabic (102) AZERTY + 0x0001080c, // Belgian (Comma) + 0x0000080c, // Belgian French + 0x0000040c, // French + 0 // <--- STOP MARK + }; + unsigned long qwertz[] = { + 0x0000041a, // Croation + 0x00000405, // Czech + 0x00000407, // German + 0x00010407, // German (IBM) + 0x0000040e, // Hungarian + 0x0000046e, // Luxembourgish + 0x00010415, // Polish (214) + 0x00000418, // Romanian (Legacy) + 0x0000081a, // Serbian (Latin) + 0x0000041b, // Slovak + 0x00000424, // Slovenian + 0x0001042e, // Sorbian Extended + 0x0002042e, // Sorbian Standard + 0x0000042e, // Sorbian Standard (Legacy) + 0x0000100c, // Swiss French + 0x00000807, // Swiss German + 0 // <--- STOP MARK + }; + unsigned long dvorak[] = { + 0x00010409, // US-Dvorak + 0x00030409, // US-Dvorak for left hand + 0x00040409, // US-Dvorak for right hand + 0 // <--- STOP MARK + }; + + char name[ KL_NAMELENGTH + 1 ]; name[0] = 0; + GetKeyboardLayoutNameA( name ); + + unsigned long hex = strtoul(name, NULL, 16); + + int i=0; + while( azerty[i] != 0 ) { + if (azerty[i] == hex) return LATIN_KEYBOARD_AZERTY; + i++; + } + + i = 0; + while( qwertz[i] != 0 ) { + if (qwertz[i] == hex) return LATIN_KEYBOARD_QWERTZ; + i++; + } + + i = 0; + while( dvorak[i] != 0 ) { + if (dvorak[i] == hex) return LATIN_KEYBOARD_DVORAK; + i++; + } + + return LATIN_KEYBOARD_QWERTY; +} + void OS_Windows::release_rendering_thread() { gl_context->release_current(); diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h index 509d76abbf..5acb300c0f 100644 --- a/platform/windows/os_windows.h +++ b/platform/windows/os_windows.h @@ -104,6 +104,8 @@ class OS_Windows : public OS { HINSTANCE hInstance; // Holds The Instance Of The Application HWND hWnd; + uint32_t move_timer_id; + HCURSOR hCursor; Size2 window_rect; @@ -264,6 +266,7 @@ public: virtual String get_executable_path() const; virtual String get_locale() const; + virtual LatinKeyboardVariant get_latin_keyboard_variant() const; virtual void move_window_to_foreground(); virtual String get_data_dir() const; diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 5f272536ba..3c50e2cf5b 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -182,7 +182,9 @@ def configure(env): print("PulseAudio development libraries not found, disabling driver") env.Append(CPPFLAGS=['-DX11_ENABLED','-DUNIX_ENABLED','-DGLES2_ENABLED','-DGLES_OVER_GL']) - env.Append(LIBS=['GL', 'GLU', 'pthread', 'z', 'dl']) + env.Append(LIBS=['GL', 'GLU', 'pthread', 'z']) + if (platform.system() == "Linux"): + env.Append(LIBS='dl') #env.Append(CPPFLAGS=['-DMPC_FIXED_POINT']) #host compiler is default.. @@ -209,5 +211,7 @@ def configure(env): if (env["use_static_cpp"]=="yes"): env.Append(LINKFLAGS=['-static-libstdc++']) - env["x86_opt_gcc"]=True + list_of_x86 = ['x86_64', 'x86', 'i386', 'i586'] + if any(platform.machine() in s for s in list_of_x86): + env["x86_opt_gcc"]=True diff --git a/platform/x11/joystick_linux.cpp b/platform/x11/joystick_linux.cpp index 82f79c2640..4a6a4f3a52 100644 --- a/platform/x11/joystick_linux.cpp +++ b/platform/x11/joystick_linux.cpp @@ -45,7 +45,9 @@ #define test_bit(nr, addr) (((1UL << ((nr) % LONG_BITS)) & ((addr)[(nr) / LONG_BITS])) != 0) #define NBITS(x) ((((x)-1)/LONG_BITS)+1) +#ifdef UDEV_ENABLED static const char* ignore_str = "/dev/input/js"; +#endif joystick_linux::Joystick::Joystick() { fd = -1; @@ -198,7 +200,6 @@ void joystick_linux::monitor_joysticks(udev *p_udev) { } usleep(50000); } - //printf("exit udev\n"); udev_monitor_unref(mon); } #endif diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 12957b81b7..20fae72abd 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -116,7 +116,9 @@ void OS_X11::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi x11_display = XOpenDisplay(NULL); char * modifiers = XSetLocaleModifiers ("@im=none"); - ERR_FAIL_COND( modifiers == NULL ); + if (modifiers==NULL) { + WARN_PRINT("Error setting locale modifiers"); + } const char* err; xrr_get_monitors = NULL; @@ -1771,7 +1773,6 @@ static String _get_clipboard(Atom p_source, Window x11_window, ::Display* x11_di if (Sown == x11_window) { - printf("returning internal clipboard\n"); return p_internal_clipboard; }; diff --git a/scene/2d/animated_sprite.cpp b/scene/2d/animated_sprite.cpp index c062a6d1fc..73774e12d9 100644 --- a/scene/2d/animated_sprite.cpp +++ b/scene/2d/animated_sprite.cpp @@ -318,7 +318,7 @@ void AnimatedSprite::_validate_property(PropertyInfo& property) const { if (property.name=="frame") { - property.hint=PROPERTY_HINT_RANGE; + property.hint=PROPERTY_HINT_SPRITE_FRAME; if (frames->has_animation(animation)) { property.hint_string="0,"+itos(frames->get_frame_count(animation)-1)+",1"; diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp index 85256be940..f98a50e3e0 100644 --- a/scene/2d/camera_2d.cpp +++ b/scene/2d/camera_2d.cpp @@ -44,7 +44,6 @@ void Camera2D::_update_scroll() { if (current) { Matrix32 xform = get_camera_transform(); - RID vp = viewport->get_viewport(); if (viewport) { viewport->set_canvas_transform( xform ); } @@ -409,6 +408,35 @@ void Camera2D::force_update_scroll() { _update_scroll(); } +void Camera2D::reset_smoothing() { + + smoothed_camera_pos = camera_pos; + _update_scroll(); +} + +void Camera2D::align() { + + Size2 screen_size = get_viewport_rect().size; + screen_size=get_viewport_rect().size; + Point2 current_camera_pos = get_global_transform().get_origin(); + if (anchor_mode==ANCHOR_MODE_DRAG_CENTER) { + if (h_ofs<0) { + camera_pos.x = current_camera_pos.x + screen_size.x * 0.5 * drag_margin[MARGIN_RIGHT] * h_ofs; + } else { + camera_pos.x = current_camera_pos.x + screen_size.x * 0.5 * drag_margin[MARGIN_LEFT] * h_ofs; + } + if (v_ofs<0) { + camera_pos.y = current_camera_pos.y + screen_size.y * 0.5 * drag_margin[MARGIN_TOP] * v_ofs; + } else { + camera_pos.y = current_camera_pos.y + screen_size.y * 0.5 * drag_margin[MARGIN_BOTTOM] * v_ofs; + } + } else if (anchor_mode==ANCHOR_MODE_FIXED_TOP_LEFT){ + + camera_pos=current_camera_pos; + } + + _update_scroll(); +} void Camera2D::set_follow_smoothing(float p_speed) { @@ -544,6 +572,8 @@ void Camera2D::_bind_methods() { ObjectTypeDB::bind_method(_MD("is_follow_smoothing_enabled"),&Camera2D::is_follow_smoothing_enabled); ObjectTypeDB::bind_method(_MD("force_update_scroll"),&Camera2D::force_update_scroll); + ObjectTypeDB::bind_method(_MD("reset_smoothing"),&Camera2D::reset_smoothing); + ObjectTypeDB::bind_method(_MD("align"),&Camera2D::align); ObjectTypeDB::bind_method(_MD("_set_old_smoothing","follow_smoothing"),&Camera2D::_set_old_smoothing); diff --git a/scene/2d/camera_2d.h b/scene/2d/camera_2d.h index 22e5bc382a..b3f55d798d 100644 --- a/scene/2d/camera_2d.h +++ b/scene/2d/camera_2d.h @@ -128,6 +128,8 @@ public: Vector2 get_camera_pos() const; void force_update_scroll(); + void reset_smoothing(); + void align(); Camera2D(); }; diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp index 21a3ecef32..bc5bff3b8e 100644 --- a/scene/2d/canvas_item.cpp +++ b/scene/2d/canvas_item.cpp @@ -953,62 +953,8 @@ InputEvent CanvasItem::make_input_local(const InputEvent& p_event) const { ERR_FAIL_COND_V(!is_inside_tree(),p_event); - InputEvent ev = p_event; + return p_event.xform_by( (get_canvas_transform() * get_global_transform()).affine_inverse() ); - Matrix32 local_matrix = (get_canvas_transform() * get_global_transform()).affine_inverse(); - - switch(ev.type) { - - case InputEvent::MOUSE_BUTTON: { - - Vector2 g = local_matrix.xform(Vector2(ev.mouse_button.global_x,ev.mouse_button.global_y)); - Vector2 l = local_matrix.xform(Vector2(ev.mouse_button.x,ev.mouse_button.y)); - ev.mouse_button.x=l.x; - ev.mouse_button.y=l.y; - ev.mouse_button.global_x=g.x; - ev.mouse_button.global_y=g.y; - - } break; - case InputEvent::MOUSE_MOTION: { - - Vector2 g = local_matrix.xform(Vector2(ev.mouse_motion.global_x,ev.mouse_motion.global_y)); - Vector2 l = local_matrix.xform(Vector2(ev.mouse_motion.x,ev.mouse_motion.y)); - Vector2 r = local_matrix.basis_xform(Vector2(ev.mouse_motion.relative_x,ev.mouse_motion.relative_y)); - Vector2 s = local_matrix.basis_xform(Vector2(ev.mouse_motion.speed_x,ev.mouse_motion.speed_y)); - ev.mouse_motion.x=l.x; - ev.mouse_motion.y=l.y; - ev.mouse_motion.global_x=g.x; - ev.mouse_motion.global_y=g.y; - ev.mouse_motion.relative_x=r.x; - ev.mouse_motion.relative_y=r.y; - ev.mouse_motion.speed_x=s.x; - ev.mouse_motion.speed_y=s.y; - - } break; - case InputEvent::SCREEN_TOUCH: { - - - Vector2 t = local_matrix.xform(Vector2(ev.screen_touch.x,ev.screen_touch.y)); - ev.screen_touch.x=t.x; - ev.screen_touch.y=t.y; - - } break; - case InputEvent::SCREEN_DRAG: { - - - Vector2 t = local_matrix.xform(Vector2(ev.screen_drag.x,ev.screen_drag.y)); - Vector2 r = local_matrix.basis_xform(Vector2(ev.screen_drag.relative_x,ev.screen_drag.relative_y)); - Vector2 s = local_matrix.basis_xform(Vector2(ev.screen_drag.speed_x,ev.screen_drag.speed_y)); - ev.screen_drag.x=t.x; - ev.screen_drag.y=t.y; - ev.screen_drag.relative_x=r.x; - ev.screen_drag.relative_y=r.y; - ev.screen_drag.speed_x=s.x; - ev.screen_drag.speed_y=s.y; - } break; - } - - return ev; } diff --git a/scene/2d/navigation2d.cpp b/scene/2d/navigation2d.cpp index b4332cc75d..82c1327a8f 100644 --- a/scene/2d/navigation2d.cpp +++ b/scene/2d/navigation2d.cpp @@ -552,7 +552,6 @@ debug path if (p_optimize) { //string pulling - Polygon *apex_poly=end_poly; Vector2 apex_point=end_point; Vector2 portal_left=apex_point; Vector2 portal_right=apex_point; @@ -613,12 +612,9 @@ debug path //print_line("***ADVANCE LEFT"); } else { - //_clip_path(path,apex_poly,portal_right,right_poly); - apex_point=portal_right; p=right_poly; left_poly=p; - apex_poly=p; portal_left=apex_point; portal_right=apex_point; if (path[path.size()-1].distance_to(apex_point)>CMP_EPSILON) @@ -637,12 +633,9 @@ debug path //print_line("***ADVANCE RIGHT"); } else { - //_clip_path(path,apex_poly,portal_left,left_poly); - apex_point=portal_left; p=left_poly; right_poly=p; - apex_poly=p; portal_right=apex_point; portal_left=apex_point; if (path[path.size()-1].distance_to(apex_point)>CMP_EPSILON) diff --git a/scene/2d/sprite.cpp b/scene/2d/sprite.cpp index 27aa08ec5b..c5b338bf59 100644 --- a/scene/2d/sprite.cpp +++ b/scene/2d/sprite.cpp @@ -288,6 +288,17 @@ Rect2 Sprite::get_item_rect() const { } + +void Sprite::_validate_property(PropertyInfo& property) const { + + if (property.name=="frame") { + + property.hint=PROPERTY_HINT_SPRITE_FRAME; + + property.hint_string="0,"+itos(vframes*hframes-1)+",1"; + } +} + void Sprite::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_texture","texture:Texture"),&Sprite::set_texture); diff --git a/scene/2d/sprite.h b/scene/2d/sprite.h index f789538b1d..32d3f476d1 100644 --- a/scene/2d/sprite.h +++ b/scene/2d/sprite.h @@ -61,6 +61,8 @@ protected: static void _bind_methods();; + virtual void _validate_property(PropertyInfo& property) const; + public: virtual void edit_set_pivot(const Point2& p_pivot); diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 1f16b36466..1a4f88c30e 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -222,6 +222,10 @@ void TileMap::_fix_cell_transform(Matrix32& xform,const Cell& p_cell, const Vect Size2 s=p_sc; Vector2 offset = p_offset; + + if (tile_origin==TILE_ORIGIN_BOTTOM_LEFT) + offset.y+=cell_size.y; + if (s.y > s.x) { if ((p_cell.flip_h && (p_cell.flip_v || p_cell.transpose)) || (p_cell.flip_v && !p_cell.transpose)) @@ -240,7 +244,7 @@ void TileMap::_fix_cell_transform(Matrix32& xform,const Cell& p_cell, const Vect if (p_cell.flip_h) { xform.elements[0].x=-xform.elements[0].x; xform.elements[1].x=-xform.elements[1].x; - if (tile_origin==TILE_ORIGIN_TOP_LEFT) + if (tile_origin==TILE_ORIGIN_TOP_LEFT || tile_origin==TILE_ORIGIN_BOTTOM_LEFT) offset.x=s.x-offset.x; } if (p_cell.flip_v) { @@ -248,6 +252,12 @@ void TileMap::_fix_cell_transform(Matrix32& xform,const Cell& p_cell, const Vect xform.elements[1].y=-xform.elements[1].y; if (tile_origin==TILE_ORIGIN_TOP_LEFT) offset.y=s.y-offset.y; + else if (tile_origin==TILE_ORIGIN_BOTTOM_LEFT) { + if(p_cell.transpose) + offset.y+=s.y; + else + offset.y-=s.y; + } } xform.elements[2].x+=offset.x; xform.elements[2].y+=offset.y; @@ -411,6 +421,24 @@ void TileMap::_update_dirty_quadrants() { if (tile_origin==TILE_ORIGIN_TOP_LEFT) { rect.pos+=tile_ofs; + + } else if (tile_origin==TILE_ORIGIN_BOTTOM_LEFT) { + + rect.pos+=tile_ofs; + + if(c.transpose) + { + if(c.flip_h) + rect.pos.x-=cell_size.x; + else + rect.pos.x+=cell_size.x; + } else { + if(c.flip_v) + rect.pos.y-=cell_size.y; + else + rect.pos.y+=cell_size.y; + } + } else if (tile_origin==TILE_ORIGIN_CENTER) { rect.pos+=tcenter; @@ -584,6 +612,9 @@ Map<TileMap::PosKey,TileMap::Quadrant>::Element *TileMap::_create_quadrant(const q.pos+=get_cell_draw_offset(); if (tile_origin==TILE_ORIGIN_CENTER) q.pos+=cell_size/2; + else if (tile_origin==TILE_ORIGIN_BOTTOM_LEFT) + q.pos.y+=cell_size.y; + xform.set_origin( q.pos ); // q.canvas_item = VisualServer::get_singleton()->canvas_item_create(); @@ -1242,7 +1273,7 @@ void TileMap::_bind_methods() { ADD_PROPERTY( PropertyInfo(Variant::INT,"cell/quadrant_size",PROPERTY_HINT_RANGE,"1,128,1"),_SCS("set_quadrant_size"),_SCS("get_quadrant_size")); ADD_PROPERTY( PropertyInfo(Variant::MATRIX32,"cell/custom_transform"),_SCS("set_custom_transform"),_SCS("get_custom_transform")); ADD_PROPERTY( PropertyInfo(Variant::INT,"cell/half_offset",PROPERTY_HINT_ENUM,"Offset X,Offset Y,Disabled"),_SCS("set_half_offset"),_SCS("get_half_offset")); - ADD_PROPERTY( PropertyInfo(Variant::INT,"cell/tile_origin",PROPERTY_HINT_ENUM,"Top Left,Center"),_SCS("set_tile_origin"),_SCS("get_tile_origin")); + ADD_PROPERTY( PropertyInfo(Variant::INT,"cell/tile_origin",PROPERTY_HINT_ENUM,"Top Left,Center,Bottom Left"),_SCS("set_tile_origin"),_SCS("get_tile_origin")); ADD_PROPERTY( PropertyInfo(Variant::BOOL,"cell/y_sort"),_SCS("set_y_sort_mode"),_SCS("is_y_sort_mode_enabled")); ADD_PROPERTY( PropertyInfo(Variant::BOOL,"collision/use_kinematic",PROPERTY_HINT_NONE,""),_SCS("set_collision_use_kinematic"),_SCS("get_collision_use_kinematic")); ADD_PROPERTY( PropertyInfo(Variant::REAL,"collision/friction",PROPERTY_HINT_RANGE,"0,1,0.01"),_SCS("set_collision_friction"),_SCS("get_collision_friction")); @@ -1264,6 +1295,7 @@ void TileMap::_bind_methods() { BIND_CONSTANT( HALF_OFFSET_DISABLED ); BIND_CONSTANT( TILE_ORIGIN_TOP_LEFT ); BIND_CONSTANT( TILE_ORIGIN_CENTER ); + BIND_CONSTANT( TILE_ORIGIN_BOTTOM_LEFT ); } diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h index cec5ac0a1b..b48fdde43f 100644 --- a/scene/2d/tile_map.h +++ b/scene/2d/tile_map.h @@ -54,7 +54,8 @@ public: enum TileOrigin { TILE_ORIGIN_TOP_LEFT, - TILE_ORIGIN_CENTER + TILE_ORIGIN_CENTER, + TILE_ORIGIN_BOTTOM_LEFT }; diff --git a/scene/2d/visibility_notifier_2d.cpp b/scene/2d/visibility_notifier_2d.cpp index 12524a2192..5411950976 100644 --- a/scene/2d/visibility_notifier_2d.cpp +++ b/scene/2d/visibility_notifier_2d.cpp @@ -270,9 +270,6 @@ void VisibilityEnabler2D::_notification(int p_what){ return; - Node *from = this; - //find where current scene starts - for (Map<Node*,Variant>::Element *E=nodes.front();E;E=E->next()) { if (!visible) @@ -293,14 +290,7 @@ void VisibilityEnabler2D::_change_node_state(Node* p_node,bool p_enabled) { RigidBody2D *rb = p_node->cast_to<RigidBody2D>(); if (rb) { - if (p_enabled) { - RigidBody2D::Mode mode = RigidBody2D::Mode(nodes[p_node].operator int()); - //rb->set_mode(mode); - rb->set_sleeping(false); - } else { - //rb->set_mode(RigidBody2D::MODE_STATIC); - rb->set_sleeping(true); - } + rb->set_sleeping(!p_enabled); } } diff --git a/scene/3d/physics_joint.cpp b/scene/3d/physics_joint.cpp index 3f03b2aab3..084d96975f 100644 --- a/scene/3d/physics_joint.cpp +++ b/scene/3d/physics_joint.cpp @@ -369,9 +369,6 @@ RID HingeJoint::_configure_joint(PhysicsBody *body_a,PhysicsBody *body_b) { Transform gt = get_global_transform(); - Vector3 hingepos = gt.origin; - Vector3 hingedir = gt.basis.get_axis(2); - Transform ainv = body_a->get_global_transform().affine_inverse(); Transform local_a = ainv * gt; @@ -532,9 +529,6 @@ RID SliderJoint::_configure_joint(PhysicsBody *body_a,PhysicsBody *body_b) { Transform gt = get_global_transform(); - Vector3 sliderpos = gt.origin; - Vector3 sliderdir = gt.basis.get_axis(2); - Transform ainv = body_a->get_global_transform().affine_inverse(); Transform local_a = ainv * gt; diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp index d0b739e17f..c996a8123c 100644 --- a/scene/3d/skeleton.cpp +++ b/scene/3d/skeleton.cpp @@ -64,15 +64,17 @@ bool Skeleton::_set(const StringName& p_path, const Variant& p_value) { else if (what=="bound_childs") { Array children=p_value; - bones[which].nodes_bound.clear(); + if (is_inside_tree()) { + bones[which].nodes_bound.clear(); - for (int i=0;i<children.size();i++) { + for (int i=0;i<children.size();i++) { - NodePath path=children[i]; - ERR_CONTINUE( path.operator String()=="" ); - Node *node = get_node(path); - ERR_CONTINUE(!node); - bind_child_node_to_bone(which,node); + NodePath path=children[i]; + ERR_CONTINUE( path.operator String()=="" ); + Node *node = get_node(path); + ERR_CONTINUE(!node); + bind_child_node_to_bone(which,node); + } } } else { return false; diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp index 8c86c4bf35..74cab30b17 100644 --- a/scene/3d/sprite_3d.cpp +++ b/scene/3d/sprite_3d.cpp @@ -585,6 +585,17 @@ Rect2 Sprite3D::get_item_rect() const { return Rect2(ofs,s); } + +void Sprite3D::_validate_property(PropertyInfo& property) const { + + if (property.name=="frame") { + + property.hint=PROPERTY_HINT_SPRITE_FRAME; + + property.hint_string="0,"+itos(vframes*hframes-1)+",1"; + } +} + void Sprite3D::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_texture","texture:Texture"),&Sprite3D::set_texture); diff --git a/scene/3d/sprite_3d.h b/scene/3d/sprite_3d.h index 41e6ba804a..31f8ec020f 100644 --- a/scene/3d/sprite_3d.h +++ b/scene/3d/sprite_3d.h @@ -158,6 +158,8 @@ class Sprite3D : public SpriteBase3D { protected: virtual void _draw(); static void _bind_methods(); + + virtual void _validate_property(PropertyInfo& property) const; public: diff --git a/scene/3d/vehicle_body.cpp b/scene/3d/vehicle_body.cpp index 6ccf07db1e..7c7957640f 100644 --- a/scene/3d/vehicle_body.cpp +++ b/scene/3d/vehicle_body.cpp @@ -488,7 +488,6 @@ real_t VehicleBody::_ray_cast(int p_idx,PhysicsDirectBodyState *s) { void VehicleBody::_update_suspension(PhysicsDirectBodyState *s) { - real_t deltaTime = s->get_step(); real_t chassisMass = mass; for (int w_it=0; w_it<wheels.size(); w_it++) @@ -596,21 +595,16 @@ void VehicleBody::_resolve_single_bilateral(PhysicsDirectBodyState *s, const Vec b2invinertia, b2invmass); - real_t jacDiagAB = jac.getDiagonal(); - real_t jacDiagABInv = real_t(1.) / jacDiagAB; - real_t rel_vel = jac.getRelativeVelocity( s->get_linear_velocity(), s->get_transform().basis.transposed().xform(s->get_angular_velocity()), b2lv, b2trans.xform(b2av)); - real_t a; - a=jacDiagABInv; rel_vel = normal.dot(vel); - //todo: move this into proper structure + //TODO: move this into proper structure real_t contactDamping = real_t(0.4); #define ONLY_USE_LINEAR_MASS #ifdef ONLY_USE_LINEAR_MASS @@ -642,16 +636,16 @@ VehicleBody::btVehicleWheelContactPoint::btVehicleWheelContactPoint(PhysicsDirec denom0= s->get_inverse_mass() + frictionDirectionWorld.dot(vec); } + /* TODO: Why is this code unused? if (body1) { Vector3 r0 = frictionPosWorld - body1->get_global_transform().origin; Vector3 c0 = (r0).cross(frictionDirectionWorld); Vector3 vec = s->get_inverse_inertia_tensor().xform_inv(c0).cross(r0); //denom1= body1->get_inverse_mass() + frictionDirectionWorld.dot(vec); - denom1=0; } - + */ real_t relaxation = 1.f; m_jacDiagABInv = relaxation/(denom0+denom1); diff --git a/scene/3d/visibility_notifier.cpp b/scene/3d/visibility_notifier.cpp index 60097ad482..f3b5cde0eb 100644 --- a/scene/3d/visibility_notifier.cpp +++ b/scene/3d/visibility_notifier.cpp @@ -221,9 +221,6 @@ void VisibilityEnabler::_notification(int p_what){ return; - Node *from = this; - //find where current scene starts - for (Map<Node*,Variant>::Element *E=nodes.front();E;E=E->next()) { if (!visible) @@ -242,17 +239,9 @@ void VisibilityEnabler::_change_node_state(Node* p_node,bool p_enabled) { { RigidBody *rb = p_node->cast_to<RigidBody>(); - if (rb) { - - if (p_enabled) { - RigidBody::Mode mode = RigidBody::Mode(nodes[p_node].operator int()); - //rb->set_mode(mode); - rb->set_sleeping(false); - } else { - //rb->set_mode(RigidBody::MODE_STATIC); - rb->set_sleeping(true); - } - } + if (rb) + + rb->set_sleeping(!p_enabled); } { diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index 628edf09de..9488ae37a8 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -445,8 +445,44 @@ void AnimationTreePlayer::_notification(int p_what) { } +void AnimationTreePlayer::_compute_weights(float *p_fallback_weight, HashMap<NodePath,float> *p_weights, float p_coeff, const HashMap<NodePath,bool> *p_filter, float p_filtered_coeff) { -float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode **r_prev_anim,float p_weight, float p_time, bool p_seek,const HashMap<NodePath,bool> *p_filter, float p_reverse_weight) { + if (p_filter != NULL) { + + List<NodePath> key_list; + p_filter->get_key_list(&key_list); + + for (List<NodePath>::Element *E = key_list.front();E; E=E->next()) { + + if ((*p_filter)[E->get()]) { + + if (p_weights->has(E->get())) { + (*p_weights)[E->get()] *= p_filtered_coeff; + } else { + p_weights->set(E->get(), *p_fallback_weight * p_filtered_coeff); + } + + } else if (p_weights->has(E->get())) { + (*p_weights)[E->get()] *= p_coeff; + } + } + } + + List<NodePath> key_list; + p_weights->get_key_list(&key_list); + + for (List<NodePath>::Element *E = key_list.front();E;E=E->next()) { + if (p_filter == NULL || !p_filter->has(E->get())) { + (*p_weights)[E->get()] *= p_coeff; + } + } + + *p_fallback_weight *= p_coeff; + +} + + +float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode **r_prev_anim, float p_time, bool p_seek, float p_fallback_weight, HashMap<NodePath,float>* p_weights) { ERR_FAIL_COND_V(!node_map.has(p_node), 0); NodeBase *nb=node_map[p_node]; @@ -458,7 +494,16 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode case NODE_OUTPUT: { NodeOut *on = static_cast<NodeOut*>(nb); - return _process_node(on->inputs[0].node,r_prev_anim,p_weight,p_time,p_seek); + + for(TrackMap::Element *E=track_map.front();E;E=E->next()) { + E->get().total_weight = 0; + } + + HashMap<NodePath, float> weights; + + + + return _process_node(on->inputs[0].node,r_prev_anim,p_time,p_seek, p_fallback_weight, &weights); } break; case NODE_ANIMATION: { @@ -494,15 +539,21 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode } an->skip=true; + for (List<AnimationNode::TrackRef>::Element *E=an->tref.front();E;E=E->next()) { NodePath track_path = an->animation->track_get_path(E->get().local_track); - if (p_filter && p_filter->has(track_path)) { - E->get().weight = MAX(0, p_reverse_weight); - } else if(an->filter.has(track_path)) { + if (an->filter.has(track_path) && an->filter[track_path]) { E->get().weight = 0; - E->get().track->skip = true; + E->get().track->total_weight += p_fallback_weight; } else { - E->get().weight=p_weight; + if (p_weights->has(track_path)) { + float weight = (*p_weights)[track_path]; + E->get().weight = weight; + E->get().track->total_weight += weight; + } else { + E->get().weight = p_fallback_weight; + E->get().track->total_weight += p_fallback_weight; + } } if (E->get().weight>CMP_EPSILON) an->skip=false; @@ -531,7 +582,7 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode if (!osn->active) { //make it as if this node doesn't exist, pass input 0 by. - return _process_node(osn->inputs[0].node,r_prev_anim,p_weight,p_time,p_seek,p_filter,p_reverse_weight); + return _process_node(osn->inputs[0].node,r_prev_anim,p_time,p_seek, p_fallback_weight, p_weights); } float os_seek = p_seek; @@ -563,16 +614,14 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode float main_rem; float os_rem; - float os_reverse_weight = p_reverse_weight; - if (!osn->filter.empty()) { - p_filter = &osn->filter; - p_reverse_weight = p_weight; - os_reverse_weight = -1; - } + HashMap<NodePath, float> os_weights(*p_weights); + float os_fallback_weight = p_fallback_weight; + _compute_weights(&p_fallback_weight, p_weights, osn->mix?1.0 : 1.0 - blend, &osn->filter, 1.0); + _compute_weights(&os_fallback_weight, &os_weights, blend, &osn->filter, 0.0); - main_rem = _process_node(osn->inputs[0].node,r_prev_anim,(osn->mix?p_weight:p_weight*(1.0-blend)),p_time,p_seek,p_filter,p_reverse_weight); - os_rem = _process_node(osn->inputs[1].node,r_prev_anim,p_weight*blend,p_time,os_seek,p_filter,os_reverse_weight); + main_rem = _process_node(osn->inputs[0].node,r_prev_anim,p_time,p_seek, p_fallback_weight, p_weights); + os_rem = _process_node(osn->inputs[1].node,r_prev_anim,p_time,os_seek, os_fallback_weight, &os_weights); if (osn->start) { osn->remaining=os_rem; @@ -591,9 +640,11 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode case NODE_MIX: { MixNode *mn = static_cast<MixNode*>(nb); - - float rem = _process_node(mn->inputs[0].node,r_prev_anim,p_weight,p_time,p_seek,p_filter,p_reverse_weight); - _process_node(mn->inputs[1].node,r_prev_anim,p_weight*mn->amount,p_time,p_seek,p_filter,p_reverse_weight); + HashMap<NodePath, float> mn_weights(*p_weights); + float mn_fallback_weight = p_fallback_weight; + _compute_weights(&mn_fallback_weight, &mn_weights, mn->amount); + float rem = _process_node(mn->inputs[0].node,r_prev_anim, p_time,p_seek,p_fallback_weight,p_weights); + _process_node(mn->inputs[1].node,r_prev_anim,p_time,p_seek,mn_fallback_weight,&mn_weights); return rem; } break; @@ -601,16 +652,12 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode Blend2Node *bn = static_cast<Blend2Node*>(nb); - float rem; - if (!bn->filter.empty()) { - - rem = _process_node(bn->inputs[0].node,r_prev_anim,p_weight*(1.0-bn->value),p_time,p_seek,&bn->filter,p_weight); - _process_node(bn->inputs[1].node,r_prev_anim,p_weight*bn->value,p_time,p_seek,&bn->filter,-1); - - } else { - rem = _process_node(bn->inputs[0].node,r_prev_anim,p_weight*(1.0-bn->value),p_time,p_seek,p_filter,p_reverse_weight*(1.0-bn->value)); - _process_node(bn->inputs[1].node,r_prev_anim,p_weight*bn->value,p_time,p_seek,p_filter,p_reverse_weight*bn->value); - } + HashMap<NodePath, float> bn_weights(*p_weights); + float bn_fallback_weight = p_fallback_weight; + _compute_weights(&p_fallback_weight,p_weights, 1.0 - bn->value, &bn->filter, 1.0); + _compute_weights(&bn_fallback_weight,&bn_weights, bn->value, &bn->filter, 0.0); + float rem = _process_node(bn->inputs[0].node,r_prev_anim,p_time,p_seek,p_fallback_weight,p_weights); + _process_node(bn->inputs[1].node,r_prev_anim,p_time,p_seek,bn_fallback_weight,&bn_weights); return rem; } break; @@ -629,19 +676,39 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode upper_blend = bn->value; } - rem = _process_node(bn->inputs[1].node,r_prev_anim,p_weight*blend,p_time,p_seek,p_filter,p_reverse_weight*blend); - _process_node(bn->inputs[2].node,r_prev_anim,p_weight*upper_blend,p_time,p_seek,p_filter,p_reverse_weight*upper_blend); - _process_node(bn->inputs[0].node,r_prev_anim,p_weight*lower_blend,p_time,p_seek,p_filter,p_reverse_weight*lower_blend); + HashMap<NodePath, float> upper_weights(*p_weights); + float upper_fallback_weight = p_fallback_weight; + HashMap<NodePath, float> lower_weights(*p_weights); + float lower_fallback_weight = p_fallback_weight; + _compute_weights(&upper_fallback_weight,&upper_weights, upper_blend); + _compute_weights(&p_fallback_weight,p_weights, blend); + _compute_weights(&lower_fallback_weight,&lower_weights, lower_blend); + + rem = _process_node(bn->inputs[1].node,r_prev_anim,p_time,p_seek,p_fallback_weight,p_weights); + _process_node(bn->inputs[0].node,r_prev_anim,p_time,p_seek,lower_fallback_weight,&lower_weights); + _process_node(bn->inputs[2].node,r_prev_anim,p_time,p_seek,upper_fallback_weight,&upper_weights); return rem; } break; case NODE_BLEND4: { Blend4Node *bn = static_cast<Blend4Node*>(nb); - float rem = _process_node(bn->inputs[0].node,r_prev_anim,p_weight*(1.0-bn->value.x),p_time,p_seek,p_filter,p_reverse_weight*(1.0-bn->value.x)); - _process_node(bn->inputs[1].node,r_prev_anim,p_weight*bn->value.x,p_time,p_seek,p_filter,p_reverse_weight*bn->value.x); - float rem2 = _process_node(bn->inputs[2].node,r_prev_anim,p_weight*(1.0-bn->value.y),p_time,p_seek,p_filter,p_reverse_weight*(1.0-bn->value.y)); - _process_node(bn->inputs[3].node,r_prev_anim,p_weight*bn->value.y,p_time,p_seek,p_filter,p_reverse_weight*bn->value.y); + HashMap<NodePath, float> weights1(*p_weights); + float fallback_weight1 = p_fallback_weight; + HashMap<NodePath, float> weights2(*p_weights); + float fallback_weight2 = p_fallback_weight; + HashMap<NodePath, float> weights3(*p_weights); + float fallback_weight3 = p_fallback_weight; + + _compute_weights(&p_fallback_weight,p_weights, 1.0-bn->value.x); + _compute_weights(&fallback_weight1,&weights1, bn->value.x); + _compute_weights(&fallback_weight2,&weights2, 1.0-bn->value.y); + _compute_weights(&fallback_weight3,&weights3, bn->value.y); + + float rem = _process_node(bn->inputs[0].node,r_prev_anim,p_time,p_seek,p_fallback_weight,p_weights); + _process_node(bn->inputs[1].node,r_prev_anim,p_time,p_seek,fallback_weight1,&weights1); + float rem2 = _process_node(bn->inputs[2].node,r_prev_anim,p_time,p_seek,fallback_weight2,&weights2); + _process_node(bn->inputs[3].node,r_prev_anim,p_time,p_seek,fallback_weight3,&weights3); return MAX(rem,rem2); @@ -650,9 +717,9 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode TimeScaleNode *tsn = static_cast<TimeScaleNode*>(nb); float rem; if (p_seek) - rem = _process_node(tsn->inputs[0].node,r_prev_anim,p_weight,p_time,true,p_filter,p_reverse_weight); + rem = _process_node(tsn->inputs[0].node,r_prev_anim,p_time,true,p_fallback_weight,p_weights); else - rem = _process_node(tsn->inputs[0].node,r_prev_anim,p_weight,p_time*tsn->scale,false,p_filter,p_reverse_weight); + rem = _process_node(tsn->inputs[0].node,r_prev_anim,p_time*tsn->scale,false,p_fallback_weight,p_weights); if (tsn->scale == 0) return INFINITY; else @@ -669,16 +736,18 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode } tsn->seek_pos=-1; - return _process_node(tsn->inputs[0].node,r_prev_anim,p_weight,p_time,p_seek, p_filter, p_reverse_weight); + return _process_node(tsn->inputs[0].node,r_prev_anim,p_time,p_seek,p_fallback_weight,p_weights); } break; case NODE_TRANSITION: { TransitionNode *tn = static_cast<TransitionNode*>(nb); + HashMap<NodePath, float> prev_weights(*p_weights); + float prev_fallback_weight = p_fallback_weight; if (tn->prev<0) { // process current animation, check for transition - float rem = _process_node(tn->inputs[tn->current].node,r_prev_anim,p_weight,p_time,p_seek,p_filter,p_reverse_weight); + float rem = _process_node(tn->inputs[tn->current].node,r_prev_anim,p_time,p_seek,p_fallback_weight,p_weights); if (p_seek) tn->time=p_time; else @@ -698,22 +767,25 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode float rem; + _compute_weights(&p_fallback_weight,p_weights, 1.0-blend); + _compute_weights(&prev_fallback_weight,&prev_weights, blend); + if (!p_seek && tn->switched) { //just switched, seek to start of current - rem = _process_node(tn->inputs[tn->current].node,r_prev_anim,p_weight*(1.0-blend),0,true,p_filter,p_reverse_weight*(1.0-blend)); + rem = _process_node(tn->inputs[tn->current].node,r_prev_anim,0,true,p_fallback_weight,p_weights); } else { - rem = _process_node(tn->inputs[tn->current].node,r_prev_anim,p_weight*(1.0-blend),p_time,p_seek,p_filter,p_reverse_weight*(1.0-blend)); + rem = _process_node(tn->inputs[tn->current].node,r_prev_anim,p_time,p_seek,p_fallback_weight,p_weights); } tn->switched=false; if (p_seek) { // don't seek prev animation - _process_node(tn->inputs[tn->prev].node,r_prev_anim,p_weight*blend,0,false,p_filter,p_reverse_weight*blend); + _process_node(tn->inputs[tn->prev].node,r_prev_anim,0,false,prev_fallback_weight,&prev_weights); tn->time=p_time; } else { - _process_node(tn->inputs[tn->prev].node,r_prev_anim,p_weight*blend,p_time,false,p_filter,p_reverse_weight*blend); + _process_node(tn->inputs[tn->prev].node,r_prev_anim,p_time,false,prev_fallback_weight,&prev_weights); tn->time+=p_time; tn->prev_xfading-=p_time; if (tn->prev_xfading<0) { @@ -750,10 +822,11 @@ void AnimationTreePlayer::_process_animation(float p_delta) { AnimationNode *prev=NULL; if (reset_request) { - _process_node(out_name,&prev, 1.0, 0, true); + + _process_node(out_name,&prev, 0, true); reset_request=false; } else - _process_node(out_name,&prev, 1.0, p_delta); + _process_node(out_name,&prev, p_delta); if (dirty_caches) { //some animation changed.. ignore this pass @@ -802,7 +875,7 @@ void AnimationTreePlayer::_process_animation(float p_delta) { if (tr.track==NULL || tr.local_track<0 || tr.weight < CMP_EPSILON) continue; - float blend=tr.weight; + float blend=tr.weight / tr.track->total_weight; switch(a->track_get_type(tr.local_track)) { case Animation::TYPE_TRANSFORM: { ///< Transform a node or a bone. @@ -1904,6 +1977,3 @@ AnimationTreePlayer::~AnimationTreePlayer() { node_map.erase( node_map.front() ); } } - - - diff --git a/scene/animation/animation_tree_player.h b/scene/animation/animation_tree_player.h index dae891b5ce..6b5350e9ee 100644 --- a/scene/animation/animation_tree_player.h +++ b/scene/animation/animation_tree_player.h @@ -111,6 +111,7 @@ private: Variant value; bool skip; + float total_weight; }; @@ -273,7 +274,7 @@ private: Map<StringName,NodeBase*> node_map; // return time left to finish animation - float _process_node(const StringName& p_node,AnimationNode **r_prev_anim, float p_weight,float p_step, bool p_seek=false,const HashMap<NodePath,bool> *p_filter=NULL, float p_reverse_weight=0); + float _process_node(const StringName& p_node,AnimationNode **r_prev_anim,float p_step, bool p_seek=false, float p_fallback_weight = 1.0, HashMap<NodePath,float>* p_weights = NULL); void _process_animation(float p_delta); bool reset_request; @@ -283,6 +284,8 @@ private: void _recompute_caches(); void _recompute_caches(const StringName& p_node); DVector<String> _get_node_list(); + + void _compute_weights(float *p_fallback_weight, HashMap<NodePath,float> *p_weights, float p_coeff, const HashMap<NodePath,bool> *p_filter = NULL, float p_filtered_coeff = 0); protected: diff --git a/scene/audio/stream_player.cpp b/scene/audio/stream_player.cpp index 050e945c8f..99ecace1ed 100644 --- a/scene/audio/stream_player.cpp +++ b/scene/audio/stream_player.cpp @@ -77,7 +77,7 @@ void StreamPlayer::sp_update() { if (to_mix==0) { if (!stop_request) { stop_request=true; - call_deferred("stop"); + call_deferred("_do_stop"); } return; } @@ -91,7 +91,10 @@ void StreamPlayer::sp_update() { } } - +void StreamPlayer::_do_stop() { + stop(); + emit_signal("finished"); +} void StreamPlayer::_notification(int p_what) { @@ -181,7 +184,7 @@ void StreamPlayer::stop() { stop_request=false; playback->stop(); resampler.flush(); - emit_signal("finished"); + //set_idle_process(false); } @@ -381,6 +384,7 @@ void StreamPlayer::_bind_methods() { ObjectTypeDB::bind_method(_MD("_set_play","play"),&StreamPlayer::_set_play); ObjectTypeDB::bind_method(_MD("_get_play"),&StreamPlayer::_get_play); + ObjectTypeDB::bind_method(_MD("_do_stop"),&StreamPlayer::_do_stop); ADD_PROPERTY( PropertyInfo(Variant::OBJECT, "stream/stream", PROPERTY_HINT_RESOURCE_TYPE,"AudioStream"), _SCS("set_stream"), _SCS("get_stream") ); ADD_PROPERTY( PropertyInfo(Variant::BOOL, "stream/play"), _SCS("_set_play"), _SCS("_get_play") ); diff --git a/scene/audio/stream_player.h b/scene/audio/stream_player.h index 475139c2a4..4facc3c816 100644 --- a/scene/audio/stream_player.h +++ b/scene/audio/stream_player.h @@ -71,6 +71,8 @@ class StreamPlayer : public Node { AudioRBResampler resampler; + void _do_stop(); + bool _play; void _set_play(bool p_play); bool _get_play() const; diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index d7632b14b8..699062fee4 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -31,6 +31,7 @@ #include "print_string.h" #include "button_group.h" #include "scene/scene_string_names.h" +#include "scene/main/viewport.h" void BaseButton::_input_event(InputEvent p_event) { @@ -415,7 +416,11 @@ Ref<ShortCut> BaseButton:: get_shortcut() const { void BaseButton::_unhandled_input(InputEvent p_event) { - if (!is_disabled() && is_visible() && shortcut.is_valid() && shortcut->is_shortcut(p_event)) { + if (!is_disabled() && is_visible() && p_event.is_pressed() && shortcut.is_valid() && shortcut->is_shortcut(p_event)) { + + if (get_viewport()->get_modal_stack_top() && !get_viewport()->get_modal_stack_top()->is_a_parent_of(this)) + return; //ignore because of modal window + if (is_toggle_mode()) { set_pressed(!is_pressed()); emit_signal("toggled",is_pressed()); diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index d6bbdf2d21..06f8c27957 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -72,13 +72,16 @@ void ColorPicker::_notification(int p_what) { _update_color(); } - case NOTIFICATION_VISIBILITY_CHANGED: { - c_text->call_deferred("grab_focus"); - c_text->call_deferred("select"); - } break; + } } +void ColorPicker::set_focus_on_line_edit() { + + c_text->grab_focus(); + c_text->select(); +} + void ColorPicker::_update_controls() { if (edit_alpha) { @@ -628,6 +631,7 @@ void ColorPickerButton::pressed() { popup->set_pos(get_global_pos()-Size2(0,ms.height)); popup->set_size(ms); popup->popup(); + picker->set_focus_on_line_edit(); } diff --git a/scene/gui/color_picker.h b/scene/gui/color_picker.h index f5de982200..b9ef1f1e2f 100644 --- a/scene/gui/color_picker.h +++ b/scene/gui/color_picker.h @@ -107,6 +107,7 @@ public: void set_raw_mode(bool p_enabled); bool is_raw_mode() const; + void set_focus_on_line_edit(); ColorPicker(); }; diff --git a/scene/gui/color_ramp_edit.cpp b/scene/gui/color_ramp_edit.cpp index 50e1ffbec9..b7347f00dc 100644 --- a/scene/gui/color_ramp_edit.cpp +++ b/scene/gui/color_ramp_edit.cpp @@ -271,7 +271,9 @@ void ColorRampEdit::_input_event(const InputEvent& p_event) { void ColorRampEdit::_notification(int p_what) { if (p_what==NOTIFICATION_ENTER_TREE) { - picker->connect("color_changed",this,"_color_changed"); + if (!picker->is_connected("color_changed",this,"_color_changed")) { + picker->connect("color_changed",this,"_color_changed"); + } } if (p_what==NOTIFICATION_DRAW) { diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 2e28baa137..fc27c0d24f 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -49,14 +49,22 @@ Variant Control::edit_get_state() const { - return get_rect(); + Dictionary s; + s["rect"]=get_rect(); + s["rot"]=get_rotation(); + s["scale"]=get_scale(); + return s; } void Control::edit_set_state(const Variant& p_state) { - Rect2 state=p_state; + Dictionary s=p_state; + + Rect2 state=s["rect"]; set_pos(state.pos); set_size(state.size); + set_rotation(s["rot"]); + set_scale(s["scale"]); } void Control::set_custom_minimum_size(const Size2& p_custom) { @@ -754,6 +762,11 @@ bool Control::is_window_modal_on_top() const { return get_viewport()->_gui_is_modal_on_top(this); } +uint64_t Control::get_modal_frame() const { + + return data.modal_frame; +} + Size2 Control::get_minimum_size() const { @@ -1829,6 +1842,7 @@ void Control::show_modal(bool p_exclusive) { raise(); data.modal_exclusive=p_exclusive; data.MI=get_viewport()->_gui_show_modal(this); + data.modal_frame=OS::get_singleton()->get_frames_drawn(); } @@ -2539,6 +2553,7 @@ Control::Control() { data.parent_canvas_item=NULL; data.scale=Vector2(1,1); data.drag_owner=0; + data.modal_frame=0; for (int i=0;i<4;i++) { diff --git a/scene/gui/control.h b/scene/gui/control.h index 07a28de1ea..830ebd1620 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -132,6 +132,7 @@ private: ObjectID drag_owner; bool modal; bool modal_exclusive; + uint64_t modal_frame; //frame used to put something as modal Ref<Theme> theme; Control *theme_owner; String tooltip; @@ -249,6 +250,7 @@ public: Size2 get_custom_minimum_size() const; bool is_window_modal_on_top() const; + uint64_t get_modal_frame() const; //frame in which this was made modal Control *get_parent_control() const; diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 6342391383..4dbc106834 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -62,7 +62,6 @@ void WindowDialog::_input_event(const InputEvent& p_event) { Point2 rel( p_event.mouse_motion.relative_x, p_event.mouse_motion.relative_y ); Point2 pos = get_pos(); - Size2 size = get_size(); pos+=rel; @@ -409,7 +408,6 @@ AcceptDialog::AcceptDialog() { ok->set_text(RTR("OK")); hbc->add_child(ok); hbc->add_spacer(); - //add_child(ok); ok->connect("pressed", this,"_ok"); diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index ee3b8913b4..06b1c42690 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -774,7 +774,6 @@ void GraphEdit::set_zoom(float p_zoom) { Vector2 sbofs = (Vector2( h_scroll->get_val(), v_scroll->get_val() ) + get_size()/2)/zoom; - float prev_zoom = zoom; zoom = p_zoom; top_layer->update(); diff --git a/scene/gui/grid_container.cpp b/scene/gui/grid_container.cpp index dde9768a6d..5e6622b3f8 100644 --- a/scene/gui/grid_container.cpp +++ b/scene/gui/grid_container.cpp @@ -156,6 +156,7 @@ void GridContainer::_notification(int p_what) { void GridContainer::set_columns(int p_columns) { + ERR_FAIL_COND(p_columns<1); columns=p_columns; queue_sort(); minimum_size_changed(); diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 5379836746..d63c483ef9 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -1245,6 +1245,19 @@ real_t ItemList::get_icon_scale() const { return icon_scale; } +Vector<int> ItemList::get_selected_items() { + Vector<int> selected; + for (int i = 0; i < items.size(); i++) { + if (items[i].selected) { + selected.push_back(i); + if (this->select_mode == SELECT_SINGLE) { + break; + } + } + } + return selected; +} + void ItemList::_bind_methods(){ ObjectTypeDB::bind_method(_MD("add_item","text","icon:Texture","selectable"),&ItemList::add_item,DEFVAL(Variant()),DEFVAL(true)); @@ -1277,6 +1290,7 @@ void ItemList::_bind_methods(){ ObjectTypeDB::bind_method(_MD("select","idx","single"),&ItemList::select,DEFVAL(true)); ObjectTypeDB::bind_method(_MD("unselect","idx"),&ItemList::unselect); ObjectTypeDB::bind_method(_MD("is_selected","idx"),&ItemList::is_selected); + ObjectTypeDB::bind_method(_MD("get_selected_items"),&ItemList::get_selected_items); ObjectTypeDB::bind_method(_MD("get_item_count"),&ItemList::get_item_count); ObjectTypeDB::bind_method(_MD("remove_item","idx"),&ItemList::remove_item); @@ -1330,8 +1344,6 @@ void ItemList::_bind_methods(){ ADD_SIGNAL( MethodInfo("item_activated",PropertyInfo(Variant::INT,"index"))); } - - ItemList::ItemList() { current=-1; diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index aa6dd64c50..e1902d1c1f 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -144,6 +144,7 @@ public: void select(int p_idx,bool p_single=true); void unselect(int p_idx); bool is_selected(int p_idx) const; + Vector<int> get_selected_items(); void set_current(int p_current); int get_current() const; diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 2d4438c48c..0431d824fa 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -144,7 +144,6 @@ void Label::_notification(int p_what) { if (!wc) return; - int c = 0; int line=0; int line_to=lines_skipped + (lines_visible>0?lines_visible:1); while(wc) { @@ -536,7 +535,9 @@ void Label::set_text(const String& p_string) { if (percent_visible<1) visible_chars=get_total_character_count()*percent_visible; update(); - minimum_size_changed(); + if (!autowrap) { + minimum_size_changed(); + } } diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 579a6e2f0a..6c47072b33 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -31,6 +31,7 @@ #include "os/os.h" #include "print_string.h" #include "label.h" +#include "translation.h" #ifdef TOOLS_ENABLED #include "tools/editor/editor_settings.h" #endif @@ -108,7 +109,7 @@ void LineEdit::_input_event(InputEvent p_event) { selection.doubleclick=false; if (OS::get_singleton()->has_virtual_keyboard()) - OS::get_singleton()->show_virtual_keyboard(get_text(),get_global_rect()); + OS::get_singleton()->show_virtual_keyboard(text,get_global_rect()); } update(); @@ -556,7 +557,9 @@ void LineEdit::_notification(int p_what) { cursor_set_blink_enabled(EDITOR_DEF("text_editor/caret_blink", false)); cursor_set_blink_speed(EDITOR_DEF("text_editor/caret_blink_speed", 0.65)); - EditorSettings::get_singleton()->connect("settings_changed",this,"_editor_settings_changed"); + if (!EditorSettings::get_singleton()->is_connected("settings_changed",this,"_editor_settings_changed")) { + EditorSettings::get_singleton()->connect("settings_changed",this,"_editor_settings_changed"); + } } } break; #endif @@ -634,14 +637,19 @@ void LineEdit::_notification(int p_what) { Color font_color_selected=get_color("font_color_selected"); Color cursor_color=get_color("cursor_color"); + const String& t = text.empty() ? placeholder : text; + // draw placeholder color + if(text.empty()) + font_color.a *= placeholder_alpha; + while(true) { //end of string, break! - if (char_ofs>=text.length()) + if (char_ofs>=t.length()) break; - CharType cchar=pass?'*':text[char_ofs]; - CharType next=pass?'*':text[char_ofs+1]; + CharType cchar=pass?'*':t[char_ofs]; + CharType next=pass?'*':t[char_ofs+1]; int char_width=font->get_char_size( cchar,next ).width; // end of widget, break! @@ -678,7 +686,7 @@ void LineEdit::_notification(int p_what) { } if (OS::get_singleton()->has_virtual_keyboard()) - OS::get_singleton()->show_virtual_keyboard(get_text(),get_global_rect()); + OS::get_singleton()->show_virtual_keyboard(text,get_global_rect()); } break; case NOTIFICATION_FOCUS_EXIT: { @@ -938,6 +946,29 @@ String LineEdit::get_text() const { return text; } +void LineEdit::set_placeholder(String p_text) { + + placeholder = XL_MESSAGE(p_text); + update(); +} + +String LineEdit::get_placeholder() const { + + return placeholder; +} + + +void LineEdit::set_placeholder_alpha(float p_alpha) { + + placeholder_alpha = p_alpha; + update(); +} + +float LineEdit::get_placeholder_alpha() const { + + return placeholder_alpha; +} + void LineEdit::set_cursor_pos(int p_pos) { if (p_pos>(int)text.length()) @@ -950,10 +981,6 @@ void LineEdit::set_cursor_pos(int p_pos) { cursor_pos=p_pos; -// if (cursor_pos>(window_pos+get_window_length())) { -// set_window_pos(cursor_pos-get_window_lengt//h()); -// } - if (!is_inside_tree()) { window_pos=cursor_pos; @@ -972,7 +999,6 @@ void LineEdit::set_cursor_pos(int p_pos) { if (window_width<0) return; - int width_to_cursor=0; int wp=window_pos; if (font.is_valid()) { @@ -1223,6 +1249,10 @@ void LineEdit::_bind_methods() { ObjectTypeDB::bind_method(_MD("select_all"),&LineEdit::select_all); ObjectTypeDB::bind_method(_MD("set_text","text"),&LineEdit::set_text); ObjectTypeDB::bind_method(_MD("get_text"),&LineEdit::get_text); + ObjectTypeDB::bind_method(_MD("set_placeholder","text"),&LineEdit::set_placeholder); + ObjectTypeDB::bind_method(_MD("get_placeholder"),&LineEdit::get_placeholder); + ObjectTypeDB::bind_method(_MD("set_placeholder_alpha","alpha"),&LineEdit::set_placeholder_alpha); + ObjectTypeDB::bind_method(_MD("get_placeholder_alpha"),&LineEdit::get_placeholder_alpha); ObjectTypeDB::bind_method(_MD("set_cursor_pos","pos"),&LineEdit::set_cursor_pos); ObjectTypeDB::bind_method(_MD("get_cursor_pos"),&LineEdit::get_cursor_pos); ObjectTypeDB::bind_method(_MD("cursor_set_blink_enabled", "enable"),&LineEdit::cursor_set_blink_enabled); @@ -1257,6 +1287,8 @@ void LineEdit::_bind_methods() { BIND_CONSTANT( MENU_MAX ); ADD_PROPERTYNZ( PropertyInfo( Variant::STRING, "text" ), _SCS("set_text"),_SCS("get_text") ); + ADD_PROPERTYNZ( PropertyInfo( Variant::STRING, "placeholder/text" ), _SCS("set_placeholder"),_SCS("get_placeholder") ); + ADD_PROPERTYNZ( PropertyInfo( Variant::REAL, "placeholder/alpha",PROPERTY_HINT_RANGE,"0,1,0.001" ), _SCS("set_placeholder_alpha"),_SCS("get_placeholder_alpha") ); ADD_PROPERTYNZ(PropertyInfo(Variant::INT, "align", PROPERTY_HINT_ENUM, "Left,Center,Right,Fill"), _SCS("set_align"), _SCS("get_align")); ADD_PROPERTYNZ( PropertyInfo( Variant::INT, "max_length" ), _SCS("set_max_length"),_SCS("get_max_length") ); ADD_PROPERTYNO( PropertyInfo( Variant::BOOL, "editable" ), _SCS("set_editable"),_SCS("is_editable") ); @@ -1275,6 +1307,7 @@ LineEdit::LineEdit() { window_has_focus=true; max_length = 0; pass=false; + placeholder_alpha=0.6; selection_clear(); set_focus_mode( FOCUS_ALL ); diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index e4da0f0b87..112e4ad55e 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -67,6 +67,8 @@ private: String undo_text; String text; + String placeholder; + float placeholder_alpha; PopupMenu *menu; @@ -135,6 +137,10 @@ public: void delete_text(int p_from_column, int p_to_column); void set_text(String p_text); String get_text() const; + void set_placeholder(String p_text); + String get_placeholder() const; + void set_placeholder_alpha(float p_alpha); + float get_placeholder_alpha() const; void set_cursor_pos(int p_pos); int get_cursor_pos() const; void set_max_length(int p_max_length); diff --git a/scene/gui/progress_bar.cpp b/scene/gui/progress_bar.cpp index 02da8ff27e..8af94c3638 100644 --- a/scene/gui/progress_bar.cpp +++ b/scene/gui/progress_bar.cpp @@ -51,7 +51,6 @@ void ProgressBar::_notification(int p_what) { Ref<StyleBox> fg = get_stylebox("fg"); Ref<Font> font = get_font("font"); Color font_color=get_color("font_color"); - Color font_color_shadow=get_color("font_color_shadow"); draw_style_box(bg,Rect2(Point2(),get_size())); float r = get_unit_value(); @@ -63,7 +62,6 @@ void ProgressBar::_notification(int p_what) { } if (percent_visible) { - int fh=font->get_height(); String txt=itos(int(get_unit_value()*100))+"%"; font->draw_halign(get_canvas_item(),Point2(0,font->get_ascent()+(get_size().height-font->get_height())/2),HALIGN_CENTER,get_size().width,txt,font_color); } diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 786ce27a0c..b4fa463cde 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -270,7 +270,6 @@ if (m_height > line_height) {\ if (p_mode!=PROCESS_CACHE) { lh=line<l.height_caches.size()?l.height_caches[line]:1; } - bool found_space=false; while (c[end]!=0 && !(end && c[end-1]==' ' && c[end]!=' ')) { @@ -284,30 +283,13 @@ if (m_height > line_height) {\ } w+=cw; - - if (c[end]==' ') { - - fw+=cw; - /* - if (p_mode==PROCESS_CACHE) { - fw+=cw; - } else if (align==ALIGN_FILL && line<l.space_caches.size() && l.space_caches[line]>0) { - //print_line(String(c,end)+": "+itos(l.offset_caches[line])+"/"+itos(l.space_caches[line])); - //sub_space=cw; - found_space=true; - } else { - fw+=cw; - }*/ - } else { - fw+=cw; - } + fw+=cw; end++; } ENSURE_WIDTH(w); - //print_line("END: "+String::chr(c[end])+"."); if (end && c[end-1]==' ') { if (p_mode==PROCESS_CACHE) { spaces_size+=font->get_char_size(' ').width; @@ -319,27 +301,17 @@ if (m_height > line_height) {\ } spaces++; - /* - if (found_space) { - int ln = MIN(l.offset_caches.size()-1,line); - - fw+=l.offset_caches[ln]/l.space_caches[ln]; - }*/ - } { - int ofs=0; for(int i=0;i<end;i++) { int pofs=wofs+ofs; - - if (p_mode==PROCESS_POINTER && r_click_char && p_click_pos.y>=p_ofs.y+y && p_click_pos.y<=p_ofs.y+y+lh) { //int o = (wofs+w)-p_click_pos.x; @@ -354,15 +326,6 @@ if (m_height > line_height) {\ if (p_click_pos.x-cw/2>p_ofs.x+align_ofs+pofs) { rchar=int((&c[i])-cf); - //print_line("GOT: "+itos(rchar)); - - - //if (i==end-1 && p_click_pos.x+cw/2 > pofs) - // rchar++; - //int o = (wofs+w)-p_click_pos.x; - - // if (o>cw/2) - // rchar++; } @@ -402,12 +365,9 @@ if (m_height > line_height) {\ } - //print_line("draw char: "+String::chr(c[i])); - if (underline) { Color uc=color; uc.a*=0.5; - //VS::get_singleton()->canvas_item_add_line(ci,Point2(pofs,y+ascent+2),Point2(pofs+cw,y+ascent+2),uc); int uy = y+lh-fh+ascent+2; VS::get_singleton()->canvas_item_add_line(ci,p_ofs+Point2(align_ofs+pofs,uy),p_ofs+Point2(align_ofs+pofs+cw,uy),uc); } @@ -462,28 +422,6 @@ if (m_height > line_height) {\ if (p_mode!=PROCESS_CACHE) lh = line<l.height_caches.size()?l.height_caches[line]:1; - -#if 0 - if (p_mode==PROCESS_POINTER && r_click_item ) { - //previous last "wrapped" line - int pl = line-1; - if (pl<0 || lines[pl].height_caches.size()==0) - break; - int py=lines[pl].offset_caches[ lines[pl].offset_caches.size() -1 ]; - int ph=lines[pl].height_caches[ lines[pl].height_caches.size() -1 ]; - print_line("py: "+itos(py)); - print_line("ph: "+itos(ph)); - - rchar=0; - if (p_click_pos.y>=py && p_click_pos.y<=py+ph) { - if (r_outside) *r_outside=true; - *r_click_item=it; - *r_click_char=rchar; - return; - } - } - -#endif } break; case ITEM_TABLE: { @@ -493,7 +431,6 @@ if (m_height > line_height) {\ int vseparation=get_constant("table_vseparation"); Color ccolor = _find_color(table,p_base_color); Vector2 draw_ofs = Point2(wofs,y); - int max_y=get_size().height; if (p_mode==PROCESS_CACHE) { @@ -725,8 +662,7 @@ void RichTextLabel::_notification(int p_what) { } break; case NOTIFICATION_ENTER_TREE: { - if (use_bbcode) - parse_bbcode(bbcode); + set_bbcode(bbcode); main->first_invalid_line=0; //invalidate ALL update(); @@ -1503,7 +1439,6 @@ bool RichTextLabel::is_scroll_following() const { Error RichTextLabel::parse_bbcode(const String& p_bbcode) { - clear(); return append_bbcode(p_bbcode); } @@ -1825,7 +1760,6 @@ bool RichTextLabel::search(const String& p_string,bool p_from_selection) { charidx=selection.to_char+1; } - int line=-1; while(it) { if (it->type==ITEM_TEXT) { @@ -1922,6 +1856,10 @@ void RichTextLabel::set_bbcode(const String& p_bbcode) { bbcode=p_bbcode; if (is_inside_tree() && use_bbcode) parse_bbcode(p_bbcode); + else { // raw text + clear(); + add_text(p_bbcode); + } } String RichTextLabel::get_bbcode() const { @@ -1933,19 +1871,37 @@ void RichTextLabel::set_use_bbcode(bool p_enable) { if (use_bbcode==p_enable) return; use_bbcode=p_enable; - if (is_inside_tree() && use_bbcode) - parse_bbcode(bbcode); + set_bbcode(bbcode); } bool RichTextLabel::is_using_bbcode() const { return use_bbcode; } + +String RichTextLabel::get_text() { + String text = ""; + Item *it = main; + while (it) { + if (it->type == ITEM_TEXT) { + ItemText *t = static_cast<ItemText*>(it); + text += t->text; + } else if (it->type == ITEM_NEWLINE) { + text += "\n"; + } else if (it->type == ITEM_INDENT) { + text += "\t"; + } + it=_get_next_item(it,true); + } + return text; +} + void RichTextLabel::_bind_methods() { ObjectTypeDB::bind_method(_MD("_input_event"),&RichTextLabel::_input_event); ObjectTypeDB::bind_method(_MD("_scroll_changed"),&RichTextLabel::_scroll_changed); + ObjectTypeDB::bind_method(_MD("get_text"),&RichTextLabel::get_text); ObjectTypeDB::bind_method(_MD("add_text","text"),&RichTextLabel::add_text); ObjectTypeDB::bind_method(_MD("add_image","image:Texture"),&RichTextLabel::add_image); ObjectTypeDB::bind_method(_MD("newline"),&RichTextLabel::add_newline); diff --git a/scene/gui/rich_text_label.h b/scene/gui/rich_text_label.h index 635fe87ad4..5147905a0e 100644 --- a/scene/gui/rich_text_label.h +++ b/scene/gui/rich_text_label.h @@ -280,6 +280,7 @@ protected: public: + String get_text(); void add_text(const String& p_text); void add_image(const Ref<Texture>& p_image); void add_newline(); diff --git a/scene/gui/scroll_container.cpp b/scene/gui/scroll_container.cpp index 9bf93aff77..190e8e141f 100644 --- a/scene/gui/scroll_container.cpp +++ b/scene/gui/scroll_container.cpp @@ -177,7 +177,6 @@ void ScrollContainer::_input_event(const InputEvent& p_input_event) { void ScrollContainer::_update_scrollbar_pos() { - Size2 size = get_size(); Size2 hmin = h_scroll->get_combined_minimum_size(); Size2 vmin = v_scroll->get_combined_minimum_size(); diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 5eb579f1d2..0e0339c488 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -40,8 +40,6 @@ int TabContainer::_get_top_margin() const { int h = MAX( tab_bg->get_minimum_size().height,tab_fg->get_minimum_size().height); -// h+=MIN( get_constant("label_valign_fg"), get_constant("label_valign_bg") ); - int ch = font->get_height();; for(int i=0;i<get_child_count();i++) { @@ -207,9 +205,7 @@ void TabContainer::_notification(int p_what) { Ref<StyleBox> tab_bg = get_stylebox("tab_bg"); Ref<StyleBox> tab_fg = get_stylebox("tab_fg"); Ref<Texture> incr = get_icon("increment"); - Ref<Texture> incr_hl = get_icon("increment_hilite"); Ref<Texture> decr = get_icon("decrement"); - Ref<Texture> decr_hl = get_icon("decrement_hilite"); Ref<Texture> menu = get_icon("menu"); Ref<Texture> menu_hl = get_icon("menu_hl"); Ref<Font> font = get_font("font"); @@ -219,9 +215,6 @@ void TabContainer::_notification(int p_what) { int side_margin = get_constant("side_margin"); int top_margin = _get_top_margin(); - int label_valign_fg = get_constant("label_valign_fg"); - int label_valign_bg = get_constant("label_valign_bg"); - Size2 top_size = Size2( size.width, top_margin ); @@ -338,17 +331,14 @@ void TabContainer::_notification(int p_what) { Ref<StyleBox> sb; - int va; Color col; if (idx==current) { sb=tab_fg; - va=label_valign_fg; col=color_fg; } else { sb=tab_bg; - va=label_valign_bg; col=color_bg; } @@ -371,23 +361,7 @@ void TabContainer::_notification(int p_what) { } font->draw(ci, Point2i( lpos.x, sb->get_margin(MARGIN_TOP)+((sb_rect.size.y-sb_ms.y)-font->get_height())/2+font->get_ascent() ), s, col ); - //ofs+=sb_ms.x+w; - - /* - int sb_mw = sb->get_minimum_size().width; - int font_ofs = sb_mw / 2; - - Rect2i rect =Rect2( ofs, 0, w+sb_mw, top_margin); - rect.size - sb->draw(ci,rect); - rect.y+=va; - rect.height+=va; - int font_y = (rect.height - font->get_height())/2; - - font->draw(ci, Point2( ofs+font_ofs, va+font_y ), s, col ); - -*/ idx++; } @@ -477,7 +451,6 @@ void TabContainer::set_current_tab(int p_current) { ERR_FAIL_INDEX( p_current, get_tab_count() ); - //printf("DEBUG %p: set_current_tab to %i\n", this, p_current); current=p_current; int idx=0; @@ -560,7 +533,6 @@ Control* TabContainer::get_current_tab_control() const { void TabContainer::remove_child_notify(Node *p_child) { int tc = get_tab_count(); -// bool set_curent=false; if (current==tc-1) { current--; if (current<0) @@ -705,9 +677,6 @@ Size2 TabContainer::get_minimum_size() const { if (c->is_set_as_toplevel()) continue; - //if (!c->has_meta("_tab_name")) - // continue; - if (!c->is_visible()) continue; diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 6fd6137ac8..55e1a2cc52 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -852,6 +852,11 @@ void TextEdit::_notification(int p_what) { k++; } + // check for space between name and bracket + while (k < str.length() && (str[k] == '\t' || str[k] == ' ')) { + k++; + } + if (str[k] == '(') { in_function_name = true; } @@ -1973,6 +1978,7 @@ void TextEdit::_input_event(const InputEvent& p_input_event) { } } break; case KEY_TAB: { + if (k.mod.command) break; // avoid tab when command if (readonly) break; @@ -4116,7 +4122,7 @@ void TextEdit::_update_completion_candidates() { } } - if (l[cursor.column - 1] == '(' && !pre_keyword && !completion_strings[0].begins_with("\"")) { + if (cursor.column > 0 && l[cursor.column - 1] == '(' && !pre_keyword && !completion_strings[0].begins_with("\"")) { cancel = true; } @@ -4131,16 +4137,28 @@ void TextEdit::_update_completion_candidates() { completion_options.clear(); completion_index=0; completion_base=s; - int ci_match=0; Vector<float> sim_cache; for(int i=0;i<completion_strings.size();i++) { + if (s == completion_strings[i]) { + // A perfect match, stop completion + _cancel_completion(); + return; + } if (s.is_subsequence_ofi(completion_strings[i])) { // don't remove duplicates if no input is provided if (s != "" && completion_options.find(completion_strings[i]) != -1) { continue; } // Calculate the similarity to keep completions in good order - float similarity = s.similarity(completion_strings[i]); + float similarity; + if (completion_strings[i].to_lower().begins_with(s.to_lower())) { + // Substrings are the best candidates + similarity = 1.1; + } else { + // Otherwise compute the similarity + similarity = s.to_lower().similarity(completion_strings[i].to_lower()); + } + int comp_size = completion_options.size(); if (comp_size == 0) { completion_options.push_back(completion_strings[i]); @@ -4150,8 +4168,8 @@ void TextEdit::_update_completion_candidates() { int pos = 0; do { comp_sim = sim_cache[pos++]; - } while(pos < comp_size && similarity <= comp_sim); - pos--; // Pos will be off by one + } while(pos < comp_size && similarity < comp_sim); + pos = similarity > comp_sim ? pos - 1 : pos; // Pos will be off by one completion_options.insert(pos, completion_strings[i]); sim_cache.insert(pos, similarity); } @@ -4541,6 +4559,7 @@ TextEdit::TextEdit() { scroll_past_end_of_file_enabled=false; auto_brace_completion_enabled=false; brace_matching_enabled=false; + highlight_all_occurrences=false; auto_indent=false; insert_mode = false; window_has_focus=true; diff --git a/scene/gui/texture_button.cpp b/scene/gui/texture_button.cpp index c885b2d73e..df2f5edd48 100644 --- a/scene/gui/texture_button.cpp +++ b/scene/gui/texture_button.cpp @@ -76,10 +76,7 @@ void TextureButton::_notification(int p_what) { switch( p_what ) { case NOTIFICATION_DRAW: { - RID canvas_item = get_canvas_item(); DrawMode draw_mode = get_draw_mode(); -// if (normal.is_null()) -// break; Ref<Texture> texdraw; diff --git a/scene/gui/texture_frame.cpp b/scene/gui/texture_frame.cpp index 143f0e83b8..4aa45af863 100644 --- a/scene/gui/texture_frame.cpp +++ b/scene/gui/texture_frame.cpp @@ -37,9 +37,6 @@ void TextureFrame::_notification(int p_what) { return; - - RID ci = get_canvas_item(); - switch(stretch_mode) { case STRETCH_SCALE_ON_EXPAND: { Size2 s=expand?get_size():texture->get_size(); @@ -85,23 +82,6 @@ void TextureFrame::_notification(int p_what) { } - -/* - Vector<Point2> points; - points.resize(4); - points[0]=Point2(0,0); - points[1]=Point2(s.x,0); - points[2]=Point2(s.x,s.y); - points[3]=Point2(0,s.y); - Vector<Point2> uvs; - uvs.resize(4); - uvs[0]=Point2(0,0); - uvs[1]=Point2(1,0); - uvs[2]=Point2(1,1); - uvs[3]=Point2(0,1); - - VisualServer::get_singleton()->canvas_item_add_primitive(ci,points,Vector<Color>(),uvs,texture->get_rid()); -*/ } } diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index f8516f8f5d..a3d6ac9714 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -973,22 +973,12 @@ int Tree::draw_item(const Point2i& p_pos,const Point2& p_draw_ofs, const Size2& /* Draw label, if height fits */ - Point2i guide_from; bool skip=(p_item==root && hide_root); - // printf("skip (%p == %p && %i) %i\n",p_item,root,hide_root,skip); if (!skip && (p_pos.y+label_h-cache.offset.y)>0) { - // printf("entering\n"); - - int height=label_h; - - Point2i guide_space=Point2i( cache.guide_width , height ); - - - if (!hide_folding && p_item->childs) { //has childs, draw the guide box Ref<Texture> arrow; @@ -1345,7 +1335,7 @@ int Tree::_count_selected_items(TreeItem* p_from) const { return count; } -void Tree::select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col,TreeItem *p_prev,bool *r_in_range) { +void Tree::select_single_item(TreeItem *p_selected, TreeItem *p_current, int p_col, TreeItem *p_prev, bool *r_in_range, bool p_force_deselect) { TreeItem::Cell &selected_cell=p_selected->cells[p_col]; @@ -1355,6 +1345,8 @@ void Tree::select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col switched=true; } + bool emitted_row=false; + for (int i=0;i<columns.size();i++) { TreeItem::Cell &c=p_current->cells[i]; @@ -1373,7 +1365,10 @@ void Tree::select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col selected_item=p_selected; selected_col=0; selected_item=p_selected; - emit_signal("item_selected"); + if (!emitted_row) { + emit_signal("item_selected"); + emitted_row=true; + } //if (p_col==i) // p_current->selected_signal.call(p_col); } @@ -1414,7 +1409,7 @@ void Tree::select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col } else { - if (r_in_range && *r_in_range) { + if (r_in_range && *r_in_range && !p_force_deselect) { if (!c.selected && c.selectable) { @@ -1422,7 +1417,7 @@ void Tree::select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col emit_signal("multi_selected",p_current,i,true); } - } else if (!r_in_range){ + } else if (!r_in_range || p_force_deselect){ if (select_mode==SELECT_MULTI && c.selected) emit_signal("multi_selected",p_current,i,false); c.selected=false; @@ -1441,7 +1436,7 @@ void Tree::select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col while (c) { - select_single_item(p_selected,c,p_col,p_prev,r_in_range); + select_single_item(p_selected,c,p_col,p_prev,r_in_range,p_current->is_collapsed() || p_force_deselect); c=c->next; } @@ -1655,7 +1650,6 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_ /* editing */ bool bring_up_editor=force_select_on_already_selected ? (c.selected && already_selected) : c.selected; - bool bring_up_value_editor=false; String editor_text=c.text; switch (c.mode) { @@ -1706,9 +1700,6 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_ bring_up_editor=false; } else { - Ref<Texture> updown = cache.updown; - - if (x >= (col_width-item_h/2)) { /* touching the combo */ @@ -1755,7 +1746,6 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_ } else { editor_text=String::num( p_item->cells[col].val, Math::decimals( p_item->cells[col].step ) ); - bring_up_value_editor=false; if (select_mode==SELECT_MULTI && get_tree()->get_last_event_id() == focus_in_id) bring_up_editor=false; @@ -2274,7 +2264,7 @@ void Tree::_input_event(InputEvent p_event) { update(); } - if (pressing_for_editor && popup_edited_item && popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE) { + if (pressing_for_editor && popup_edited_item && (popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE || popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE_EXPRESSION)) { //range drag if (!range_drag_enabled) { diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 0172546c1d..f5100ab5b6 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -331,7 +331,7 @@ friend class TreeItem; // void draw_item_text(String p_text,const Ref<Texture>& p_icon,int p_icon_max_w,bool p_tool,Rect2i p_rect,const Color& p_color); void draw_item_rect(const TreeItem::Cell& p_cell,const Rect2i& p_rect,const Color& p_color); int draw_item(const Point2i& p_pos,const Point2& p_draw_ofs, const Size2& p_draw_size,TreeItem *p_item); - void select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col,TreeItem *p_prev=NULL,bool *r_in_range=NULL); + void select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col,TreeItem *p_prev=NULL,bool *r_in_range=NULL,bool p_force_deselect=false); int propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_doubleclick,TreeItem *p_item,int p_button,const InputModifierState& p_mod); void text_editor_enter(String p_text); void _text_editor_modal_close(); diff --git a/scene/gui/video_player.cpp b/scene/gui/video_player.cpp index e9ff76bd91..1be847929d 100644 --- a/scene/gui/video_player.cpp +++ b/scene/gui/video_player.cpp @@ -116,7 +116,6 @@ void VideoPlayer::_notification(int p_notification) { case NOTIFICATION_ENTER_TREE: { - //set_idle_process(false); //don't annoy if (stream.is_valid() && autoplay && !get_tree()->is_editor_hint()) { play(); } @@ -141,13 +140,6 @@ void VideoPlayer::_notification(int p_notification) { playback->update(delta); - /*int prev_width = texture->get_width(); - stream->pop_frame(texture); - if (prev_width == 0) { - update(); - minimum_size_changed(); - };*/ - } break; case NOTIFICATION_DRAW: { @@ -158,8 +150,6 @@ void VideoPlayer::_notification(int p_notification) { return; Size2 s=expand?get_size():texture->get_size(); - RID ci = get_canvas_item(); - printf("drawing with size %f, %f\n", s.x, s.y); draw_texture_rect(texture,Rect2(Point2(),s),false); } break; diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 11b400d4a9..55106f5ee7 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -1206,7 +1206,6 @@ void Node::add_to_group(const StringName& p_identifier,bool p_persistent) { GroupData gd; - SceneTree::Group *gptr=NULL; if (data.tree) { gd.group=data.tree->add_to_group(p_identifier,this); } else { @@ -1513,7 +1512,7 @@ int Node::get_position_in_parent() const { -Node *Node::duplicate(bool p_use_instancing) const { +Node *Node::_duplicate(bool p_use_instancing) const { Node *node=NULL; @@ -1592,9 +1591,21 @@ Node *Node::duplicate(bool p_use_instancing) const { node->add_child(dup); } + return node; } +Node *Node::duplicate(bool p_use_instancing) const { + + Node* dupe = _duplicate(p_use_instancing); + + if (dupe) { + _duplicate_signals(this,dupe); + } + + return dupe; +} + void Node::_duplicate_and_reown(Node* p_new_parent, const Map<Node*,Node*>& p_reown_map) const { @@ -1664,12 +1675,13 @@ void Node::_duplicate_and_reown(Node* p_new_parent, const Map<Node*,Node*>& p_re void Node::_duplicate_signals(const Node* p_original,Node* p_copy) const { - if (this!=p_original && get_owner()!=p_original) + if (this!=p_original && (get_owner()!=p_original && get_owner()!=p_original->get_owner())) return; List<Connection> conns; get_all_signal_connections(&conns); + for (List<Connection>::Element *E=conns.front();E;E=E->next()) { if (E->get().flags&CONNECT_PERSIST) { @@ -1678,14 +1690,17 @@ void Node::_duplicate_signals(const Node* p_original,Node* p_copy) const { Node *copy = p_copy->get_node(p); Node *target = E->get().target->cast_to<Node>(); - if (!target) + if (!target) { continue; + } NodePath ptarget = p_original->get_path_to(target); Node *copytarget = p_copy->get_node(ptarget); + if (copy && copytarget) { copy->connect(E->get().signal,copytarget,E->get().method,E->get().binds,CONNECT_PERSIST); } + } } @@ -2085,6 +2100,15 @@ bool Node::is_owned_by_parent() const { return data.parent_owned; } +void Node::set_display_folded(bool p_folded) { + data.display_folded=p_folded; +} + +bool Node::is_displayed_folded() const { + + return data.display_folded; +} + void Node::_bind_methods() { ObjectTypeDB::bind_method(_MD("_add_child_below_node","node:Node","child_node:Node","legible_unique_name"),&Node::add_child_below_node,DEFVAL(false)); @@ -2140,6 +2164,8 @@ void Node::_bind_methods() { ObjectTypeDB::bind_method(_MD("can_process"),&Node::can_process); ObjectTypeDB::bind_method(_MD("print_stray_nodes"),&Node::_print_stray_nodes); ObjectTypeDB::bind_method(_MD("get_position_in_parent"),&Node::get_position_in_parent); + ObjectTypeDB::bind_method(_MD("set_display_folded","fold"),&Node::set_display_folded); + ObjectTypeDB::bind_method(_MD("is_displayed_folded"),&Node::is_displayed_folded); ObjectTypeDB::bind_method(_MD("get_tree:SceneTree"),&Node::get_tree); @@ -2194,6 +2220,7 @@ void Node::_bind_methods() { //ADD_PROPERTYNZ( PropertyInfo( Variant::BOOL, "process/input" ), _SCS("set_process_input"),_SCS("is_processing_input" ) ); //ADD_PROPERTYNZ( PropertyInfo( Variant::BOOL, "process/unhandled_input" ), _SCS("set_process_unhandled_input"),_SCS("is_processing_unhandled_input" ) ); ADD_PROPERTYNZ( PropertyInfo( Variant::INT, "process/pause_mode",PROPERTY_HINT_ENUM,"Inherit,Stop,Process" ), _SCS("set_pause_mode"),_SCS("get_pause_mode" ) ); + ADD_PROPERTYNZ( PropertyInfo( Variant::BOOL, "editor/display_folded",PROPERTY_HINT_NONE,"",PROPERTY_USAGE_NOEDITOR ), _SCS("set_display_folded"),_SCS("is_displayed_folded" ) ); BIND_VMETHOD( MethodInfo("_process",PropertyInfo(Variant::REAL,"delta")) ); BIND_VMETHOD( MethodInfo("_fixed_process",PropertyInfo(Variant::REAL,"delta")) ); @@ -2231,6 +2258,7 @@ Node::Node() { data.in_constructor=true; data.viewport=NULL; data.use_placeholder=false; + data.display_folded=false; } Node::~Node() { @@ -2240,6 +2268,7 @@ Node::~Node() { data.owned.clear(); data.children.clear(); + ERR_FAIL_COND(data.parent); ERR_FAIL_COND(data.children.size()); diff --git a/scene/main/node.h b/scene/main/node.h index 88334f32f0..10cfc5f9e6 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -111,6 +111,7 @@ private: bool in_constructor; bool use_placeholder; + bool display_folded; } data; @@ -137,6 +138,8 @@ private: void _duplicate_signals(const Node* p_original,Node* p_copy) const; void _duplicate_and_reown(Node* p_new_parent, const Map<Node*,Node*>& p_reown_map) const; + Node *_duplicate(bool p_use_instancing) const; + Array _get_children() const; Array _get_groups() const; @@ -325,6 +328,8 @@ public: void update_configuration_warning(); + void set_display_folded(bool p_folded); + bool is_displayed_folded() const; /* CANVAS */ Node(); diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 3c52af1c1e..bb6e6e289b 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1083,7 +1083,7 @@ void Viewport::_propagate_exit_world(Node *p_node) { Spatial *s = p_node->cast_to<Spatial>(); if (s) { - s->notification(Spatial::NOTIFICATION_EXIT_WORLD,false); + s->notification(Spatial::NOTIFICATION_EXIT_WORLD, true); } else { Viewport *v = p_node->cast_to<Viewport>(); if (v) { @@ -1331,11 +1331,11 @@ Matrix32 Viewport::_get_input_pre_xform() const { Matrix32 pre_xf; if (render_target) { - ERR_FAIL_COND_V(to_screen_rect.size.x==0,pre_xf); - ERR_FAIL_COND_V(to_screen_rect.size.y==0,pre_xf); + if (to_screen_rect!=Rect2()) { - pre_xf.elements[2]=-to_screen_rect.pos; - pre_xf.scale(rect.size/to_screen_rect.size); + pre_xf.elements[2]=-to_screen_rect.pos; + pre_xf.scale(rect.size/to_screen_rect.size); + } } else { pre_xf.elements[2]=-rect.pos; @@ -1575,35 +1575,38 @@ void Viewport::_gui_call_input(Control *p_control,const InputEvent& p_input) { // _block(); + InputEvent ev = p_input; + //mouse wheel events can't be stopped - bool cant_stop_me_now = (p_input.type==InputEvent::MOUSE_BUTTON && - (p_input.mouse_button.button_index==BUTTON_WHEEL_DOWN || - p_input.mouse_button.button_index==BUTTON_WHEEL_UP || - p_input.mouse_button.button_index==BUTTON_WHEEL_LEFT || - p_input.mouse_button.button_index==BUTTON_WHEEL_RIGHT ) ); + bool cant_stop_me_now = (ev.type==InputEvent::MOUSE_BUTTON && + (ev.mouse_button.button_index==BUTTON_WHEEL_DOWN || + ev.mouse_button.button_index==BUTTON_WHEEL_UP || + ev.mouse_button.button_index==BUTTON_WHEEL_LEFT || + ev.mouse_button.button_index==BUTTON_WHEEL_RIGHT ) ); CanvasItem *ci=p_control; while(ci) { Control *control = ci->cast_to<Control>(); if (control) { - control->call_multilevel(SceneStringNames::get_singleton()->_input_event,p_input); + control->call_multilevel(SceneStringNames::get_singleton()->_input_event,ev); if (gui.key_event_accepted) break; if (!control->is_inside_tree()) break; - control->emit_signal(SceneStringNames::get_singleton()->input_event,p_input); + control->emit_signal(SceneStringNames::get_singleton()->input_event,ev); if (!control->is_inside_tree() || control->is_set_as_toplevel()) break; if (gui.key_event_accepted) break; - if (!cant_stop_me_now && control->data.stop_mouse && (p_input.type==InputEvent::MOUSE_BUTTON || p_input.type==InputEvent::MOUSE_MOTION)) + if (!cant_stop_me_now && control->data.stop_mouse && (ev.type==InputEvent::MOUSE_BUTTON || ev.type==InputEvent::MOUSE_MOTION)) break; } if (ci->is_set_as_toplevel()) break; + ev=ev.xform_by(ci->get_transform()); //transform event upwards ci=ci->get_parent_item(); } @@ -1749,8 +1752,9 @@ void Viewport::_gui_input_event(InputEvent p_event) { Vector2 pos = top->get_global_transform_with_canvas().affine_inverse().xform(mpos); if (!top->has_point(pos)) { - if (top->data.modal_exclusive) { + if (top->data.modal_exclusive || top->data.modal_frame==OS::get_singleton()->get_frames_drawn()) { //cancel event, sorry, modal exclusive EATS UP ALL + //alternative, you can't pop out a window the same frame it was made modal (fixes many issues) //get_tree()->call_group(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID); get_tree()->set_input_as_handled(); return; // no one gets the event if exclusive NO ONE @@ -1784,15 +1788,12 @@ void Viewport::_gui_input_event(InputEvent p_event) { if (p_event.mouse_button.button_index==BUTTON_LEFT) { gui.drag_accum=Vector2(); gui.drag_attempted=false; - if (gui.drag_data.get_type()!=Variant::NIL) { - _propagate_viewport_notification(this,NOTIFICATION_DRAG_END); - } - gui.drag_data=Variant(); } } + p_event.mouse_button.global_x = pos.x; p_event.mouse_button.global_y = pos.y; @@ -1828,30 +1829,55 @@ void Viewport::_gui_input_event(InputEvent p_event) { get_tree()->call_group(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID); get_tree()->set_input_as_handled(); + + if (gui.drag_data.get_type()!=Variant::NIL && p_event.mouse_button.button_index==BUTTON_LEFT) { + + //alternate drop use (when using force_drag(), as proposed by #5342 + if (gui.mouse_focus && gui.mouse_focus->can_drop_data(pos,gui.drag_data)) { + gui.mouse_focus->drop_data(pos,gui.drag_data); + } + + gui.drag_data=Variant(); + + if (gui.drag_preview) { + memdelete( gui.drag_preview ); + gui.drag_preview=NULL; + } + _propagate_viewport_notification(this,NOTIFICATION_DRAG_END); + //change mouse accordingly + } + + + _gui_cancel_tooltip(); //gui.tooltip_popup->hide(); } else { - if (gui.drag_preview && p_event.mouse_button.button_index==BUTTON_LEFT) { - memdelete( gui.drag_preview ); - gui.drag_preview=NULL; - } - if (!gui.mouse_focus) { - if (gui.mouse_over && gui.drag_data.get_type()!=Variant::NIL && p_event.mouse_button.button_index==BUTTON_LEFT) { + if (gui.drag_data.get_type()!=Variant::NIL && p_event.mouse_button.button_index==BUTTON_LEFT) { + if (gui.mouse_over) { Size2 pos = mpos; pos = gui.focus_inv_xform.xform(pos); if (gui.mouse_over->can_drop_data(pos,gui.drag_data)) { gui.mouse_over->drop_data(pos,gui.drag_data); } - gui.drag_data=Variant(); - _propagate_viewport_notification(this,NOTIFICATION_DRAG_END); - //change mouse accordingly } + if (gui.drag_preview && p_event.mouse_button.button_index==BUTTON_LEFT) { + memdelete( gui.drag_preview ); + gui.drag_preview=NULL; + } + + gui.drag_data=Variant(); + _propagate_viewport_notification(this,NOTIFICATION_DRAG_END); + //change mouse accordingly + } + + if (!gui.mouse_focus) { + //release event is only sent if a mouse focus (previously pressed button) exists break; } @@ -1871,10 +1897,10 @@ void Viewport::_gui_input_event(InputEvent p_event) { gui.mouse_focus_button=-1; } - if (gui.drag_data.get_type()!=Variant::NIL && p_event.mouse_button.button_index==BUTTON_LEFT) { + /*if (gui.drag_data.get_type()!=Variant::NIL && p_event.mouse_button.button_index==BUTTON_LEFT) { _propagate_viewport_notification(this,NOTIFICATION_DRAG_END); gui.drag_data=Variant(); //always clear - } + }*/ get_tree()->call_group(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID); @@ -2032,7 +2058,12 @@ void Viewport::_gui_input_event(InputEvent p_event) { case InputEvent::JOYSTICK_BUTTON: case InputEvent::KEY: { - if (gui.key_focus) { + + if (gui.key_focus && !gui.key_focus->is_visible()) { + gui.key_focus->release_focus(); + } + + if (gui.key_focus) { gui.key_event_accepted=false; if (gui.key_focus->can_process()) { @@ -2172,6 +2203,9 @@ void Viewport::_gui_remove_from_modal_stack(List<Control*>::Element *MI,ObjectID void Viewport::_gui_force_drag(Control *p_base, const Variant& p_data, Control *p_control) { + ERR_EXPLAIN("Drag data must be a value"); + ERR_FAIL_COND(p_data.get_type()==Variant::NIL); + gui.drag_data=p_data; gui.mouse_focus=NULL; @@ -2368,8 +2402,8 @@ void Viewport::input(const InputEvent& p_event) { ERR_FAIL_COND(!is_inside_tree()); + get_tree()->_call_input_pause(input_group,"_input",p_event); //not a bug, must happen before GUI, order is _input -> gui input -> _unhandled input _gui_input_event(p_event); - get_tree()->_call_input_pause(input_group,"_input",p_event); //get_tree()->call_group(SceneTree::GROUP_CALL_REVERSE|SceneTree::GROUP_CALL_REALTIME|SceneTree::GROUP_CALL_MULIILEVEL,gui_input_group,"_gui_input",p_event); //special one for GUI, as controls use their own process check } @@ -2498,6 +2532,9 @@ Variant Viewport::gui_get_drag_data() const { return gui.drag_data; } +Control *Viewport::get_modal_stack_top() const { + return gui.modal_stack.size()?gui.modal_stack.back()->get():NULL; +} String Viewport::get_configuration_warning() const { diff --git a/scene/main/viewport.h b/scene/main/viewport.h index 545020dfc7..22a97a9888 100644 --- a/scene/main/viewport.h +++ b/scene/main/viewport.h @@ -39,6 +39,7 @@ */ class Camera; +class Camera2D; class Listener; class Control; class CanvasItem; @@ -374,6 +375,7 @@ public: bool gui_has_modal_stack() const; Variant gui_get_drag_data() const; + Control *get_modal_stack_top() const; virtual String get_configuration_warning() const; diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp index 098801bcf5..1d15b6f2bc 100644 --- a/scene/resources/animation.cpp +++ b/scene/resources/animation.cpp @@ -1997,9 +1997,6 @@ void Animation::_transform_track_optimize(int p_idx,float p_alowed_linear_err,fl void Animation::optimize(float p_allowed_linear_err,float p_allowed_angular_err,float p_angle_max) { - - int total_tt=0; - for(int i=0;i<tracks.size();i++) { if (tracks[i]->type==TYPE_TRANSFORM) diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index c3b40f7add..67587a8f8b 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -434,7 +434,7 @@ void DynamicFontAtSize::_update_char(CharType p_char) { int w = slot->bitmap.width; int h = slot->bitmap.rows; - int p = slot->bitmap.pitch; + //int p = slot->bitmap.pitch; int yofs=slot->bitmap_top; int xofs=slot->bitmap_left; int advance=slot->advance.x>>6; diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index e56314c1f8..f6213f74e8 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -406,10 +406,10 @@ void FixedMaterial::_bind_methods() { BIND_CONSTANT( PARAM_SHADE_PARAM ); BIND_CONSTANT( PARAM_MAX ); - BIND_CONSTANT( TEXCOORD_SPHERE ); BIND_CONSTANT( TEXCOORD_UV ); BIND_CONSTANT( TEXCOORD_UV_TRANSFORM ); BIND_CONSTANT( TEXCOORD_UV2 ); + BIND_CONSTANT( TEXCOORD_SPHERE ); BIND_CONSTANT( FLAG_USE_ALPHA ); BIND_CONSTANT( FLAG_USE_COLOR_ARRAY ); diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp index a1a1f0a935..921466585d 100644 --- a/scene/resources/mesh.cpp +++ b/scene/resources/mesh.cpp @@ -30,7 +30,8 @@ #include "scene/resources/concave_polygon_shape.h" #include "scene/resources/convex_polygon_shape.h" #include "surface_tool.h" -static const char*_array_name[]={ + +static const char* _array_name[]={ "vertex_array", "normal_array", "tangent_array", @@ -847,7 +848,6 @@ Ref<Mesh> Mesh::create_outline(float p_margin) const { } { - int tc=0; DVector<int>::Write ir; DVector<int> indices =arrays[ARRAY_INDEX]; bool has_indices=false; diff --git a/scene/resources/packed_scene.cpp b/scene/resources/packed_scene.cpp index ac528e6659..c36480420b 100644 --- a/scene/resources/packed_scene.cpp +++ b/scene/resources/packed_scene.cpp @@ -375,7 +375,7 @@ Error SceneState::_parse_node(Node *p_owner,Node *p_node,int p_parent_idx, Map<S PackState ps; ps.node=node; ps.state=state; - pack_state_stack.push_front(ps); + pack_state_stack.push_back(ps); instanced_by_owner=false; } } @@ -471,7 +471,6 @@ Error SceneState::_parse_node(Node *p_owner,Node *p_node,int p_parent_idx, Map<S } } #endif - int subscene_prop_search_from=0; // all setup, we then proceed to check all properties for the node // and save the ones that are worth saving @@ -479,8 +478,6 @@ Error SceneState::_parse_node(Node *p_owner,Node *p_node,int p_parent_idx, Map<S List<PropertyInfo> plist; p_node->get_property_list(&plist); - bool saved_script=false; - for (List<PropertyInfo>::Element *E=plist.front();E;E=E->next()) { @@ -528,23 +525,8 @@ Error SceneState::_parse_node(Node *p_owner,Node *p_node,int p_parent_idx, Map<S break; } } -#if 0 -// this workaround ended up causing problems: -https://github.com/godotengine/godot/issues/3127 - if (saved_script && exists && p_node->get_script_instance()) { - //if this is an overriden value by another script, save it anyway - //as the script change will erase it - //https://github.com/godotengine/godot/issues/2958 - - bool valid=false; - p_node->get_script_instance()->get_property_type(name,&valid); - if (valid) { - exists=false; - isdefault=false; - } - } -#endif + if (exists) { //check if already exists and did not change @@ -556,6 +538,7 @@ https://github.com/godotengine/godot/issues/3127 if (Math::abs(a-b)<CMP_EPSILON) continue; } else if (bool(Variant::evaluate(Variant::OP_EQUAL,value,original))) { + continue; } } @@ -575,9 +558,6 @@ https://github.com/godotengine/godot/issues/3127 } } - if (name=="script/script") - saved_script=true; - NodeData::Property prop; prop.name=_nm_get_string( name,name_map); prop.value=_vm_get_variant( value, variant_map); @@ -729,6 +709,7 @@ Error SceneState::_parse_connections(Node *p_owner,Node *p_node, Map<StringName, List<MethodInfo> _signals; p_node->get_signal_list(&_signals); + _signals.sort(); //ERR_FAIL_COND_V( !node_map.has(p_node), ERR_BUG); //NodeData &nd = nodes[node_map[p_node]]; @@ -738,6 +719,9 @@ Error SceneState::_parse_connections(Node *p_owner,Node *p_node, Map<StringName, List<Node::Connection> conns; p_node->get_signal_connection_list(E->get().name,&conns); + + conns.sort(); + for(List<Node::Connection>::Element *F=conns.front();F;F=F->next()) { const Node::Connection &c = F->get(); diff --git a/scene/resources/packed_scene.h b/scene/resources/packed_scene.h index 6bde508d72..3b6c0898e0 100644 --- a/scene/resources/packed_scene.h +++ b/scene/resources/packed_scene.h @@ -196,6 +196,7 @@ class PackedScene : public Resource { protected: + virtual bool editor_can_reload_from_file() { return false; } // this is handled by editor better static void _bind_methods(); public: diff --git a/scene/resources/sample.cpp b/scene/resources/sample.cpp index 87fcfc425d..aae4e85a27 100644 --- a/scene/resources/sample.cpp +++ b/scene/resources/sample.cpp @@ -187,6 +187,8 @@ RID Sample::get_rid() const { return sample; } + + void Sample::_bind_methods(){ diff --git a/scene/resources/sample.h b/scene/resources/sample.h index 0a88167233..18672e41c0 100644 --- a/scene/resources/sample.h +++ b/scene/resources/sample.h @@ -75,6 +75,7 @@ protected: public: + void create(Format p_format, bool p_stereo, int p_length); Format get_format() const; diff --git a/scene/resources/sample_library.cpp b/scene/resources/sample_library.cpp index 5b70ee0e11..67481f267d 100644 --- a/scene/resources/sample_library.cpp +++ b/scene/resources/sample_library.cpp @@ -106,9 +106,9 @@ void SampleLibrary::remove_sample(const StringName& p_name) { sample_map.erase(p_name); } -void SampleLibrary::get_sample_list(List<StringName> *p_samples) { +void SampleLibrary::get_sample_list(List<StringName> *p_samples) const { - for(Map<StringName,SampleData >::Element *E=sample_map.front();E;E=E->next()) { + for(const Map<StringName,SampleData >::Element *E=sample_map.front();E;E=E->next()) { p_samples->push_back(E->key()); } @@ -122,9 +122,17 @@ bool SampleLibrary::has_sample(const StringName& p_name) const { void SampleLibrary::_get_property_list(List<PropertyInfo> *p_list) const { + + List<PropertyInfo> tpl; for(Map<StringName,SampleData>::Element *E=sample_map.front();E;E=E->next()) { - p_list->push_back( PropertyInfo( Variant::DICTIONARY, "samples/"+E->key(),PROPERTY_HINT_RESOURCE_TYPE,"Sample",PROPERTY_USAGE_NOEDITOR ) ); + tpl.push_back( PropertyInfo( Variant::DICTIONARY, "samples/"+E->key(),PROPERTY_HINT_RESOURCE_TYPE,"Sample",PROPERTY_USAGE_NOEDITOR ) ); + } + + tpl.sort(); + //sort so order is kept + for(List<PropertyInfo>::Element *E=tpl.front();E;E=E->next()) { + p_list->push_back(E->get()); } } @@ -169,7 +177,20 @@ float SampleLibrary::sample_get_pitch_scale(const StringName& p_name) const{ return sample_map[p_name].pitch_scale; } +Array SampleLibrary::_get_sample_list() const { + List<StringName> snames; + get_sample_list(&snames); + + snames.sort_custom<StringName::AlphCompare>(); + + Array ret; + for (List<StringName>::Element *E=snames.front();E;E=E->next()) { + ret.push_back(E->get()); + } + + return ret; +} void SampleLibrary::_bind_methods() { @@ -178,6 +199,8 @@ void SampleLibrary::_bind_methods() { ObjectTypeDB::bind_method(_MD("has_sample","name"),&SampleLibrary::has_sample ); ObjectTypeDB::bind_method(_MD("remove_sample","name"),&SampleLibrary::remove_sample ); + ObjectTypeDB::bind_method(_MD("get_sample_list"),&SampleLibrary::_get_sample_list ); + ObjectTypeDB::bind_method(_MD("sample_set_volume_db","name","db"),&SampleLibrary::sample_set_volume_db ); ObjectTypeDB::bind_method(_MD("sample_get_volume_db","name"),&SampleLibrary::sample_get_volume_db ); diff --git a/scene/resources/sample_library.h b/scene/resources/sample_library.h index 8377967106..e572aa215a 100644 --- a/scene/resources/sample_library.h +++ b/scene/resources/sample_library.h @@ -47,6 +47,8 @@ class SampleLibrary : public Resource { }; Map<StringName,SampleData > sample_map; + + Array _get_sample_list() const; protected: bool _set(const StringName& p_name, const Variant& p_value); @@ -66,7 +68,7 @@ public: void sample_set_pitch_scale(const StringName& p_name, float p_pitch); float sample_get_pitch_scale(const StringName& p_name) const; Ref<Sample> get_sample(const StringName& p_name) const; - void get_sample_list(List<StringName> *p_samples); + void get_sample_list(List<StringName> *p_samples) const; void remove_sample(const StringName& p_name); StringName get_sample_idx(int p_idx) const; diff --git a/scene/resources/scene_format_text.cpp b/scene/resources/scene_format_text.cpp index c7e2fc4e73..95645107d4 100644 --- a/scene/resources/scene_format_text.cpp +++ b/scene/resources/scene_format_text.cpp @@ -67,12 +67,17 @@ Error ResourceInteractiveLoaderText::_parse_sub_resource(VariantParser::Stream* String path = local_path+"::"+itos(index); - if (!ResourceCache::has(path)) { - r_err_str="Can't load cached sub-resource: "+path; - return ERR_PARSE_ERROR; - } + if (!ignore_resource_parsing) { - r_res=RES(ResourceCache::get(path)); + if (!ResourceCache::has(path)) { + r_err_str="Can't load cached sub-resource: "+path; + return ERR_PARSE_ERROR; + } + + r_res=RES(ResourceCache::get(path)); + } else { + r_res=RES(); + } VariantParser::get_token(p_stream,token,line,r_err_str); if (token.type!=VariantParser::TK_PARENTHESIS_CLOSE) { @@ -95,25 +100,29 @@ Error ResourceInteractiveLoaderText::_parse_ext_resource(VariantParser::Stream* int id = token.value; + if (!ignore_resource_parsing) { - if (!ext_resources.has(id)) { - r_err_str="Can't load cached ext-resource #"+itos(id); - return ERR_PARSE_ERROR; - } + if (!ext_resources.has(id)) { + r_err_str="Can't load cached ext-resource #"+itos(id); + return ERR_PARSE_ERROR; + } - String path = ext_resources[id].path; - String type = ext_resources[id].type; + String path = ext_resources[id].path; + String type = ext_resources[id].type; - if (path.find("://")==-1 && path.is_rel_path()) { - // path is relative to file being loaded, so convert to a resource path - path=Globals::get_singleton()->localize_path(res_path.get_base_dir().plus_file(path)); + if (path.find("://")==-1 && path.is_rel_path()) { + // path is relative to file being loaded, so convert to a resource path + path=Globals::get_singleton()->localize_path(res_path.get_base_dir().plus_file(path)); - } + } - r_res=ResourceLoader::load(path,type); + r_res=ResourceLoader::load(path,type); - if (r_res.is_null()) { - WARN_PRINT(String("Couldn't load external resource: "+path).utf8().get_data()); + if (r_res.is_null()) { + WARN_PRINT(String("Couldn't load external resource: "+path).utf8().get_data()); + } + } else { + r_res=RES(); } VariantParser::get_token(p_stream,token,line,r_err_str); @@ -625,6 +634,7 @@ void ResourceInteractiveLoaderText::get_dependencies(FileAccess *f,List<String> open(f); + ignore_resource_parsing=true; ERR_FAIL_COND(error!=OK); while(next_tag.name=="ext_resource") { @@ -662,6 +672,7 @@ void ResourceInteractiveLoaderText::get_dependencies(FileAccess *f,List<String> Error err = VariantParser::parse_tag(&stream,lines,error_text,next_tag,&rp); if (err) { + print_line(error_text+" - "+itos(lines)); error_text="Unexpected end of file"; _printerr(); error=ERR_FILE_CORRUPT; @@ -676,7 +687,7 @@ Error ResourceInteractiveLoaderText::rename_dependencies(FileAccess *p_f, const open(p_f,true); ERR_FAIL_COND_V(error!=OK,error); - + ignore_resource_parsing=true; //FileAccess FileAccess *fw = NULL; @@ -794,7 +805,7 @@ void ResourceInteractiveLoaderText::open(FileAccess *p_f,bool p_skip_first_tag) stream.f=f; is_scene=false; - + ignore_resource_parsing=false; resource_current=0; @@ -879,6 +890,8 @@ String ResourceInteractiveLoaderText::recognize(FileAccess *p_f) { stream.f=f; + ignore_resource_parsing=true; + VariantParser::Tag tag; Error err = VariantParser::parse_tag(&stream,lines,error_text,tag); @@ -1296,7 +1309,7 @@ Error ResourceFormatSaverTextInstance::save(const String &p_path,const RES& p_re if ((PE->get().usage&PROPERTY_USAGE_STORE_IF_NONZERO && value.is_zero())||(PE->get().usage&PROPERTY_USAGE_STORE_IF_NONONE && value.is_one()) ) continue; - if (PE->get().type==Variant::OBJECT && value.is_zero() && (!PE->get().usage&PROPERTY_USAGE_STORE_IF_NULL)) + if (PE->get().type==Variant::OBJECT && value.is_zero() && !(PE->get().usage&PROPERTY_USAGE_STORE_IF_NULL)) continue; String vars; diff --git a/scene/resources/scene_format_text.h b/scene/resources/scene_format_text.h index 8dbfbfda48..6122a1f9d8 100644 --- a/scene/resources/scene_format_text.h +++ b/scene/resources/scene_format_text.h @@ -56,7 +56,7 @@ class ResourceInteractiveLoaderText : public ResourceInteractiveLoader { bool is_scene; String res_type; - + bool ignore_resource_parsing; // Map<String,String> remaps; diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 2fa00c7da7..726b1938c4 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -98,10 +98,6 @@ Texture::Texture() { -bool ImageTexture::can_reload_from_file() { - - return true; -} void ImageTexture::reload_from_file() { diff --git a/scene/resources/texture.h b/scene/resources/texture.h index 103b425cd8..05ea833978 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -103,7 +103,6 @@ private: float lossy_storage_quality; protected: - virtual bool can_reload_from_file(); virtual void reload_from_file(); bool _set(const StringName& p_name, const Variant& p_value); diff --git a/servers/audio/audio_mixer_sw.cpp b/servers/audio/audio_mixer_sw.cpp index 64369182b1..17f8c36c9a 100644 --- a/servers/audio/audio_mixer_sw.cpp +++ b/servers/audio/audio_mixer_sw.cpp @@ -75,7 +75,7 @@ void AudioMixerSW::do_resample(const Depth* p_src, int32_t *p_dst, ResamplerStat for(int i=0;i<(is_stereo?2:1);i++) { - int16_t nibble,signed_nibble,diff,step; + int16_t nibble,diff,step; p_state->ima_adpcm[i].last_nibble++; const uint8_t *src_ptr=p_state->ima_adpcm[i].ptr; @@ -92,10 +92,6 @@ void AudioMixerSW::do_resample(const Depth* p_src, int32_t *p_dst, ResamplerStat if (p_state->ima_adpcm[i].step_index>88) p_state->ima_adpcm[i].step_index=88; - /* - signed_nibble = (nibble&7) * ((nibble&8)?-1:1); - diff = (2 * signed_nibble + 1) * step / 4; */ - diff = step >> 3 ; if (nibble & 1) diff += step >> 2 ; diff --git a/servers/physics/body_pair_sw.cpp b/servers/physics/body_pair_sw.cpp index 40e906c36c..3202e52abb 100644 --- a/servers/physics/body_pair_sw.cpp +++ b/servers/physics/body_pair_sw.cpp @@ -307,10 +307,6 @@ bool BodyPairSW::setup(float p_step) { } #endif - - int gather_A = A->can_report_contacts(); - int gather_B = B->can_report_contacts(); - c.rA = global_A; c.rB = global_B-offset_B; diff --git a/servers/physics/collision_solver_sat.cpp b/servers/physics/collision_solver_sat.cpp index 8789663f63..3e7719e5eb 100644 --- a/servers/physics/collision_solver_sat.cpp +++ b/servers/physics/collision_solver_sat.cpp @@ -1230,7 +1230,6 @@ static void _collision_capsule_convex_polygon(const ShapeSW *p_a,const Transform const Geometry::MeshData::Edge *edges = mesh.edges.ptr(); int edge_count = mesh.edges.size(); const Vector3 *vertices = mesh.vertices.ptr(); - int vertex_count = mesh.vertices.size(); // faces of B for (int i=0;i<face_count;i++) { diff --git a/servers/physics/shape_sw.cpp b/servers/physics/shape_sw.cpp index 5923f89120..1d4914c945 100644 --- a/servers/physics/shape_sw.cpp +++ b/servers/physics/shape_sw.cpp @@ -766,7 +766,6 @@ bool ConvexPolygonShapeSW::intersect_segment(const Vector3& p_begin,const Vector int fc = mesh.faces.size(); const Vector3 *vertices = mesh.vertices.ptr(); - int vc = mesh.vertices.size(); Vector3 n = p_end-p_begin; float min = 1e20; @@ -873,14 +872,11 @@ void FaceShapeSW::project_range(const Vector3& p_normal, const Transform& p_tran Vector3 FaceShapeSW::get_support(const Vector3& p_normal) const { - Vector3 n=p_normal; - int vert_support_idx=-1; float support_max; for (int i=0;i<3;i++) { - //float d=n.dot(vertex[i]); float d=p_normal.dot(vertex[i]); if (i==0 || d > support_max) { diff --git a/servers/physics/space_sw.cpp b/servers/physics/space_sw.cpp index 1e6f42aa02..7077146420 100644 --- a/servers/physics/space_sw.cpp +++ b/servers/physics/space_sw.cpp @@ -150,7 +150,6 @@ int PhysicsDirectSpaceStateSW::intersect_shape(const RID& p_shape, const Transfo int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,SpaceSW::INTERSECTION_QUERY_MAX,space->intersection_query_subindex_results); - bool collided=false; int cc=0; //Transform ai = p_xform.affine_inverse(); @@ -269,7 +268,6 @@ bool PhysicsDirectSpaceStateSW::cast_motion(const RID& p_shape, const Transform& for(int i=0;i<8;i++) { //steps should be customizable.. - Transform xfa = p_xform; float ofs = (low+hi)*0.5; Vector3 sep=mnormal; //important optimization for this to work fast enough @@ -337,7 +335,6 @@ bool PhysicsDirectSpaceStateSW::collide_shape(RID p_shape, const Transform& p_sh int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,SpaceSW::INTERSECTION_QUERY_MAX,space->intersection_query_subindex_results); bool collided=false; - int cc=0; r_result_count=0; PhysicsServerSW::CollCbkData cbk; @@ -457,7 +454,6 @@ bool PhysicsDirectSpaceStateSW::rest_info(RID p_shape, const Transform& p_shape_ if (rcd.best_object->get_type()==CollisionObjectSW::TYPE_BODY) { const BodySW *body = static_cast<const BodySW*>(rcd.best_object); - Vector3 rel_vec = r_info->point-body->get_transform().get_origin(); r_info->linear_velocity = body->get_linear_velocity() + (body->get_angular_velocity()).cross(body->get_transform().origin-rcd.best_contact);// * mPos); diff --git a/servers/physics_2d/shape_2d_sw.cpp b/servers/physics_2d/shape_2d_sw.cpp index 8b583dd3c6..9291aa6c17 100644 --- a/servers/physics_2d/shape_2d_sw.cpp +++ b/servers/physics_2d/shape_2d_sw.cpp @@ -243,7 +243,6 @@ bool SegmentShape2DSW::intersect_segment(const Vector2& p_begin,const Vector2& p if (!Geometry::segment_intersects_segment_2d(p_begin,p_end,a,b,&r_point)) return false; - Vector2 d = p_end-p_begin; if (n.dot(p_begin) > n.dot(a)) { r_normal=n; } else { @@ -825,7 +824,6 @@ bool ConcavePolygonShape2DSW::intersect_segment(const Vector2& p_begin,const Vec const Segment *segmentptr=&segments[0]; const Vector2 *pointptr=&points[0]; const BVH *bvhptr = &bvh[0]; - int pos=bvh.size()-1; stack[0]=0; @@ -1088,7 +1086,6 @@ void ConcavePolygonShape2DSW::cull(const Rect2& p_local_aabb,Callback p_callback const Segment *segmentptr=&segments[0]; const Vector2 *pointptr=&points[0]; const BVH *bvhptr = &bvh[0]; - int pos=bvh.size()-1; stack[0]=0; diff --git a/servers/physics_2d/space_2d_sw.cpp b/servers/physics_2d/space_2d_sw.cpp index ddef5fc86b..5fde6f567b 100644 --- a/servers/physics_2d/space_2d_sw.cpp +++ b/servers/physics_2d/space_2d_sw.cpp @@ -200,7 +200,6 @@ int Physics2DDirectSpaceStateSW::intersect_shape(const RID& p_shape, const Matri int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,p_result_max,space->intersection_query_subindex_results); - bool collided=false; int cc=0; for(int i=0;i<amount;i++) { @@ -307,7 +306,6 @@ bool Physics2DDirectSpaceStateSW::cast_motion(const RID& p_shape, const Matrix32 for(int i=0;i<8;i++) { //steps should be customizable.. - Matrix32 xfa = p_xform; float ofs = (low+hi)*0.5; Vector2 sep=mnormal; //important optimization for this to work fast enough @@ -377,7 +375,6 @@ bool Physics2DDirectSpaceStateSW::collide_shape(RID p_shape, const Matrix32& p_s int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,Space2DSW::INTERSECTION_QUERY_MAX,space->intersection_query_subindex_results); bool collided=false; - int cc=0; r_result_count=0; Physics2DServerSW::CollCbkData cbk; @@ -768,7 +765,6 @@ bool Space2DSW::test_body_motion(Body2DSW *p_body,const Vector2&p_motion,float p for(int i=0;i<8;i++) { //steps should be customizable.. - //Matrix32 xfa = p_xform; float ofs = (low+hi)*0.5; Vector2 sep=mnormal; //important optimization for this to work fast enough diff --git a/servers/spatial_sound_2d/spatial_sound_2d_server_sw.cpp b/servers/spatial_sound_2d/spatial_sound_2d_server_sw.cpp index d27b322c21..6c42c2f527 100644 --- a/servers/spatial_sound_2d/spatial_sound_2d_server_sw.cpp +++ b/servers/spatial_sound_2d/spatial_sound_2d_server_sw.cpp @@ -851,23 +851,6 @@ void SpatialSound2DServerSW::update(float p_delta) { //this could be optimized at some point... am not sure Space *space=space_owner.get(source->space); Room *room=room_owner.get(space->default_room); - int max_level=-0x80000000; - /* - int rooms_culled = space->octree.cull_point(source->transform.origin,cull_rooms,MAX_CULL_ROOMS); - for(int i=0;i<rooms_culled;i++) { - - Room *r=cull_rooms[i]; - ERR_CONTINUE( r->bounds.is_empty() ); // how did this happen?? - if (r->level<=max_level) //ignore optimization (level too low) - continue; - Vector2 local_point = r->inverse_transform.xform(source->transform.origin); - if (!r->bounds.point_is_inside(local_point)) - continue; - room=r; - max_level=r->level; - - } - */ //compute mixing weights (support for multiple listeners in the same output) float total_distance=0; diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 0b2a282c04..09b3ada509 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -2539,8 +2539,6 @@ Error ShaderLanguage::parse_block(Parser& parser,BlockNode *p_block) { Error ShaderLanguage::parse(const Vector<Token>& p_tokens,ShaderType p_type,CompileFunc p_compile_func,void *p_userdata,String *r_error,int *r_err_line,int *r_err_column) { - uint64_t t = OS::get_singleton()->get_ticks_usec(); - Parser parser(p_tokens); parser.program = parser.create_node<ProgramNode>(NULL); parser.program->body = parser.create_node<BlockNode>(parser.program); @@ -2605,18 +2603,10 @@ Error ShaderLanguage::parse(const Vector<Token>& p_tokens,ShaderType p_type,Comp return err; } - double tf = (OS::get_singleton()->get_ticks_usec()-t)/1000.0; - //print_line("parse time: "+rtos(tf)); - - t = OS::get_singleton()->get_ticks_usec(); - if (p_compile_func) { err = p_compile_func(p_userdata,parser.program); } - tf = (OS::get_singleton()->get_ticks_usec()-t)/1000.0; - //print_line("compile time: "+rtos(tf)); - //clean up nodes created while(parser.nodegc.size()) { @@ -2633,22 +2623,16 @@ Error ShaderLanguage::compile(const String& p_code,ShaderType p_type,CompileFunc *r_err_column=0; Vector<Token> tokens; - uint64_t t = OS::get_singleton()->get_ticks_usec(); - Error err = tokenize(p_code,&tokens,r_error,r_err_line,r_err_column); if (err!=OK) { print_line("tokenizer error!"); } - double tf = (OS::get_singleton()->get_ticks_usec()-t)/1000.0; - //print_line("tokenize time: "+rtos(tf)); - if (err!=OK) { return err; } err = parse(tokens,p_type,p_compile_func,p_userdata,r_error,r_err_line,r_err_column); if (err!=OK) { - //print_line("LDEBUG: "+lex_debug(p_code)); return err; } return OK; diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp index 532247d94c..d89ea887fa 100644 --- a/servers/visual/visual_server_raster.cpp +++ b/servers/visual/visual_server_raster.cpp @@ -4448,12 +4448,13 @@ void VisualServerRaster::cursor_set_rotation(float p_rotation, int p_cursor) { cursors[p_cursor].rot = p_rotation; }; -void VisualServerRaster::cursor_set_texture(RID p_texture, const Point2 &p_center_offset, int p_cursor) { +void VisualServerRaster::cursor_set_texture(RID p_texture, const Point2 &p_center_offset, int p_cursor, const Rect2 &p_region) { VS_CHANGED; ERR_FAIL_INDEX(p_cursor, MAX_CURSORS); cursors[p_cursor].texture = p_texture; cursors[p_cursor].center = p_center_offset; + cursors[p_cursor].region = p_region; }; void VisualServerRaster::cursor_set_visible(bool p_visible, int p_cursor) { @@ -4843,11 +4844,6 @@ void VisualServerRaster::_instance_draw(Instance *p_instance) { switch(p_instance->base_type) { case INSTANCE_MESH: { - const float *morphs = NULL; - if (!p_instance->data.morph_values.empty()) { - morphs=&p_instance->data.morph_values[0]; - } - rasterizer->add_mesh(p_instance->base_rid, &p_instance->data); } break; case INSTANCE_MULTIMESH: { @@ -5227,8 +5223,6 @@ void VisualServerRaster::_light_instance_update_lispsm_shadow(Instance *p_light, Vector3 light_vec = -p_light->data.transform.basis.get_axis(2); Vector3 view_vec = -p_camera->transform.basis.get_axis(2); - float viewdot = light_vec.normalized().dot(view_vec.normalized()); - float near_dist=1; @@ -6466,7 +6460,6 @@ void VisualServerRaster::_render_no_camera(Viewport *p_viewport,Camera *p_camera void VisualServerRaster::_render_camera(Viewport *p_viewport,Camera *p_camera, Scenario *p_scenario) { - uint64_t t = OS::get_singleton()->get_ticks_usec(); render_pass++; uint32_t camera_layer_mask=p_camera->visible_layers; @@ -7538,8 +7531,13 @@ void VisualServerRaster::_draw_cursors_and_margins() { RID tex = cursors[i].texture?cursors[i].texture:default_cursor_texture; ERR_CONTINUE( !tex ); - Point2 size(texture_get_width(tex), texture_get_height(tex)); - rasterizer->canvas_draw_rect(Rect2(cursors[i].pos, size), 0, Rect2(), tex, Color(1, 1, 1, 1)); + if (cursors[i].region.has_no_area()) { + Point2 size(texture_get_width(tex), texture_get_height(tex)); + rasterizer->canvas_draw_rect(Rect2(cursors[i].pos, size), 0, Rect2(), tex, Color(1, 1, 1, 1)); + } else { + Point2 size = cursors[i].region.size; + rasterizer->canvas_draw_rect(Rect2(cursors[i].pos, size), Rasterizer::CANVAS_RECT_REGION, cursors[i].region, tex, Color(1, 1, 1, 1)); + } }; diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h index 0480d9f5cb..228a4a7c44 100644 --- a/servers/visual/visual_server_raster.h +++ b/servers/visual/visual_server_raster.h @@ -544,10 +544,12 @@ class VisualServerRaster : public VisualServer { RID texture; Point2 center; bool visible; + Rect2 region; Cursor() { rot = 0; visible = false; + region = Rect2(); }; }; @@ -1240,7 +1242,7 @@ public: /* CURSOR */ virtual void cursor_set_rotation(float p_rotation, int p_cursor = 0); // radians - virtual void cursor_set_texture(RID p_texture, const Point2 &p_center_offset, int p_cursor=0); + virtual void cursor_set_texture(RID p_texture, const Point2 &p_center_offset, int p_cursor=0, const Rect2 &p_region=Rect2()); virtual void cursor_set_visible(bool p_visible, int p_cursor = 0); virtual void cursor_set_pos(const Point2& p_pos, int p_cursor = 0); diff --git a/servers/visual/visual_server_wrap_mt.h b/servers/visual/visual_server_wrap_mt.h index a97b232c03..8c39b0bea1 100644 --- a/servers/visual/visual_server_wrap_mt.h +++ b/servers/visual/visual_server_wrap_mt.h @@ -680,7 +680,7 @@ public: /* CURSOR */ FUNC2(cursor_set_rotation,float , int ); // radians - FUNC3(cursor_set_texture,RID , const Point2 &, int ); + FUNC4(cursor_set_texture,RID , const Point2 &, int, const Rect2 &); FUNC2(cursor_set_visible,bool , int ); FUNC2(cursor_set_pos,const Point2& , int ); diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index fafc09f554..9ec02f5071 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -757,7 +757,6 @@ void VisualServer::mesh_add_surface_from_mesh_data( RID p_mesh, const Geometry:: } } - int s = mesh_get_surface_count(p_mesh); Array d; d.resize(VS::ARRAY_MAX); d[ARRAY_VERTEX]=vertices; diff --git a/servers/visual_server.h b/servers/visual_server.h index f330a6faee..64318dfd72 100644 --- a/servers/visual_server.h +++ b/servers/visual_server.h @@ -1110,7 +1110,7 @@ public: /* CURSOR */ virtual void cursor_set_rotation(float p_rotation, int p_cursor = 0)=0; // radians - virtual void cursor_set_texture(RID p_texture, const Point2 &p_center_offset = Point2(0, 0), int p_cursor=0)=0; + virtual void cursor_set_texture(RID p_texture, const Point2 &p_center_offset = Point2(0, 0), int p_cursor=0, const Rect2 &p_region=Rect2())=0; virtual void cursor_set_visible(bool p_visible, int p_cursor = 0)=0; virtual void cursor_set_pos(const Point2& p_pos, int p_cursor = 0)=0; diff --git a/tools/collada/collada.cpp b/tools/collada/collada.cpp index 11a0e1726b..268d42a613 100644 --- a/tools/collada/collada.cpp +++ b/tools/collada/collada.cpp @@ -681,9 +681,6 @@ void Collada::_parse_effect_material(XMLParser& parser,Effect &effect,String &id } else { String uri = effect.params[surface]; - int channel=0; - //if (parser.has_attribute("texcoord")) - if (what=="diffuse") { effect.diffuse.texture=uri; @@ -759,9 +756,6 @@ void Collada::_parse_effect_material(XMLParser& parser,Effect &effect,String &id } else { String uri = effect.params[surface]; - int channel=0; - //if (parser.has_attribute("texcoord")) - if (parser.has_attribute("bumptype") && parser.get_attribute_value("bumptype")!="NORMALMAP") { WARN_PRINT("'bump' texture type is not NORMALMAP, only NORMALMAP is supported.") } @@ -2636,7 +2630,6 @@ void Collada::_find_morph_nodes(VisualScene *p_vscene,Node *p_node) { base=sk.base; } else if (state.morph_controller_data_map.has(base)) { - MorphControllerData &sk = state.morph_controller_data_map[base]; state.morph_ownership_map[base]=nj->id; break; } else { diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp index e3689cf13d..398267937b 100644 --- a/tools/doc/doc_data.cpp +++ b/tools/doc/doc_data.cpp @@ -36,21 +36,6 @@ #include "io/compression.h" #include "scene/resources/theme.h" -struct _ConstantComparator { - - inline bool operator()(const DocData::ConstantDoc &a, const DocData::ConstantDoc &b) const { - String left_a = a.name.find("_") == -1 ? a.name : a.name.substr(0, a.name.find("_")); - String left_b = b.name.find("_") == -1 ? b.name : b.name.substr(0, b.name.find("_")); - if (left_a == left_b) // If they have the same prefix - if (a.value == b.value) - return a.name < b.name; // Sort by name if the values are the same - else - return a.value < b.value; // Sort by value otherwise - else - return left_a < left_b; // Sort by name if the prefixes aren't the same - } -}; - void DocData::merge_from(const DocData& p_data) { for( Map<String,ClassDoc>::Element *E=class_list.front();E;E=E->next()) { @@ -455,6 +440,12 @@ void DocData::generate(bool p_basic_types) { } + { + //so it can be documented that it does not exist + class_list["Variant"]=ClassDoc(); + class_list["Variant"].name="Variant"; + } + if (!p_basic_types) return; @@ -949,11 +940,11 @@ Error DocData::save(const String& p_path) { _write_string(f,0,header); _write_string(f,1,"<brief_description>"); if (c.brief_description!="") - _write_string(f,1,c.brief_description.xml_escape()); + _write_string(f,2,c.brief_description.xml_escape()); _write_string(f,1,"</brief_description>"); _write_string(f,1,"<description>"); if (c.description!="") - _write_string(f,1,c.description.xml_escape()); + _write_string(f,2,c.description.xml_escape()); _write_string(f,1,"</description>"); _write_string(f,1,"<methods>"); @@ -989,7 +980,7 @@ Error DocData::save(const String& p_path) { _write_string(f,3,"<description>"); if (m.description!="") - _write_string(f,3,m.description.xml_escape()); + _write_string(f,4,m.description.xml_escape()); _write_string(f,3,"</description>"); _write_string(f,2,"</method>"); @@ -1035,7 +1026,7 @@ Error DocData::save(const String& p_path) { _write_string(f,3,"<description>"); if (m.description!="") - _write_string(f,3,m.description.xml_escape()); + _write_string(f,4,m.description.xml_escape()); _write_string(f,3,"</description>"); _write_string(f,2,"</signal>"); @@ -1046,7 +1037,6 @@ Error DocData::save(const String& p_path) { _write_string(f,1,"<constants>"); - c.constants.sort_custom<_ConstantComparator>(); for(int i=0;i<c.constants.size();i++) { diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp index 7582162b72..9eb6b4013f 100644 --- a/tools/editor/animation_editor.cpp +++ b/tools/editor/animation_editor.cpp @@ -85,7 +85,6 @@ private: int points = 48; if (mode==MODE_MULTIPLE) { - int max_draw = 16; Color mcolor=color; mcolor.a*=0.3; @@ -694,11 +693,103 @@ void AnimationKeyEditor::_menu_add_track(int p_type) { } } +void AnimationKeyEditor::_anim_duplicate_keys(bool transpose) { + //duplicait! + if (selection.size() && animation.is_valid() && selected_track>=0 && selected_track<animation->get_track_count()) { + + int top_track=0x7FFFFFFF; + float top_time = 1e10; + for(Map<SelectedKey,KeyInfo>::Element *E=selection.back();E;E=E->prev()) { + + const SelectedKey &sk = E->key(); + + float t = animation->track_get_key_time(sk.track,sk.key); + if (t<top_time) + top_time=t; + if (sk.track<top_track) + top_track=sk.track; + + } + ERR_FAIL_COND( top_track == 0x7FFFFFFF || top_time==1e10 ); + + // + + int start_track = transpose ? selected_track : top_track; + + undo_redo->create_action(TTR("Anim Duplicate Keys")); + + List<Pair<int,float> > new_selection_values; + + for(Map<SelectedKey,KeyInfo>::Element *E=selection.back();E;E=E->prev()) { + + const SelectedKey &sk = E->key(); + + float t = animation->track_get_key_time(sk.track,sk.key); + + float dst_time = t+(timeline_pos - top_time); + int dst_track = sk.track + (start_track - top_track); + + if (dst_track < 0 || dst_track>= animation->get_track_count()) + continue; + + if (animation->track_get_type(dst_track) != animation->track_get_type(sk.track)) + continue; + + int existing_idx = animation->track_find_key(dst_track,dst_time,true); + + undo_redo->add_do_method(animation.ptr(),"track_insert_key",dst_track,dst_time,animation->track_get_key_value(E->key().track,E->key().key),animation->track_get_key_transition(E->key().track,E->key().key)); + undo_redo->add_undo_method(animation.ptr(),"track_remove_key_at_pos",dst_track,dst_time); + + Pair<int,float> p; + p.first=dst_track; + p.second=dst_time; + new_selection_values.push_back( p ); + + if (existing_idx!=-1) { + + undo_redo->add_undo_method(animation.ptr(),"track_insert_key",dst_track,dst_time,animation->track_get_key_value(dst_track,existing_idx),animation->track_get_key_transition(dst_track,existing_idx)); + + } + + } + + undo_redo->commit_action(); + + //reselect duplicated + + Map<SelectedKey,KeyInfo> new_selection; + for (List<Pair<int,float> >::Element *E=new_selection_values.front();E;E=E->next()) { + + int track=E->get().first; + float time = E->get().second; + + int existing_idx = animation->track_find_key(track,time,true); + + if (existing_idx==-1) + continue; + SelectedKey sk2; + sk2.track=track; + sk2.key=existing_idx; + + KeyInfo ki; + ki.pos=time; + + new_selection[sk2]=ki; + + } + + + selection=new_selection; + track_editor->update(); + _edit_if_single_selection(); + + } +} + void AnimationKeyEditor::_menu_track(int p_type) { ERR_FAIL_COND(!animation.is_valid()); - last_menu_track_opt=p_type; switch(p_type) { @@ -766,108 +857,7 @@ void AnimationKeyEditor::_menu_track(int p_type) { case TRACK_MENU_DUPLICATE: case TRACK_MENU_DUPLICATE_TRANSPOSE: { - - //duplicait! - if (selection.size() && animation.is_valid() && selected_track>=0 && selected_track<animation->get_track_count()) { - - - int top_track=0x7FFFFFFF; - float top_time = 1e10; - for(Map<SelectedKey,KeyInfo>::Element *E=selection.back();E;E=E->prev()) { - - const SelectedKey &sk = E->key(); - - float t = animation->track_get_key_time(sk.track,sk.key); - if (t<top_time) - top_time=t; - if (sk.track<top_track) - top_track=sk.track; - - - } - ERR_FAIL_COND( top_track == 0x7FFFFFFF || top_time==1e10 ); - - // - - int start_track = p_type==TRACK_MENU_DUPLICATE_TRANSPOSE ? selected_track : top_track; - - - undo_redo->create_action(TTR("Anim Duplicate Keys")); - - List<Pair<int,float> > new_selection_values; - - for(Map<SelectedKey,KeyInfo>::Element *E=selection.back();E;E=E->prev()) { - - const SelectedKey &sk = E->key(); - - float t = animation->track_get_key_time(sk.track,sk.key); - - float dst_time = t+(timeline_pos - top_time); - int dst_track = sk.track + (start_track - top_track); - - if (dst_track < 0 || dst_track>= animation->get_track_count()) - continue; - - if (animation->track_get_type(dst_track) != animation->track_get_type(sk.track)) - continue; - - int existing_idx = animation->track_find_key(dst_track,dst_time,true); - - undo_redo->add_do_method(animation.ptr(),"track_insert_key",dst_track,dst_time,animation->track_get_key_value(E->key().track,E->key().key),animation->track_get_key_transition(E->key().track,E->key().key)); - undo_redo->add_undo_method(animation.ptr(),"track_remove_key_at_pos",dst_track,dst_time); - - Pair<int,float> p; - p.first=dst_track; - p.second=dst_time; - new_selection_values.push_back( p ); - - if (existing_idx!=-1) { - - undo_redo->add_undo_method(animation.ptr(),"track_insert_key",dst_track,dst_time,animation->track_get_key_value(dst_track,existing_idx),animation->track_get_key_transition(dst_track,existing_idx)); - - } - - - - } - - undo_redo->commit_action(); - - //reselect duplicated - - Map<SelectedKey,KeyInfo> new_selection; - for (List<Pair<int,float> >::Element *E=new_selection_values.front();E;E=E->next()) { - - - int track=E->get().first; - float time = E->get().second; - - int existing_idx = animation->track_find_key(track,time,true); - - if (existing_idx==-1) - continue; - SelectedKey sk2; - sk2.track=track; - sk2.key=existing_idx; - - KeyInfo ki; - ki.pos=time; - - - new_selection[sk2]=ki; - - - } - - - selection=new_selection; - track_editor->update(); - _edit_if_single_selection(); - - - } - - + _anim_duplicate_keys(p_type==TRACK_MENU_DUPLICATE_TRANSPOSE); } break; case TRACK_MENU_SET_ALL_TRANS_LINEAR: case TRACK_MENU_SET_ALL_TRANS_CONSTANT: @@ -1356,7 +1346,6 @@ void AnimationKeyEditor::_track_editor_draw() { } } - Color sep_color=color; color.a*=0.5; for(int i=0;i<fit;i++) { @@ -1620,9 +1609,7 @@ void AnimationKeyEditor::_track_menu_selected(int p_idx) { undo_redo->add_do_method(animation.ptr(),"track_set_interpolation_type",interp_editing,p_idx); undo_redo->add_undo_method(animation.ptr(),"track_set_interpolation_type",interp_editing,animation->track_get_interpolation_type(interp_editing)); undo_redo->commit_action(); - } - - if (cont_editing!=-1) { + } else if (cont_editing!=-1) { ERR_FAIL_INDEX(cont_editing,animation->get_track_count()); @@ -1630,6 +1617,16 @@ void AnimationKeyEditor::_track_menu_selected(int p_idx) { undo_redo->add_do_method(animation.ptr(),"value_track_set_update_mode",cont_editing,p_idx); undo_redo->add_undo_method(animation.ptr(),"value_track_set_update_mode",cont_editing,animation->value_track_get_update_mode(cont_editing)); undo_redo->commit_action(); + } else { + switch (p_idx) { + + case RIGHT_MENU_DUPLICATE: + _anim_duplicate_keys(); break; + case RIGHT_MENU_DUPLICATE_TRANSPOSE: + _anim_duplicate_keys(true); break; + case RIGHT_MENU_REMOVE: + _anim_delete_keys(); break; + } } } @@ -1791,6 +1788,25 @@ bool AnimationKeyEditor::_edit_if_single_selection() { } +void AnimationKeyEditor::_anim_delete_keys() { + if (selection.size()) { + undo_redo->create_action(TTR("Anim Delete Keys")); + + for(Map<SelectedKey,KeyInfo>::Element *E=selection.back();E;E=E->prev()) { + + undo_redo->add_do_method(animation.ptr(),"track_remove_key",E->key().track,E->key().key); + undo_redo->add_undo_method(animation.ptr(),"track_insert_key",E->key().track,E->get().pos,animation->track_get_key_value(E->key().track,E->key().key),animation->track_get_key_transition(E->key().track,E->key().key)); + + } + undo_redo->add_do_method(this,"_clear_selection_for_anim",animation); + undo_redo->add_undo_method(this,"_clear_selection_for_anim",animation); + undo_redo->commit_action(); + //selection.clear(); + accept_event(); + _edit_if_single_selection(); + } +} + void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) { Control *te=track_editor; @@ -1806,8 +1822,6 @@ void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) { Ref<Font> font = te->get_font("font","Tree"); int sep = get_constant("vseparation","Tree"); int hsep = get_constant("hseparation","Tree"); - Color color = get_color("font_color","Tree"); - Color sepcolor = get_color("guide_color","Tree"); Ref<Texture> remove_icon = get_icon("Remove","EditorIcons"); Ref<Texture> move_up_icon = get_icon("MoveUp","EditorIcons"); Ref<Texture> move_down_icon = get_icon("MoveDown","EditorIcons"); @@ -1863,22 +1877,7 @@ void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) { } else if (p_input.key.scancode==KEY_DELETE && p_input.key.pressed && click.click==ClickOver::CLICK_NONE) { - if (selection.size()) { - undo_redo->create_action(TTR("Anim Delete Keys")); - - for(Map<SelectedKey,KeyInfo>::Element *E=selection.back();E;E=E->prev()) { - - undo_redo->add_do_method(animation.ptr(),"track_remove_key",E->key().track,E->key().key); - undo_redo->add_undo_method(animation.ptr(),"track_insert_key",E->key().track,E->get().pos,animation->track_get_key_value(E->key().track,E->key().key),animation->track_get_key_transition(E->key().track,E->key().key)); - - } - undo_redo->add_do_method(this,"_clear_selection_for_anim",animation); - undo_redo->add_undo_method(this,"_clear_selection_for_anim",animation); - undo_redo->commit_action(); - //selection.clear(); - accept_event(); - _edit_if_single_selection(); - } + _anim_delete_keys(); } else if (animation.is_valid() && animation->get_track_count()>0) { if (p_input.is_pressed() && (p_input.is_action("ui_up") || p_input.is_action("ui_page_up"))) { @@ -1938,6 +1937,116 @@ void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) { v_scroll->set_val( v_scroll->get_val() + v_scroll->get_page() / 8 ); } + if (mb.button_index==BUTTON_RIGHT && mb.pressed) { + + Point2 mpos = Point2(mb.x,mb.y)-ofs; + + if (selection.size() == 0) { + // Auto-select on right-click if nothing is selected + // Note: This code is pretty much duplicated from the left click code, + // both codes could be moved into a function to avoid the duplicated code. + Point2 mpos = Point2(mb.x,mb.y)-ofs; + + if (mpos.y < h ) { + return; + } + + mpos.y -= h; + + int idx = mpos.y / h; + idx+=v_scroll->get_val(); + if (idx <0 || idx>=animation->get_track_count()) + break; + + if (mpos.x < name_limit) { + } else if (mpos.x < settings_limit) { + float pos = mpos.x - name_limit; + pos/=_get_zoom_scale(); + pos+=h_scroll->get_val(); + float w_time = (type_icon[0]->get_width() / _get_zoom_scale())/2.0; + + int kidx = animation->track_find_key(idx,pos); + int kidx_n = kidx+1; + int key=-1; + + if (kidx>=0 && kidx<animation->track_get_key_count(idx)) { + + float kpos = animation->track_get_key_time(idx,kidx); + if (ABS(pos-kpos)<=w_time) { + + key=kidx; + } + } + + if (key==-1 && kidx_n>=0 && kidx_n<animation->track_get_key_count(idx)) { + + float kpos = animation->track_get_key_time(idx,kidx_n); + if (ABS(pos-kpos)<=w_time) { + + key=kidx_n; + } + } + + if (key==-1) { + + click.click=ClickOver::CLICK_SELECT_KEYS; + click.at=Point2(mb.x,mb.y); + click.to=click.at; + click.shift=mb.mod.shift; + selected_track=idx; + track_editor->update(); + //drag select region + return; + + } + + + + SelectedKey sk; + sk.track=idx; + sk.key=key; + KeyInfo ki; + ki.pos= animation->track_get_key_time(idx,key); + click.shift=mb.mod.shift; + click.selk=sk; + + + if (!mb.mod.shift && !selection.has(sk)) + _clear_selection(); + + selection.insert(sk,ki); + + click.click=ClickOver::CLICK_MOVE_KEYS; + click.at=Point2(mb.x,mb.y); + click.to=click.at; + update(); + selected_track=idx; + track_editor->update(); + + if (_edit_if_single_selection() && mb.mod.command) { + edit_button->set_pressed(true); + key_editor_tab->show(); + } + } + } + + if (selection.size()) { + // User has right clicked and we have a selection, show a popup menu with options + track_menu->clear(); + track_menu->set_size(Point2(1,1)); + track_menu->add_item(TTR("Duplicate Selection"), RIGHT_MENU_DUPLICATE); + track_menu->add_item(TTR("Duplicate Transposed"), RIGHT_MENU_DUPLICATE_TRANSPOSE); + track_menu->add_item(TTR("Remove Selection"), RIGHT_MENU_REMOVE); + + track_menu->set_pos(te->get_global_pos()+mpos); + + interp_editing=-1; + cont_editing=-1; + + track_menu->popup(); + } + } + if (mb.button_index==BUTTON_LEFT && !(mb.button_mask&~BUTTON_MASK_LEFT)) { @@ -3007,7 +3116,6 @@ void AnimationKeyEditor::_update_menu() { updating=true; - bool empty= !animation.is_valid(); if (animation.is_valid()) { length->set_val(animation->get_length()); diff --git a/tools/editor/animation_editor.h b/tools/editor/animation_editor.h index 413c73b4b9..131100a205 100644 --- a/tools/editor/animation_editor.h +++ b/tools/editor/animation_editor.h @@ -99,6 +99,12 @@ class AnimationKeyEditor : public VBoxContainer { CURVE_SET_CONSTANT }; + enum { + RIGHT_MENU_DUPLICATE, + RIGHT_MENU_DUPLICATE_TRANSPOSE, + RIGHT_MENU_REMOVE + }; + struct MouseOver { enum Over { @@ -313,6 +319,9 @@ class AnimationKeyEditor : public VBoxContainer { void _add_call_track(const NodePath& p_base); + void _anim_duplicate_keys(bool transpose = false); + void _anim_delete_keys(); + void _root_removed(); protected: diff --git a/tools/editor/asset_library_editor_plugin.cpp b/tools/editor/asset_library_editor_plugin.cpp index a2448921d7..ee535310bc 100644 --- a/tools/editor/asset_library_editor_plugin.cpp +++ b/tools/editor/asset_library_editor_plugin.cpp @@ -1366,7 +1366,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) { repository = memnew( OptionButton ); repository->add_item("Godot"); - repository->set_item_metadata(0, "http://godotengine.org/asset-library/api"); + repository->set_item_metadata(0, "https://godotengine.org/asset-library/api"); repository->add_item("Localhost"); // TODO: Maybe remove? repository->set_item_metadata(1, "http://127.0.0.1/asset-library/api"); repository->connect("item_selected",this,"_repository_changed"); diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp index 644478923c..21de122cee 100644 --- a/tools/editor/code_editor.cpp +++ b/tools/editor/code_editor.cpp @@ -32,6 +32,7 @@ #include "scene/gui/separator.h" #include "scene/resources/dynamic_font.h" #include "os/keyboard.h" +#include "tools/editor/editor_scale.h" void GotoLineDialog::popup_find_line(TextEdit *p_edit) { @@ -1198,6 +1199,10 @@ CodeTextEditor::CodeTextEditor() { line_col = memnew( Label ); status_bar->add_child(line_col); line_col->set_valign(Label::VALIGN_CENTER); + line_col->set_autowrap(true); + line_col->set_v_size_flags(SIZE_FILL); + line_col->set_custom_minimum_size(Size2(100,1)*EDSCALE); + status_bar->add_child( memnew( Label ) ); //to keep the height if the other labels are not visible text_editor->connect("input_event", this,"_text_editor_input_event"); diff --git a/tools/editor/create_dialog.cpp b/tools/editor/create_dialog.cpp index 5275e1beeb..210b799f3d 100644 --- a/tools/editor/create_dialog.cpp +++ b/tools/editor/create_dialog.cpp @@ -42,12 +42,13 @@ void CreateDialog::popup(bool p_dontclear) { - popup_centered_ratio(0.6); + popup_centered_ratio(); if (p_dontclear) search_box->select_all(); else search_box->clear(); search_box->grab_focus(); + _update_search(); @@ -165,9 +166,10 @@ void CreateDialog::_update_search() { if (!ObjectTypeDB::can_instance(type)) continue; // cant create what can't be instanced - if (search_box->get_text()=="") + + if (search_box->get_text()=="") { add_type(type,types,root,&to_select); - else { + } else { bool found=false; String type=I->get(); @@ -186,7 +188,7 @@ void CreateDialog::_update_search() { add_type(I->get(),types,root,&to_select); } - if (EditorNode::get_editor_data().get_custom_types().has(type)) { + if (EditorNode::get_editor_data().get_custom_types().has(type) && ObjectTypeDB::is_type(type, base_type)) { //there are custom types based on this... cool. //print_line("there are custom types"); @@ -198,6 +200,7 @@ void CreateDialog::_update_search() { if (!show) continue; + if (!types.has(type)) add_type(type,types,root,&to_select); @@ -216,7 +219,7 @@ void CreateDialog::_update_search() { } - if (!to_select && (search_box->get_text()=="" || ct[i].name.findn(search_box->get_text())!=-1)) { + if (!to_select) { to_select=item; } @@ -246,7 +249,6 @@ void CreateDialog::_notification(int p_what) { if (p_what==NOTIFICATION_ENTER_TREE) { connect("confirmed",this,"_confirmed"); - _update_search(); } if (p_what==NOTIFICATION_EXIT_TREE) { diff --git a/tools/editor/dependency_editor.cpp b/tools/editor/dependency_editor.cpp index ad2eb57f00..049bcefc75 100644 --- a/tools/editor/dependency_editor.cpp +++ b/tools/editor/dependency_editor.cpp @@ -80,8 +80,6 @@ void DependencyEditor::_fix_and_find(EditorFileSystemDirectory *efsd, Map<String continue; String path = efsd->get_file_path(i); - Map<String,String> &ss = candidates[file]; - for(Map<String,String>::Element *E=candidates[file].front();E;E=E->next()) { @@ -420,7 +418,7 @@ void DependencyRemoveDialog::show(const Vector<String> &to_erase) { exist=false; owners->clear(); files.clear(); - TreeItem *root=owners->create_item(); + owners->create_item(); // root for(int i=0;i<to_erase.size();i++) { files[to_erase[i]]=NULL; } diff --git a/tools/editor/editor_autoload_settings.cpp b/tools/editor/editor_autoload_settings.cpp new file mode 100644 index 0000000000..1cf0090e7e --- /dev/null +++ b/tools/editor/editor_autoload_settings.cpp @@ -0,0 +1,618 @@ +/*************************************************************************/ +/* editor_autoload_settings.cpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* http://www.godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#include "editor_autoload_settings.h" + +#include "globals.h" +#include "global_constants.h" + +#include "editor_node.h" + +#define PREVIEW_LIST_MAX_SIZE 10 + +StringName EditorAutoloadSettings::autoload_changed = StringName(); + +void EditorAutoloadSettings::_notification(int p_what) { + + if (p_what == NOTIFICATION_ENTER_TREE) { + + List<String> afn; + ResourceLoader::get_recognized_extensions_for_type("Script", &afn); + ResourceLoader::get_recognized_extensions_for_type("PackedScene", &afn); + + EditorFileDialog *file_dialog = autoload_add_path->get_file_dialog(); + + for (List<String>::Element *E = afn.front(); E; E = E->next()) { + + file_dialog->add_filter("*." + E->get()); + } + } +} + +bool EditorAutoloadSettings::_autoload_name_is_valid(const String& p_name, String* r_error) { + + if (!p_name.is_valid_identifier()) { + if (r_error) + *r_error = TTR("Invalid name.") + "\n" + TTR("Valid characters:")+" a-z, A-Z, 0-9 or _"; + + return false; + } + + if (ObjectTypeDB::type_exists(p_name)) { + if (r_error) + *r_error = TTR("Invalid name. Must not collide with an existing engine class name."); + + return false; + } + + for (int i = 0; i < Variant::VARIANT_MAX; i++) { + if (Variant::get_type_name( Variant::Type(i) ) == p_name) { + if (r_error) + *r_error = TTR("Invalid name. Must not collide with an existing buit-in type name."); + + return false; + } + } + + for (int i = 0; i < GlobalConstants::get_global_constant_count(); i++) { + if (GlobalConstants::get_global_constant_name(i) == p_name) { + if (r_error) + *r_error = TTR("Invalid name. Must not collide with an existing global constant name."); + + return false; + } + } + + return true; +} + +void EditorAutoloadSettings::_autoload_add() { + + String name = autoload_add_name->get_text(); + + String error; + if (!_autoload_name_is_valid(name, &error)) { + EditorNode::get_singleton()->show_warning(error); + return; + } + + String path = autoload_add_path->get_line_edit()->get_text(); + if (!FileAccess::exists(path)) { + EditorNode::get_singleton()->show_warning(TTR("Invalid Path.") + "\n" + TTR("File does not exist.")); + return; + } + + if (!path.begins_with("res://")) { + EditorNode::get_singleton()->show_warning(TTR("Invalid Path.") + "\n"+ TTR("Not in resource path.")); + return; + } + + name = "autoload/" + name; + + UndoRedo* undo_redo = EditorNode::get_singleton()->get_undo_redo(); + + undo_redo->create_action(TTR("Add AutoLoad")); + undo_redo->add_do_property(Globals::get_singleton(), name, "*" + path); + undo_redo->add_do_method(Globals::get_singleton(), "set_persisting", name, true); + + if (Globals::get_singleton()->has(name)) { + undo_redo->add_undo_property(Globals::get_singleton(), name, Globals::get_singleton()->get(name)); + } else { + undo_redo->add_undo_property(Globals::get_singleton(), name, Variant()); + } + + undo_redo->add_do_method(this, "update_autoload"); + undo_redo->add_undo_method(this, "update_autoload"); + + undo_redo->add_do_method(this, "emit_signal", autoload_changed); + undo_redo->add_undo_method(this, "emit_signal", autoload_changed); + + undo_redo->commit_action(); + + autoload_add_path->get_line_edit()->set_text(""); + autoload_add_name->set_text(""); +} + +void EditorAutoloadSettings::_autoload_selected() { + + TreeItem *ti = tree->get_selected(); + + if (!ti) + return; + + selected_autoload = "autoload/" + ti->get_text(0); +} + +void EditorAutoloadSettings::_autoload_edited() { + + if (updating_autoload) + return; + + TreeItem *ti = tree->get_edited(); + int column = tree->get_edited_column(); + + UndoRedo *undo_redo = EditorNode::get_undo_redo(); + + if (column == 0) { + String name = ti->get_text(0); + String old_name = selected_autoload.get_slice("/", 1); + + if (name == old_name) + return; + + String error; + if (!_autoload_name_is_valid(name, &error)) { + ti->set_text(0, old_name); + EditorNode::get_singleton()->show_warning(error); + return; + } + + if (Globals::get_singleton()->has("autoload/" + name)) { + ti->set_text(0, old_name); + EditorNode::get_singleton()->show_warning(vformat(TTR("Autoload '%s' already exists!"), name)); + return; + } + + updating_autoload = true; + + name = "autoload/" + name; + + bool persisting = Globals::get_singleton()->get(selected_autoload); + int order = Globals::get_singleton()->get(selected_autoload); + String path = Globals::get_singleton()->get(selected_autoload); + + undo_redo->create_action(TTR("Rename Autoload")); + + undo_redo->add_do_property(Globals::get_singleton(), name, path); + undo_redo->add_do_method(Globals::get_singleton(), "set_persisting", name, persisting); + undo_redo->add_do_method(Globals::get_singleton(), "set_order", name, order); + undo_redo->add_do_method(Globals::get_singleton(), "clear", selected_autoload); + + undo_redo->add_undo_property(Globals::get_singleton(), selected_autoload, path); + undo_redo->add_undo_method(Globals::get_singleton(), "set_persisting", selected_autoload, persisting); + undo_redo->add_undo_method(Globals::get_singleton(), "set_order", selected_autoload, order); + undo_redo->add_undo_method(Globals::get_singleton(), "clear", name); + + undo_redo->add_do_method(this, "update_autoload"); + undo_redo->add_undo_method(this, "update_autoload"); + + undo_redo->add_do_method(this, "emit_signal", autoload_changed); + undo_redo->add_undo_method(this, "emit_signal", autoload_changed); + + undo_redo->commit_action(); + + selected_autoload = name; + } else if (column == 2) { + updating_autoload = true; + + bool checked = ti->is_checked(2); + String base = "autoload/" + ti->get_text(0); + + int order = Globals::get_singleton()->get_order(base); + String path = Globals::get_singleton()->get(base); + + if (path.begins_with("*")) + path = path.substr(1, path.length()); + + if (checked) + path = "*" + path; + + undo_redo->create_action(TTR("Toggle AutoLoad Globals")); + + undo_redo->add_do_property(Globals::get_singleton(), base, path); + undo_redo->add_undo_property(Globals::get_singleton(), base, Globals::get_singleton()->get(base)); + + undo_redo->add_do_method(Globals::get_singleton(),"set_order", base, order); + undo_redo->add_undo_method(Globals::get_singleton(),"set_order", base, order); + + undo_redo->add_do_method(this, "update_autoload"); + undo_redo->add_undo_method(this, "update_autoload"); + + undo_redo->add_do_method(this, "emit_signal", autoload_changed); + undo_redo->add_undo_method(this, "emit_signal", autoload_changed); + + undo_redo->commit_action(); + } + + updating_autoload = false; +} + +void EditorAutoloadSettings::_autoload_button_pressed(Object *p_item, int p_column, int p_button) { + + TreeItem *ti = p_item->cast_to<TreeItem>(); + + String name = "autoload/" + ti->get_text(0); + + UndoRedo *undo_redo = EditorNode::get_undo_redo(); + + switch (p_button) { + + case BUTTON_MOVE_UP: + case BUTTON_MOVE_DOWN: { + + TreeItem *swap = NULL; + + if (p_button == BUTTON_MOVE_UP) { + swap = ti->get_prev(); + } else { + swap = ti->get_next(); + } + + if (!swap) + return; + + String swap_name = "autoload/" + swap->get_text(0); + + int order = Globals::get_singleton()->get_order(name); + int swap_order = Globals::get_singleton()->get_order(swap_name); + + undo_redo->create_action(TTR("Move Autoload")); + + undo_redo->add_do_method(Globals::get_singleton(), "set_order", name, swap_order); + undo_redo->add_undo_method(Globals::get_singleton(), "set_order", name, order); + + undo_redo->add_do_method(Globals::get_singleton(), "set_order", swap_name, order); + undo_redo->add_undo_method(Globals::get_singleton(), "set_order", swap_name, swap_order); + + undo_redo->add_do_method(this, "update_autoload"); + undo_redo->add_undo_method(this, "update_autoload"); + + undo_redo->add_do_method(this, "emit_signal", autoload_changed); + undo_redo->add_undo_method(this, "emit_signal", autoload_changed); + + undo_redo->commit_action(); + } break; + case BUTTON_DELETE: { + + int order = Globals::get_singleton()->get_order(name); + + undo_redo->create_action(TTR("Remove Autoload")); + + undo_redo->add_do_property(Globals::get_singleton(), name, Variant()); + + undo_redo->add_undo_property(Globals::get_singleton(), name, Globals::get_singleton()->get(name)); + undo_redo->add_undo_method(Globals::get_singleton(), "set_persisting", name, true); + undo_redo->add_undo_method(Globals::get_singleton(), "set_order", order); + + undo_redo->add_do_method(this, "update_autoload"); + undo_redo->add_undo_method(this, "update_autoload"); + + undo_redo->add_do_method(this, "emit_signal", autoload_changed); + undo_redo->add_undo_method(this, "emit_signal", autoload_changed); + + undo_redo->commit_action(); + } break; + } +} + +void EditorAutoloadSettings::_autoload_file_callback(const String& p_path) { + + autoload_add_name->set_text(p_path.get_file().basename()); +} + +void EditorAutoloadSettings::update_autoload() { + + if (updating_autoload) + return; + + updating_autoload = true; + + autoload_cache.clear(); + + tree->clear(); + TreeItem *root = tree->create_item(); + + List<PropertyInfo> props; + Globals::get_singleton()->get_property_list(&props); + + for (List<PropertyInfo>::Element *E = props.front(); E; E = E->next()) { + + const PropertyInfo &pi = E->get(); + + if (!pi.name.begins_with("autoload/")) + continue; + + String name = pi.name.get_slice("/", 1); + String path = Globals::get_singleton()->get(pi.name); + + if (name.empty()) + continue; + + AutoLoadInfo info; + info.name = pi.name; + info.order = Globals::get_singleton()->get_order(pi.name); + + autoload_cache.push_back(info); + + bool global = false; + + if (path.begins_with("*")) { + global = true; + path = path.substr(1, path.length()); + } + + TreeItem *item = tree->create_item(root); + item->set_text(0, name); + item->set_editable(0, true); + + item->set_text(1, path); + item->set_selectable(1, false); + + item->set_cell_mode(2, TreeItem::CELL_MODE_CHECK); + item->set_editable(2, true); + item->set_text(2, TTR("Enable")); + item->set_checked(2, global); + + item->add_button(3, get_icon("MoveUp","EditorIcons"), BUTTON_MOVE_UP); + item->add_button(3, get_icon("MoveDown","EditorIcons"), BUTTON_MOVE_DOWN); + item->add_button(3, get_icon("Del","EditorIcons"), BUTTON_DELETE); + item->set_selectable(3, false); + } + + updating_autoload = false; +} + +Variant EditorAutoloadSettings::get_drag_data_fw(const Point2& p_point, Control *p_control) { + + if (autoload_cache.size() <= 1) + return false; + + StringArray autoloads; + + TreeItem *next = tree->get_next_selected(NULL); + + while (next) { + autoloads.push_back(next->get_text(0)); + next = tree->get_next_selected(next); + } + + if (autoloads.size() == 0 || autoloads.size() == autoload_cache.size()) + return Variant(); + + VBoxContainer *preview = memnew( VBoxContainer ); + + int max_size = MIN(PREVIEW_LIST_MAX_SIZE, autoloads.size()); + + for (int i = 0; i < max_size; i++) { + Label *label = memnew( Label(autoloads[i]) ); + label->set_self_opacity(Math::lerp(1, 0, float(i)/PREVIEW_LIST_MAX_SIZE)); + + preview->add_child(label); + } + + tree->set_drop_mode_flags(Tree::DROP_MODE_INBETWEEN); + tree->set_drag_preview(preview); + + Dictionary drop_data; + drop_data["type"] = "autoload"; + drop_data["autoloads"] = autoloads; + + return drop_data; +} + +bool EditorAutoloadSettings::can_drop_data_fw(const Point2& p_point, const Variant& p_data, Control *p_control) const { + if (updating_autoload) + return false; + + Dictionary drop_data = p_data; + + if (!drop_data.has("type")) + return false; + + if (drop_data.has("type")) { + TreeItem *ti = tree->get_item_at_pos(p_point); + + if (!ti) + return false; + + int section = tree->get_drop_section_at_pos(p_point); + + if (section < -1) + return false; + + return true; + } + + return false; +} + +void EditorAutoloadSettings::drop_data_fw(const Point2& p_point, const Variant& p_data, Control *p_control) { + + TreeItem *ti = tree->get_item_at_pos(p_point); + + if (!ti) + return; + + int section = tree->get_drop_section_at_pos(p_point); + + if (section < -1) + return; + + String name; + bool move_to_back = false; + + if (section < 0) { + name = ti->get_text(0); + } else if (ti->get_next()) { + name = ti->get_next()->get_text(0); + } else { + name = ti->get_text(0); + move_to_back = true; + } + + int order = Globals::get_singleton()->get_order("autoload/" + name); + + AutoLoadInfo aux; + List<AutoLoadInfo>::Element *E = NULL; + + if (!move_to_back) { + aux.order = order; + E = autoload_cache.find(aux); + } + + Dictionary drop_data = p_data; + StringArray autoloads = drop_data["autoloads"]; + + Vector<int> orders; + orders.resize(autoload_cache.size()); + + for (int i = 0; i < autoloads.size(); i++) { + aux.order = Globals::get_singleton()->get_order("autoload/" + autoloads[i]); + + List<AutoLoadInfo>::Element *I = autoload_cache.find(aux); + + if (move_to_back) { + autoload_cache.move_to_back(I); + } else if (E != I) { + autoload_cache.move_before(I, E); + } else if (E->next()) { + E = E->next(); + } else { + break; + } + } + + int i = 0; + + for (List<AutoLoadInfo>::Element *E = autoload_cache.front(); E; E = E->next()) { + orders[i++] = E->get().order; + } + + orders.sort(); + + UndoRedo *undo_redo = EditorNode::get_undo_redo(); + + undo_redo->create_action(TTR("Rearrange Autoloads")); + + i = 0; + + for (List<AutoLoadInfo>::Element *E = autoload_cache.front(); E; E = E->next()) { + undo_redo->add_do_method(Globals::get_singleton(), "set_order", E->get().name, orders[i++]); + undo_redo->add_undo_method(Globals::get_singleton(), "set_order", E->get().name, E->get().order); + } + + orders.clear(); + + undo_redo->add_do_method(this, "update_autoload"); + undo_redo->add_undo_method(this, "update_autoload"); + + undo_redo->add_do_method(this, "emit_signal", autoload_changed); + undo_redo->add_undo_method(this, "emit_signal", autoload_changed); + + undo_redo->commit_action(); +} + +void EditorAutoloadSettings::_bind_methods() { + + ObjectTypeDB::bind_method("_autoload_add", &EditorAutoloadSettings::_autoload_add); + ObjectTypeDB::bind_method("_autoload_selected", &EditorAutoloadSettings::_autoload_selected); + ObjectTypeDB::bind_method("_autoload_edited", &EditorAutoloadSettings::_autoload_edited); + ObjectTypeDB::bind_method("_autoload_button_pressed", &EditorAutoloadSettings::_autoload_button_pressed); + ObjectTypeDB::bind_method("_autoload_file_callback", &EditorAutoloadSettings::_autoload_file_callback); + + ObjectTypeDB::bind_method("get_drag_data_fw", &EditorAutoloadSettings::get_drag_data_fw); + ObjectTypeDB::bind_method("can_drop_data_fw", &EditorAutoloadSettings::can_drop_data_fw); + ObjectTypeDB::bind_method("drop_data_fw", &EditorAutoloadSettings::drop_data_fw); + + ObjectTypeDB::bind_method("update_autoload", &EditorAutoloadSettings::update_autoload); + + ADD_SIGNAL(MethodInfo("autoload_changed")); +} + +EditorAutoloadSettings::EditorAutoloadSettings() { + + autoload_changed = "autoload_changed"; + + updating_autoload = false; + selected_autoload = ""; + + HBoxContainer *hbc = memnew( HBoxContainer ); + add_child(hbc); + + VBoxContainer *vbc_path = memnew( VBoxContainer ); + vbc_path->set_h_size_flags(SIZE_EXPAND_FILL); + + autoload_add_path = memnew( EditorLineEditFileChooser ); + autoload_add_path->set_h_size_flags(SIZE_EXPAND_FILL); + + autoload_add_path->get_file_dialog()->set_mode(EditorFileDialog::MODE_OPEN_FILE); + autoload_add_path->get_file_dialog()->connect("file_selected", this, "_autoload_file_callback"); + + vbc_path->add_margin_child(TTR("Path:"), autoload_add_path); + hbc->add_child(vbc_path); + + VBoxContainer *vbc_name = memnew( VBoxContainer ); + vbc_name->set_h_size_flags(SIZE_EXPAND_FILL); + + HBoxContainer *hbc_name = memnew( HBoxContainer ); + + autoload_add_name = memnew( LineEdit ); + autoload_add_name->set_h_size_flags(SIZE_EXPAND_FILL); + hbc_name->add_child(autoload_add_name); + + Button *add_autoload = memnew( Button ); + add_autoload->set_text(TTR("Add")); + hbc_name->add_child(add_autoload); + add_autoload->connect("pressed", this, "_autoload_add"); + + vbc_name->add_margin_child(TTR("Node Name:"), hbc_name); + hbc->add_child(vbc_name); + + tree = memnew( Tree ); + tree->set_hide_root(true); + tree->set_select_mode(Tree::SELECT_MULTI); + tree->set_single_select_cell_editing_only_when_already_selected(true); + + tree->set_drag_forwarding(this); + + tree->set_columns(4); + tree->set_column_titles_visible(true); + + tree->set_column_title(0,TTR("Name")); + tree->set_column_expand(0,true); + tree->set_column_min_width(0,100); + + tree->set_column_title(1,TTR("Path")); + tree->set_column_expand(1,true); + tree->set_column_min_width(1,100); + + tree->set_column_title(2,TTR("Singleton")); + tree->set_column_expand(2,false); + tree->set_column_min_width(2,80); + + tree->set_column_expand(3,false); + tree->set_column_min_width(3,80); + + tree->connect("cell_selected", this, "_autoload_selected"); + tree->connect("item_edited", this, "_autoload_edited"); + tree->connect("button_pressed", this, "_autoload_button_pressed"); + + add_margin_child(TTR("List:"), tree, true); +} + diff --git a/tools/editor/import_settings.h b/tools/editor/editor_autoload_settings.h index 5a383a1a1a..b8825f807c 100644 --- a/tools/editor/import_settings.h +++ b/tools/editor/editor_autoload_settings.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* import_settings.h */ +/* editor_autoload_settings.h */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -26,57 +26,69 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef IMPORT_SETTINGS_H -#define IMPORT_SETTINGS_H -#include "object.h" -#include "scene/gui/dialogs.h" +#ifndef EDITOR_AUTOLOAD_SETTINGS_H +#define EDITOR_AUTOLOAD_SETTINGS_H + #include "scene/gui/tree.h" -#include "scene/gui/label.h" -#include "scene/gui/option_button.h" -#include "scene/gui/line_edit.h" -#include "scene/gui/file_dialog.h" -#include "scene/gui/progress_bar.h" -#include "scene/gui/slider.h" -#include "scene/gui/spin_box.h" -#include "scene/resources/mesh.h" -#include "editor_import_export.h" -#include "editor_file_system.h" -#include "editor_dir_dialog.h" -class EditorNode; - - -class ImportSettingsDialog : public ConfirmationDialog { - - OBJ_TYPE(ImportSettingsDialog,ConfirmationDialog); - - TreeItem *edited; - EditorNode *editor; + +#include "editor_file_dialog.h" + +class EditorAutoloadSettings : public VBoxContainer { + + OBJ_TYPE( EditorAutoloadSettings, VBoxContainer ); + + enum { + BUTTON_MOVE_UP, + BUTTON_MOVE_DOWN, + BUTTON_DELETE + }; + + static StringName autoload_changed; + + struct AutoLoadInfo { + String name; + int order; + + bool operator==(const AutoLoadInfo& p_info) { + return order == p_info.order; + } + }; + + List<AutoLoadInfo> autoload_cache; + + bool updating_autoload; + int number_of_autoloads; + String selected_autoload; + Tree *tree; - bool updating; + EditorLineEditFileChooser *autoload_add_path; + LineEdit *autoload_add_name; - void _button_pressed(Object *p_button, int p_col, int p_id); - void _item_pressed(int p_idx); - bool _generate_fs(TreeItem *p_parent,EditorFileSystemDirectory *p_dir); + bool _autoload_name_is_valid(const String& p_string, String *r_error = NULL); - String texformat; + void _autoload_add(); + void _autoload_selected(); + void _autoload_edited(); + void _autoload_button_pressed(Object *p_item, int p_column, int p_button); + void _autoload_file_callback(const String& p_path); - void _item_edited(); - virtual void ok_pressed(); + Variant get_drag_data_fw(const Point2& p_point, Control *p_from); + bool can_drop_data_fw(const Point2& p_point, const Variant& p_data, Control *p_from) const; + void drop_data_fw(const Point2& p_point, const Variant& p_data, Control *p_from); protected: - void _notification(int p_what); static void _bind_methods(); -public: - void update_tree(); +public: + void update_autoload(); - void popup_import_settings(); - ImportSettingsDialog(EditorNode *p_editor); + EditorAutoloadSettings(); }; -#endif // IMPORT_SETTINGS_H +#endif + diff --git a/tools/editor/editor_data.cpp b/tools/editor/editor_data.cpp index 4c4fecdd83..0f10041034 100644 --- a/tools/editor/editor_data.cpp +++ b/tools/editor/editor_data.cpp @@ -565,6 +565,8 @@ bool EditorData::check_and_update_scene(int p_idx) { bool must_reload = _find_updated_instances(edited_scene[p_idx].root,edited_scene[p_idx].root,checked_scenes); + print_line("MUST RELOAD? "+itos(must_reload)); + if (must_reload) { Ref<PackedScene> pscene; pscene.instance(); @@ -762,6 +764,8 @@ Ref<ResourceImportMetadata> EditorData::get_edited_scene_import_metadata() const return edited_scene[current_edited_scene].medatata; } + + void EditorData::clear_edited_scenes() { for(int i=0;i<edited_scene.size();i++) { diff --git a/tools/editor/editor_dir_dialog.cpp b/tools/editor/editor_dir_dialog.cpp index a6e231cf18..f6ce7bf3f8 100644 --- a/tools/editor/editor_dir_dialog.cpp +++ b/tools/editor/editor_dir_dialog.cpp @@ -99,8 +99,14 @@ void EditorDirDialog::_notification(int p_what) { if (p_what==NOTIFICATION_ENTER_TREE) { reload(); - tree->connect("item_collapsed",this,"_item_collapsed",varray(),CONNECT_DEFERRED); - EditorFileSystem::get_singleton()->connect("filesystem_changed",this,"reload"); + + if (!tree->is_connected("item_collapsed",this,"_item_collapsed")) { + tree->connect("item_collapsed",this,"_item_collapsed",varray(),CONNECT_DEFERRED); + } + + if (!EditorFileSystem::get_singleton()->is_connected("filesystem_changed",this,"reload")) { + EditorFileSystem::get_singleton()->connect("filesystem_changed",this,"reload"); + } } @@ -185,10 +191,14 @@ void EditorDirDialog::ok_pressed() { void EditorDirDialog::_make_dir() { TreeItem *ti=tree->get_selected(); - if (!ti) + if (!ti) { + mkdirerr->set_text("Please select a base directory first"); + mkdirerr->popup_centered_minsize(); return; + } makedialog->popup_centered_minsize(Size2(250,80)); + makedirname->grab_focus(); } void EditorDirDialog::_make_dir_confirm() { @@ -198,9 +208,11 @@ void EditorDirDialog::_make_dir_confirm() { return; String dir = ti->get_metadata(0); + DirAccess *d = DirAccess::open(dir); ERR_FAIL_COND(!d); Error err = d->make_dir(makedirname->get_text()); + if (err!=OK) { mkdirerr->popup_centered_minsize(Size2(250,80)); } else { diff --git a/tools/editor/editor_file_dialog.cpp b/tools/editor/editor_file_dialog.cpp index e68a53659b..b8abd1d32c 100644 --- a/tools/editor/editor_file_dialog.cpp +++ b/tools/editor/editor_file_dialog.cpp @@ -144,11 +144,11 @@ void EditorFileDialog::_unhandled_input(const InputEvent& p_event) { dir->grab_focus(); handled=true; } - if (ED_IS_SHORTCUT("file_dialog/mode_favorite_up", p_event)) { + if (ED_IS_SHORTCUT("file_dialog/move_favorite_up", p_event)) { _favorite_move_up(); handled=true; } - if (ED_IS_SHORTCUT("file_dialog/mode_favorite_down", p_event)) { + if (ED_IS_SHORTCUT("file_dialog/move_favorite_down", p_event)) { _favorite_move_down(); handled=true; } @@ -1290,14 +1290,14 @@ EditorFileDialog::EditorFileDialog() { ED_SHORTCUT("file_dialog/go_back", TTR("Go Back"), KEY_MASK_ALT|KEY_LEFT); ED_SHORTCUT("file_dialog/go_forward", TTR("Go Forward"), KEY_MASK_ALT|KEY_RIGHT); ED_SHORTCUT("file_dialog/go_up", TTR("Go Up"), KEY_MASK_ALT|KEY_UP); - ED_SHORTCUT("file_dialog/refresh", TTR("Refresh"), KEY_MASK_CMD|KEY_F5); // ctrl + f5 else it launches the game as well.. + ED_SHORTCUT("file_dialog/refresh", TTR("Refresh"), KEY_F5); ED_SHORTCUT("file_dialog/toggle_hidden_files", TTR("Toggle Hidden Files"), KEY_MASK_CMD|KEY_H); ED_SHORTCUT("file_dialog/toggle_favorite", TTR("Toggle Favorite"), KEY_MASK_ALT|KEY_F); ED_SHORTCUT("file_dialog/toggle_mode", TTR("Toggle Mode"), KEY_MASK_ALT|KEY_V); ED_SHORTCUT("file_dialog/create_folder", TTR("Create Folder"), KEY_MASK_CMD|KEY_N); ED_SHORTCUT("file_dialog/focus_path", TTR("Focus Path"), KEY_MASK_CMD|KEY_D); - ED_SHORTCUT("file_dialog/mode_favorite_up", TTR("Mode Favorite Up"), KEY_MASK_CMD|KEY_UP); - ED_SHORTCUT("file_dialog/mode_favorite_down", TTR("Mode Favorite Down"), KEY_MASK_CMD|KEY_DOWN); + ED_SHORTCUT("file_dialog/move_favorite_up", TTR("Move Favorite Up"), KEY_MASK_CMD|KEY_UP); + ED_SHORTCUT("file_dialog/move_favorite_down", TTR("Move Favorite Down"), KEY_MASK_CMD|KEY_DOWN); HBoxContainer *pathhb = memnew( HBoxContainer ); diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp index c5c92b5228..cb7cefea26 100644 --- a/tools/editor/editor_file_system.cpp +++ b/tools/editor/editor_file_system.cpp @@ -34,6 +34,7 @@ #include "editor_node.h" #include "io/resource_saver.h" #include "editor_settings.h" +#include "editor_resource_preview.h" EditorFileSystem *EditorFileSystem::singleton=NULL; @@ -621,31 +622,40 @@ void EditorFileSystem::_scan_new_dir(EditorFileSystemDirectory *p_dir,DirAccess int total = dirs.size()+files.size(); int idx=0; + for (List<String>::Element *E=dirs.front();E;E=E->next(),idx++) { if (da->change_dir(E->get())==OK) { - EditorFileSystemDirectory *efd = memnew( EditorFileSystemDirectory ); + String d = da->get_current_dir(); - efd->parent=p_dir; - efd->name=E->get(); + if (d==cd || !d.begins_with(cd)) { + da->change_dir(cd); //avoid recursion + } else { - _scan_new_dir(efd,da,p_progress.get_sub(idx,total)); - int idx=0; - for(int i=0;i<p_dir->subdirs.size();i++) { + EditorFileSystemDirectory *efd = memnew( EditorFileSystemDirectory ); - if (efd->name<p_dir->subdirs[i]->name) - break; - idx++; - } - if (idx==p_dir->subdirs.size()) { - p_dir->subdirs.push_back(efd); - } else { - p_dir->subdirs.insert(idx,efd); - } + efd->parent=p_dir; + efd->name=E->get(); + + _scan_new_dir(efd,da,p_progress.get_sub(idx,total)); + + int idx=0; + for(int i=0;i<p_dir->subdirs.size();i++) { + + if (efd->name<p_dir->subdirs[i]->name) + break; + idx++; + } + if (idx==p_dir->subdirs.size()) { + p_dir->subdirs.push_back(efd); + } else { + p_dir->subdirs.insert(idx,efd); + } - da->change_dir(".."); + da->change_dir(".."); + } } else { ERR_PRINTS(TTR("Cannot go into subdir:")+" "+E->get()); } @@ -821,12 +831,10 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir,const S } } + da->list_dir_end(); memdelete(da); - - - } for(int i=0;i<p_dir->files.size();i++) { @@ -841,6 +849,7 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir,const S continue; } + if (_check_meta_sources(p_dir->files[i]->meta)) { ItemAction ia; ia.action=ItemAction::ACTION_FILE_SOURCES_CHANGED; @@ -851,6 +860,8 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir,const S } else { p_dir->files[i]->meta.sources_changed=false; } + + EditorResourcePreview::get_singleton()->check_for_invalidation(p_dir->get_file_path(i)); } for(int i=0;i<p_dir->subdirs.size();i++) { @@ -1321,6 +1332,7 @@ void EditorFileSystem::update_file(const String& p_file) { fs->files[cpos]->modified_time=FileAccess::get_modified_time(p_file); fs->files[cpos]->meta=_get_meta(p_file); + EditorResourcePreview::get_singleton()->call_deferred("check_for_invalidation",p_file); call_deferred("emit_signal","filesystem_changed"); //update later } @@ -1334,6 +1346,8 @@ void EditorFileSystem::_bind_methods() { } + + EditorFileSystem::EditorFileSystem() { diff --git a/tools/editor/editor_file_system.h b/tools/editor/editor_file_system.h index b96e947569..fb768fb358 100644 --- a/tools/editor/editor_file_system.h +++ b/tools/editor/editor_file_system.h @@ -236,6 +236,7 @@ public: EditorFileSystemDirectory *get_path(const String& p_path); String get_file_type(const String& p_file) const; EditorFileSystemDirectory* find_file(const String& p_file,int* r_index) const; + EditorFileSystem(); ~EditorFileSystem(); }; diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp index 0b60db5ee3..1fc157098c 100644 --- a/tools/editor/editor_help.cpp +++ b/tools/editor/editor_help.cpp @@ -332,7 +332,7 @@ EditorHelpSearch::EditorHelpSearch() { register_text_enter(search_box); set_hide_on_ok(false); search_options->connect("item_activated",this,"_confirmed"); - set_title(TTR("Search Classes")); + set_title(TTR("Search Help")); // search_options->set_hide_root(true); @@ -526,6 +526,7 @@ EditorHelpIndex::EditorHelpIndex() { class_list->connect("item_activated",this,"_tree_item_selected"); get_ok()->set_text(TTR("Open")); + set_title(TTR("Search Classes")); } diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index f6278e350a..c0887d7b71 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -168,6 +168,10 @@ void EditorNode::_update_title() { void EditorNode::_unhandled_input(const InputEvent& p_event) { + if (Node::get_viewport()->get_modal_stack_top()) + return; //ignore because of modal window + + if (p_event.type==InputEvent::KEY && p_event.key.pressed && !p_event.key.echo && !gui_base->get_viewport()->gui_has_modal_stack()) { @@ -504,8 +508,6 @@ void EditorNode::_rebuild_import_menu() for (int i = 0; i < editor_import_export->get_import_plugin_count(); i++) { p->add_item(editor_import_export->get_import_plugin(i)->get_visible_name(), IMPORT_PLUGIN_BASE + i); } - //p->add_separator(); - //p->add_item(TTR("Re-Import.."), SETTINGS_IMPORT); } void EditorNode::_node_renamed() { @@ -593,7 +595,6 @@ void EditorNode::save_resource(const Ref<Resource>& p_resource) { void EditorNode::save_resource_as(const Ref<Resource>& p_resource,const String& p_at_path) { file->set_mode(EditorFileDialog::MODE_SAVE_FILE); - bool relpaths = (p_resource->has_meta("__editor_relpaths__") && p_resource->get_meta("__editor_relpaths__").operator bool()); current_option=RESOURCE_SAVE_AS; List<String> extensions; @@ -1161,7 +1162,11 @@ void EditorNode::_dialog_action(String p_file) { load_scene(p_file); } break; + case SETTINGS_PICK_MAIN_SCENE: { + Globals::get_singleton()->set("application/main_scene",p_file); + //would be nice to show the project manager opened with the hilighted field.. + } break; case FILE_SAVE_OPTIMIZED: { @@ -1543,9 +1548,10 @@ void EditorNode::_property_editor_back() { void EditorNode::_imported(Node *p_node) { - Node *scene = editor_data.get_edited_scene_root(); -// add_edited_scene(p_node); /* + Node *scene = editor_data.get_edited_scene_root(); + add_edited_scene(p_node); + if (scene) { String path = scene->get_filename(); p_node->set_filename(path); @@ -1605,6 +1611,7 @@ void EditorNode::_edit_current() { object_menu->set_disabled(true); bool is_resource = current_obj->is_type("Resource"); + bool is_node = current_obj->is_type("Node"); resource_save_button->set_disabled(!is_resource); if (is_resource) { @@ -1621,7 +1628,7 @@ void EditorNode::_edit_current() { //top_pallete->set_current_tab(1); - } else if (current_obj->is_type("Node")) { + } else if (is_node) { Node * current_node = current_obj->cast_to<Node>(); ERR_FAIL_COND(!current_node); @@ -1717,10 +1724,14 @@ void EditorNode::_edit_current() { p->add_shortcut(ED_SHORTCUT("property_editor/copy_resource",TTR("Copy Resource")),RESOURCE_COPY); p->add_shortcut(ED_SHORTCUT("property_editor/unref_resource",TTR("Make Built-In")),RESOURCE_UNREF); } - p->add_separator(); - p->add_shortcut(ED_SHORTCUT("property_editor/make_subresources_unique",TTR("Make Sub-Resources Unique")),OBJECT_UNIQUE_RESOURCES); - p->add_separator(); - p->add_icon_shortcut(gui_base->get_icon("Help","EditorIcons"),ED_SHORTCUT("property_editor/open_help",TTR("Open in Help")),OBJECT_REQUEST_HELP); + + if (is_resource || is_node) { + p->add_separator(); + p->add_shortcut(ED_SHORTCUT("property_editor/make_subresources_unique",TTR("Make Sub-Resources Unique")),OBJECT_UNIQUE_RESOURCES); + p->add_separator(); + p->add_icon_shortcut(gui_base->get_icon("Help","EditorIcons"),ED_SHORTCUT("property_editor/open_help",TTR("Open in Help")),OBJECT_REQUEST_HELP); + } + List<MethodInfo> methods; current_obj->get_method_list(&methods); @@ -1850,12 +1861,31 @@ void EditorNode::_run(bool p_current,const String& p_custom) { current_option=-1; //accept->get_cancel()->hide(); - accept->get_ok()->set_text(TTR("I see..")); - accept->set_text(TTR("No main scene has ever been defined.\nSelect one from \"Project Settings\" under the 'application' category.")); - accept->popup_centered_minsize(); + pick_main_scene->set_text(TTR("No main scene has ever been defined, select one?\nYou can change it later in later in \"Project Settings\" under the 'application' category.")); + pick_main_scene->popup_centered_minsize(); return; } + if (!FileAccess::exists(run_filename)) { + + current_option=-1; + //accept->get_cancel()->hide(); + pick_main_scene->set_text(vformat(TTR("Selected scene '%s' does not exist, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), run_filename)); + pick_main_scene->popup_centered_minsize(); + return; + + } + + if (ResourceLoader::get_resource_type(run_filename)!="PackedScene") { + + current_option=-1; + //accept->get_cancel()->hide(); + pick_main_scene->set_text(vformat(TTR("Selected scene '%s' is not a scene file, select a valid one?\nYou can change it later in \"Project Settings\" under the 'application' category."), run_filename)); + pick_main_scene->popup_centered_minsize(); + return; + + } + } @@ -2102,7 +2132,6 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { } file->set_mode(EditorFileDialog::MODE_SAVE_FILE); - bool relpaths = (scene->has_meta("__editor_relpaths__") && scene->get_meta("__editor_relpaths__").operator bool()); List<String> extensions; @@ -2183,8 +2212,6 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { } - bool relpaths = (scene->has_meta("__editor_relpaths__") && scene->get_meta("__editor_relpaths__").operator bool()); - file->set_mode(EditorFileDialog::MODE_SAVE_FILE); file->set_current_path(cpath); @@ -2193,8 +2220,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { } break; case FILE_SAVE_OPTIMIZED: { - Node *scene = editor_data.get_edited_scene_root(); #if 0 + Node *scene = editor_data.get_edited_scene_root(); if (!scene) { current_option=-1; @@ -2467,7 +2494,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { #endif case RESOURCE_NEW: { - create_dialog->popup_centered_ratio(); + create_dialog->popup(true); } break; case RESOURCE_LOAD: { @@ -2755,10 +2782,6 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { settings_config_dialog->popup_edit_settings(); } break; - case SETTINGS_IMPORT: { - - import_settings->popup_import_settings(); - } break; case SETTINGS_OPTIMIZED_PRESETS: { //optimized_presets->popup_centered_ratio(); @@ -2769,6 +2792,30 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { file_templates->popup_centered_ratio(); } break; + case SETTINGS_PICK_MAIN_SCENE: { + + + //print_tree(); + file->set_mode(EditorFileDialog::MODE_OPEN_FILE); + //not for now? + List<String> extensions; + ResourceLoader::get_recognized_extensions_for_type("PackedScene",&extensions); + file->clear_filters(); + for(int i=0;i<extensions.size();i++) { + + file->add_filter("*."+extensions[i]+" ; "+extensions[i].to_upper()); + } + + + //file->set_current_path(current_path); + Node *scene = editor_data.get_edited_scene_root(); + if (scene) { + file->set_current_path(scene->get_filename()); + }; + file->set_title(TTR("Pick a Main Scene")); + file->popup_centered_ratio(); + + } break; case SETTINGS_ABOUT: { about->popup_centered(Size2(500,130)*EDSCALE); @@ -2782,10 +2829,12 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { List<Ref<Resource> > cached; ResourceCache::get_cached_resources(&cached); - + //this should probably be done in a thread.. for(List<Ref<Resource> >::Element *E=cached.front();E;E=E->next()) { - if (!E->get()->can_reload_from_file()) + if (!E->get()->editor_can_reload_from_file()) + continue; + if (!E->get()->get_path().is_resource_file() && !E->get()->get_path().is_abs_path()) continue; if (!FileAccess::exists(E->get()->get_path())) continue; @@ -2793,6 +2842,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { if (mt!=E->get()->get_last_modified_time()) { E->get()->reload_from_file(); } + } @@ -3079,6 +3129,11 @@ void EditorNode::_remove_edited_scene() { new_index=1; } + + + if (editor_data.get_scene_path(old_index)!=String()) { + ScriptEditor::get_singleton()->close_builtin_scripts_from_scene(editor_data.get_scene_path(old_index)); + } _scene_tab_changed(new_index); editor_data.remove_scene(old_index); editor_data.get_undo_redo().clear_history(); @@ -3376,7 +3431,10 @@ Dictionary EditorNode::_get_main_scene_state() { return state; } -void EditorNode::_set_main_scene_state(Dictionary p_state) { +void EditorNode::_set_main_scene_state(Dictionary p_state,Node* p_for_scene) { + + if (get_edited_scene()!=p_for_scene && p_for_scene!=NULL) + return; //not for this scene //print_line("set current 7 "); changing_scene=false; @@ -3520,7 +3578,7 @@ void EditorNode::set_current_scene(int p_idx) { }*/ //_set_main_scene_state(state); - call_deferred("_set_main_scene_state",state); //do after everything else is done setting up + call_deferred("_set_main_scene_state",state,get_edited_scene()); //do after everything else is done setting up //print_line("set current 6 "); @@ -5062,6 +5120,78 @@ void EditorNode::_file_access_close_error_notify(const String& p_str) { add_io_error("Unable to write to file '"+p_str+"', file in use, locked or lacking permissions."); } + +void EditorNode::reload_scene(const String& p_path) { + + + //first of all, reload textures as they might have changed on disk + + List<Ref<Resource> > cached; + ResourceCache::get_cached_resources(&cached); + List<Ref<Resource> > to_clear; //clear internal resources from previous scene from being used + for(List<Ref<Resource> >::Element *E=cached.front();E;E=E->next()) { + + if (E->get()->get_path().begins_with(p_path+"::")) //subresources of existing scene + to_clear.push_back(E->get()); + + if (!E->get()->cast_to<Texture>()) + continue; + if (!E->get()->get_path().is_resource_file() && !E->get()->get_path().is_abs_path()) + continue; + if (!FileAccess::exists(E->get()->get_path())) + continue; + uint64_t mt = FileAccess::get_modified_time(E->get()->get_path()); + if (mt!=E->get()->get_last_modified_time()) { + E->get()->reload_from_file(); + } + } + + //so reload reloads everything, clear subresources of previous scene + while(to_clear.front()) { + to_clear.front()->get()->set_path(""); + to_clear.pop_front(); + } + + int scene_idx=-1; + for(int i=0;i<editor_data.get_edited_scene_count();i++) { + + if (editor_data.get_scene_path(i)==p_path) { + scene_idx=i; + break; + } + } + + int current_tab = editor_data.get_edited_scene(); + + + if (scene_idx==-1) { + if (get_edited_scene()) { + //scene is not open, so at it might be instanced, just refresh, set tab to itself and it will reload + set_current_scene(current_tab); + editor_data.get_undo_redo().clear_history(); + } + return; + } + + + if (current_tab==scene_idx) { + editor_data.apply_changes_in_editors(); + _set_scene_metadata(p_path); + + } + //remove scene + _remove_scene(scene_idx); + //reload scene + load_scene(p_path); + //adjust index so tab is back a the previous position + editor_data.move_edited_scene_to_index(scene_idx); + get_undo_redo()->clear_history(); + //recover the tab + scene_tabs->set_current_tab(current_tab); + _scene_tab_changed(current_tab); +} + + void EditorNode::_bind_methods() { @@ -5510,8 +5640,6 @@ EditorNode::EditorNode() { ED_SHORTCUT("editor/prev_tab", TTR("Previous tab"), KEY_MASK_CMD+KEY_MASK_SHIFT+KEY_TAB); - Separator *vs=NULL; - file_menu->set_tooltip(TTR("Operations with scene files.")); p=file_menu->get_popup(); p->add_shortcut(ED_SHORTCUT("editor/new_scene",TTR("New Scene")),FILE_NEW_SCENE); @@ -6160,8 +6288,6 @@ EditorNode::EditorNode() { open_recent_confirmation->connect("confirmed",this,"_open_recent_scene_confirm"); - import_settings= memnew(ImportSettingsDialog(this)); - gui_base->add_child(import_settings); run_settings_dialog = memnew( RunSettingsDialog ); gui_base->add_child( run_settings_dialog ); @@ -6432,7 +6558,7 @@ EditorNode::EditorNode() { load_error_dialog->add_child(load_errors); load_error_dialog->set_title(TTR("Load Errors")); load_error_dialog->set_child_rect(load_errors); - add_child(load_error_dialog); + gui_base->add_child(load_error_dialog); //EditorImport::add_importer( Ref<EditorImporterCollada>( memnew(EditorImporterCollada ))); @@ -6457,7 +6583,10 @@ EditorNode::EditorNode() { Node::set_human_readable_collision_renaming(true); - + pick_main_scene = memnew( ConfirmationDialog ); + gui_base->add_child(pick_main_scene); + pick_main_scene->get_ok()->set_text("Select"); + pick_main_scene->connect("confirmed",this,"_menu_option",varray(SETTINGS_PICK_MAIN_SCENE)); // Ref<ImageTexture> it = gui_base->get_icon("logo","Icons"); // OS::get_singleton()->set_icon( it->get_data() ); diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index 75565118bc..c4414d5c36 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -74,7 +74,6 @@ #include "tools/editor/editor_sub_scene.h" #include "editor_import_export.h" #include "editor_reimport_dialog.h" -#include "import_settings.h" #include "tools/editor/editor_plugin.h" #include "tools/editor/editor_name_dialog.h" @@ -177,7 +176,6 @@ private: RUN_RELOAD_SCRIPTS, SETTINGS_UPDATE_ALWAYS, SETTINGS_UPDATE_CHANGES, - SETTINGS_IMPORT, SETTINGS_EXPORT_PREFERENCES, SETTINGS_PREFERENCES, SETTINGS_OPTIMIZED_PRESETS, @@ -185,6 +183,7 @@ private: SETTINGS_LAYOUT_DELETE, SETTINGS_LAYOUT_DEFAULT, SETTINGS_LOAD_EXPORT_TEMPLATES, + SETTINGS_PICK_MAIN_SCENE, SETTINGS_HELP, SETTINGS_ABOUT, SOURCES_REIMPORT, @@ -287,6 +286,7 @@ private: ConfirmationDialog *confirmation; ConfirmationDialog *import_confirmation; ConfirmationDialog *open_recent_confirmation; + ConfirmationDialog *pick_main_scene; AcceptDialog *accept; AcceptDialog *about; AcceptDialog *warning; @@ -336,7 +336,6 @@ private: Vector<EditorPlugin*> editor_table; EditorReImportDialog *reimport_dialog; - ImportSettingsDialog *import_settings; ProgressDialog *progress_dialog; BackgroundProgress *progress_hb; @@ -553,7 +552,7 @@ private: void _scene_tab_script_edited(int p_tab); Dictionary _get_main_scene_state(); - void _set_main_scene_state(Dictionary p_state); + void _set_main_scene_state(Dictionary p_state,Node* p_for_scene); int _get_current_main_editor(); @@ -714,6 +713,8 @@ public: void update_keying(); + void reload_scene(const String& p_path); + bool is_exiting() const { return exiting; } ToolButton *get_pause_button() { return pause_button; } @@ -758,7 +759,7 @@ public: plugins_list = p_plugins_list; } - Vector<EditorPlugin*> get_plugins_list() { + Vector<EditorPlugin*>& get_plugins_list() { return plugins_list; } diff --git a/tools/editor/editor_path.cpp b/tools/editor/editor_path.cpp index 4cf98e832c..6b804b6a24 100644 --- a/tools/editor/editor_path.cpp +++ b/tools/editor/editor_path.cpp @@ -38,7 +38,6 @@ void EditorPath::_notification(int p_what) { RID ci=get_canvas_item(); Ref<Font> label_font = get_font("font","Label"); - Color label_color = get_color("font_color","Label"); Size2i size = get_size(); Ref<Texture> sn = get_icon("SmallNext","EditorIcons"); diff --git a/tools/editor/editor_plugin.cpp b/tools/editor/editor_plugin.cpp index 138e532ce8..01e6b613c0 100644 --- a/tools/editor/editor_plugin.cpp +++ b/tools/editor/editor_plugin.cpp @@ -27,6 +27,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ #include "editor_plugin.h" +#include "scene/3d/camera.h" #include "plugins/canvas_item_editor_plugin.h" #include "plugins/spatial_editor_plugin.h" #include "tools/editor/editor_node.h" diff --git a/tools/editor/editor_resource_preview.cpp b/tools/editor/editor_resource_preview.cpp index 8975c0ec35..a02fe2a531 100644 --- a/tools/editor/editor_resource_preview.cpp +++ b/tools/editor/editor_resource_preview.cpp @@ -33,6 +33,7 @@ #include "io/resource_saver.h" #include "globals.h" #include "editor_scale.h" +#include "message_queue.h" Ref<Texture> EditorResourcePreviewGenerator::generate_from_path(const String& p_path) { @@ -66,25 +67,27 @@ void EditorResourcePreview::_preview_ready(const String& p_str,const Ref<Texture String path = p_str; uint32_t hash=0; + uint64_t modified_time=0; if (p_str.begins_with("ID:")) { hash=p_str.get_slicec(':',2).to_int(); path="ID:"+p_str.get_slicec(':',1); + } else { + modified_time = FileAccess::get_modified_time(path); } Item item; item.order=order++; item.preview=p_texture; item.last_hash=hash; + item.modified_time=modified_time; cache[path]=item; - Object *recv = ObjectDB::get_instance(id); - if (recv) { - recv->call_deferred(p_func,path,p_texture,p_ud); - } - preview_mutex->unlock(); + + MessageQueue::get_singleton()->push_call(id,p_func,path,p_texture,p_ud); + } Ref<Texture> EditorResourcePreview::_generate_preview(const QueueItem& p_item,const String& cache_base) { @@ -103,6 +106,7 @@ Ref<Texture> EditorResourcePreview::_generate_preview(const QueueItem& p_item,co Ref<Texture> generated; for(int i=0;i<preview_generators.size();i++) { + if (!preview_generators[i]->handles(type)) continue; if (p_item.resource.is_valid()) { @@ -153,99 +157,107 @@ void EditorResourcePreview::_thread() { QueueItem item = queue.front()->get(); queue.pop_front(); - preview_mutex->unlock(); - - Ref<Texture> texture; - - //print_line("pop from queue "+item.path); - - int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); - thumbnail_size*=EDSCALE; if (cache.has(item.path)) { //already has it because someone loaded it, just let it know it's ready if (item.resource.is_valid()) { item.path+=":"+itos(cache[item.path].last_hash); //keep last hash (see description of what this is in condition below) } - call_deferred("_preview_ready",item.path,cache[item.path].preview,item.id,item.function,item.userdata); - - } else if (item.resource.is_valid()){ - texture=_generate_preview(item,String()); - //adding hash to the end of path (should be ID:<objid>:<hash>) because of 5 argument limit to call_deferred - call_deferred("_preview_ready",item.path+":"+itos(item.resource->hash_edited_version()),texture,item.id,item.function,item.userdata); + _preview_ready(item.path,cache[item.path].preview,item.id,item.function,item.userdata); + preview_mutex->unlock(); } else { + preview_mutex->unlock(); - String temp_path=EditorSettings::get_singleton()->get_settings_path().plus_file("tmp"); - String cache_base = Globals::get_singleton()->globalize_path(item.path).md5_text(); - cache_base = temp_path.plus_file("resthumb-"+cache_base); + Ref<Texture> texture; - //does not have it, try to load a cached thumbnail + //print_line("pop from queue "+item.path); - String file = cache_base+".txt"; - //print_line("cachetxt at "+file); - FileAccess *f=FileAccess::open(file,FileAccess::READ); - if (!f) { + int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); + thumbnail_size*=EDSCALE; - //print_line("generate because not cached"); - //generate - texture=_generate_preview(item,cache_base); + if (item.resource.is_valid()){ + + texture=_generate_preview(item,String()); + //adding hash to the end of path (should be ID:<objid>:<hash>) because of 5 argument limit to call_deferred + _preview_ready(item.path+":"+itos(item.resource->hash_edited_version()),texture,item.id,item.function,item.userdata); + } else { - uint64_t modtime = FileAccess::get_modified_time(item.path); - int tsize = f->get_line().to_int64(); - uint64_t last_modtime = f->get_line().to_int64(); - bool cache_valid = true; + String temp_path=EditorSettings::get_singleton()->get_settings_path().plus_file("tmp"); + String cache_base = Globals::get_singleton()->globalize_path(item.path).md5_text(); + cache_base = temp_path.plus_file("resthumb-"+cache_base); - if (tsize!=thumbnail_size) { - cache_valid=false; - memdelete(f); - } else if (last_modtime!=modtime) { + //does not have it, try to load a cached thumbnail - String last_md5 = f->get_line(); - String md5 = FileAccess::get_md5(item.path); - memdelete(f); + String file = cache_base+".txt"; + //print_line("cachetxt at "+file); + FileAccess *f=FileAccess::open(file,FileAccess::READ); + if (!f) { - if (last_md5!=md5) { + //print_line("generate because not cached"); + //generate + texture=_generate_preview(item,cache_base); + } else { + + uint64_t modtime = FileAccess::get_modified_time(item.path); + int tsize = f->get_line().to_int64(); + uint64_t last_modtime = f->get_line().to_int64(); + + bool cache_valid = true; + + if (tsize!=thumbnail_size) { cache_valid=false; - } else { - //update modified time + memdelete(f); + } else if (last_modtime!=modtime) { + + String last_md5 = f->get_line(); + String md5 = FileAccess::get_md5(item.path); + memdelete(f); + + if (last_md5!=md5) { - f=FileAccess::open(file,FileAccess::WRITE); - f->store_line(itos(modtime)); - f->store_line(md5); + cache_valid=false; + } else { + //update modified time + + f=FileAccess::open(file,FileAccess::WRITE); + f->store_line(itos(modtime)); + f->store_line(md5); + memdelete(f); + } + } else { memdelete(f); } - } else { - memdelete(f); - } - if (cache_valid) { + if (cache_valid) { - texture = ResourceLoader::load(cache_base+".png","ImageTexture",true); - if (!texture.is_valid()) { - //well fuck - cache_valid=false; + texture = ResourceLoader::load(cache_base+".png","ImageTexture",true); + if (!texture.is_valid()) { + //well fuck + cache_valid=false; + } } - } - if (!cache_valid) { + if (!cache_valid) { - texture=_generate_preview(item,cache_base); - } + texture=_generate_preview(item,cache_base); + } - } + } - //print_line("notify of preview ready"); - call_deferred("_preview_ready",item.path,texture,item.id,item.function,item.userdata); + //print_line("notify of preview ready"); + _preview_ready(item.path,texture,item.id,item.function,item.userdata); + } } + } else { preview_mutex->unlock(); } @@ -263,6 +275,8 @@ void EditorResourcePreview::queue_edited_resource_preview(const Ref<Resource>& p preview_mutex->lock(); String path_id = "ID:"+itos(p_res->get_instance_ID()); + + if (cache.has(path_id) && cache[path_id].last_hash==p_res->hash_edited_version()) { cache[path_id].order=order++; @@ -272,6 +286,8 @@ void EditorResourcePreview::queue_edited_resource_preview(const Ref<Resource>& p } + cache.erase(path_id); //erase if exists, since it will be regen + //print_line("send to thread "+p_path); QueueItem item; item.function=p_receiver_func; @@ -322,6 +338,34 @@ EditorResourcePreview* EditorResourcePreview::get_singleton() { void EditorResourcePreview::_bind_methods() { ObjectTypeDB::bind_method("_preview_ready",&EditorResourcePreview::_preview_ready); + ObjectTypeDB::bind_method(_MD("check_for_invalidation","path"),&EditorResourcePreview::check_for_invalidation); + + + ADD_SIGNAL(MethodInfo("preview_invalidated",PropertyInfo(Variant::STRING,"path"))); +} + +void EditorResourcePreview::check_for_invalidation(const String& p_path) { + + preview_mutex->lock(); + + bool call_invalidated=false; + if (cache.has(p_path)) { + + uint64_t modified_time = FileAccess::get_modified_time(p_path); + if (modified_time!=cache[p_path].modified_time) { + cache.erase(p_path); + call_invalidated=true; + } + } + + preview_mutex->unlock(); + + if (call_invalidated) {//do outside mutex + call_deferred("emit_signal","preview_invalidated",p_path); + } + + + } EditorResourcePreview::EditorResourcePreview() { diff --git a/tools/editor/editor_resource_preview.h b/tools/editor/editor_resource_preview.h index 63dc5c3dd3..51a00965eb 100644 --- a/tools/editor/editor_resource_preview.h +++ b/tools/editor/editor_resource_preview.h @@ -93,6 +93,7 @@ class EditorResourcePreview : public Node { Ref<Texture> preview; int order; uint32_t last_hash; + uint64_t modified_time; }; int order; @@ -106,6 +107,8 @@ class EditorResourcePreview : public Node { void _thread(); Vector<Ref<EditorResourcePreviewGenerator> > preview_generators; + + protected: static void _bind_methods(); @@ -118,6 +121,7 @@ public: void queue_edited_resource_preview(const Ref<Resource>& p_path, Object* p_receiver, const StringName& p_receiver_func, const Variant& p_userdata); void add_preview_generator(const Ref<EditorResourcePreviewGenerator>& p_generator); + void check_for_invalidation(const String& p_path); EditorResourcePreview(); ~EditorResourcePreview(); diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index b89863289a..2ce9502293 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -104,12 +104,18 @@ bool EditorSettings::_get(const StringName& p_name,Variant &r_ret) const { for (const Map<String,Ref<ShortCut> >::Element *E=shortcuts.front();E;E=E->next()) { Ref<ShortCut> sc=E->get(); - if (!sc->has_meta("original")) - continue; //this came from settings but is not any longer used - InputEvent original = sc->get_meta("original"); - if (sc->is_shortcut(original) || (original.type==InputEvent::NONE && sc->get_shortcut().type==InputEvent::NONE)) - continue; //not changed from default, don't save + if (optimize_save) { + if (!sc->has_meta("original")) { + continue; //this came from settings but is not any longer used + } + + InputEvent original = sc->get_meta("original"); + if (sc->is_shortcut(original) || (original.type==InputEvent::NONE && sc->get_shortcut().type==InputEvent::NONE)) + continue; //not changed from default, don't save + } + + print_line("SAVING: "+E->key()); arr.push_back(E->key()); arr.push_back(sc->get_shortcut()); } @@ -161,7 +167,7 @@ void EditorSettings::_get_property_list(List<PropertyInfo> *p_list) const { for(Set<_EVCSort>::Element *E=vclist.front();E;E=E->next()) { int pinfo = 0; - if (E->get().save) { + if (E->get().save || !optimize_save) { pinfo|=PROPERTY_USAGE_STORAGE; } @@ -976,6 +982,10 @@ void EditorSettings::get_shortcut_list(List<String> *r_shortcuts) { } } +void EditorSettings::set_optimize_save(bool p_optimize) { + + optimize_save=p_optimize; +} void EditorSettings::_bind_methods() { @@ -998,6 +1008,7 @@ EditorSettings::EditorSettings() { //singleton=this; last_order=0; + optimize_save=true; save_changed_setting=true; EditorTranslationList *etl=_editor_translations; diff --git a/tools/editor/editor_settings.h b/tools/editor/editor_settings.h index d975a7ef86..937956a366 100644 --- a/tools/editor/editor_settings.h +++ b/tools/editor/editor_settings.h @@ -88,6 +88,7 @@ private: bool save_changed_setting; + bool optimize_save; //do not save stuff that came from config but was not set from engine void _load_defaults(Ref<ConfigFile> p_extra_config = NULL); void _load_default_text_editor_theme(); @@ -155,6 +156,8 @@ public: Ref<ShortCut> get_shortcut(const String&p_name) const; void get_shortcut_list(List<String> *r_shortcuts); + void set_optimize_save(bool p_optimize); + EditorSettings(); ~EditorSettings(); diff --git a/tools/editor/groups_editor.cpp b/tools/editor/groups_editor.cpp index 898e1e115e..5b7bc1da78 100644 --- a/tools/editor/groups_editor.cpp +++ b/tools/editor/groups_editor.cpp @@ -31,7 +31,7 @@ #include "scene/gui/box_container.h" #include "scene/gui/label.h" #include "editor_node.h" - +#include "scene/resources/packed_scene.h" void GroupsEditor::_add_group(const String& p_group) { if (!node) @@ -107,9 +107,35 @@ void GroupsEditor::update_tree() { if (!gi.persistent) continue; + Node *n = node; + bool can_be_deleted=true; + + while(n) { + + Ref<SceneState> ss = (n==EditorNode::get_singleton()->get_edited_scene()) ? n->get_scene_inherited_state() : n->get_scene_instance_state(); + + if (ss.is_valid()) { + + int path = ss->find_node_by_path(n->get_path_to(node)); + if (path!=-1) { + if (ss->is_node_in_group(path,gi.name)) { + can_be_deleted=false; + } + } + } + + n=n->get_owner(); + } + + TreeItem *item=tree->create_item(root); item->set_text(0, gi.name); - item->add_button(0, get_icon("Remove", "EditorIcons"), 0); + if (can_be_deleted) { + item->add_button(0, get_icon("Remove", "EditorIcons"), 0); + } else { + item->set_selectable(0,false); + } + } } diff --git a/tools/editor/import_settings.cpp b/tools/editor/import_settings.cpp deleted file mode 100644 index dfaeca03db..0000000000 --- a/tools/editor/import_settings.cpp +++ /dev/null @@ -1,301 +0,0 @@ -/*************************************************************************/ -/* import_settings.cpp */ -/*************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* http://www.godotengine.org */ -/*************************************************************************/ -/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ -/* */ -/* Permission is hereby granted, free of charge, to any person obtaining */ -/* a copy of this software and associated documentation files (the */ -/* "Software"), to deal in the Software without restriction, including */ -/* without limitation the rights to use, copy, modify, merge, publish, */ -/* distribute, sublicense, and/or sell copies of the Software, and to */ -/* permit persons to whom the Software is furnished to do so, subject to */ -/* the following conditions: */ -/* */ -/* The above copyright notice and this permission notice shall be */ -/* included in all copies or substantial portions of the Software. */ -/* */ -/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ -/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ -/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ -/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ -/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ -/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ -/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/*************************************************************************/ -#include "import_settings.h" -#include "os/os.h" -#include "editor_node.h" - -void ImportSettingsDialog::_item_pressed(int p_idx) { - - if (!edited) - return; - - String p=edited->get_metadata(0); -#if 0 - if (EditorImportDB::get_singleton()->is_image(p)) { - - uint32_t flags = EditorImportDB::get_singleton()->get_image_flags(p); - bool pressed = !popup->is_item_checked(p_idx); - if (pressed) - flags|=(1<<p_idx); - else - flags&=~(1<<p_idx); - - - EditorImportDB::get_singleton()->set_image_flags(p,flags); - edited->set_text(2,_str_from_flags(flags)); - } -#endif -} - -void ImportSettingsDialog::_item_edited() { - - if (updating) - return; - TreeItem *it=tree->get_selected(); - int ec=tree->get_edited_column(); - - String p=it->get_metadata(0); -#if 0 - if (EditorImportDB::get_singleton()->is_image(p)) { - - if (ec==1) { - - - EditorImportDB::get_singleton()->set_image_format(p,EditorImport::ImageFormat(int(it->get_range(1)))); - - } else if (ec==2) { - - - int flags = EditorImportDB::get_singleton()->get_image_flags(p); - for(int i=0;i<popup->get_item_count();i++) { - - popup->set_item_checked(i,flags&(1<<i)); - } - - Rect2 r = tree->get_custom_popup_rect(); - popup->set_size(Size2(r.size.width,1)); - popup->set_pos(/*tree->get_global_pos()+*/r.pos+Point2(0,r.size.height)); - popup->popup(); - } - - edited=it; - - } -#endif - - -} - - -void ImportSettingsDialog::_button_pressed(Object *p_button, int p_col, int p_id) { - - TreeItem *ti=p_button->cast_to<TreeItem>(); - if (!ti) - return; - String path = ti->get_metadata(0); - print_line("PATH: "+path); - Ref<ResourceImportMetadata> rimd = ResourceLoader::load_import_metadata(path); - ERR_FAIL_COND(rimd.is_null()); - Ref<EditorImportPlugin> rimp = EditorImportExport::get_singleton()->get_import_plugin_by_name(rimd->get_editor()); - ERR_FAIL_COND(!rimp.is_valid()); - rimp->import_dialog(path); - hide(); -} - -bool ImportSettingsDialog::_generate_fs(TreeItem *p_parent,EditorFileSystemDirectory *p_dir) { - - bool valid=false; - - - for(int i=0;i<p_dir->get_subdir_count();i++) { - - EditorFileSystemDirectory *sd=p_dir->get_subdir(i); - TreeItem *ti = tree->create_item(p_parent); - ti->set_text(0,sd->get_name()+"/"); - ti->set_icon(0,get_icon("Folder","EditorIcons")); - - if (!_generate_fs(ti,sd)) { - memdelete(ti); - } else { - valid=true; - } - } - - - for(int i=0;i<p_dir->get_file_count();i++) { - - String path=p_dir->get_file_path(i); - if (!p_dir->get_file_meta(i)) - continue; - - valid=true; - - String f = p_dir->get_file(i); - TreeItem *ti = tree->create_item(p_parent); - String type = p_dir->get_file_type(i); - Ref<Texture> t; - if (has_icon(type,"EditorIcons")) - t = get_icon(type,"EditorIcons"); - else - t = get_icon("Object","EditorIcons"); - - - ti->set_icon(0,t); - ti->set_text(0,f); -// ti->add_button(0,get_icon("Reload","EditorIcons")); - ti->set_metadata(0,p_dir->get_file_path(i)); - String tt = p_dir->get_file_path(i); - - if (p_dir->is_missing_sources(i)) { - ti->set_icon(1,get_icon("ImportFail","EditorIcons")); - Vector<String> missing = p_dir->get_missing_sources(i); - for(int j=0;j<missing.size();j++) { - tt+="\nmissing: "+missing[j]; - } - - } else - ti->set_icon(1,get_icon("ImportCheck","EditorIcons")); - - ti->set_tooltip(0,tt); - ti->set_tooltip(1,tt); - - } - -#if 0 - if (!EditorImportDB::get_singleton()->is_image(path) && !EditorImportDB::get_singleton()->is_scene(path)) - continue; - - String f = p_dir->get_file(i); - TreeItem *ti = tree->create_item(p_parent); - ti->set_text(0,f); - String type = p_dir->get_file_type(i); - Ref<Texture> icon = get_icon( (has_icon(type,"EditorIcons")?type:String("Object")),"EditorIcons"); - - - if (EditorImportDB::get_singleton()->is_image(path)) { - - - ti->set_tooltip(0,"Type: Image\nSource: "+EditorImportDB::get_singleton()->get_file_source(path)+"\nSource MD5: "+EditorImportDB::get_singleton()->get_file_md5(path)); - ti->set_cell_mode(1,TreeItem::CELL_MODE_RANGE); - ti->set_editable(1,true); - ti->set_range_config(1,0,3,1); - ti->set_range(1,EditorImportDB::get_singleton()->get_image_format(path)); - ti->set_text(1,texformat); - ti->set_cell_mode(2,TreeItem::CELL_MODE_CUSTOM); - ti->set_editable(2,true); - ti->set_metadata(0,path); - - String txt; - uint32_t flags=EditorImportDB::get_singleton()->get_image_flags(path); - txt=_str_from_flags(flags); - - ti->set_text(2,txt); - } - - ti->set_icon(0, icon); - valid=true; -#endif - - - return valid; -} - -void ImportSettingsDialog::update_tree() { - - updating=true; - tree->clear(); - edited=NULL; - - - TreeItem *root = tree->create_item(); - EditorFileSystemDirectory *fs = EditorFileSystem::get_singleton()->get_filesystem(); - - _generate_fs(root,fs); - updating=false; - - -} - -void ImportSettingsDialog::_notification(int p_what) { - - if (p_what==NOTIFICATION_ENTER_TREE) { - - EditorFileSystem::get_singleton()->connect("filesystem_changed",this,"update_tree"); - } -} - - -void ImportSettingsDialog::_bind_methods() { - - ObjectTypeDB::bind_method("update_tree",&ImportSettingsDialog::update_tree); - ObjectTypeDB::bind_method("_item_edited",&ImportSettingsDialog::_item_edited); - ObjectTypeDB::bind_method("_item_pressed",&ImportSettingsDialog::_item_pressed); - ObjectTypeDB::bind_method("_button_pressed",&ImportSettingsDialog::_button_pressed); - - -} - - -void ImportSettingsDialog::popup_import_settings() { - - update_tree(); - popup_centered_ratio(); -} - -void ImportSettingsDialog::ok_pressed() { - - - TreeItem *ti = tree->get_selected(); - if (!ti) - return; - - String path = ti->get_metadata(0); - print_line("PATH: "+path); - Ref<ResourceImportMetadata> rimd = ResourceLoader::load_import_metadata(path); - ERR_FAIL_COND(rimd.is_null()); - Ref<EditorImportPlugin> rimp = EditorImportExport::get_singleton()->get_import_plugin_by_name(rimd->get_editor()); - ERR_FAIL_COND(!rimp.is_valid()); - rimp->import_dialog(path); - hide(); - - -} - -ImportSettingsDialog::ImportSettingsDialog(EditorNode *p_editor) { - - editor=p_editor; - - get_ok()->set_text(TTR("Close")); - - tree = memnew( Tree ); - add_child(tree); - set_child_rect(tree); - set_title(TTR("Imported Resources")); - -// texformat="Keep,None,Disk,VRAM"; - - tree->set_hide_root(true); - tree->set_columns(2); - tree->set_column_expand(1,false); - tree->set_column_min_width(1,20); - - tree->connect("item_edited",this,"_item_edited"); - tree->connect("button_pressed",this,"_button_pressed"); - -// add_button("Re-Import","reimport"); - get_ok()->set_text(TTR("Re-Import")); - get_cancel()->set_text(TTR("Close")); - - updating=false; - edited=NULL; - set_hide_on_ok(false); - - -} - diff --git a/tools/editor/io_plugins/editor_atlas.cpp b/tools/editor/io_plugins/editor_atlas.cpp index f894e7e8b2..f69e383fb0 100644 --- a/tools/editor/io_plugins/editor_atlas.cpp +++ b/tools/editor/io_plugins/editor_atlas.cpp @@ -82,7 +82,6 @@ void EditorAtlas::fit(const Vector<Size2i>& p_rects,Vector<Point2i>& r_result, S //place them int ofs=0; - int limit_h=0; for(int j=0;j<wrects.size();j++) { @@ -106,8 +105,6 @@ void EditorAtlas::fit(const Vector<Size2i>& p_rects,Vector<Point2i>& r_result, S int end_h = from_y+wrects[j].s.height; int end_w = ofs+wrects[j].s.width; - if (ofs==0) - limit_h=end_h; for(int k=0;k<wrects[j].s.width;k++) { @@ -120,8 +117,7 @@ void EditorAtlas::fit(const Vector<Size2i>& p_rects,Vector<Point2i>& r_result, S if (end_w > max_w) max_w=end_w; - //if (ofs==0 || end_h>limit_h ) //while h limit not reched, keep stacking - ofs+=wrects[j].s.width; + ofs+=wrects[j].s.width; } diff --git a/tools/editor/io_plugins/editor_import_collada.cpp b/tools/editor/io_plugins/editor_import_collada.cpp index 363cba3678..fc45b51a98 100644 --- a/tools/editor/io_plugins/editor_import_collada.cpp +++ b/tools/editor/io_plugins/editor_import_collada.cpp @@ -2278,12 +2278,6 @@ void ColladaImport::create_animation(int p_clip, bool p_make_tracks_in_all_bones NodeMap &nm = node_map[at.target]; String path = scene->get_path_to(nm.node); - Collada::Node *cn = collada.state.scene_map[at.target]; - //if (cn->ignore_anim) { - // print_line("warning, ignoring property animation on node: "+nm.path); - //continue; - //} - animation->add_track(Animation::TYPE_VALUE); int track = animation->get_track_count() -1; diff --git a/tools/editor/io_plugins/editor_mesh_import_plugin.cpp b/tools/editor/io_plugins/editor_mesh_import_plugin.cpp index 095c56a373..2c3ed2afd6 100644 --- a/tools/editor/io_plugins/editor_mesh_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_mesh_import_plugin.cpp @@ -520,7 +520,7 @@ Error EditorMeshImportPlugin::import(const String& p_path, const Ref<ResourceImp //new object/surface if (generate_normals || force_smooth) surf_tool->generate_normals(); - if (uvs.size() && (normals.size() || generate_normals)) + if (uvs.size() && (normals.size() || generate_normals) && generate_tangents) surf_tool->generate_tangents(); surf_tool->index(); diff --git a/tools/editor/io_plugins/editor_scene_import_plugin.cpp b/tools/editor/io_plugins/editor_scene_import_plugin.cpp index d5d0fac2b6..e24412d4ef 100644 --- a/tools/editor/io_plugins/editor_scene_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -2459,7 +2459,7 @@ void EditorSceneImportPlugin::_optimize_animations(Node *scene, float p_max_lin_ void EditorSceneImportPlugin::_find_resources_to_merge(Node *scene, Node *node, bool p_merge_material, Map<String, Ref<Material> > &materials, bool p_merge_anims, Map<String,Ref<Animation> >& merged_anims,Set<Ref<Mesh> > &tested_meshes) { - if (node->get_owner()!=scene) + if (node!=scene && node->get_owner()!=scene) return; String path = scene->get_path_to(node); @@ -2507,11 +2507,43 @@ void EditorSceneImportPlugin::_find_resources_to_merge(Node *scene, Node *node, for(int i=0;i<mesh->get_surface_count();i++) { Ref<Material> material = mesh->surface_get_material(i); - materials[mesh->get_name()+":surf:"+mesh->surface_get_name(i)]=material; + + if (material.is_valid()) { + + String sname = mesh->surface_get_name(i); + if (sname=="") + sname="surf_"+itos(i); + + sname=mesh->get_name()+":surf:"+sname; + materials[sname]=material; + } } tested_meshes.insert(mesh); } + + if (mesh.is_valid()) { + + for(int i=0;i<mesh->get_surface_count();i++) { + Ref<Material> material = mi->get_surface_material(i); + if (material.is_valid()) { + String sname = mesh->surface_get_name(i); + if (sname=="") + sname="surf_"+itos(i); + + sname=path+":inst_surf:"+sname; + materials[sname]=material; + } + } + + } + + Ref<Material> override = mi->get_material_override(); + + if (override.is_valid()) { + + materials[path+":override"]=override; + } } @@ -2525,11 +2557,13 @@ void EditorSceneImportPlugin::_find_resources_to_merge(Node *scene, Node *node, void EditorSceneImportPlugin::_merge_found_resources(Node *scene, Node *node, bool p_merge_material, const Map<String, Ref<Material> > &materials, bool p_merge_anims, const Map<String,Ref<Animation> >& merged_anims, Set<Ref<Mesh> > &tested_meshes) { - if (node->get_owner()!=scene) + if (node!=scene && node->get_owner()!=scene) return; String path = scene->get_path_to(node); + print_line("at path: "+path); + if (node->cast_to<AnimationPlayer>()) { AnimationPlayer *ap = node->cast_to<AnimationPlayer>(); @@ -2570,15 +2604,48 @@ void EditorSceneImportPlugin::_merge_found_resources(Node *scene, Node *node, bo if (mesh.is_valid() && mesh->get_name()!=String() && !tested_meshes.has(mesh)) { for(int i=0;i<mesh->get_surface_count();i++) { - String sname = mesh->get_name()+":surf:"+mesh->surface_get_name(i); + + String sname = mesh->surface_get_name(i); + if (sname=="") + sname="surf_"+itos(i); + + sname=mesh->get_name()+":surf:"+sname; + if (materials.has(sname)) { + mesh->surface_set_material(i,materials[sname]); } } tested_meshes.insert(mesh); } + + if (mesh.is_valid()) { + + for(int i=0;i<mesh->get_surface_count();i++) { + + String sname = mesh->surface_get_name(i); + if (sname=="") + sname="surf_"+itos(i); + + sname=path+":inst_surf:"+sname; + + + if (materials.has(sname)) { + + mi->set_surface_material(i,materials[sname]); + } + } + + } + + + String opath = path+":override"; + if (materials.has(opath)) { + mi->set_material_override(materials[opath]); + } + } @@ -2613,12 +2680,6 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c progress.step(TTR("Importing Scene.."),2); - bool reimport = bool(from->get_option("reimport")); - int this_time_action = from->get_option("import_this_time"); - int next_time_action = from->get_option("import_next_time"); - - int import_action = reimport?this_time_action:next_time_action; - from->set_source_md5(0,FileAccess::get_md5(src_path)); from->set_editor(get_name()); @@ -2627,8 +2688,6 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c Map<Ref<Mesh>,Ref<Shape> > collision_map; - Ref<ResourceImportMetadata> imd = memnew(ResourceImportMetadata); - Map< Ref<ImageTexture>,TextureRole > imagemap; scene=_fix_node(scene,scene,collision_map,scene_flags,imagemap); @@ -2643,6 +2702,7 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c if (scene_flags&(SCENE_FLAG_MERGE_KEEP_MATERIALS|SCENE_FLAG_MERGE_KEEP_EXTRA_ANIM_TRACKS) && FileAccess::exists(p_dest_path)) { //must merge! + print_line("MUST MERGE"); Ref<PackedScene> pscene = ResourceLoader::load(p_dest_path,"PackedScene",true); if (pscene.is_valid()) { @@ -2653,8 +2713,9 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c Set<Ref<Mesh> > tested_meshes; _find_resources_to_merge(instance,instance,scene_flags&SCENE_FLAG_MERGE_KEEP_MATERIALS,merged_materials,scene_flags&SCENE_FLAG_MERGE_KEEP_EXTRA_ANIM_TRACKS,merged_anims,tested_meshes); + tested_meshes.clear(); - _merge_found_resources(instance,instance,scene_flags&SCENE_FLAG_MERGE_KEEP_MATERIALS,merged_materials,scene_flags&SCENE_FLAG_MERGE_KEEP_EXTRA_ANIM_TRACKS,merged_anims,tested_meshes); + _merge_found_resources(scene,scene,scene_flags&SCENE_FLAG_MERGE_KEEP_MATERIALS,merged_materials,scene_flags&SCENE_FLAG_MERGE_KEEP_EXTRA_ANIM_TRACKS,merged_anims,tested_meshes); memdelete(instance); } @@ -2742,7 +2803,7 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c target_path=target_path.basename()+".tex"; Ref<ResourceImportMetadata> imd = memnew( ResourceImportMetadata ); - print_line("flags: "+itos(image_flags)); + uint32_t flags = image_flags; if (E->get()==TEXTURE_ROLE_DIFFUSE && scene_flags&SCENE_FLAG_LINEARIZE_DIFFUSE_TEXTURES) flags|=EditorTextureImportPlugin::IMAGE_FLAG_CONVERT_TO_LINEAR; @@ -2790,15 +2851,16 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c Ref<PackedScene> packer = memnew( PackedScene ); packer->pack(scene); - packer->set_path(p_dest_path); + //packer->set_path(p_dest_path); do not take over, let the changed files reload themselves packer->set_import_metadata(from); print_line("SAVING TO: "+p_dest_path); - err = ResourceSaver::save(p_dest_path,packer,ResourceSaver::FLAG_REPLACE_SUBRESOURCE_PATHS); + err = ResourceSaver::save(p_dest_path,packer); //do not take over, let the changed files reload themselves //EditorFileSystem::get_singleton()->update_resource(packer); memdelete(scene); + /* scene->set_filename(p_dest_path); if (r_scene) { @@ -2818,6 +2880,7 @@ Error EditorSceneImportPlugin::import2(Node *scene, const String& p_dest_path, c */ + EditorNode::get_singleton()->reload_scene(p_dest_path); return err; diff --git a/tools/editor/io_plugins/editor_texture_import_plugin.cpp b/tools/editor/io_plugins/editor_texture_import_plugin.cpp index 16ea803da4..1d8319d460 100644 --- a/tools/editor/io_plugins/editor_texture_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_texture_import_plugin.cpp @@ -1192,8 +1192,6 @@ Error EditorTextureImportPlugin::import2(const String& p_path, const Ref<Resourc } ep.step(TTR("Converting Images"),sources.size()); - int base_index=0; - Map<uint64_t,int> source_md5; Map<int,List<int> > source_map; @@ -1760,7 +1758,6 @@ void EditorTextureImportPlugin::reimport_multiple_files(const Vector<String>& p_ Vector<String> valid; - bool warning=false; for(int i=0;i<p_list.size();i++) { Ref<ResourceImportMetadata> rimd = ResourceLoader::load_import_metadata(p_list[i]); @@ -1768,7 +1765,6 @@ void EditorTextureImportPlugin::reimport_multiple_files(const Vector<String>& p_ if (type=="texture" || type.begins_with("texture_")) { if ((rimd->has_option("atlas") && rimd->get_option("atlas")) || (rimd->has_option("large") && rimd->get_option("large"))) { - warning=true; continue; } diff --git a/tools/editor/io_plugins/editor_translation_import_plugin.cpp b/tools/editor/io_plugins/editor_translation_import_plugin.cpp index aa36fefdb7..9ee3e98486 100644 --- a/tools/editor/io_plugins/editor_translation_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_translation_import_plugin.cpp @@ -425,7 +425,6 @@ Error EditorTranslationImportPlugin::import(const String& p_path, const Ref<Reso ERR_FAIL_COND_V( !f, ERR_INVALID_PARAMETER ); - bool first=false; bool skip_first = from->get_option("skip_first"); int index = from->get_option("index"); index+=1; @@ -439,7 +438,6 @@ Error EditorTranslationImportPlugin::import(const String& p_path, const Ref<Reso while(line.size()>1) { - if (!skip_first) { ERR_FAIL_INDEX_V(index,line.size(),ERR_INVALID_DATA ); translation->add_message(line[0].strip_edges(),line[index]); diff --git a/tools/editor/output_strings.cpp b/tools/editor/output_strings.cpp index f1b49d2326..a6126466c4 100644 --- a/tools/editor/output_strings.cpp +++ b/tools/editor/output_strings.cpp @@ -32,7 +32,6 @@ void OutputStrings::update_scrollbars() { - Size2 size = get_size(); Size2 hmin = h_scroll->get_combined_minimum_size(); Size2 vmin = v_scroll->get_combined_minimum_size(); diff --git a/tools/editor/plugins/animation_player_editor_plugin.cpp b/tools/editor/plugins/animation_player_editor_plugin.cpp index 10c7bf79a3..98ba25b482 100644 --- a/tools/editor/plugins/animation_player_editor_plugin.cpp +++ b/tools/editor/plugins/animation_player_editor_plugin.cpp @@ -407,7 +407,6 @@ void AnimationPlayerEditor::_animation_save(const Ref<Resource>& p_resource) { void AnimationPlayerEditor::_animation_save_as(const Ref<Resource>& p_resource) { file->set_mode(EditorFileDialog::MODE_SAVE_FILE); - bool relpaths = (p_resource->has_meta("__editor_relpaths__") && p_resource->get_meta("__editor_relpaths__").operator bool()); List<String> extensions; ResourceSaver::get_recognized_extensions(p_resource, &extensions); @@ -1404,6 +1403,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(EditorNode *p_editor) { hb->add_child(animation); animation->set_h_size_flags(SIZE_EXPAND_FILL); animation->set_tooltip(TTR("Display list of animations in player.")); + animation->set_clip_text(true); autoplay = memnew( ToolButton ); hb->add_child(autoplay); diff --git a/tools/editor/plugins/animation_tree_editor_plugin.cpp b/tools/editor/plugins/animation_tree_editor_plugin.cpp index a381ec4678..24914e4bc5 100644 --- a/tools/editor/plugins/animation_tree_editor_plugin.cpp +++ b/tools/editor/plugins/animation_tree_editor_plugin.cpp @@ -90,7 +90,6 @@ Size2 AnimationTreeEditor::get_node_size(const StringName& p_node) const { Ref<StyleBox> style = get_stylebox("panel","PopupMenu"); Ref<Font> font = get_font("font","PopupMenu"); - Color font_color = get_color("font_color","PopupMenu"); Size2 size = style->get_minimum_size(); @@ -633,7 +632,6 @@ AnimationTreeEditor::ClickType AnimationTreeEditor::_locate_click(const Point2& Ref<StyleBox> style = get_stylebox("panel","PopupMenu"); Ref<Font> font = get_font("font","PopupMenu"); - Color font_color = get_color("font_color","PopupMenu"); float h = (font->get_height()+get_constant("vseparation","PopupMenu")); diff --git a/tools/editor/plugins/baked_light_baker.cpp b/tools/editor/plugins/baked_light_baker.cpp index 1962f81e87..6a88ba4cbe 100644 --- a/tools/editor/plugins/baked_light_baker.cpp +++ b/tools/editor/plugins/baked_light_baker.cpp @@ -645,7 +645,6 @@ void BakedLightBaker::_octree_insert(int p_octant,Triangle* p_triangle, int p_de leaf_list=child_idx; cell_count++; - int lz = lights.size(); for(int ci=0;ci<8;ci++) { child->light_accum[ci][0]=0; child->light_accum[ci][1]=0; @@ -1016,8 +1015,6 @@ float BakedLightBaker::_throw_ray(ThreadStack& thread_stack,bool p_bake_direct,c //ray_aabb.expand_to(p_end); - const BVH *bvhptr = bvh; - bstack[0]=bvh; stack[0]=TEST_AABB_BIT; @@ -1693,7 +1690,7 @@ void BakedLightBaker::throw_rays(ThreadStack& thread_stack,int p_amount) { Vector3 from = dl.pos; double r1 = double(rand())/RAND_MAX; - double r2 = double(rand())/RAND_MAX; + //double r2 = double(rand())/RAND_MAX; double r3 = double(rand())/RAND_MAX; float d=Math::tan(Math::deg2rad(dl.spot_angle)); @@ -1994,7 +1991,6 @@ void BakedLightBaker::update_octree_images(DVector<uint8_t> &p_octree,DVector<ui const double *normptr=norm_arr.ptr(); */ double norm = 1.0/double(total_rays); - int lz=lights.size(); mult/=multiplier; double saturation = baked_light->get_saturation(); @@ -2261,8 +2257,6 @@ void BakedLightBaker::_plot_pixel_to_lightmap(int x, int y, int width, int heigh continue; n/=len; - const BVH *bvhptr = bvh; - bstack[0]=bvh; stack[0]=TEST_RAY_BIT; @@ -2404,8 +2398,6 @@ Error BakedLightBaker::transfer_to_lightmaps() { float gamma = baked_light->get_gamma_adjust(); float mult = baked_light->get_energy_multiplier(); - - const double *normptr=norm_arr.ptr(); for(int i=0;i<triangles.size();i++) { if (i%200==0) { @@ -2538,7 +2530,6 @@ Error BakedLightBaker::transfer_to_lightmaps() { Vector<uint8_t> copy_data=bt.data; uint8_t *data=bt.data.ptr(); - uint8_t *src_data=copy_data.ptr(); const int max_radius=8; const int shadow_radius=2; const int max_dist=0x7FFFFFFF; diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp index 0cbc867b47..db500cdcdf 100644 --- a/tools/editor/plugins/canvas_item_editor_plugin.cpp +++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp @@ -1382,6 +1382,8 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) { se->undo_state=canvas_item->edit_get_state(); if (canvas_item->cast_to<Node2D>()) se->undo_pivot=canvas_item->cast_to<Node2D>()->edit_get_pivot(); + if (canvas_item->cast_to<Control>()) + se->undo_pivot=Vector2(); return; } @@ -1566,14 +1568,34 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) { if (drag==DRAG_ROTATE) { Vector2 center = canvas_item->get_global_transform_with_canvas().get_origin(); - if (Node2D *node = canvas_item->cast_to<Node2D>()) { - Matrix32 rot; - rot.elements[1] = (dfrom - center).normalized(); - rot.elements[0] = rot.elements[1].tangent(); - node->set_rot(snap_angle(rot.xform_inv(dto-center).angle() + node->get_rot(), node->get_rot())); - display_rotate_to = dto; - display_rotate_from = center; - viewport->update(); + { + Node2D *node = canvas_item->cast_to<Node2D>(); + + + if (node) { + Matrix32 rot; + rot.elements[1] = (dfrom - center).normalized(); + rot.elements[0] = rot.elements[1].tangent(); + node->set_rot(snap_angle(rot.xform_inv(dto-center).angle() + node->get_rot(), node->get_rot())); + display_rotate_to = dto; + display_rotate_from = center; + viewport->update(); + } + } + + { + Control *node = canvas_item->cast_to<Control>(); + + + if (node) { + Matrix32 rot; + rot.elements[1] = (dfrom - center).normalized(); + rot.elements[0] = rot.elements[1].tangent(); + node->set_rotation(snap_angle(rot.xform_inv(dto-center).angle() + node->get_rotation(), node->get_rotation())); + display_rotate_to = dto; + display_rotate_from = center; + viewport->update(); + } } continue; @@ -1918,8 +1940,6 @@ void CanvasItemEditor::_viewport_draw() { Map<Node*,Object*> &selection = editor_selection->get_selection(); - CanvasItem *single_item=NULL; - bool pivot_found=false; for(Map<Node*,Object*>::Element *E=selection.front();E;E=E->next()) { @@ -1939,15 +1959,6 @@ void CanvasItemEditor::_viewport_draw() { Matrix32 xform=transform * canvas_item->get_global_transform_with_canvas(); VisualServer::get_singleton()->canvas_item_add_set_transform(ci,xform); - Point2 ofs=Point2();//get_global_pos(); - Rect2 draw_rect=rect; - Color light_edit_color=Color(1.0,0.8,0.8); - Color dark_edit_color=Color(0.4,0.1,0.1); - Size2 handle_size=Size2(handle_len,handle_len); - - //select_sb->draw(ci,draw_rect.grow(2)); - //DRAW_EMPTY_RECT( draw_rect.grow(2), light_edit_color ); - //DRAW_EMPTY_RECT( draw_rect.grow(1), dark_edit_color ); Vector2 endpoints[4]={ @@ -3352,25 +3363,25 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { PopupMenu *p; p = edit_menu->get_popup(); - p->add_check_item(TTR("Use Snap"),SNAP_USE); - p->add_check_item(TTR("Show Grid"),SNAP_SHOW_GRID); - p->add_check_item(TTR("Use Rotation Snap"),SNAP_USE_ROTATION); - p->add_check_item(TTR("Snap Relative"),SNAP_RELATIVE); - p->add_item(TTR("Configure Snap.."),SNAP_CONFIGURE); + p->add_check_shortcut(ED_SHORTCUT("canvas_item_editor/use_snap", TTR("Use Snap")), SNAP_USE); + p->add_check_shortcut(ED_SHORTCUT("canvas_item_editor/show_grid", TTR("Show Grid")), SNAP_SHOW_GRID); + p->add_check_shortcut(ED_SHORTCUT("canvas_item_editor/use_rotation_snap", TTR("Use Rotation Snap")), SNAP_USE_ROTATION); + p->add_check_shortcut(ED_SHORTCUT("canvas_item_editor/snap_relative", TTR("Snap Relative")), SNAP_RELATIVE); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/configure_snap", TTR("Configure Snap..")), SNAP_CONFIGURE); p->add_separator(); - p->add_check_item(TTR("Use Pixel Snap"),SNAP_USE_PIXEL); + p->add_check_shortcut(ED_SHORTCUT("canvas_item_editor/use_pixel_snap", TTR("Use Pixel Snap")), SNAP_USE_PIXEL); p->add_separator(); - p->add_item(TTR("Expand to Parent"),EXPAND_TO_PARENT,KEY_MASK_CMD|KEY_P); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/expand_to_parent", TTR("Expand to Parent"), KEY_MASK_CMD | KEY_P), EXPAND_TO_PARENT); p->add_separator(); p->add_submenu_item(TTR("Skeleton.."),"skeleton"); PopupMenu *p2 = memnew(PopupMenu); p->add_child(p2); p2->set_name("skeleton"); - p2->add_item(TTR("Make Bones"),SKELETON_MAKE_BONES,KEY_MASK_CMD|KEY_MASK_SHIFT|KEY_B); - p2->add_item(TTR("Clear Bones"),SKELETON_CLEAR_BONES); + p2->add_shortcut(ED_SHORTCUT("canvas_item_editor/skeleton_make_bones", TTR("Make Bones"), KEY_MASK_CMD | KEY_MASK_SHIFT | KEY_B ),SKELETON_MAKE_BONES); + p2->add_shortcut(ED_SHORTCUT("canvas_item_editor/skeleton_clear_bones", TTR("Clear Bones")), SKELETON_CLEAR_BONES); p2->add_separator(); - p2->add_item(TTR("Make IK Chain"),SKELETON_SET_IK_CHAIN); - p2->add_item(TTR("Clear IK Chain"),SKELETON_CLEAR_IK_CHAIN); + p2->add_shortcut(ED_SHORTCUT("canvas_item_editor/skeleton_set_ik_chain", TTR("Make IK Chain")), SKELETON_SET_IK_CHAIN); + p2->add_shortcut(ED_SHORTCUT("canvas_item_editor/skeleton_clear_ik_chain", TTR("Clear IK Chain")), SKELETON_CLEAR_IK_CHAIN); p2->connect("item_pressed", this,"_popup_callback"); @@ -3387,13 +3398,13 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { p = view_menu->get_popup(); - p->add_item(TTR("Zoom In"),ZOOM_IN); - p->add_item(TTR("Zoom Out"),ZOOM_OUT); - p->add_item(TTR("Zoom Reset"),ZOOM_RESET); - p->add_item(TTR("Zoom Set.."),ZOOM_SET); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/zoom_in", TTR("Zoom In")), ZOOM_IN); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/zoom_out", TTR("Zoom Out")), ZOOM_OUT); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/zoom_reset", TTR("Zoom Reset")), ZOOM_RESET); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/zoom_set", TTR("Zoom Set..")), ZOOM_SET); p->add_separator(); - p->add_item(TTR("Center Selection"), VIEW_CENTER_TO_SELECTION, KEY_F); - p->add_item(TTR("Frame Selection"), VIEW_FRAME_TO_SELECTION, KEY_MASK_CMD|KEY_F); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/center_selection", TTR("Center Selection"), KEY_F), VIEW_CENTER_TO_SELECTION); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/frame_selection", TTR("Frame Selection"), KEY_MASK_CMD | KEY_F), VIEW_FRAME_TO_SELECTION); anchor_menu = memnew( MenuButton ); anchor_menu->set_text(TTR("Anchor")); @@ -3436,7 +3447,8 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { key_insert_button = memnew( Button ); key_insert_button->set_focus_mode(FOCUS_NONE); key_insert_button->connect("pressed",this,"_popup_callback",varray(ANIM_INSERT_KEY)); - key_insert_button->set_tooltip(TTR("Insert Keys (Ins)")); + key_insert_button->set_tooltip(TTR("Insert Keys")); + key_insert_button->set_shortcut(ED_SHORTCUT("canvas_item_editor/anim_insert_key", TTR("Insert Key"), KEY_INSERT)); animation_hb->add_child(key_insert_button); @@ -3447,12 +3459,12 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { p = animation_menu->get_popup(); - p->add_item(TTR("Insert Key"),ANIM_INSERT_KEY,KEY_INSERT); - p->add_item(TTR("Insert Key (Existing Tracks)"),ANIM_INSERT_KEY_EXISTING,KEY_MASK_CMD+KEY_INSERT); + p->add_shortcut(ED_GET_SHORTCUT("canvas_item_editor/anim_insert_key"), ANIM_INSERT_KEY); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/anim_insert_key_existing_tracks", TTR("Insert Key (Existing Tracks)"), KEY_MASK_CMD+KEY_INSERT), ANIM_INSERT_KEY_EXISTING); p->add_separator(); - p->add_item(TTR("Copy Pose"),ANIM_COPY_POSE); - p->add_item(TTR("Paste Pose"),ANIM_PASTE_POSE); - p->add_item(TTR("Clear Pose"),ANIM_CLEAR_POSE,KEY_MASK_SHIFT|KEY_K); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/anim_copy_pose", TTR("Copy Pose")), ANIM_COPY_POSE); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/anim_paste_pose", TTR("Paste Pose")), ANIM_PASTE_POSE); + p->add_shortcut(ED_SHORTCUT("canvas_item_editor/anim_clear_pose", TTR("Clear Pose"), KEY_MASK_SHIFT | KEY_K), ANIM_CLEAR_POSE); snap_dialog = memnew( SnapDialog ); snap_dialog->connect("confirmed",this,"_snap_changed"); diff --git a/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp b/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp index 5ed9f8ab5f..95364e8921 100644 --- a/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +++ b/tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp @@ -349,8 +349,6 @@ void CollisionPolygon2DEditor::_canvas_draw() { Matrix32 xform = canvas_item_editor->get_canvas_transform() * node->get_global_transform(); Ref<Texture> handle= get_icon("EditorHandle","EditorIcons"); - int len = poly.size(); - for(int i=0;i<poly.size();i++) { diff --git a/tools/editor/plugins/collision_polygon_editor_plugin.cpp b/tools/editor/plugins/collision_polygon_editor_plugin.cpp index b18afe7838..0b06b3ba21 100644 --- a/tools/editor/plugins/collision_polygon_editor_plugin.cpp +++ b/tools/editor/plugins/collision_polygon_editor_plugin.cpp @@ -381,8 +381,6 @@ void CollisionPolygonEditor::_polygon_draw() { poly=node->get_polygon(); - - int len = poly.size(); float depth = node->get_depth()*0.5; imgeom->clear(); @@ -586,7 +584,7 @@ CollisionPolygonEditor::CollisionPolygonEditor(EditorNode *p_editor) { handle_material->set_parameter(FixedMaterial::PARAM_DIFFUSE,Color(1,1,1)); handle_material->set_fixed_flag(FixedMaterial::FLAG_USE_ALPHA, true); handle_material->set_fixed_flag(FixedMaterial::FLAG_USE_COLOR_ARRAY, false); - Ref<Texture> handle= SpatialEditor::get_singleton()->get_icon("Editor3DHandle","EditorIcons"); + Ref<Texture> handle=editor->get_gui_base()->get_icon("Editor3DHandle","EditorIcons"); handle_material->set_point_size(handle->get_width()); handle_material->set_texture(FixedMaterial::PARAM_DIFFUSE,handle); diff --git a/tools/editor/plugins/editor_preview_plugins.cpp b/tools/editor/plugins/editor_preview_plugins.cpp index a057e6c2a1..b1bce60484 100644 --- a/tools/editor/plugins/editor_preview_plugins.cpp +++ b/tools/editor/plugins/editor_preview_plugins.cpp @@ -36,6 +36,7 @@ #include "scene/resources/mesh.h" #include "scene/resources/bit_mask.h" #include "tools/editor/editor_scale.h" + bool EditorTexturePreviewPlugin::handles(const String& p_type) const { return (ObjectTypeDB::is_type(p_type,"ImageTexture") || ObjectTypeDB::is_type(p_type, "AtlasTexture")); @@ -442,7 +443,6 @@ Ref<Texture> EditorScriptPreviewPlugin::generate(const RES& p_from) { Color keyword_color = EditorSettings::get_singleton()->get("text_editor/keyword_color"); Color text_color = EditorSettings::get_singleton()->get("text_editor/text_color"); Color symbol_color = EditorSettings::get_singleton()->get("text_editor/symbol_color"); - Color comment_color = EditorSettings::get_singleton()->get("text_editor/comment_color"); for(int i=0;i<thumbnail_size;i++) { @@ -607,7 +607,7 @@ Ref<Texture> EditorSamplePreviewPlugin::generate(const RES& p_from) { -1, -1, -1, -1, 2, 4, 6, 8 }; - int16_t nibble,signed_nibble,diff,step; + int16_t nibble,diff,step; ima_adpcm.last_nibble++; const uint8_t *src_ptr=sdata; @@ -628,10 +628,6 @@ Ref<Texture> EditorSamplePreviewPlugin::generate(const RES& p_from) { if (ima_adpcm.step_index>88) ima_adpcm.step_index=88; - /* - signed_nibble = (nibble&7) * ((nibble&8)?-1:1); - diff = (2 * signed_nibble + 1) * step / 4; */ - diff = step >> 3 ; if (nibble & 1) diff += step >> 2 ; @@ -748,15 +744,13 @@ Ref<Texture> EditorSamplePreviewPlugin::generate(const RES& p_from) { for(int j=0;j<h;j++) { - int half,ofs; + int half; float v; if (j<(h/2)) { half=0; - ofs=0; v = (j/(float)(h/2)) * 2.0 - 1.0; } else { half=1; - ofs=h/2; if( (float)(h/2) != 0 ) { v = ((j-(h/2))/(float)(h/2)) * 2.0 - 1.0; } else { diff --git a/tools/editor/plugins/light_occluder_2d_editor_plugin.cpp b/tools/editor/plugins/light_occluder_2d_editor_plugin.cpp index 14e7b14fc3..56e58bc983 100644 --- a/tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +++ b/tools/editor/plugins/light_occluder_2d_editor_plugin.cpp @@ -364,8 +364,6 @@ void LightOccluder2DEditor::_canvas_draw() { Matrix32 xform = canvas_item_editor->get_canvas_transform() * node->get_global_transform(); Ref<Texture> handle= get_icon("EditorHandle","EditorIcons"); - int len = poly.size(); - for(int i=0;i<poly.size();i++) { diff --git a/tools/editor/plugins/navigation_polygon_editor_plugin.cpp b/tools/editor/plugins/navigation_polygon_editor_plugin.cpp index 5a8cd8791e..22546c72f3 100644 --- a/tools/editor/plugins/navigation_polygon_editor_plugin.cpp +++ b/tools/editor/plugins/navigation_polygon_editor_plugin.cpp @@ -427,8 +427,6 @@ void NavigationPolygonEditor::_canvas_draw() { poly = Variant(node->get_navigation_polygon()->get_outline(j)); } - int len = poly.size(); - for(int i=0;i<poly.size();i++) { diff --git a/tools/editor/plugins/particles_editor_plugin.cpp b/tools/editor/plugins/particles_editor_plugin.cpp index 93e2fb2f38..7e20cc3f54 100644 --- a/tools/editor/plugins/particles_editor_plugin.cpp +++ b/tools/editor/plugins/particles_editor_plugin.cpp @@ -283,7 +283,6 @@ void ParticlesEditor::_generate_emission_points() { ofs=(Vector3(1,1,1)-dir)*Vector3(Math::randf(),Math::randf(),Math::randf())*aabb.size; ofs+=aabb.pos; - Vector3 dirv = -dir; Vector3 ofsv = ofs + aabb.size * dir; //space it a little diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.cpp b/tools/editor/plugins/polygon_2d_editor_plugin.cpp index d78508c429..19d1ccc06f 100644 --- a/tools/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/tools/editor/plugins/polygon_2d_editor_plugin.cpp @@ -466,8 +466,6 @@ void Polygon2DEditor::_canvas_draw() { Matrix32 xform = canvas_item_editor->get_canvas_transform() * node->get_global_transform(); Ref<Texture> handle= get_icon("EditorHandle","EditorIcons"); - int len = poly.size(); - for(int i=0;i<poly.size();i++) { diff --git a/tools/editor/plugins/sample_editor_plugin.cpp b/tools/editor/plugins/sample_editor_plugin.cpp index b094184a29..7965fa54ae 100644 --- a/tools/editor/plugins/sample_editor_plugin.cpp +++ b/tools/editor/plugins/sample_editor_plugin.cpp @@ -151,7 +151,7 @@ void SampleEditor::generate_preview_texture(const Ref<Sample>& p_sample,Ref<Imag -1, -1, -1, -1, 2, 4, 6, 8 }; - int16_t nibble,signed_nibble,diff,step; + int16_t nibble,diff,step; ima_adpcm.last_nibble++; const uint8_t *src_ptr=sdata; @@ -172,10 +172,6 @@ void SampleEditor::generate_preview_texture(const Ref<Sample>& p_sample,Ref<Imag if (ima_adpcm.step_index>88) ima_adpcm.step_index=88; - /* - signed_nibble = (nibble&7) * ((nibble&8)?-1:1); - diff = (2 * signed_nibble + 1) * step / 4; */ - diff = step >> 3 ; if (nibble & 1) diff += step >> 2 ; @@ -285,15 +281,13 @@ void SampleEditor::generate_preview_texture(const Ref<Sample>& p_sample,Ref<Imag for(int j=0;j<h;j++) { - int half,ofs; + int half; float v; if (j<(h/2)) { half=0; - ofs=0; v = (j/(float)(h/2)) * 2.0 - 1.0; } else { half=1; - ofs=h/2; v = ((j-(h/2))/(float)(h/2)) * 2.0 - 1.0; } @@ -324,12 +318,13 @@ void SampleEditor::generate_preview_texture(const Ref<Sample>& p_sample,Ref<Imag void SampleEditor::_update_sample() { player->stop_all(); - if (sample->get_format()==Sample::FORMAT_IMA_ADPCM) - return; //bye or unsupported generate_preview_texture(sample,peakdisplay); info_label->set_text(TTR("Length:")+" "+String::num(sample->get_length()/(float)sample->get_mix_rate(),2)+"s"); + if (library->has_sample("default")) + library->remove_sample("default"); + library->add_sample("default",sample); } diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 10e4fc8475..3b095d15f9 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -43,6 +43,28 @@ /*** SCRIPT EDITOR ****/ +static bool _can_open_in_editor(Script* p_script) { + + String path = p_script->get_path(); + + if (path.find("::")!=-1) { + //refuse handling this if it can't be edited + + bool valid=false; + for(int i=0;i<EditorNode::get_singleton()->get_editor_data().get_edited_scene_count();i++) { + if (path.begins_with(EditorNode::get_singleton()->get_editor_data().get_scene_path(i))) { + valid=true; + break; + } + } + + return valid; + } + + return true; +} + + class EditorScriptCodeCompletionCache : public ScriptCodeCompletionCache { @@ -585,7 +607,6 @@ void ScriptTextEditor::_code_complete_script(const String& p_code, List<String>* Error err = script->get_language()->complete_code(p_code,script->get_path().get_base_dir(),base,r_options,hint); if (hint!="") { get_text_edit()->set_code_hint(hint); - print_line("hint: "+hint.replace(String::chr(0xFFFF),"|")); } } @@ -748,9 +769,9 @@ void ScriptEditor::_go_to_tab(int p_idx) { _update_script_colors(); } -void ScriptEditor::_close_current_tab() { +void ScriptEditor::_close_tab(int p_idx) { - int selected = tab_container->get_current_tab(); + int selected = p_idx; if (selected<0 || selected>=tab_container->get_child_count()) return; @@ -796,6 +817,11 @@ void ScriptEditor::_close_current_tab() { _update_script_names(); EditorNode::get_singleton()->save_layout(); +} + +void ScriptEditor::_close_current_tab() { + + _close_tab(tab_container->get_current_tab()); } @@ -848,6 +874,15 @@ void ScriptEditor::_reload_scripts(){ } + uint64_t last_date = script->get_last_modified_time(); + uint64_t date = FileAccess::get_modified_time(script->get_path()); + + //printf("last date: %lli vs date: %lli\n",last_date,date); + if (last_date==date) { + continue; + } + + Ref<Script> rel_script = ResourceLoader::load(script->get_path(),script->get_type(),true); ERR_CONTINUE(!rel_script.is_valid()); script->set_source_code( rel_script->get_source_code() ); @@ -1682,6 +1717,33 @@ void ScriptEditor::_notification(int p_what) { } + +void ScriptEditor::close_builtin_scripts_from_scene(const String& p_scene) { + + + + for(int i=0;i<tab_container->get_child_count();i++) { + + ScriptTextEditor *ste = tab_container->get_child(i)->cast_to<ScriptTextEditor>(); + + if (ste) { + + Ref<Script> script = ste->get_edited_script(); + if (!script.is_valid()) + continue; + + if (script->get_path().find("::")!=-1 && script->get_path().begins_with(p_scene)) { //is an internal script and belongs to scene being closed + _close_tab(i); + i--; + + } + } + + } + + +} + void ScriptEditor::edited_scene_changed() { _update_modified_scripts_for_external_editor(); @@ -2060,11 +2122,18 @@ void ScriptEditor::_update_script_names() { } + + void ScriptEditor::edit(const Ref<Script>& p_script) { if (p_script.is_null()) return; + // refuse to open built-in if scene is not loaded + + + + // see if already has it bool open_dominant = EditorSettings::get_singleton()->get("text_editor/open_dominant_script_on_scene_change"); @@ -2316,6 +2385,22 @@ void ScriptEditor::_script_split_dragged(float) { EditorNode::get_singleton()->save_layout(); } +void ScriptEditor::_unhandled_input(const InputEvent& p_event) { + if (p_event.key.pressed || !is_visible()) return; + if (ED_IS_SHORTCUT("script_editor/next_script", p_event)) { + int next_tab = script_list->get_current() + 1; + next_tab %= script_list->get_item_count(); + _go_to_tab(script_list->get_item_metadata(next_tab)); + _update_script_names(); + } + if (ED_IS_SHORTCUT("script_editor/prev_script", p_event)) { + int next_tab = script_list->get_current() - 1; + next_tab = next_tab >= 0 ? next_tab : script_list->get_item_count() - 1; + _go_to_tab(script_list->get_item_metadata(next_tab)); + _update_script_names(); + } +} + void ScriptEditor::set_window_layout(Ref<ConfigFile> p_layout) { if (!bool(EDITOR_DEF("text_editor/restore_scripts_on_load",true))) { @@ -2335,6 +2420,8 @@ void ScriptEditor::set_window_layout(Ref<ConfigFile> p_layout) { for(int i=0;i<scripts.size();i++) { String path = scripts[i]; + if (!FileAccess::exists(path)) + continue; Ref<Script> scr = ResourceLoader::load(path); if (scr.is_valid()) { edit(scr); @@ -2512,7 +2599,7 @@ void ScriptEditor::set_scene_root_script( Ref<Script> p_script ) { if (bool(EditorSettings::get_singleton()->get("external_editor/use_external_editor"))) return; - if (open_dominant && p_script.is_valid()) { + if (open_dominant && p_script.is_valid() && _can_open_in_editor(p_script.ptr())) { edit(p_script); } } @@ -2598,6 +2685,7 @@ void ScriptEditor::_bind_methods() { ObjectTypeDB::bind_method("_history_forward",&ScriptEditor::_history_forward); ObjectTypeDB::bind_method("_history_back",&ScriptEditor::_history_back); ObjectTypeDB::bind_method("_live_auto_reload_running_scripts",&ScriptEditor::_live_auto_reload_running_scripts); + ObjectTypeDB::bind_method("_unhandled_input",&ScriptEditor::_unhandled_input); } @@ -2631,6 +2719,10 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { tab_container->set_h_size_flags(SIZE_EXPAND_FILL); + ED_SHORTCUT("script_editor/next_script", TTR("Next script"), KEY_MASK_CMD | KEY_MASK_SHIFT | KEY_GREATER); + ED_SHORTCUT("script_editor/prev_script", TTR("Previous script"), KEY_MASK_CMD | KEY_LESS); + set_process_unhandled_input(true); + file_menu = memnew( MenuButton ); menu_hb->add_child(file_menu); file_menu->set_text(TTR("File")); @@ -2895,6 +2987,16 @@ void ScriptEditorPlugin::edit(Object *p_object) { bool ScriptEditorPlugin::handles(Object *p_object) const { + if (p_object->cast_to<Script>()) { + + bool valid = _can_open_in_editor(p_object->cast_to<Script>()); + + if (!valid) { //user tried to open it by clicking + EditorNode::get_singleton()->show_warning(TTR("Built-in scripts can only be edited when the scene they belong to is loaded")); + } + return valid; + } + return p_object->is_type("Script"); } diff --git a/tools/editor/plugins/script_editor_plugin.h b/tools/editor/plugins/script_editor_plugin.h index 0636190a41..2e6e2c035c 100644 --- a/tools/editor/plugins/script_editor_plugin.h +++ b/tools/editor/plugins/script_editor_plugin.h @@ -234,6 +234,8 @@ class ScriptEditor : public VBoxContainer { bool _test_script_times_on_disk(Ref<Script> p_for_script=Ref<Script>()); + void _close_tab(int p_idx); + void _close_current_tab(); bool grab_focus_block; @@ -279,6 +281,8 @@ class ScriptEditor : public VBoxContainer { void _script_split_dragged(float); + void _unhandled_input(const InputEvent& p_event); + void _history_forward(); void _history_back(); @@ -329,6 +333,8 @@ public: virtual void edited_scene_changed(); + void close_builtin_scripts_from_scene(const String& p_scene); + ScriptEditorDebugger *get_debugger() { return debugger; } void set_live_auto_reload_running_scripts(bool p_enabled); diff --git a/tools/editor/plugins/shader_editor_plugin.cpp b/tools/editor/plugins/shader_editor_plugin.cpp index 76042c3028..864df42b6e 100644 --- a/tools/editor/plugins/shader_editor_plugin.cpp +++ b/tools/editor/plugins/shader_editor_plugin.cpp @@ -118,9 +118,10 @@ void ShaderTextEditor::_load_theme_settings() { get_text_edit()->add_color_region("/*","*/",comment_color,false); get_text_edit()->add_color_region("//","",comment_color,false); - //colorize strings + + /*//colorize strings Color string_color = EDITOR_DEF("text_editor/string_color",Color::hex(0x6b6f00ff)); - /* + List<String> strings; shader->get_shader_mode()->get_string_delimiters(&strings); @@ -499,7 +500,7 @@ ShaderEditor::ShaderEditor() { edit_menu->set_pos(Point2(5,-1)); edit_menu->set_text(TTR("Edit")); edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/undo", TTR("Undo"), KEY_MASK_CMD|KEY_Z), EDIT_UNDO); - edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/redo", TTR("Redo"), KEY_MASK_CMD|KEY_MASK_SHIFT|KEY_Z), EDIT_REDO); + edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/redo", TTR("Redo"), KEY_MASK_CMD|KEY_Y), EDIT_REDO); edit_menu->get_popup()->add_separator(); edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/cut", TTR("Cut"), KEY_MASK_CMD|KEY_X), EDIT_CUT); edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/copy", TTR("Copy"), KEY_MASK_CMD|KEY_C), EDIT_COPY); @@ -519,7 +520,7 @@ ShaderEditor::ShaderEditor() { search_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/replace", TTR("Replace.."), KEY_MASK_CMD|KEY_R), SEARCH_REPLACE); search_menu->get_popup()->add_separator(); // search_menu->get_popup()->add_item("Locate Symbol..",SEARCH_LOCATE_SYMBOL,KEY_MASK_CMD|KEY_K); - search_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/goto_line", TTR("Goto Line.."), KEY_MASK_CMD|KEY_G), SEARCH_GOTO_LINE); + search_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/goto_line", TTR("Goto Line.."), KEY_MASK_CMD|KEY_L), SEARCH_GOTO_LINE); search_menu->get_popup()->connect("item_pressed", this,"_menu_option"); diff --git a/tools/editor/plugins/shader_graph_editor_plugin.cpp b/tools/editor/plugins/shader_graph_editor_plugin.cpp index d567c8e9b3..375220051c 100644 --- a/tools/editor/plugins/shader_graph_editor_plugin.cpp +++ b/tools/editor/plugins/shader_graph_editor_plugin.cpp @@ -176,7 +176,9 @@ void GraphColorRampEdit::_input_event(const InputEvent& p_event) { void GraphColorRampEdit::_notification(int p_what){ if (p_what==NOTIFICATION_ENTER_TREE) { - picker->connect("color_changed",this,"_color_changed"); + if (!picker->is_connected("color_changed",this,"_color_changed")) { + picker->connect("color_changed",this,"_color_changed"); + } } if (p_what==NOTIFICATION_DRAW) { @@ -184,9 +186,8 @@ void GraphColorRampEdit::_notification(int p_what){ Point prev; prev.offset=0; prev.color=Color(0,0,0); - int w = get_size().x; - int h = get_size().y; + int h = get_size().y; int total_w = get_size().width-get_size().height-3; for(int i=-1;i<points.size();i++) { diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index 8d72178f23..a70df78697 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -53,8 +53,6 @@ void SpatialEditorViewport::_update_camera() { if (orthogonal) { - Size2 size = get_size(); - Size2 vpsize = Point2(cursor.distance*size.get_aspect(), cursor.distance / size.get_aspect()); //camera->set_orthogonal(size.width*cursor.distance,get_znear(),get_zfar()); camera->set_orthogonal(2 * cursor.distance, 0.1, 8192); } @@ -79,21 +77,30 @@ void SpatialEditorViewport::_update_camera() { String SpatialEditorGizmo::get_handle_name(int p_idx) const { + if (get_script_instance() && get_script_instance()->has_method("get_handle_name")) + return get_script_instance()->call("get_handle_name", p_idx); + return ""; } Variant SpatialEditorGizmo::get_handle_value(int p_idx) const{ + if (get_script_instance() && get_script_instance()->has_method("get_handle_value")) + return get_script_instance()->call("get_handle_value", p_idx); + return Variant(); } void SpatialEditorGizmo::set_handle(int p_idx,Camera *p_camera, const Point2& p_point) { + if (get_script_instance() && get_script_instance()->has_method("set_handle")) + get_script_instance()->call("set_handle", p_idx, p_camera, p_point); } void SpatialEditorGizmo::commit_handle(int p_idx,const Variant& p_restore,bool p_cancel){ - + if (get_script_instance() && get_script_instance()->has_method("commit_handle")) + get_script_instance()->call("commit_handle", p_idx, p_restore, p_cancel); } bool SpatialEditorGizmo::intersect_frustum(const Camera *p_camera,const Vector<Plane> &p_frustum) { @@ -276,10 +283,6 @@ ObjectID SpatialEditorViewport::_select_ray(const Point2& p_pos, bool p_append,b r_includes_current=false; List<_RayResult> results; - Vector3 cn=_get_camera_normal(); - Plane cplane(pos,cn.normalized()); - - float min_d=1e20; for (int i=0;i<instances.size();i++) { @@ -649,21 +652,8 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2& p_screenpos,bool p_hili Vector3 ray_pos=_get_ray_pos( Vector2( p_screenpos.x, p_screenpos.y ) ); Vector3 ray=_get_ray( Vector2( p_screenpos.x, p_screenpos.y ) ); - Vector3 cn=_get_camera_normal(); - Plane cplane(ray_pos,cn.normalized()); - Transform gt = spatial_editor->get_gizmo_transform(); float gs=gizmo_scale; - /* - if (orthogonal) { - gs= cursor.distance/surface->get_size().get_aspect(); - - } else { - gs = cplane.distance_to(gt.origin); - } - - gs*=GIZMO_SCALE_DEFAULT; -*/ if (spatial_editor->get_tool_mode()==SpatialEditor::TOOL_MODE_SELECT || spatial_editor->get_tool_mode()==SpatialEditor::TOOL_MODE_MOVE) { @@ -1268,16 +1258,6 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) { if (_edit.gizmo.is_valid()) { - Plane plane=Plane(_edit.gizmo_initial_pos,_get_camera_normal()); - - - Vector3 ray_pos=_get_ray_pos( Vector2( m.x, m.y ) ); - Vector3 ray=_get_ray( Vector2( m.x, m.y ) ); - - //Vector3 intersection; - //if (!plane.intersects_ray(ray_pos,ray,&intersection)) - // break; - _edit.gizmo->set_handle(_edit.gizmo_handle,camera,Vector2(m.x,m.y)); Variant v = _edit.gizmo->get_handle_value(_edit.gizmo_handle); String n = _edit.gizmo->get_handle_name(_edit.gizmo_handle); @@ -1658,136 +1638,89 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) { default: {} } } break; - case InputEvent::KEY: { - const InputEventKey &k = p_event.key; if (!k.pressed) break; - switch(k.scancode) { - - case KEY_S: { - - if (_edit.mode!=TRANSFORM_NONE) { - - _edit.snap=true; - } - } break; - case KEY_7: - case KEY_KP_7: { - bool emulate_numpad = EditorSettings::get_singleton()->get("3d_editor/emulate_numpad"); - if (!emulate_numpad && k.scancode==KEY_7) - return; - cursor.y_rot=0; - if (k.mod.shift) { - cursor.x_rot=-Math_PI/2.0; - set_message(TTR("Bottom View."),2); - name=TTR("Bottom"); - _update_name(); - - } else { - cursor.x_rot=Math_PI/2.0; - set_message(TTR("Top View."),2); - name=TTR("Top"); - _update_name(); - } - } break; - case KEY_1: - case KEY_KP_1: { - bool emulate_numpad = EditorSettings::get_singleton()->get("3d_editor/emulate_numpad"); - if (!emulate_numpad && k.scancode==KEY_1) - return; - cursor.x_rot=0; - if (k.mod.shift) { - cursor.y_rot=Math_PI; - set_message(TTR("Rear View."),2); - name=TTR("Rear"); - _update_name(); - - } else { - cursor.y_rot=0; - set_message(TTR("Front View."),2); - name=TTR("Front"); - _update_name(); - } - - } break; - case KEY_3: - case KEY_KP_3: { - bool emulate_numpad = EditorSettings::get_singleton()->get("3d_editor/emulate_numpad"); - if (!emulate_numpad && k.scancode==KEY_3) - return; - cursor.x_rot=0; - if (k.mod.shift) { - cursor.y_rot=Math_PI/2.0; - set_message(TTR("Left View."),2); - name=TTR("Left"); - _update_name(); - } else { - cursor.y_rot=-Math_PI/2.0; - set_message(TTR("Right View."),2); - name=TTR("Right"); - _update_name(); - } - - } break; - case KEY_5: - case KEY_KP_5: { - bool emulate_numpad = EditorSettings::get_singleton()->get("3d_editor/emulate_numpad"); - if (!emulate_numpad && k.scancode==KEY_5) - return; - - //orthogonal = !orthogonal; - _menu_option(orthogonal?VIEW_PERSPECTIVE:VIEW_ORTHOGONAL); - _update_name(); - - - } break; - case KEY_K: { - - if (!get_selected_count() || _edit.mode!=TRANSFORM_NONE) - break; - - if (!AnimationPlayerEditor::singleton->get_key_editor()->has_keying()) { - set_message(TTR("Keying is disabled (no key inserted).")); - break; - } - - List<Node*> &selection = editor_selection->get_selected_node_list(); - - for(List<Node*>::Element *E=selection.front();E;E=E->next()) { - - Spatial *sp = E->get()->cast_to<Spatial>(); - if (!sp) - continue; - - emit_signal("transform_key_request",sp,"",sp->get_transform()); - } - - - set_message(TTR("Animation Key Inserted.")); + if (ED_IS_SHORTCUT("spatial_editor/snap", p_event)) { + if (_edit.mode != TRANSFORM_NONE) { + _edit.snap=true; + } + } + if (ED_IS_SHORTCUT("spatial_editor/bottom_view", p_event)) { + cursor.y_rot = 0; + cursor.x_rot = -Math_PI/2.0; + set_message(TTR("Bottom View."),2); + name = TTR("Bottom"); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/top_view", p_event)) { + cursor.y_rot = 0; + cursor.x_rot = Math_PI/2.0; + set_message(TTR("Top View."),2); + name = TTR("Top"); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/rear_view", p_event)) { + cursor.x_rot = 0; + cursor.y_rot = Math_PI; + set_message(TTR("Rear View."),2); + name = TTR("Rear"); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/front_view", p_event)) { + cursor.x_rot = 0; + cursor.y_rot=0; + set_message(TTR("Front View."),2); + name=TTR("Front"); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/left_view", p_event)) { + cursor.x_rot=0; + cursor.y_rot = Math_PI/2.0; + set_message(TTR("Left View."),2); + name = TTR("Left"); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/right_view", p_event)) { + cursor.x_rot=0; + cursor.y_rot = -Math_PI/2.0; + set_message(TTR("Right View."),2); + name = TTR("Right"); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/switch_perspective_orthogonal", p_event)) { + _menu_option(orthogonal?VIEW_PERSPECTIVE:VIEW_ORTHOGONAL); + _update_name(); + } + if (ED_IS_SHORTCUT("spatial_editor/insert_anim_key", p_event)) { + if (!get_selected_count() || _edit.mode!=TRANSFORM_NONE) + break; + if (!AnimationPlayerEditor::singleton->get_key_editor()->has_keying()) { + set_message(TTR("Keying is disabled (no key inserted).")); + break; + } - } break; + List<Node*> &selection = editor_selection->get_selected_node_list(); - case KEY_F: { + for(List<Node*>::Element *E=selection.front();E;E=E->next()) { - if (k.pressed && k.mod.shift && k.mod.control) { - _menu_option(VIEW_ALIGN_SELECTION_WITH_VIEW); - } else if (k.pressed) { - _menu_option(VIEW_CENTER_TO_SELECTION); - } + Spatial *sp = E->get()->cast_to<Spatial>(); + if (!sp) + continue; - } break; + emit_signal("transform_key_request",sp,"",sp->get_transform()); + } - case KEY_SPACE: { - if (!k.pressed) - emit_signal("toggle_maximize_view", this); - } break; + set_message(TTR("Animation Key Inserted.")); } + if (k.scancode == KEY_SPACE) { + if (!k.pressed) emit_signal("toggle_maximize_view", this); + } } break; @@ -1855,16 +1788,6 @@ void SpatialEditorViewport::_notification(int p_what) { continue; - /* - ?? - if (!se->poly_instance.is_valid()) - continue; - if (!ObjectDB::get_instance( E->key() )) { - VisualServer::get_singleton()->free( se->poly_instance ); - se->poly_instance=RID(); - continue; - } - */ VisualInstance *vi=sp->cast_to<VisualInstance>(); @@ -1902,35 +1825,6 @@ void SpatialEditorViewport::_notification(int p_what) { surface->update(); } - //grid - Vector3 grid_cam_axis=_get_camera_normal(); - /* - for(int i=0;i<3;i++) { - - - Vector3 axis; - axis[i]=1; - - bool should_be_visible= grid_enabled && (grid_enable[i] || (Math::abs(grid_cam_axis.dot(axis))>0.99 && orthogonal)); - - if (should_be_visible!=grid_visible[i]) { - - VisualServer::get_singleton()->instance_geometry_set_flag(grid_instance[i],VS::INSTANCE_FLAG_VISIBLE,should_be_visible); - grid_visible[i]=should_be_visible; - } - } - - if (last_grid_snap!=spatial_editor->get_translate_snap()) { - - - last_grid_snap=spatial_editor->get_translate_snap() - Transform gridt; - gridt.basis.scale(Vector3(last_grid_snap,last_grid_snap,last_grid_snap)); - for(int i=0;i<3;i++) - VisualServer::get_singleton()->instance_set_transform(grid_instance[i],gridt); - - }*/ - } if (p_what==NOTIFICATION_ENTER_TREE) { @@ -2470,29 +2364,28 @@ SpatialEditorViewport::SpatialEditorViewport(SpatialEditor *p_spatial_editor, Ed surface->add_child(view_menu); view_menu->set_pos( Point2(4,4)); view_menu->set_self_opacity(0.5); - - view_menu->get_popup()->add_item(TTR("Top (Num7)"),VIEW_TOP); - view_menu->get_popup()->add_item(TTR("Bottom (Shift+Num7)"),VIEW_BOTTOM); - view_menu->get_popup()->add_item(TTR("Left (Num3)"),VIEW_LEFT); - view_menu->get_popup()->add_item(TTR("Right (Shift+Num3)"),VIEW_RIGHT); - view_menu->get_popup()->add_item(TTR("Front (Num1)"),VIEW_FRONT); - view_menu->get_popup()->add_item(TTR("Rear (Shift+Num1)"),VIEW_REAR); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/top_view"), VIEW_TOP); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/bottom_view"), VIEW_BOTTOM); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/left_view"), VIEW_LEFT); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/right_view"), VIEW_RIGHT); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/front_view"), VIEW_FRONT); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/rear_view"), VIEW_REAR); view_menu->get_popup()->add_separator(); - view_menu->get_popup()->add_check_item(TTR("Perspective (Num5)"),VIEW_PERSPECTIVE); - view_menu->get_popup()->add_check_item(TTR("Orthogonal (Num5)"),VIEW_ORTHOGONAL); + view_menu->get_popup()->add_check_item(TTR("Perspective") + " (" + ED_GET_SHORTCUT("spatial_editor/switch_perspective_orthogonal")->get_as_text() + ")", VIEW_PERSPECTIVE); + view_menu->get_popup()->add_check_item(TTR("Orthogonal") + " (" + ED_GET_SHORTCUT("spatial_editor/switch_perspective_orthogonal")->get_as_text() + ")", VIEW_ORTHOGONAL); view_menu->get_popup()->set_item_checked(view_menu->get_popup()->get_item_index(VIEW_PERSPECTIVE),true); view_menu->get_popup()->add_separator(); - view_menu->get_popup()->add_check_item(TTR("Environment"),VIEW_ENVIRONMENT); + view_menu->get_popup()->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_environment", TTR("Environment")), VIEW_ENVIRONMENT); view_menu->get_popup()->set_item_checked( view_menu->get_popup()->get_item_index(VIEW_ENVIRONMENT),true); view_menu->get_popup()->add_separator(); - view_menu->get_popup()->add_check_item(TTR("Audio Listener"),VIEW_AUDIO_LISTENER); + view_menu->get_popup()->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_audio_listener", TTR("Audio Listener")), VIEW_AUDIO_LISTENER); view_menu->get_popup()->add_separator(); - view_menu->get_popup()->add_check_item(TTR("Gizmos"),VIEW_GIZMOS); + view_menu->get_popup()->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_gizmos", TTR("Gizmos")),VIEW_GIZMOS); view_menu->get_popup()->set_item_checked( view_menu->get_popup()->get_item_index(VIEW_GIZMOS),true); view_menu->get_popup()->add_separator(); - view_menu->get_popup()->add_item(TTR("Selection (F)"),VIEW_CENTER_TO_SELECTION); - view_menu->get_popup()->add_item(TTR("Align with view (Ctrl+Shift+F)"),VIEW_ALIGN_SELECTION_WITH_VIEW); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/focus_selection"), VIEW_CENTER_TO_SELECTION); + view_menu->get_popup()->add_shortcut(ED_GET_SHORTCUT("spatial_editor/align_selection_with_view"), VIEW_ALIGN_SELECTION_WITH_VIEW); view_menu->get_popup()->connect("item_pressed",this,"_menu_option"); preview_camera = memnew( Button ); @@ -2613,16 +2506,9 @@ Object *SpatialEditor::_get_editor_data(Object *p_what) { si->sbox_instance=VisualServer::get_singleton()->instance_create2(selection_box->get_rid(),sp->get_world()->get_scenario()); VS::get_singleton()->instance_geometry_set_cast_shadows_setting(si->sbox_instance, VS::SHADOW_CASTING_SETTING_OFF); - RID inst = sp->call("_get_visual_instance_rid"); - -// if (inst.is_valid()) -// si->aabb = VisualServer::get_singleton()->instance_get_base_aabb(inst); - - if (get_tree()->is_editor_hint()) editor->call("edit_node",sp); - return si; } @@ -3951,6 +3837,19 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { hbc_menu->add_child(vs); + ED_SHORTCUT("spatial_editor/bottom_view", TTR("Bottom View"), KEY_MASK_ALT+KEY_KP_7); + ED_SHORTCUT("spatial_editor/top_view", TTR("Top View"), KEY_KP_7); + ED_SHORTCUT("spatial_editor/rear_view", TTR("Rear View"), KEY_MASK_ALT+KEY_KP_1); + ED_SHORTCUT("spatial_editor/front_view", TTR("Front View"), KEY_KP_1); + ED_SHORTCUT("spatial_editor/left_view", TTR("Left View"), KEY_MASK_ALT+KEY_KP_3); + ED_SHORTCUT("spatial_editor/right_view", TTR("Right View"), KEY_KP_3); + ED_SHORTCUT("spatial_editor/switch_perspective_orthogonal", TTR("Switch Perspective/Orthogonal view"), KEY_KP_5); + ED_SHORTCUT("spatial_editor/snap", TTR("Snap"), KEY_S); + ED_SHORTCUT("spatial_editor/insert_anim_key", TTR("Insert Animation Key"), KEY_K); + ED_SHORTCUT("spatial_editor/focus_selection", TTR("Focus Selection"), KEY_F); + ED_SHORTCUT("spatial_editor/align_selection_with_view", TTR("Align Selection With View"), KEY_MASK_ALT+KEY_MASK_CMD+KEY_F); + + PopupMenu *p; transform_menu = memnew( MenuButton ); @@ -3958,13 +3857,13 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { hbc_menu->add_child( transform_menu ); p = transform_menu->get_popup(); - p->add_check_item(TTR("Use Snap"),MENU_TRANSFORM_USE_SNAP); - p->add_item(TTR("Configure Snap.."),MENU_TRANSFORM_CONFIGURE_SNAP); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/use_snap", TTR("Use Snap")), MENU_TRANSFORM_USE_SNAP); + p->add_shortcut(ED_SHORTCUT("spatial_editor/configure_snap", TTR("Configure Snap..")), MENU_TRANSFORM_CONFIGURE_SNAP); p->add_separator(); - p->add_check_item(TTR("Local Coords"),MENU_TRANSFORM_LOCAL_COORDS); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/local_coords", TTR("Local Coords")), MENU_TRANSFORM_LOCAL_COORDS); //p->set_item_checked(p->get_item_count()-1,true); p->add_separator(); - p->add_item(TTR("Transform Dialog.."),MENU_TRANSFORM_DIALOG); + p->add_shortcut(ED_SHORTCUT("spatial_editor/transform_dialog", TTR("Transform Dialog..")), MENU_TRANSFORM_DIALOG); p->connect("item_pressed", this,"_menu_item_pressed"); @@ -3975,27 +3874,27 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { p = view_menu->get_popup(); - p->add_check_item(TTR("Use Default Light"),MENU_VIEW_USE_DEFAULT_LIGHT); - p->add_check_item(TTR("Use Default sRGB"),MENU_VIEW_USE_DEFAULT_SRGB); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/use_default_light", TTR("Use Default Light")), MENU_VIEW_USE_DEFAULT_LIGHT); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/use_default_srgb", TTR("Use Default sRGB")), MENU_VIEW_USE_DEFAULT_SRGB); p->add_separator(); - p->add_check_item(TTR("1 Viewport"),MENU_VIEW_USE_1_VIEWPORT,KEY_MASK_CMD+KEY_1); - p->add_check_item(TTR("2 Viewports"),MENU_VIEW_USE_2_VIEWPORTS,KEY_MASK_CMD+KEY_2); - p->add_check_item(TTR("2 Viewports (Alt)"),MENU_VIEW_USE_2_VIEWPORTS_ALT,KEY_MASK_SHIFT+KEY_MASK_CMD+KEY_2); - p->add_check_item(TTR("3 Viewports"),MENU_VIEW_USE_3_VIEWPORTS,KEY_MASK_CMD+KEY_3); - p->add_check_item(TTR("3 Viewports (Alt)"),MENU_VIEW_USE_3_VIEWPORTS_ALT,KEY_MASK_SHIFT+KEY_MASK_CMD+KEY_3); - p->add_check_item(TTR("4 Viewports"),MENU_VIEW_USE_4_VIEWPORTS,KEY_MASK_CMD+KEY_4); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/1_viewport", TTR("1 Viewport"), KEY_MASK_CMD+KEY_1), MENU_VIEW_USE_1_VIEWPORT); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/2_viewports", TTR("2 Viewports"), KEY_MASK_CMD+KEY_2), MENU_VIEW_USE_2_VIEWPORTS); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/2_viewports_alt", TTR("2 Viewports (Alt)"), KEY_MASK_ALT+KEY_MASK_CMD+KEY_2), MENU_VIEW_USE_2_VIEWPORTS_ALT); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/3_viewports", TTR("3 Viewports"),KEY_MASK_CMD+KEY_3), MENU_VIEW_USE_3_VIEWPORTS); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/3_viewports_alt", TTR("3 Viewports (Alt)"), KEY_MASK_ALT+KEY_MASK_CMD+KEY_3), MENU_VIEW_USE_3_VIEWPORTS_ALT); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/4_viewports", TTR("4 Viewports"), KEY_MASK_CMD+KEY_4), MENU_VIEW_USE_4_VIEWPORTS); p->add_separator(); - p->add_check_item(TTR("Display Normal"),MENU_VIEW_DISPLAY_NORMAL); - p->add_check_item(TTR("Display Wireframe"),MENU_VIEW_DISPLAY_WIREFRAME); - p->add_check_item(TTR("Display Overdraw"),MENU_VIEW_DISPLAY_OVERDRAW); - p->add_check_item(TTR("Display Shadeless"),MENU_VIEW_DISPLAY_SHADELESS); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/display_normal", TTR("Display Normal")), MENU_VIEW_DISPLAY_NORMAL); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/display_wireframe", TTR("Display Wireframe")), MENU_VIEW_DISPLAY_WIREFRAME); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/display_overdraw", TTR("Display Overdraw")), MENU_VIEW_DISPLAY_OVERDRAW); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/display_shadeless", TTR("Display Shadeless")), MENU_VIEW_DISPLAY_SHADELESS); p->add_separator(); - p->add_check_item(TTR("View Origin"),MENU_VIEW_ORIGIN); - p->add_check_item(TTR("View Grid"),MENU_VIEW_GRID); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_origin", TTR("View Origin")), MENU_VIEW_ORIGIN); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_grid", TTR("View Grid")), MENU_VIEW_GRID); p->add_separator(); - p->add_item(TTR("Settings"),MENU_VIEW_CAMERA_SETTINGS); + p->add_shortcut(ED_SHORTCUT("spatial_editor/settings", TTR("Settings")), MENU_VIEW_CAMERA_SETTINGS); p->set_item_checked( p->get_item_index(MENU_VIEW_USE_DEFAULT_LIGHT), true ); diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp index 4f59287994..e29a0c8d52 100644 --- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp @@ -31,7 +31,7 @@ #include "io/resource_loader.h" #include "globals.h" #include "tools/editor/editor_settings.h" - +#include "scene/3d/sprite_3d.h" @@ -355,6 +355,35 @@ void SpriteFramesEditor::_animation_select() { } + +static void _find_anim_sprites(Node* p_node,List<Node*> *r_nodes,Ref<SpriteFrames> p_sfames) { + + Node *edited = EditorNode::get_singleton()->get_edited_scene(); + if (!edited) + return; + if (p_node!=edited && p_node->get_owner()!=edited) + return; + + { + AnimatedSprite *as = p_node->cast_to<AnimatedSprite>(); + if (as && as->get_sprite_frames()==p_sfames) { + r_nodes->push_back(p_node); + } + } + + { + AnimatedSprite3D *as = p_node->cast_to<AnimatedSprite3D>(); + if (as && as->get_sprite_frames()==p_sfames) { + r_nodes->push_back(p_node); + } + } + + for(int i=0;i<p_node->get_child_count();i++) { + _find_anim_sprites(p_node->get_child(i),r_nodes,p_sfames); + } + +} + void SpriteFramesEditor::_animation_name_edited(){ if (updating) @@ -381,9 +410,24 @@ void SpriteFramesEditor::_animation_name_edited(){ name=new_name+" "+itos(counter); } + List<Node*> nodes; + _find_anim_sprites(EditorNode::get_singleton()->get_edited_scene(),&nodes,Ref<SpriteFrames>(frames)); + undo_redo->create_action(TTR("Rename Animation")); undo_redo->add_do_method(frames,"rename_animation",edited_anim,name); undo_redo->add_undo_method(frames,"rename_animation",name,edited_anim); + + for(List<Node*>::Element *E=nodes.front();E;E=E->next()) { + + String current = E->get()->call("get_animation"); + if (current!=edited_anim) + continue; + + undo_redo->add_do_method(E->get(),"set_animation",name); + undo_redo->add_undo_method(E->get(),"set_animation",edited_anim); + + } + undo_redo->add_do_method(this,"_update_library"); undo_redo->add_undo_method(this,"_update_library"); @@ -406,12 +450,28 @@ void SpriteFramesEditor::_animation_add(){ name=new_name+" "+itos(counter); } + List<Node*> nodes; + _find_anim_sprites(EditorNode::get_singleton()->get_edited_scene(),&nodes,Ref<SpriteFrames>(frames)); + + undo_redo->create_action(TTR("Add Animation")); undo_redo->add_do_method(frames,"add_animation",name); undo_redo->add_undo_method(frames,"remove_animation",name); undo_redo->add_do_method(this,"_update_library"); undo_redo->add_undo_method(this,"_update_library"); + + for(List<Node*>::Element *E=nodes.front();E;E=E->next()) { + + String current = E->get()->call("get_animation"); + if (frames->has_animation(current)) + continue; + + undo_redo->add_do_method(E->get(),"set_animation",name); + undo_redo->add_undo_method(E->get(),"set_animation",current); + + } + edited_anim=new_name; undo_redo->commit_action(); @@ -426,6 +486,7 @@ void SpriteFramesEditor::_animation_remove(){ if (!frames->has_animation(edited_anim)) return; + undo_redo->create_action(TTR("Remove Animation")); undo_redo->add_do_method(frames,"remove_animation",edited_anim); undo_redo->add_undo_method(frames,"add_animation",edited_anim); diff --git a/tools/editor/plugins/texture_region_editor_plugin.cpp b/tools/editor/plugins/texture_region_editor_plugin.cpp index 8515008982..63d8e2e1cf 100644 --- a/tools/editor/plugins/texture_region_editor_plugin.cpp +++ b/tools/editor/plugins/texture_region_editor_plugin.cpp @@ -302,7 +302,6 @@ void TextureRegionEditor::_region_input(const InputEvent& p_input) } } } else if (edited_margin < 0) { - print_line("EDIT RECTANGLE!!!"); drag_from=mtx.affine_inverse().xform(Vector2(mb.x,mb.y)); if (snap_mode == SNAP_PIXEL) drag_from = drag_from.snapped(Vector2(1,1)); @@ -332,7 +331,6 @@ void TextureRegionEditor::_region_input(const InputEvent& p_input) } } else if (drag) { - print_line("DRAGING!!!"); if (edited_margin >= 0) { undo_redo->create_action("Set Margin"); static Margin m[4] = {MARGIN_TOP,MARGIN_BOTTOM,MARGIN_LEFT,MARGIN_RIGHT}; @@ -776,6 +774,8 @@ TextureRegionEditor::TextureRegionEditor(EditorNode* p_editor) snap_step=Vector2(10,10); snap_separation = Vector2(0,0); + edited_margin = -1; + drag_index = -1; drag=false; VBoxContainer *main_vb = memnew( VBoxContainer ); diff --git a/tools/editor/plugins/tile_map_editor_plugin.cpp b/tools/editor/plugins/tile_map_editor_plugin.cpp index d5f85d3333..d686c37d1a 100644 --- a/tools/editor/plugins/tile_map_editor_plugin.cpp +++ b/tools/editor/plugins/tile_map_editor_plugin.cpp @@ -223,7 +223,7 @@ void TileMapEditor::_update_palette() { String name; if (tileset->tile_get_name(E->get())!="") { - name = tileset->tile_get_name(E->get()); + name = itos(E->get())+" - "+tileset->tile_get_name(E->get()); } else { name = "#"+itos(E->get()); } @@ -412,6 +412,24 @@ void TileMapEditor::_draw_cell(int p_cell, const Point2i& p_point, bool p_flip_h if (node->get_tile_origin()==TileMap::TILE_ORIGIN_TOP_LEFT) { rect.pos+=tile_ofs; + } else if (node->get_tile_origin()==TileMap::TILE_ORIGIN_BOTTOM_LEFT) { + Size2 cell_size = node->get_cell_size(); + + rect.pos+=tile_ofs; + + if(p_transpose) + { + if(p_flip_h) + rect.pos.x-=cell_size.x; + else + rect.pos.x+=cell_size.x; + } else { + if(p_flip_v) + rect.pos.y-=cell_size.y; + else + rect.pos.y+=cell_size.y; + } + } else if (node->get_tile_origin()==TileMap::TILE_ORIGIN_CENTER) { rect.pos+=node->get_cell_size()/2; Vector2 s = r.size; diff --git a/tools/editor/plugins/tile_set_editor_plugin.cpp b/tools/editor/plugins/tile_set_editor_plugin.cpp index a2c7147bf3..39a15189e7 100644 --- a/tools/editor/plugins/tile_set_editor_plugin.cpp +++ b/tools/editor/plugins/tile_set_editor_plugin.cpp @@ -73,24 +73,24 @@ void TileSetEditor::_import_scene(Node *scene, Ref<TileSet> p_library, bool p_me p_library->tile_set_name(id,mi->get_name()); } - - p_library->tile_set_texture(id,texture); p_library->tile_set_material(id,material); Vector2 phys_offset; + Size2 s; - if (mi->is_centered()) { - Size2 s; - if (mi->is_region()) { - s=mi->get_region_rect().size; - } else { - s=texture->get_size(); - } - phys_offset+=-s/2; - } if (mi->is_region()) { + s=mi->get_region_rect().size; p_library->tile_set_region(id,mi->get_region_rect()); + } else { + const int frame = mi->get_frame(); + const int hframes = mi->get_hframes(); + s=texture->get_size()/Size2(hframes,mi->get_vframes()); + p_library->tile_set_region(id,Rect2(Vector2(frame%hframes,frame/hframes)*s,s)); + } + + if (mi->is_centered()) { + phys_offset+=-s/2; } Vector<Ref<Shape2D> >collisions; diff --git a/tools/editor/project_export.cpp b/tools/editor/project_export.cpp index 3f82199fc3..103962716b 100644 --- a/tools/editor/project_export.cpp +++ b/tools/editor/project_export.cpp @@ -431,7 +431,6 @@ void ProjectExportDialog::_validate_platform() { void ProjectExportDialog::_export_mode_changed(int p_idx) { - bool do_all = p_idx==0; if (EditorImportExport::get_singleton()->get_export_filter()==p_idx) return; EditorImportExport::get_singleton()->set_export_filter(EditorImportExport::ExportFilter(p_idx)); diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp index d8814fd50e..52f6d1dd9c 100644 --- a/tools/editor/project_manager.cpp +++ b/tools/editor/project_manager.cpp @@ -46,7 +46,7 @@ #include "io/resource_saver.h" #include "editor_themes.h" - +#include "editor_initialize_ssl.h" #include "editor_scale.h" class NewProjectDialog : public ConfirmationDialog { @@ -823,13 +823,13 @@ void ProjectManager::_bind_methods() { ProjectManager::ProjectManager() { - int margin = get_constant("margin","Dialogs"); - int button_margin = get_constant("button_margin","Dialogs"); - // load settings if (!EditorSettings::get_singleton()) EditorSettings::create(); + + EditorSettings::get_singleton()->set_optimize_save(false); //just write settings as they came + { int dpi_mode = EditorSettings::get_singleton()->get("global/hidpi_mode"); if (dpi_mode==0) { @@ -871,9 +871,6 @@ ProjectManager::ProjectManager() { HBoxContainer *top_hb = memnew( HBoxContainer); vb->add_child(top_hb); - TextureFrame *logo = memnew( TextureFrame ); - logo->set_texture(theme->get_icon("LogoSmall","EditorIcons")); - //top_hb->add_child( logo ); CenterContainer *ccl = memnew( CenterContainer ); Label *l = memnew( Label ); l->set_text(_MKSTR(VERSION_NAME)+String(" - ")+TTR("Project Manager")); @@ -1103,6 +1100,8 @@ void ProjectListFilter::_bind_methods() { ProjectListFilter::ProjectListFilter() { + editor_initialize_certificates(); //for asset sharing + _current_filter = FILTER_NAME; filter_option = memnew(OptionButton); diff --git a/tools/editor/project_settings.cpp b/tools/editor/project_settings.cpp index 6822e50b73..6be1abf52f 100644 --- a/tools/editor/project_settings.cpp +++ b/tools/editor/project_settings.cpp @@ -100,16 +100,6 @@ void ProjectSettings::_notification(int p_what) { translation_res_file_open->add_filter("*."+E->get()); translation_res_option_file_open->add_filter("*."+E->get()); } - - List<String> afn; - ResourceLoader::get_recognized_extensions_for_type("Script",&afn); - ResourceLoader::get_recognized_extensions_for_type("PackedScene",&afn); - - for (List<String>::Element *E=afn.front();E;E=E->next()) { - - autoload_file_open->add_filter("*."+E->get()); - } - } } @@ -564,7 +554,7 @@ void ProjectSettings::popup_project_settings() { popup_centered_ratio(); globals_editor->update_category_list(); _update_translations(); - _update_autoload(); + autoload_settings->update_autoload(); plugin_settings->update_plugins(); } @@ -616,10 +606,26 @@ void ProjectSettings::_item_add() { String name = catname!="" ? catname+"/"+propname : propname; - Globals::get_singleton()->set(name,value); + undo_redo->create_action("Add Global Property"); + + undo_redo->add_do_property(Globals::get_singleton(), name, value); + undo_redo->add_do_method(Globals::get_singleton(), "set_persisting", name, true); + + if (Globals::get_singleton()->has(name)) { + undo_redo->add_undo_property(Globals::get_singleton(), name, Globals::get_singleton()->get(name)); + } else { + undo_redo->add_undo_property(Globals::get_singleton(), name, Variant()); + } + + undo_redo->add_do_method(globals_editor, "update_category_list"); + undo_redo->add_undo_method(globals_editor, "update_category_list"); + + undo_redo->add_do_method(this, "_settings_changed"); + undo_redo->add_undo_method(this, "_settings_changed"); + + undo_redo->commit_action(); globals_editor->set_current_section(catname); - globals_editor->update_category_list(); _settings_changed(); } @@ -633,10 +639,20 @@ void ProjectSettings::_item_del() { String name = catname!="" ? catname+"/"+propname : propname; - Globals::get_singleton()->set(name,Variant()); + undo_redo->create_action("Delete Global Property"); - globals_editor->set_current_section(catname); - globals_editor->update_category_list(); + undo_redo->add_do_property(Globals::get_singleton(), name, Variant()); + + undo_redo->add_undo_property(Globals::get_singleton(), name, Globals::get_singleton()->get(name)); + undo_redo->add_undo_method(Globals::get_singleton(), "set_persisting", name, Globals::get_singleton()->is_persisting(name)); + + undo_redo->add_do_method(globals_editor, "update_category_list"); + undo_redo->add_undo_method(globals_editor, "update_category_list"); + + undo_redo->add_do_method(this, "_settings_changed"); + undo_redo->add_undo_method(this, "_settings_changed"); + + undo_redo->commit_action(); _settings_changed(); } @@ -811,263 +827,6 @@ void ProjectSettings::_translation_file_open() { translation_file_open->popup_centered_ratio(); } - -void ProjectSettings::_autoload_file_callback(const String& p_path) { - - autoload_add_path->set_text(p_path); - //if (autoload_add_name->get_text().strip_edges()==String()) { - - autoload_add_name->set_text( p_path.get_file().basename() ); - //} - - //_translation_add(p_translation); -} - -void ProjectSettings::_autoload_file_open() { - - autoload_file_open->popup_centered_ratio(); -} - -void ProjectSettings::_autoload_edited() { - - if (updating_autoload) - return; - - TreeItem *ti = autoload_list->get_edited(); - int column = autoload_list->get_edited_column(); - - if (!ti || (column != 0 && column != 2)) - return; - - if (column == 0) { - String name = ti->get_text(0); - String old_name = selected_autoload.substr(selected_autoload.find("/")+1,selected_autoload.length()); - - if (!name.is_valid_identifier()) { - ti->set_text(0,old_name); - message->set_text(TTR("Invalid name.")+"\n"+TTR("Valid characters:")+" a-z, A-Z, 0-9 or _"); - message->popup_centered(Size2(300,100)); - return; - } - - if (ObjectTypeDB::type_exists(name)) { - ti->set_text(0,old_name); - message->set_text(TTR("Invalid name. Must not collide with an existing engine class name.")); - message->popup_centered(Size2(400,100)); - return; - } - - for(int i=0;i<Variant::VARIANT_MAX;i++) { - if (Variant::get_type_name(Variant::Type(i))==name) { - ti->set_text(0,old_name); - message->set_text(TTR("Invalid name. Must not collide with an existing buit-in type name.")); - message->popup_centered(Size2(400,100)); - return; - } - } - - for(int i=0;i<GlobalConstants::get_global_constant_count();i++) { - if (GlobalConstants::get_global_constant_name(i)==name) { - ti->set_text(0,old_name); - message->set_text(TTR("Invalid name. Must not collide with an existing global constant name.")); - message->popup_centered(Size2(400,100)); - return; - } - } - - if (Globals::get_singleton()->has("autoload/"+name)) { - ti->set_text(0,old_name); - message->set_text(vformat(TTR("Autoload '%s' already exists!"),name)); - message->popup_centered(Size2(300,100)); - return; - } - - updating_autoload = true; - - name = "autoload/"+name; - String path = Globals::get_singleton()->get(selected_autoload); - bool is_persisting = Globals::get_singleton()->is_persisting(selected_autoload); - int order = Globals::get_singleton()->get_order(selected_autoload); - - undo_redo->create_action(TTR("Rename Autoload")); - undo_redo->add_do_property(Globals::get_singleton(),name,path); - undo_redo->add_do_method(Globals::get_singleton(),"set_persisting",name,is_persisting); - undo_redo->add_do_method(Globals::get_singleton(),"set_order",name,order); - undo_redo->add_do_method(Globals::get_singleton(),"clear",selected_autoload); - undo_redo->add_undo_property(Globals::get_singleton(),selected_autoload,path); - undo_redo->add_undo_method(Globals::get_singleton(),"set_persisting",selected_autoload,is_persisting); - undo_redo->add_undo_method(Globals::get_singleton(),"set_order",selected_autoload,order); - undo_redo->add_undo_method(Globals::get_singleton(),"clear",name); - undo_redo->add_do_method(this,"_update_autoload"); - undo_redo->add_undo_method(this,"_update_autoload"); - undo_redo->add_do_method(this,"_settings_changed"); - undo_redo->add_undo_method(this,"_settings_changed"); - undo_redo->commit_action(); - - selected_autoload = name; - } else if (column == 2) { - updating_autoload = true; - - bool checked = ti->is_checked(2); - String base = "autoload/"+ti->get_text(0); - String path = Globals::get_singleton()->get(base); - int order = Globals::get_singleton()->get_order(base); - - if (path.begins_with("*")) - path = path.substr(1,path.length()); - - if (checked) - path = "*" + path; - - undo_redo->create_action(TTR("Toggle AutoLoad Globals")); - undo_redo->add_do_property(Globals::get_singleton(),base,path); - undo_redo->add_undo_property(Globals::get_singleton(),base,Globals::get_singleton()->get(base)); - undo_redo->add_do_method(Globals::get_singleton(),"set_order",base,order); // keep order, as config order matters for these - undo_redo->add_undo_method(Globals::get_singleton(),"set_order",base,order); - undo_redo->add_do_method(this,"_update_autoload"); - undo_redo->add_undo_method(this,"_update_autoload"); - undo_redo->add_do_method(this,"_settings_changed"); - undo_redo->add_undo_method(this,"_settings_changed"); - undo_redo->commit_action(); - } - - updating_autoload = false; -} - -void ProjectSettings::_autoload_add() { - - String name = autoload_add_name->get_text(); - if (!name.is_valid_identifier()) { - message->set_text(TTR("Invalid name.")+"\n"+TTR("Valid characters:")+" a-z, A-Z, 0-9 or _"); - message->popup_centered(Size2(300,100)); - return; - - } - - if (ObjectTypeDB::type_exists(name)) { - - message->set_text(TTR("Invalid name. Must not collide with an existing engine class name.")); - message->popup_centered(Size2(300,100)); - return; - - } - - for(int i=0;i<Variant::VARIANT_MAX;i++) { - if (Variant::get_type_name(Variant::Type(i))==name) { - - message->set_text(TTR("Invalid name. Must not collide with an existing buit-in type name.")); - message->popup_centered(Size2(300,100)); - return; - - } - } - - for(int i=0;i<GlobalConstants::get_global_constant_count();i++) { - - if (GlobalConstants::get_global_constant_name(i)==name) { - - message->set_text(TTR("Invalid name. Must not collide with an existing global constant name.")); - message->popup_centered(Size2(300,100)); - return; - } - - } - - String path = autoload_add_path->get_text(); - if (!FileAccess::exists(path)) { - message->set_text("Invalid Path.\nFile does not exist."); - message->popup_centered(Size2(300,100)); - return; - - } - if (!path.begins_with("res://")) { - message->set_text("Invalid Path.\nNot in resource path."); - message->popup_centered(Size2(300,100)); - return; - - } - - undo_redo->create_action(TTR("Add Autoload")); - name = "autoload/"+name; - undo_redo->add_do_property(Globals::get_singleton(),name,"*"+path); - if (Globals::get_singleton()->has(name)) - undo_redo->add_undo_property(Globals::get_singleton(),name,Globals::get_singleton()->get(name)); - else - undo_redo->add_undo_property(Globals::get_singleton(),name,Variant()); - - undo_redo->add_do_method(Globals::get_singleton(),"set_persisting",name,true); - undo_redo->add_do_method(this,"_update_autoload"); - undo_redo->add_undo_method(this,"_update_autoload"); - undo_redo->add_do_method(this,"_settings_changed"); - undo_redo->add_undo_method(this,"_settings_changed"); - undo_redo->commit_action(); - - autoload_add_path->set_text(""); - autoload_add_name->set_text(""); - - //autoload_file_open->popup_centered_ratio(); -} - -void ProjectSettings::_autoload_delete(Object *p_item,int p_column, int p_button) { - - - TreeItem *ti=p_item->cast_to<TreeItem>(); - String name = "autoload/"+ti->get_text(0); - - if (p_button==0) { - //delete - int order = Globals::get_singleton()->get_order(name); - undo_redo->create_action(TTR("Remove Autoload")); - undo_redo->add_do_property(Globals::get_singleton(),name,Variant()); - undo_redo->add_undo_property(Globals::get_singleton(),name,Globals::get_singleton()->get(name)); - undo_redo->add_undo_method(Globals::get_singleton(),"set_persisting",name,true); - undo_redo->add_undo_method(Globals::get_singleton(),"set_order",name,order); - undo_redo->add_do_method(this,"_update_autoload"); - undo_redo->add_undo_method(this,"_update_autoload"); - undo_redo->add_do_method(this,"_settings_changed"); - undo_redo->add_undo_method(this,"_settings_changed"); - undo_redo->commit_action(); - } else { - - TreeItem *swap = NULL; - - if (p_button==1) { - swap=ti->get_prev(); - } else if (p_button==2) { - swap=ti->get_next(); - } - if (!swap) - return; - - String swap_name= "autoload/"+swap->get_text(0); - - int order = Globals::get_singleton()->get_order(name); - int swap_order = Globals::get_singleton()->get_order(swap_name); - - undo_redo->create_action(TTR("Move Autoload")); - undo_redo->add_do_method(Globals::get_singleton(),"set_order",swap_name,order); - undo_redo->add_do_method(Globals::get_singleton(),"set_order",name,swap_order); - undo_redo->add_undo_method(Globals::get_singleton(),"set_order",swap_name,swap_order); - undo_redo->add_undo_method(Globals::get_singleton(),"set_order",name,order); - undo_redo->add_do_method(this,"_update_autoload"); - undo_redo->add_undo_method(this,"_update_autoload"); - undo_redo->add_do_method(this,"_settings_changed"); - undo_redo->add_undo_method(this,"_settings_changed"); - undo_redo->commit_action(); - - } - -} - -void ProjectSettings::_autoload_selected() { - TreeItem *ti = autoload_list->get_selected(); - - if (!ti) - return; - - selected_autoload = "autoload/"+ti->get_text(0); -} - void ProjectSettings::_translation_delete(Object *p_item,int p_column, int p_button) { TreeItem *ti = p_item->cast_to<TreeItem>(); @@ -1393,55 +1152,6 @@ void ProjectSettings::_update_translations() { } -void ProjectSettings::_update_autoload() { - - if (updating_autoload) - return; - - updating_autoload=true; - - autoload_list->clear(); - TreeItem *root = autoload_list->create_item(); - autoload_list->set_hide_root(true); - - List<PropertyInfo> props; - Globals::get_singleton()->get_property_list(&props); - - for(List<PropertyInfo>::Element *E=props.front();E;E=E->next()) { - - const PropertyInfo &pi=E->get(); - if (!pi.name.begins_with("autoload/")) - continue; - - String name = pi.name.get_slice("/",1); - String path = Globals::get_singleton()->get(pi.name); - - if (name=="") - continue; - bool global=false; - if (path.begins_with("*")) { - path=path.substr(1,path.length()); - global=true; - } - TreeItem *t = autoload_list->create_item(root); - t->set_text(0,name); - t->set_editable(0,true); - t->set_text(1,path); - t->set_cell_mode(2,TreeItem::CELL_MODE_CHECK); - t->set_editable(2,true); - t->set_text(2,TTR("Enable")); - t->set_checked(2,global); - t->add_button(3,get_icon("MoveUp","EditorIcons"),1); - t->add_button(3,get_icon("MoveDown","EditorIcons"),2); - t->add_button(3,get_icon("Del","EditorIcons"),0); - - - } - - updating_autoload=false; - -} - void ProjectSettings::_toggle_search_bar(bool p_pressed) { globals_editor->get_property_editor()->set_use_filter(p_pressed); @@ -1508,14 +1218,6 @@ void ProjectSettings::_bind_methods() { ObjectTypeDB::bind_method(_MD("_translation_res_delete"),&ProjectSettings::_translation_res_delete); ObjectTypeDB::bind_method(_MD("_translation_res_option_delete"),&ProjectSettings::_translation_res_option_delete); - ObjectTypeDB::bind_method(_MD("_autoload_add"),&ProjectSettings::_autoload_add); - ObjectTypeDB::bind_method(_MD("_autoload_file_open"),&ProjectSettings::_autoload_file_open); - ObjectTypeDB::bind_method(_MD("_autoload_file_callback"),&ProjectSettings::_autoload_file_callback); - ObjectTypeDB::bind_method(_MD("_update_autoload"),&ProjectSettings::_update_autoload); - ObjectTypeDB::bind_method(_MD("_autoload_delete"),&ProjectSettings::_autoload_delete); - ObjectTypeDB::bind_method(_MD("_autoload_edited"),&ProjectSettings::_autoload_edited); - ObjectTypeDB::bind_method(_MD("_autoload_selected"),&ProjectSettings::_autoload_selected); - ObjectTypeDB::bind_method(_MD("_clear_search_box"),&ProjectSettings::_clear_search_box); ObjectTypeDB::bind_method(_MD("_toggle_search_bar"),&ProjectSettings::_toggle_search_bar); @@ -1858,69 +1560,10 @@ ProjectSettings::ProjectSettings(EditorData *p_data) { { - VBoxContainer *avb = memnew( VBoxContainer ); - tab_container->add_child(avb); - avb->set_name(TTR("AutoLoad")); - HBoxContainer *ahb = memnew( HBoxContainer); - avb->add_child(ahb); - - - VBoxContainer *avb_path = memnew( VBoxContainer ); - avb_path->set_h_size_flags(SIZE_EXPAND_FILL); - HBoxContainer *ahb_path = memnew( HBoxContainer ); - autoload_add_path = memnew(LineEdit); - autoload_add_path->set_h_size_flags(SIZE_EXPAND_FILL); - ahb_path->add_child(autoload_add_path); - Button *browseaa = memnew( Button("..") ); - ahb_path->add_child(browseaa); - browseaa->connect("pressed",this,"_autoload_file_open"); - - avb_path->add_margin_child(TTR("Path:"),ahb_path); - ahb->add_child(avb_path); - - VBoxContainer *avb_name = memnew( VBoxContainer ); - avb_name->set_h_size_flags(SIZE_EXPAND_FILL); - - HBoxContainer *ahb_name = memnew( HBoxContainer ); - autoload_add_name = memnew(LineEdit); - autoload_add_name->set_h_size_flags(SIZE_EXPAND_FILL); - ahb_name->add_child(autoload_add_name); - avb_name->add_margin_child(TTR("Node Name:"),ahb_name); - Button *addaa = memnew( Button(TTR("Add")) ); - ahb_name->add_child(addaa); - addaa->connect("pressed",this,"_autoload_add"); - - ahb->add_child(avb_name); - - autoload_list = memnew( Tree ); - autoload_list->set_v_size_flags(SIZE_EXPAND_FILL); - avb->add_margin_child(TTR("List:"),autoload_list,true); - - autoload_file_open=memnew( EditorFileDialog ); - add_child(autoload_file_open); - autoload_file_open->set_mode(EditorFileDialog::MODE_OPEN_FILE); - autoload_file_open->connect("file_selected",this,"_autoload_file_callback"); - - autoload_list->set_columns(4); - autoload_list->set_column_titles_visible(true); - autoload_list->set_column_title(0,TTR("Name")); - autoload_list->set_column_expand(0,true); - autoload_list->set_column_min_width(0,100); - autoload_list->set_column_title(1,TTR("Path")); - autoload_list->set_column_expand(1,true); - autoload_list->set_column_min_width(1,100); - autoload_list->set_column_title(2,TTR("Singleton")); - autoload_list->set_column_expand(2,false); - autoload_list->set_column_min_width(2,80); - autoload_list->set_column_expand(3,false); - autoload_list->set_column_min_width(3,80); - - autoload_list->connect("button_pressed",this,"_autoload_delete"); - autoload_list->connect("item_edited",this,"_autoload_edited"); - autoload_list->connect("cell_selected", this, "_autoload_selected"); - - updating_autoload=false; - + autoload_settings = memnew( EditorAutoloadSettings ); + autoload_settings->set_name(TTR("AutoLoad")); + tab_container->add_child(autoload_settings); + autoload_settings->connect("autoload_changed", this, "_settings_changed"); } { diff --git a/tools/editor/project_settings.h b/tools/editor/project_settings.h index 79e1acf75e..46e98f69ad 100644 --- a/tools/editor/project_settings.h +++ b/tools/editor/project_settings.h @@ -34,6 +34,7 @@ #include "undo_redo.h" #include "editor_data.h" #include "scene/gui/tab_container.h" +#include "editor_autoload_settings.h" #include "editor_plugin_settings.h" //#include "project_export_settings.h" @@ -88,26 +89,10 @@ class ProjectSettings : public AcceptDialog { Tree *translation_remap; Tree *translation_remap_options; - - Tree *autoload_list; - String selected_autoload; - EditorFileDialog *autoload_file_open; - LineEdit *autoload_add_name; - LineEdit *autoload_add_path; - + EditorAutoloadSettings *autoload_settings; EditorPluginSettings *plugin_settings; - void _update_autoload(); - void _autoload_file_callback(const String& p_path); - void _autoload_add(); - void _autoload_edited(); - void _autoload_file_open(); - void _autoload_delete(Object *p_item,int p_column, int p_button); - void _autoload_selected(); - bool updating_autoload; - - void _item_selected(); void _item_adds(String); void _item_add(); diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 246785932d..ceb62d5ff0 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -389,7 +389,6 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty List<String> names; names.push_back("value:"); config_value_editors(1,1,50,names); - Vector3 vec=v; value_editor[0]->set_text( String::num(v) ); } @@ -436,7 +435,6 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty List<String> names; names.push_back("string:"); config_value_editors(1,1,50,names); - Vector3 vec=v; value_editor[0]->set_text( v ); } @@ -612,6 +610,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty color_picker->set_edit_alpha(hint!=PROPERTY_HINT_COLOR_NO_ALPHA); color_picker->set_color(v); set_size( Size2(300*EDSCALE, color_picker->get_combined_minimum_size().height+10*EDSCALE)); + color_picker->set_focus_on_line_edit(); /* int ofs=80; int m=10; @@ -2980,10 +2979,8 @@ void PropertyEditor::update_tree() { else item->set_cell_mode( 1, TreeItem::CELL_MODE_RANGE_EXPRESSION ); - if (p.hint==PROPERTY_HINT_SPRITE_FRAME) { - item->set_range_config(1,0,99999,1); - } else if (p.hint==PROPERTY_HINT_RANGE || p.hint==PROPERTY_HINT_EXP_RANGE) { + if (p.hint==PROPERTY_HINT_SPRITE_FRAME || p.hint==PROPERTY_HINT_RANGE || p.hint==PROPERTY_HINT_EXP_RANGE) { int c = p.hint_string.get_slice_count(","); float min=0,max=100,step=1; @@ -3346,7 +3343,6 @@ void PropertyEditor::update_tree() { String type; if (p.hint==PROPERTY_HINT_RESOURCE_TYPE) type=p.hint_string; - bool notnil=false; if (obj->get( p.name ).get_type() == Variant::NIL || obj->get( p.name ).operator RefPtr().is_null()) { item->set_text(1,"<null>"); @@ -3369,8 +3365,7 @@ void PropertyEditor::update_tree() { } else { item->set_text(1,"<"+res->get_type()+">"); - }; - notnil=true; + } if (has_icon(res->get_type(),"EditorIcons")) { type=res->get_type(); @@ -4192,6 +4187,8 @@ public: void SectionedPropertyEditor::_bind_methods() { ObjectTypeDB::bind_method("_section_selected",&SectionedPropertyEditor::_section_selected); + + ObjectTypeDB::bind_method("update_category_list", &SectionedPropertyEditor::update_category_list); } void SectionedPropertyEditor::_section_selected(int p_which) { diff --git a/tools/editor/quick_open.cpp b/tools/editor/quick_open.cpp index fc2a2241ab..e18dc584d5 100644 --- a/tools/editor/quick_open.cpp +++ b/tools/editor/quick_open.cpp @@ -109,16 +109,27 @@ void EditorQuickOpen::_sbox_input(const InputEvent& p_ie) { } -void EditorQuickOpen::_parse_fs(EditorFileSystemDirectory *efsd) { +float EditorQuickOpen::_path_cmp(String search, String path) const { + + if (search == path) { + return 1.2f; + } + if (path.findn(search) != -1) { + return 1.1f; + } + return path.to_lower().similarity(search.to_lower()); +} + +void EditorQuickOpen::_parse_fs(EditorFileSystemDirectory *efsd, Vector< Pair< String, Ref<Texture> > > &list) { if (!add_directories) { for(int i=0;i<efsd->get_subdir_count();i++) { - _parse_fs(efsd->get_subdir(i)); + _parse_fs(efsd->get_subdir(i), list); } } - TreeItem *root = search_options->get_root(); + String search_text = search_box->get_text(); if (add_directories) { String path = efsd->get_path(); @@ -126,11 +137,27 @@ void EditorQuickOpen::_parse_fs(EditorFileSystemDirectory *efsd) { path+="/"; if (path!="res://") { path=path.substr(6,path.length()); - if (search_box->get_text().is_subsequence_ofi(path)) { - TreeItem *ti = search_options->create_item(root); - ti->set_text(0,path); - Ref<Texture> icon = get_icon("folder","FileDialog"); - ti->set_icon(0,icon); + if (search_text.is_subsequence_ofi(path)) { + Pair< String, Ref<Texture> > pair; + pair.first = path; + pair.second = get_icon("folder", "FileDialog"); + + if (search_text != String() && list.size() > 0) { + + float this_sim = _path_cmp(search_text, path); + float other_sim = _path_cmp(list[0].first, path); + int pos = 1; + + while (pos < list.size() && this_sim <= other_sim) { + other_sim = _path_cmp(list[pos++].first, path); + } + + pos = this_sim >= other_sim ? pos - 1 : pos; + list.insert(pos, pair); + + } else { + list.push_back(pair); + } } } } @@ -138,12 +165,29 @@ void EditorQuickOpen::_parse_fs(EditorFileSystemDirectory *efsd) { String file = efsd->get_file_path(i); file=file.substr(6,file.length()); - if (ObjectTypeDB::is_type(efsd->get_file_type(i),base_type) && (search_box->get_text().is_subsequence_ofi(file))) { - TreeItem *ti = search_options->create_item(root); - ti->set_text(0,file); - Ref<Texture> icon = get_icon( (has_icon(efsd->get_file_type(i),ei)?efsd->get_file_type(i):ot),ei); - ti->set_icon(0,icon); + if (ObjectTypeDB::is_type(efsd->get_file_type(i),base_type) && (search_text.is_subsequence_ofi(file))) { + Pair< String, Ref<Texture> > pair; + pair.first = file; + pair.second = get_icon((has_icon(efsd->get_file_type(i), ei) ? efsd->get_file_type(i) : ot), ei); + + if (search_text != String() && list.size() > 0) { + + float this_sim = _path_cmp(search_text, file); + float other_sim = _path_cmp(list[0].first, file); + int pos = 1; + + while (pos < list.size() && this_sim <= other_sim) { + other_sim = _path_cmp(list[pos++].first, file); + } + + pos = this_sim >= other_sim ? pos - 1 : pos; + list.insert(pos, pair); + + } else { + + list.push_back(pair); + } } } @@ -151,7 +195,7 @@ void EditorQuickOpen::_parse_fs(EditorFileSystemDirectory *efsd) { if (add_directories) { for(int i=0;i<efsd->get_subdir_count();i++) { - _parse_fs(efsd->get_subdir(i)); + _parse_fs(efsd->get_subdir(i), list); } } @@ -159,10 +203,18 @@ void EditorQuickOpen::_parse_fs(EditorFileSystemDirectory *efsd) { void EditorQuickOpen::_update_search() { - search_options->clear(); TreeItem *root = search_options->create_item(); - _parse_fs(EditorFileSystem::get_singleton()->get_filesystem()); + EditorFileSystemDirectory *efsd = EditorFileSystem::get_singleton()->get_filesystem(); + Vector< Pair< String, Ref<Texture> > > list; + + _parse_fs(efsd, list); + + for (int i = 0; i < list.size(); i++) { + TreeItem *ti = search_options->create_item(root); + ti->set_text(0, list[i].first); + ti->set_icon(0, list[i].second); + } if (root->get_children()) { TreeItem *ti = root->get_children(); diff --git a/tools/editor/quick_open.h b/tools/editor/quick_open.h index 520f7e569d..c253f7606e 100644 --- a/tools/editor/quick_open.h +++ b/tools/editor/quick_open.h @@ -32,6 +32,7 @@ #include "scene/gui/dialogs.h" #include "scene/gui/tree.h" #include "editor_file_system.h" +#include "pair.h" class EditorQuickOpen : public ConfirmationDialog { OBJ_TYPE(EditorQuickOpen,ConfirmationDialog ) @@ -47,7 +48,8 @@ class EditorQuickOpen : public ConfirmationDialog { void _update_search(); void _sbox_input(const InputEvent& p_ie); - void _parse_fs(EditorFileSystemDirectory *efsd); + void _parse_fs(EditorFileSystemDirectory *efsd, Vector< Pair< String,Ref <Texture> > > &list); + float _path_cmp(String search, String path) const; void _confirmed(); diff --git a/tools/editor/scene_tree_dock.cpp b/tools/editor/scene_tree_dock.cpp index 30ffdf6664..2e7d65eadc 100644 --- a/tools/editor/scene_tree_dock.cpp +++ b/tools/editor/scene_tree_dock.cpp @@ -39,16 +39,20 @@ #include "multi_node_edit.h" #include "tools/editor/plugins/animation_player_editor_plugin.h" #include "animation_editor.h" - +#include "scene/main/viewport.h" void SceneTreeDock::_unhandled_key_input(InputEvent p_event) { + if (get_viewport()->get_modal_stack_top()) + return; //ignore because of modal window + uint32_t sc = p_event.key.get_scancode_with_modifiers(); if (!p_event.key.pressed || p_event.key.echo) return; + if (ED_IS_SHORTCUT("scene_tree/add_child_node", p_event)) { _tool_selected(TOOL_NEW); } @@ -239,7 +243,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { //if (!_validate_no_foreign()) // break; - create_dialog->popup_centered_ratio(); + create_dialog->popup(true); } break; case TOOL_INSTANCE: { @@ -277,7 +281,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { } break; case TOOL_REPLACE: { - create_dialog->popup_centered_ratio(); + create_dialog->popup(false); } break; case TOOL_CONNECT: { @@ -378,11 +382,8 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { ERR_FAIL_COND(!top_node->get_parent()); ERR_FAIL_COND(!bottom_node->get_parent()); - int top_node_pos = top_node->get_index(); int bottom_node_pos = bottom_node->get_index(); - - int top_node_pos_next = top_node_pos + (MOVING_DOWN ? 1 : -1); - int bottom_node_pos_next = bottom_node_pos + (MOVING_DOWN ? 1 : -1); + int top_node_pos_next = top_node->get_index() + (MOVING_DOWN ? 1 : -1); editor_data->get_undo_redo().add_do_method(top_node->get_parent(), "move_child", top_node, top_node_pos_next); editor_data->get_undo_redo().add_undo_method(bottom_node->get_parent(), "move_child", bottom_node, bottom_node_pos); @@ -1065,6 +1066,8 @@ void SceneTreeDock::_do_reparent(Node* p_new_parent,int p_position_in_parent,Vec List<Pair<NodePath,NodePath> > path_renames; + int inc=0; + for(int ni=0;ni<p_nodes.size();ni++) { //no undo for now, sorry @@ -1081,12 +1084,16 @@ void SceneTreeDock::_do_reparent(Node* p_new_parent,int p_position_in_parent,Vec } + if (new_parent==node->get_parent() && node->get_index() < p_position_in_parent+ni) { + //if child will generate a gap when moved, adjust + inc--; + } editor_data->get_undo_redo().add_do_method(node->get_parent(),"remove_child",node); editor_data->get_undo_redo().add_do_method(new_parent,"add_child",node); if (p_position_in_parent>=0) - editor_data->get_undo_redo().add_do_method(new_parent,"move_child",node,p_position_in_parent+ni); + editor_data->get_undo_redo().add_do_method(new_parent,"move_child",node,p_position_in_parent+inc); ScriptEditorDebugger *sed = ScriptEditor::get_singleton()->get_debugger(); String new_name = new_parent->validate_child_name(node->get_name()); @@ -1098,17 +1105,8 @@ void SceneTreeDock::_do_reparent(Node* p_new_parent,int p_position_in_parent,Vec editor_data->get_undo_redo().add_do_method(node,"set_global_transform",node->cast_to<Node2D>()->get_global_transform()); if (node->cast_to<Spatial>()) editor_data->get_undo_redo().add_do_method(node,"set_global_transform",node->cast_to<Spatial>()->get_global_transform()); - if (node->cast_to<Control>()) { - bool can_do_it=false; - Control *c=node->cast_to<Control>(); - if (c->get_parent()->cast_to<Container>()) - can_do_it=false; - for(int i=0;i<4;i++) { - if (c->get_anchor(Margin(i))!=ANCHOR_BEGIN) - can_do_it=false; - } + if (node->cast_to<Control>()) editor_data->get_undo_redo().add_do_method(node,"set_global_pos",node->cast_to<Control>()->get_global_pos()); - } } editor_data->get_undo_redo().add_do_method(this,"_set_owners",edited_scene,owners); @@ -1118,6 +1116,8 @@ void SceneTreeDock::_do_reparent(Node* p_new_parent,int p_position_in_parent,Vec editor_data->get_undo_redo().add_undo_method(new_parent,"remove_child",node); + inc++; + } //add and move in a second step.. (so old order is preserved) @@ -1149,17 +1149,8 @@ void SceneTreeDock::_do_reparent(Node* p_new_parent,int p_position_in_parent,Vec editor_data->get_undo_redo().add_undo_method(node,"set_transform",node->cast_to<Node2D>()->get_transform()); if (node->cast_to<Spatial>()) editor_data->get_undo_redo().add_undo_method(node,"set_transform",node->cast_to<Spatial>()->get_transform()); - if (node->cast_to<Control>()) { - bool can_do_it=false; - Control *c=node->cast_to<Control>(); - if (c->get_parent()->cast_to<Container>()) - can_do_it=false; - for(int i=0;i<4;i++) { - if (c->get_anchor(Margin(i))!=ANCHOR_BEGIN) - can_do_it=false; - } + if (node->cast_to<Control>()) editor_data->get_undo_redo().add_undo_method(node,"set_pos",node->cast_to<Control>()->get_pos()); - } } @@ -1539,7 +1530,7 @@ static bool _has_visible_children(Node* p_node) { for(int i=0;i<p_node->get_child_count();i++) { Node* child = p_node->get_child(i); - if (!_is_node_visible(p_node)) + if (!_is_node_visible(child)) continue; return true; @@ -1551,9 +1542,9 @@ static bool _has_visible_children(Node* p_node) { -static Node* _find_last_visible(Node*p_node) { +static Node* _find_last_visible(Node* p_node) { - Node*last=NULL; + Node* last=NULL; bool collapsed = p_node->has_meta("_editor_collapsed") ? (bool)p_node->get_meta("_editor_collapsed") : false; @@ -1579,7 +1570,7 @@ static Node* _find_last_visible(Node*p_node) { } -void SceneTreeDock::_normalize_drop(Node*& to_node, int &to_pos,int p_type) { +void SceneTreeDock::_normalize_drop(Node*& to_node, int &to_pos, int p_type) { to_pos=-1; @@ -1620,6 +1611,7 @@ void SceneTreeDock::_normalize_drop(Node*& to_node, int &to_pos,int p_type) { //just insert over this node because nothing is above at the same level to_pos=to_node->get_index(); to_node=to_node->get_parent(); + } } else if (p_type==1) { @@ -1646,12 +1638,13 @@ void SceneTreeDock::_normalize_drop(Node*& to_node, int &to_pos,int p_type) { break; } } - if (lower_sibling) { to_pos=lower_sibling->get_index(); } to_node=to_node->get_parent(); + + } #if 0 //quite complicated, look for next visible in tree diff --git a/tools/editor/scene_tree_dock.h b/tools/editor/scene_tree_dock.h index 60bec9b4f4..51041a235b 100644 --- a/tools/editor/scene_tree_dock.h +++ b/tools/editor/scene_tree_dock.h @@ -139,7 +139,7 @@ class SceneTreeDock : public VBoxContainer { void _fill_path_renames(Vector<StringName> base_path,Vector<StringName> new_base_path,Node * p_node, List<Pair<NodePath,NodePath> > *p_renames); - void _normalize_drop(Node*& to_node, int &to_pos,int p_type); + void _normalize_drop(Node*& to_node, int &to_pos, int p_type); void _nodes_dragged(Array p_nodes,NodePath p_to,int p_type); void _files_dropped(Vector<String> p_files,NodePath p_to,int p_type); diff --git a/tools/editor/scene_tree_editor.cpp b/tools/editor/scene_tree_editor.cpp index a155f0c0cf..f174bc2f1b 100644 --- a/tools/editor/scene_tree_editor.cpp +++ b/tools/editor/scene_tree_editor.cpp @@ -302,8 +302,15 @@ bool SceneTreeEditor::_add_nodes(Node *p_node,TreeItem *p_parent) { item->set_selectable(0,true); if (can_rename) { - - bool collapsed = p_node->has_meta("_editor_collapsed") ? (bool)p_node->get_meta("_editor_collapsed") : false; +#ifdef ENABLE_DEPRECATED + if (p_node->has_meta("_editor_collapsed")) { + //remove previous way of storing folding, which did not get along with scene inheritance and instancing + if ((bool)p_node->get_meta("_editor_collapsed")) + p_node->set_display_folded(true); + p_node->set_meta("_editor_collapsed",Variant()); + } +#endif + bool collapsed = p_node->is_displayed_folded(); if (collapsed) item->set_collapsed(true); } @@ -896,10 +903,7 @@ void SceneTreeEditor::_cell_collapsed(Object *p_obj) { Node *n=get_node(np); ERR_FAIL_COND(!n); - if (collapsed) - n->set_meta("_editor_collapsed",true); - else - n->set_meta("_editor_collapsed",Variant()); + n->set_display_folded(collapsed); } diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp index cbd7df9d18..75c983994e 100644 --- a/tools/editor/scenes_dock.cpp +++ b/tools/editor/scenes_dock.cpp @@ -37,6 +37,8 @@ #include "editor_settings.h" #include "scene/main/viewport.h" + + bool ScenesDock::_create_tree(TreeItem *p_parent,EditorFileSystemDirectory *p_dir) { @@ -57,60 +59,8 @@ bool ScenesDock::_create_tree(TreeItem *p_parent,EditorFileSystemDirectory *p_di item->select(0); } - - //item->set_custom_bg_color(0,get_color("prop_subsection","Editor")); - - bool has_items=false; - - for(int i=0;i<p_dir->get_subdir_count();i++) { - - if (_create_tree(item,p_dir->get_subdir(i))) - has_items=true; - } -#if 0 - for (int i=0;i<p_dir->get_file_count();i++) { - - String file_name = p_dir->get_file(i); - String file_path = p_dir->get_file_path(i); - - // ScenesDockFilter::FILTER_PATH - String search_from = file_path.right(6); // trim "res://" - if (file_filter == ScenesDockFilter::FILTER_NAME) - search_from = file_name; - else if (file_filter == ScenesDockFilter::FILTER_FOLDER) - search_from = file_path.right(6).get_base_dir(); - - if (search_term!="" && search_from.findn(search_term)==-1) - continue; - - bool isfave = favorites.has(file_path); - if (button_favorite->is_pressed() && !isfave) - continue; - - TreeItem *fitem = tree->create_item(item); - fitem->set_cell_mode(0,TreeItem::CELL_MODE_CHECK); - fitem->set_editable(0,true); - fitem->set_checked(0,isfave); - fitem->set_text(0,file_name); - - Ref<Texture> icon = get_icon( (has_icon(p_dir->get_file_type(i),"EditorIcons")?p_dir->get_file_type(i):String("Object")),"EditorIcons"); - fitem->set_icon(0, icon ); - - - fitem->set_metadata(0,file_path); - //if (p_dir->files[i]->icon.is_valid()) { -// fitem->set_icon(0,p_dir->files[i]->icon); -// } - has_items=true; - - } -#endif - /*if (!has_items) { - - memdelete(item); - return false; - - }*/ + for(int i=0;i<p_dir->get_subdir_count();i++) + _create_tree(item,p_dir->get_subdir(i)); return true; } @@ -164,12 +114,14 @@ void ScenesDock::_notification(int p_what) { if (split_mode) { file_list_vb->hide(); + tree->set_custom_minimum_size(Size2(0,0)); tree->set_v_size_flags(SIZE_EXPAND_FILL); button_back->show(); } else { tree->show(); file_list_vb->show(); + tree->set_custom_minimum_size(Size2(0,200)*EDSCALE); tree->set_v_size_flags(SIZE_FILL); button_back->hide(); if (!EditorFileSystem::get_singleton()->is_scanning()) { @@ -187,6 +139,7 @@ void ScenesDock::_notification(int p_what) { initialized=true; EditorFileSystem::get_singleton()->connect("filesystem_changed",this,"_fs_changed"); + EditorResourcePreview::get_singleton()->connect("preview_invalidated",this,"_preview_invalidated"); button_reload->set_icon( get_icon("Reload","EditorIcons")); button_favorite->set_icon( get_icon("Favorites","EditorIcons")); @@ -661,6 +614,27 @@ void ScenesDock::_go_to_dir(const String& p_dir){ } + +void ScenesDock::_preview_invalidated(const String& p_path) { + + if (p_path.get_base_dir()==path && search_box->get_text()==String() && file_list_vb->is_visible()) { + + + for(int i=0;i<files->get_item_count();i++) { + + if (files->get_item_metadata(i)==p_path) { + //re-request preview + Array udata; + udata.resize(2); + udata[0]=i; + udata[1]=files->get_item_text(i); + EditorResourcePreview::get_singleton()->queue_resource_preview(p_path,this,"_thumbnail_done",udata); + break; + } + } + } +} + void ScenesDock::_fs_changed() { button_hist_prev->set_disabled(history_pos==0); @@ -1618,6 +1592,9 @@ void ScenesDock::_bind_methods() { ObjectTypeDB::bind_method(_MD("drop_data_fw"), &ScenesDock::drop_data_fw); ObjectTypeDB::bind_method(_MD("_files_list_rmb_select"),&ScenesDock::_files_list_rmb_select); + ObjectTypeDB::bind_method(_MD("_preview_invalidated"),&ScenesDock::_preview_invalidated); + + ADD_SIGNAL(MethodInfo("instance")); ADD_SIGNAL(MethodInfo("open")); @@ -1702,7 +1679,6 @@ ScenesDock::ScenesDock(EditorNode *p_editor) { tree->set_hide_root(true); split_box->add_child(tree); - tree->set_custom_minimum_size(Size2(0,200)*EDSCALE); tree->set_drag_forwarding(this); diff --git a/tools/editor/scenes_dock.h b/tools/editor/scenes_dock.h index ed24711abb..0973fce250 100644 --- a/tools/editor/scenes_dock.h +++ b/tools/editor/scenes_dock.h @@ -168,6 +168,8 @@ class ScenesDock : public VBoxContainer { bool can_drop_data_fw(const Point2& p_point,const Variant& p_data,Control* p_from) const; void drop_data_fw(const Point2& p_point,const Variant& p_data,Control* p_from); + void _preview_invalidated(const String& p_path); + protected: void _notification(int p_what); static void _bind_methods(); diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index 6d8f54d88f..fc746bc21d 100644 --- a/tools/editor/script_editor_debugger.cpp +++ b/tools/editor/script_editor_debugger.cpp @@ -819,7 +819,6 @@ void ScriptEditorDebugger::_performance_draw() { if(which.empty()) return; - Color graph_color=get_color("font_color","TextEdit"); Ref<StyleBox> graph_sb = get_stylebox("normal","TextEdit"); Ref<Font> graph_font = get_font("font","TextEdit"); diff --git a/tools/editor/settings_config_dialog.cpp b/tools/editor/settings_config_dialog.cpp index e1a2ea162e..f436e369af 100644 --- a/tools/editor/settings_config_dialog.cpp +++ b/tools/editor/settings_config_dialog.cpp @@ -97,11 +97,24 @@ void EditorSettingsDialog::_clear_search_box() { property_editor->get_property_editor()->update_tree(); } +void EditorSettingsDialog::_clear_shortcut_search_box() { + if (shortcut_search_box->get_text()=="") + return; + + shortcut_search_box->clear(); +} + +void EditorSettingsDialog::_filter_shortcuts(const String& p_filter) { + shortcut_filter = p_filter; + _update_shortcuts(); +} + void EditorSettingsDialog::_notification(int p_what) { if (p_what==NOTIFICATION_ENTER_TREE) { clear_button->set_icon(get_icon("Close","EditorIcons")); + shortcut_clear_button->set_icon(get_icon("Close","EditorIcons")); } } @@ -137,26 +150,30 @@ void EditorSettingsDialog::_update_shortcuts() { sections[section_name]=section; section->set_custom_bg_color(0,get_color("prop_subsection","Editor")); section->set_custom_bg_color(1,get_color("prop_subsection","Editor")); - } - TreeItem *item = shortcuts->create_item(section); - - - item->set_text(0,sc->get_name()); - item->set_text(1,sc->get_as_text()); - if (!sc->is_shortcut(original) && !(sc->get_shortcut().type==InputEvent::NONE && original.type==InputEvent::NONE)) { - item->add_button(1,get_icon("Reload","EditorIcons"),2); + if (shortcut_filter.is_subsequence_ofi(sc->get_name())) { + TreeItem *item = shortcuts->create_item(section); + + item->set_text(0,sc->get_name()); + item->set_text(1,sc->get_as_text()); + if (!sc->is_shortcut(original) && !(sc->get_shortcut().type==InputEvent::NONE && original.type==InputEvent::NONE)) { + item->add_button(1,get_icon("Reload","EditorIcons"),2); + } + item->add_button(1,get_icon("Edit","EditorIcons"),0); + item->add_button(1,get_icon("Close","EditorIcons"),1); + item->set_tooltip(0,E->get()); + item->set_metadata(0,E->get()); } - item->add_button(1,get_icon("Edit","EditorIcons"),0); - item->add_button(1,get_icon("Close","EditorIcons"),1); - item->set_tooltip(0,E->get()); - item->set_metadata(0,E->get()); } - - - + // remove sections with no shortcuts + for(Map<String,TreeItem*>::Element *E=sections.front();E;E=E->next()) { + TreeItem *section = E->get(); + if (section->get_children() == NULL) { + root->remove_child(section); + } + } } void EditorSettingsDialog::_shortcut_button_pressed(Object* p_item,int p_column,int p_idx) { @@ -265,7 +282,9 @@ void EditorSettingsDialog::_bind_methods() { ObjectTypeDB::bind_method(_MD("_settings_save"),&EditorSettingsDialog::_settings_save); ObjectTypeDB::bind_method(_MD("_settings_changed"),&EditorSettingsDialog::_settings_changed); ObjectTypeDB::bind_method(_MD("_clear_search_box"),&EditorSettingsDialog::_clear_search_box); + ObjectTypeDB::bind_method(_MD("_clear_shortcut_search_box"),&EditorSettingsDialog::_clear_shortcut_search_box); ObjectTypeDB::bind_method(_MD("_shortcut_button_pressed"),&EditorSettingsDialog::_shortcut_button_pressed); + ObjectTypeDB::bind_method(_MD("_filter_shortcuts"),&EditorSettingsDialog::_filter_shortcuts); ObjectTypeDB::bind_method(_MD("_update_shortcuts"),&EditorSettingsDialog::_update_shortcuts); ObjectTypeDB::bind_method(_MD("_press_a_key_confirm"),&EditorSettingsDialog::_press_a_key_confirm); ObjectTypeDB::bind_method(_MD("_wait_for_key"),&EditorSettingsDialog::_wait_for_key); @@ -311,6 +330,23 @@ EditorSettingsDialog::EditorSettingsDialog() { tabs->add_child(vbc); vbc->set_name(TTR("Shortcuts")); + hbc = memnew( HBoxContainer ); + hbc->set_h_size_flags(Control::SIZE_EXPAND_FILL); + vbc->add_child(hbc); + + l = memnew( Label ); + l->set_text(TTR("Search:")+" "); + hbc->add_child(l); + + shortcut_search_box = memnew( LineEdit ); + shortcut_search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL); + hbc->add_child(shortcut_search_box); + shortcut_search_box->connect("text_changed", this, "_filter_shortcuts"); + + shortcut_clear_button = memnew( ToolButton ); + hbc->add_child(shortcut_clear_button); + shortcut_clear_button->connect("pressed",this,"_clear_shortcut_search_box"); + shortcuts = memnew( Tree ); vbc->add_margin_child("Shortcut List:",shortcuts,true); shortcuts->set_columns(2); diff --git a/tools/editor/settings_config_dialog.h b/tools/editor/settings_config_dialog.h index c930de6a77..68a2b008f0 100644 --- a/tools/editor/settings_config_dialog.h +++ b/tools/editor/settings_config_dialog.h @@ -45,7 +45,9 @@ class EditorSettingsDialog : public AcceptDialog { TabContainer *tabs; LineEdit *search_box; + LineEdit *shortcut_search_box; ToolButton *clear_button; + ToolButton *shortcut_clear_button; SectionedPropertyEditor *property_editor; Timer *timer; @@ -56,6 +58,7 @@ class EditorSettingsDialog : public AcceptDialog { Label *press_a_key_label; InputEvent last_wait_for_key; String shortcut_configured; + String shortcut_filter; virtual void cancel_pressed(); virtual void ok_pressed(); @@ -69,8 +72,11 @@ class EditorSettingsDialog : public AcceptDialog { void _press_a_key_confirm(); void _wait_for_key(const InputEvent& p_event); + void _clear_shortcut_search_box(); void _clear_search_box(); + void _filter_shortcuts(const String& p_filter); + void _update_shortcuts(); void _shortcut_button_pressed(Object* p_item,int p_column,int p_idx); diff --git a/tools/editor/spatial_editor_gizmos.cpp b/tools/editor/spatial_editor_gizmos.cpp index 1ca62d3a63..480d33fd0a 100644 --- a/tools/editor/spatial_editor_gizmos.cpp +++ b/tools/editor/spatial_editor_gizmos.cpp @@ -424,16 +424,11 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po } Transform ti=t.affine_inverse(); - Vector3 ray_from=ti.xform(p_camera->project_ray_origin(p_point)); - Vector3 ray_dir=t.basis.xform_inv(p_camera->project_ray_normal(p_point)).normalized(); - Vector3 ray_to = ray_from+ray_dir*4096; float min_d=1e20; int idx=-1; for(int i=0;i<secondary_handles.size();i++) { -#if 1 - Vector3 hpos = t.xform(secondary_handles[i]); Vector2 p = p_camera->unproject_position(hpos); @@ -449,31 +444,7 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po idx=i+handles.size(); } - } - -#else - AABB aabb; - aabb.pos=Vector3(-1,-1,-1)*HANDLE_HALF_SIZE; - aabb.size=aabb.pos*-2; - aabb.pos+=secondary_handles[i]; - - - Vector3 rpos,rnorm; - - if (aabb.intersects_segment(ray_from,ray_to,&rpos,&rnorm)) { - - real_t dp = ray_dir.dot(rpos); - if (dp<min_d) { - - r_pos=t.xform(rpos); - r_normal=ti.basis.xform_inv(rnorm).normalized(); - min_d=dp; - idx=i+handles.size(); - - } - } -#endif } if (p_sec_first && idx!=-1) { @@ -486,9 +457,6 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po for(int i=0;i<handles.size();i++) { -#if 1 - - Vector3 hpos = t.xform(handles[i]); Vector2 p = p_camera->unproject_position(hpos); if (p.distance_to(p_point)<SpatialEditorGizmos::singleton->handle_t->get_width()*0.6) { @@ -503,32 +471,7 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po idx=i; } - - } - -#else - - AABB aabb; - aabb.pos=Vector3(-1,-1,-1)*HANDLE_HALF_SIZE; - aabb.size=aabb.pos*-2; - aabb.pos+=handles[i]; - - - Vector3 rpos,rnorm; - - if (aabb.intersects_segment(ray_from,ray_to,&rpos,&rnorm)) { - - real_t dp = ray_dir.dot(rpos); - if (dp<min_d) { - - r_pos=t.xform(rpos); - r_normal=ti.basis.xform_inv(rnorm).normalized(); - min_d=dp; - idx=i; - - } } -#endif } if (idx>=0) { @@ -612,9 +555,6 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po Vector3 ray_dir=ai.basis.xform(p_camera->project_ray_normal(p_point)).normalized(); Vector3 rpos,rnorm; -#if 1 - - if (collision_mesh->intersect_ray(ray_from,ray_dir,rpos,rnorm)) { @@ -622,16 +562,6 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po r_normal=gt.basis.xform(rnorm).normalized(); return true; } -#else - - if (collision_mesh->intersect_segment(ray_from,ray_from+ray_dir*4906.0,rpos,rnorm)) { - - r_pos=gt.xform(rpos); - r_normal=gt.basis.xform(rnorm).normalized(); - return true; - } - -#endif } return false; @@ -693,12 +623,11 @@ void EditorSpatialGizmo::_bind_methods() { ObjectTypeDB::bind_method(_MD("add_unscaled_billboard","material:Material","default_scale"),&EditorSpatialGizmo::add_unscaled_billboard,DEFVAL(1)); ObjectTypeDB::bind_method(_MD("add_handles","handles","billboard","secondary"),&EditorSpatialGizmo::add_handles,DEFVAL(false),DEFVAL(false)); ObjectTypeDB::bind_method(_MD("set_spatial_node","node:Spatial"),&EditorSpatialGizmo::_set_spatial_node); + ObjectTypeDB::bind_method(_MD("clear"),&EditorSpatialGizmo::clear); BIND_VMETHOD( MethodInfo("redraw")); BIND_VMETHOD( MethodInfo(Variant::STRING,"get_handle_name",PropertyInfo(Variant::INT,"index"))); - { - BIND_VMETHOD( MethodInfo("get_handle_value:Variant",PropertyInfo(Variant::INT,"index"))); - } + BIND_VMETHOD( MethodInfo("get_handle_value:Variant",PropertyInfo(Variant::INT,"index"))); BIND_VMETHOD( MethodInfo("set_handle",PropertyInfo(Variant::INT,"index"),PropertyInfo(Variant::OBJECT,"camera:Camera"),PropertyInfo(Variant::VECTOR2,"point"))); MethodInfo cm = MethodInfo("commit_handle",PropertyInfo(Variant::INT,"index"),PropertyInfo(Variant::NIL,"restore:Variant"),PropertyInfo(Variant::BOOL,"cancel")); cm.default_arguments.push_back(false); @@ -2250,7 +2179,6 @@ void VisibilityNotifierGizmo::set_handle(int p_idx,Camera *p_camera, const Point if (d<0.001) d=0.001; - Vector3 he = aabb.size; aabb.pos[p_idx]=(aabb.pos[p_idx]+aabb.size[p_idx]*0.5)-d; aabb.size[p_idx]=d*2; notifier->set_aabb(aabb); @@ -2456,8 +2384,6 @@ void HingeJointSpatialGizmo::redraw() { if (p3d->get_flag(HingeJoint::FLAG_USE_LIMIT) && ll<ul) { const int points = 32; - float step = (ul-ll)/points; - for(int i=0;i<points;i++) { @@ -2573,8 +2499,6 @@ void SliderJointSpatialGizmo::redraw() { if (ll<ul) { const int points = 32; - float step = (ul-ll)/points; - for(int i=0;i<points;i++) { @@ -2641,7 +2565,6 @@ SliderJointSpatialGizmo::SliderJointSpatialGizmo(SliderJoint* p_p3d) { void ConeTwistJointSpatialGizmo::redraw() { clear(); - float cs = 0.25; Vector<Vector3> points; float r = 1.0; @@ -2837,8 +2760,6 @@ void Generic6DOFJointSpatialGizmo::redraw() { if (enable_ang && ll<=ul) { const int points = 32; - float step = (ul-ll)/points; - for(int i=0;i<points;i++) { diff --git a/tools/export/blender25/godot_export_manager.py b/tools/export/blender25/godot_export_manager.py index a249611c71..c91f55b51c 100644 --- a/tools/export/blender25/godot_export_manager.py +++ b/tools/export/blender25/godot_export_manager.py @@ -18,23 +18,27 @@ # Script copyright (c) Andreas Esau +import bpy +from bpy.props import (StringProperty, BoolProperty, EnumProperty, + FloatProperty, IntProperty, CollectionProperty) +import os +from bpy.app.handlers import persistent +from mathutils import Matrix + bl_info = { "name": "Godot Export Manager", "author": "Andreas Esau", "version": (1, 0), "blender": (2, 7, 0), "location": "Scene Properties > Godot Export Manager", - "description": "Godot Export Manager uses the Better Collada Exporter to manage Export Groups and automatically export the objects groups to Collada Files.", + "description": "Godot Export Manager uses the Better Collada Exporter" + "to manage Export Groups and automatically export the objects groups" + "to Collada Files.", "warning": "", "wiki_url": ("http://www.godotengine.org"), "tracker_url": "", "category": "Import-Export"} -import bpy -from bpy.props import StringProperty, BoolProperty, EnumProperty, FloatProperty, FloatVectorProperty, IntProperty, CollectionProperty, PointerProperty -import os -from bpy.app.handlers import persistent -from mathutils import Vector, Matrix class godot_export_manager(bpy.types.Panel): bl_label = "Godot Export Manager" @@ -44,8 +48,8 @@ class godot_export_manager(bpy.types.Panel): bpy.types.Scene.godot_export_on_save = BoolProperty(default=False) - ### draw function for all ui elements def draw(self, context): + """ Draw function for all ui elements """ layout = self.layout split = self.layout.split() scene = bpy.data.scenes[0] @@ -54,38 +58,43 @@ class godot_export_manager(bpy.types.Panel): row = layout.row() col = row.column() - col.prop(scene,"godot_export_on_save",text="Export Groups on save") + col.prop(scene, "godot_export_on_save", text="Export Groups on save") row = layout.row() col = row.column(align=True) - op = col.operator("scene.godot_add_objects_to_group",text="Add selected objects to Group",icon="COPYDOWN") - - op = col.operator("scene.godot_delete_objects_from_group",text="Delete selected objects from Group",icon="PASTEDOWN") - + op = col.operator("scene.godot_add_objects_to_group", + text="Add selected objects to Group", + icon="COPYDOWN") + op = col.operator("scene.godot_delete_objects_from_group", + text="Delete selected objects from Group", + icon="PASTEDOWN") row = layout.row() col = row.column() col.label(text="Export Groups:") - row = layout.row() col = row.column() - col.template_list("UI_List_Godot","dummy",scene, "godot_export_groups", scene, "godot_export_groups_index",rows=1,maxrows=10,type='DEFAULT') + col.template_list("UI_List_Godot", "dummy", scene, + "godot_export_groups", scene, + "godot_export_groups_index", rows=1, maxrows=10, + type='DEFAULT') col = row.column(align=True) - col.operator("scene.godot_add_export_group",text="",icon="ZOOMIN") - col.operator("scene.godot_delete_export_group",text="",icon="ZOOMOUT") - col.operator("scene.godot_export_all_groups",text="",icon="EXPORT") + col.operator("scene.godot_add_export_group", text="", icon="ZOOMIN") + col.operator("scene.godot_delete_export_group", text="", + icon="ZOOMOUT") + col.operator("scene.godot_export_all_groups", text="", icon="EXPORT") if len(scene.godot_export_groups) > 0: row = layout.row() col = row.column() group = scene.godot_export_groups[scene.godot_export_groups_index] - col.prop(group,"name",text="Group Name") - col.prop(group,"export_name",text="Export Name") - col.prop(group,"export_path",text="Export Filepath") + col.prop(group, "name", text="Group Name") + col.prop(group, "export_name", text="Export Name") + col.prop(group, "export_path", text="Export Filepath") row = layout.row() col = row.column() @@ -94,41 +103,46 @@ class godot_export_manager(bpy.types.Panel): col.label(text="Export Settings:") col = col.row(align=True) - col.prop(group,"apply_loc",toggle=True,icon="MAN_TRANS") - col.prop(group,"apply_rot",toggle=True,icon="MAN_ROT") - col.prop(group,"apply_scale",toggle=True,icon="MAN_SCALE") + col.prop(group, "apply_loc", toggle=True, icon="MAN_TRANS") + col.prop(group, "apply_rot", toggle=True, icon="MAN_ROT") + col.prop(group, "apply_scale", toggle=True, icon="MAN_SCALE") row = layout.row() col = row.column() - col.prop(group,"use_include_particle_duplicates") - col.prop(group,"use_mesh_modifiers") - col.prop(group,"use_tangent_arrays") - col.prop(group,"use_triangles") - col.prop(group,"use_copy_images") - col.prop(group,"use_active_layers") - col.prop(group,"use_anim") - col.prop(group,"use_anim_action_all") - col.prop(group,"use_anim_skip_noexp") - col.prop(group,"use_anim_optimize") - col.prop(group,"anim_optimize_precision") - col.prop(group,"use_metadata") - -### Custom template_list look + col.prop(group, "use_include_particle_duplicates") + col.prop(group, "use_mesh_modifiers") + col.prop(group, "use_tangent_arrays") + col.prop(group, "use_triangles") + col.prop(group, "use_copy_images") + col.prop(group, "use_active_layers") + col.prop(group, "use_anim") + col.prop(group, "use_anim_action_all") + col.prop(group, "use_anim_skip_noexp") + col.prop(group, "use_anim_optimize") + col.prop(group, "anim_optimize_precision") + col.prop(group, "use_metadata") + + class UI_List_Godot(bpy.types.UIList): - def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): + """ Custom template_list look """ + def draw_item(self, context, layout, data, item, icon, active_data, + active_propname, index): ob = data slot = item col = layout.row(align=True) - col.label(text=item.name,icon="GROUP") - col.prop(item,"active",text="") + col.label(text=item.name, icon="GROUP") + col.prop(item, "active", text="") - op = col.operator("scene.godot_select_group_objects",text="",emboss=False,icon="RESTRICT_SELECT_OFF") + op = col.operator("scene.godot_select_group_objects", + text="", emboss=False, icon="RESTRICT_SELECT_OFF") op.idx = index - op = col.operator("scene.godot_export_group",text="",emboss=False,icon="EXPORT") + op = col.operator("scene.godot_export_group", text="", emboss=False, + icon="EXPORT") op.idx = index + class add_objects_to_group(bpy.types.Operator): bl_idname = "scene.godot_add_objects_to_group" bl_label = "Add Objects to Group" @@ -136,34 +150,37 @@ class add_objects_to_group(bpy.types.Operator): undo = BoolProperty(default=True) - def execute(self,context): + def execute(self, context): scene = context.scene objects_str = "" if len(scene.godot_export_groups) > 0: - for i,object in enumerate(context.selected_objects): - if object.name not in scene.godot_export_groups[scene.godot_export_groups_index].nodes: - node = scene.godot_export_groups[scene.godot_export_groups_index].nodes.add() + for i, object in enumerate(context.selected_objects): + if object.name not in scene.godot_export_groups[ + scene.godot_export_groups_index].nodes: + node = scene.godot_export_groups[ + scene.godot_export_groups_index].nodes.add() node.name = object.name if i == 0: objects_str += object.name else: objects_str += ", "+object.name - - self.report({'INFO'}, objects_str + " added to group." ) + self.report({'INFO'}, objects_str + " added to group.") if self.undo: bpy.ops.ed.undo_push(message="Objects added to group") else: - self.report({'WARNING'}, "Create a group first." ) - return{'FINISHED'} + self.report({'WARNING'}, "Create a group first.") + + return {'FINISHED'} + class del_objects_from_group(bpy.types.Operator): bl_idname = "scene.godot_delete_objects_from_group" bl_label = "Delete Objects from Group" bl_description = "Delets the selected Objects from the active group below." - def execute(self,context): + def execute(self, context): scene = context.scene if len(scene.godot_export_groups) > 0: @@ -174,23 +191,25 @@ class del_objects_from_group(bpy.types.Operator): objects_str = "" j = 0 - for i,node in enumerate(scene.godot_export_groups[scene.godot_export_groups_index].nodes): + for i, node in enumerate(scene.godot_export_groups[ + scene.godot_export_groups_index].nodes): if node.name in selected_objects: - scene.godot_export_groups[scene.godot_export_groups_index].nodes.remove(i) - + scene.godot_export_groups[ + scene.godot_export_groups_index].nodes.remove(i) if j == 0: objects_str += object.name else: objects_str += ", "+object.name - j+=1 - + j += 1 - self.report({'INFO'}, objects_str + " deleted from group." ) + self.report({'INFO'}, objects_str + " deleted from group.") bpy.ops.ed.undo_push(message="Objects deleted from group") else: - self.report({'WARNING'}, "There is no group to delete from." ) - return{'FINISHED'} + self.report({'WARNING'}, "There is no group to delete from.") + + return {'FINISHED'} + class select_group_objects(bpy.types.Operator): bl_idname = "scene.godot_select_group_objects" @@ -199,7 +218,7 @@ class select_group_objects(bpy.types.Operator): idx = IntProperty() - def execute(self,context): + def execute(self, context): scene = context.scene for object in context.scene.objects: object.select = False @@ -207,76 +226,82 @@ class select_group_objects(bpy.types.Operator): if node.name in bpy.data.objects: bpy.data.objects[node.name].select = True context.scene.objects.active = bpy.data.objects[node.name] - return{'FINISHED'} + + return {'FINISHED'} + class export_groups_autosave(bpy.types.Operator): bl_idname = "scene.godot_export_groups_autosave" bl_label = "Export All Groups" bl_description = "Exports all groups to Collada." - def execute(self,context): + def execute(self, context): scene = context.scene if scene.godot_export_on_save: for i in range(len(scene.godot_export_groups)): if scene.godot_export_groups[i].active: bpy.ops.scene.godot_export_group(idx=i) - self.report({'INFO'}, "All Groups exported." ) + self.report({'INFO'}, "All Groups exported.") bpy.ops.ed.undo_push(message="Export all Groups") - return{'FINISHED'} + + return {'FINISHED'} + class export_all_groups(bpy.types.Operator): bl_idname = "scene.godot_export_all_groups" bl_label = "Export All Groups" bl_description = "Exports all groups to Collada." - def execute(self,context): + def execute(self, context): scene = context.scene - for i in range(0,len(scene.godot_export_groups)): - bpy.ops.scene.godot_export_group(idx=i,export_all=True) + for i in range(0, len(scene.godot_export_groups)): + bpy.ops.scene.godot_export_group(idx=i, export_all=True) - self.report({'INFO'}, "All Groups exported." ) - return{'FINISHED'} + self.report({'INFO'}, "All Groups exported.") + + return {'FINISHED'} class export_group(bpy.types.Operator): bl_idname = "scene.godot_export_group" bl_label = "Export Group" - bl_description = "Exports the active group to destination folder as Collada file." + bl_description = "Exports the active group to destination folder"\ + " as Collada file." idx = IntProperty(default=0) export_all = BoolProperty(default=False) - - def copy_object_recursive(self,ob,parent,single_user = True): + def copy_object_recursive(self, ob, parent, single_user=True): new_ob = bpy.data.objects[ob.name].copy() - if single_user or ob.type=="ARMATURE": + if single_user or ob.type == "ARMATURE": new_mesh_data = new_ob.data.copy() new_ob.data = new_mesh_data bpy.context.scene.objects.link(new_ob) if ob != parent: - new_ob.parent = parent + new_ob.parent = parent else: new_ob.parent = None for child in ob.children: - self.copy_object_recursive(child,new_ob,single_user) + self.copy_object_recursive(child, new_ob, single_user) new_ob.select = True + return new_ob - def delete_object(self,ob): - if ob != None: + def delete_object(self, ob): + if ob is not None: for child in ob.children: self.delete_object(child) bpy.context.scene.objects.unlink(ob) bpy.data.objects.remove(ob) - def convert_group_to_node(self,group): - if group.dupli_group != None: + def convert_group_to_node(self, group): + if group.dupli_group is not None: for object in group.dupli_group.objects: - if object.parent == None: - object = self.copy_object_recursive(object,object,True) + if object.parent is None: + object = self.copy_object_recursive(object, object, True) matrix = Matrix(object.matrix_local) object.matrix_local = Matrix() object.matrix_local *= group.matrix_local @@ -284,7 +309,7 @@ class export_group(bpy.types.Operator): self.delete_object(group) - def execute(self,context): + def execute(self, context): scene = context.scene group = context.scene.godot_export_groups @@ -292,7 +317,7 @@ class export_group(bpy.types.Operator): if not group[self.idx].active and self.export_all: return{'FINISHED'} - for i,object in enumerate(group[self.idx].nodes): + for i, object in enumerate(group[self.idx].nodes): if object.name in bpy.data.objects: pass else: @@ -300,21 +325,21 @@ class export_group(bpy.types.Operator): bpy.ops.ed.undo_push(message="Clear not existent Group Nodes.") path = group[self.idx].export_path - if (path.find("//")==0 or path.find("\\\\")==0): - #if relative, convert to absolute + if (path.find("//") == 0 or path.find("\\\\") == 0): + # If relative, convert to absolute path = bpy.path.abspath(path) - path = path.replace("\\","/") + path = path.replace("\\", "/") - ### if path exists and group export name is set the group will be exported - if os.path.exists(path) and group[self.idx].export_name != "": - - context.scene.layers = [True,True,True,True,True,True,True,True,True,True,True,True,True,True,True,True,True,True,True,True] + # If path exists and group export name is set the group will be + # exported + if os.path.exists(path) and group[self.idx].export_name != "": + context.scene.layers = [True] * 20 if group[self.idx].export_name.endswith(".dae"): - path = os.path.join(path,group[self.idx].export_name) + path = os.path.join(path, group[self.idx].export_name) else: - path = os.path.join(path,group[self.idx].export_name+".dae") + path = os.path.join(path, group[self.idx].export_name+".dae") hide_select = [] for object in context.scene.objects: @@ -323,17 +348,19 @@ class export_group(bpy.types.Operator): object.select = False context.scene.objects.active = None - ### make particle duplicates, parent and select them + # Make particle duplicates, parent and select them nodes_to_be_added = [] if group[self.idx].use_include_particle_duplicates: - for i,object in enumerate(group[self.idx].nodes): + for i, object in enumerate(group[self.idx].nodes): if bpy.data.objects[object.name].type != "EMPTY": - context.scene.objects.active = bpy.data.objects[object.name] + context.scene.objects.active = bpy.data.objects[ + object.name] bpy.data.objects[object.name].select = True bpy.ops.object.duplicates_make_real() for object in context.selected_objects: nodes_to_be_added.append(object) - bpy.ops.object.parent_set(type="OBJECT", keep_transform=False) + bpy.ops.object.parent_set(type="OBJECT", + keep_transform=False) for object in context.selected_objects: object.select = False @@ -342,17 +369,35 @@ class export_group(bpy.types.Operator): for object in nodes_to_be_added: object.select = True - ### select all other nodes from the group - for i,object in enumerate(group[self.idx].nodes): + # Select all other nodes from the group + for i, object in enumerate(group[self.idx].nodes): if bpy.data.objects[object.name].type == "EMPTY": self.convert_group_to_node(bpy.data.objects[object.name]) else: bpy.data.objects[object.name].select = True - bpy.ops.object.transform_apply(location=group[self.idx].apply_loc, rotation=group[self.idx].apply_rot, scale=group[self.idx].apply_scale) - bpy.ops.export_scene.dae(check_existing=True, filepath=path, filter_glob="*.dae", object_types=group[self.idx].object_types, use_export_selected=group[self.idx].use_export_selected, use_mesh_modifiers=group[self.idx].use_mesh_modifiers, use_tangent_arrays=group[self.idx].use_tangent_arrays, use_triangles=group[self.idx].use_triangles, use_copy_images=group[self.idx].use_copy_images, use_active_layers=group[self.idx].use_active_layers, use_anim=group[self.idx].use_anim, use_anim_action_all=group[self.idx].use_anim_action_all, use_anim_skip_noexp=group[self.idx].use_anim_skip_noexp, use_anim_optimize=group[self.idx].use_anim_optimize, anim_optimize_precision=group[self.idx].anim_optimize_precision, use_metadata=group[self.idx].use_metadata) - - self.report({'INFO'}, '"'+group[self.idx].name+'"' + " Group exported." ) + bpy.ops.object.transform_apply(location=group[self.idx].apply_loc, + rotation=group[self.idx].apply_rot, + scale=group[self.idx].apply_scale) + bpy.ops.export_scene.dae( + check_existing=True, filepath=path, filter_glob="*.dae", + object_types=group[self.idx].object_types, + use_export_selected=group[self.idx].use_export_selected, + use_mesh_modifiers=group[self.idx].use_mesh_modifiers, + use_tangent_arrays=group[self.idx].use_tangent_arrays, + use_triangles=group[self.idx].use_triangles, + use_copy_images=group[self.idx].use_copy_images, + use_active_layers=group[self.idx].use_active_layers, + use_anim=group[self.idx].use_anim, + use_anim_action_all=group[self.idx].use_anim_action_all, + use_anim_skip_noexp=group[self.idx].use_anim_skip_noexp, + use_anim_optimize=group[self.idx].use_anim_optimize, + anim_optimize_precision=group[ + self.idx].anim_optimize_precision, + use_metadata=group[self.idx].use_metadata) + + self.report({'INFO'}, + '"' + group[self.idx].name + '" Group exported.') msg = "Export Group "+group[self.idx].name bpy.ops.ed.undo_push(message="") @@ -360,15 +405,18 @@ class export_group(bpy.types.Operator): bpy.ops.ed.undo_push(message=msg) else: - self.report({'INFO'}, "Define Export Name and Export Path." ) + self.report({'INFO'}, "Define Export Name and Export Path.") + return{'FINISHED'} + class add_export_group(bpy.types.Operator): bl_idname = "scene.godot_add_export_group" bl_label = "Adds a new export Group" - bl_description = "Creates a new Export Group with the selected Objects assigned to it." + bl_description = "Creates a new Export Group with the selected"\ + " Objects assigned to it." - def execute(self,context): + def execute(self, context): scene = context.scene item = scene.godot_export_groups.add() @@ -378,8 +426,10 @@ class add_export_group(bpy.types.Operator): node.name = object.name scene.godot_export_groups_index = len(scene.godot_export_groups)-1 bpy.ops.ed.undo_push(message="Create New Export Group") + return{'FINISHED'} + class del_export_group(bpy.types.Operator): bl_idname = "scene.godot_delete_export_group" bl_label = "Delets the selected export Group" @@ -387,49 +437,100 @@ class del_export_group(bpy.types.Operator): def invoke(self, context, event): wm = context.window_manager - return wm.invoke_confirm(self,event) - def execute(self,context): + return wm.invoke_confirm(self, event) + + def execute(self, context): scene = context.scene scene.godot_export_groups.remove(scene.godot_export_groups_index) if scene.godot_export_groups_index > 0: scene.godot_export_groups_index -= 1 bpy.ops.ed.undo_push(message="Delete Export Group") - return{'FINISHED'} + + return {'FINISHED'} + class godot_node_list(bpy.types.PropertyGroup): name = StringProperty() + class godot_export_groups(bpy.types.PropertyGroup): name = StringProperty(name="Group Name") export_name = StringProperty(name="scene_name") nodes = CollectionProperty(type=godot_node_list) export_path = StringProperty(subtype="DIR_PATH") - active = BoolProperty(default=True,description="Export Group") - - object_types = EnumProperty(name="Object Types",options={'ENUM_FLAG'},items=(('EMPTY', "Empty", ""),('CAMERA', "Camera", ""),('LAMP', "Lamp", ""),('ARMATURE', "Armature", ""),('MESH', "Mesh", ""),('CURVE', "Curve", ""),),default={'EMPTY', 'CAMERA', 'LAMP', 'ARMATURE', 'MESH','CURVE'}) + active = BoolProperty(default=True, description="Export Group") + + object_types = EnumProperty(name="Object Types", options={'ENUM_FLAG'}, + items=(('EMPTY', "Empty", ""), + ('CAMERA', "Camera", ""), + ('LAMP', "Lamp", ""), + ('ARMATURE', "Armature", ""), + ('MESH', "Mesh", ""), + ('CURVE', "Curve", ""), ), + default={'EMPTY', 'CAMERA', 'LAMP', + 'ARMATURE', 'MESH', 'CURVE'}) + + apply_scale = BoolProperty(name="Apply Scale", + description="Apply Scale before export.", + default=False) + apply_rot = BoolProperty(name="Apply Rotation", + description="Apply Rotation before export.", + default=False) + apply_loc = BoolProperty(name="Apply Location", + description="Apply Location before export.", + default=False) + + use_export_selected = BoolProperty(name="Selected Objects", + description="Export only selected" + "objects (and visible in active layers " + "if that applies).", default=True) + use_mesh_modifiers = BoolProperty(name="Apply Modifiers", + description="Apply modifiers to mesh" + " objects (on a copy!).", default=True) + use_tangent_arrays = BoolProperty(name="Tangent Arrays", + description="Export Tangent and Binormal" + " arrays (for normalmapping).", + default=False) + use_triangles = BoolProperty(name="Triangulate", + description="Export Triangles instead of" + " Polygons.", default=False) + + use_copy_images = BoolProperty(name="Copy Images", + description="Copy Images (create images/ " + "subfolder)", default=False) + use_active_layers = BoolProperty(name="Active Layers", + description="Export only objects on the" + " active layers.", default=True) + use_anim = BoolProperty(name="Export Animation", + description="Export keyframe animation", + default=False) + use_anim_action_all = BoolProperty(name="All Actions", + description=("Export all actions for " + "the first armature found" + " in separate DAE files"), + default=False) + use_anim_skip_noexp = BoolProperty(name="Skip (-noexp) Actions", + description="Skip exporting of" + " actions whose name end in (-noexp)." + " Useful to skip control animations.", + default=True) + use_anim_optimize = BoolProperty(name="Optimize Keyframes", + description="Remove double keyframes", + default=True) + + anim_optimize_precision = FloatProperty( + name="Precision", description=("Tolerence for comparing double " + "keyframes (higher for greater " + "accuracy)"), min=1, max=16, + soft_min=1, soft_max=16, default=6.0) + + use_metadata = BoolProperty(name="Use Metadata", default=True, + options={'HIDDEN'}) + use_include_particle_duplicates = BoolProperty( + name="Include Particle Duplicates", default=True) - apply_scale = BoolProperty(name="Apply Scale",description="Apply Scale before export.",default=False) - apply_rot = BoolProperty(name="Apply Rotation",description="Apply Rotation before export.",default=False) - apply_loc = BoolProperty(name="Apply Location",description="Apply Location before export.",default=False) - - use_export_selected = BoolProperty(name="Selected Objects",description="Export only selected objects (and visible in active layers if that applies).",default=True) - use_mesh_modifiers = BoolProperty(name="Apply Modifiers",description="Apply modifiers to mesh objects (on a copy!).",default=True) - use_tangent_arrays = BoolProperty(name="Tangent Arrays",description="Export Tangent and Binormal arrays (for normalmapping).",default=False) - use_triangles = BoolProperty(name="Triangulate",description="Export Triangles instead of Polygons.",default=False) - - use_copy_images = BoolProperty(name="Copy Images",description="Copy Images (create images/ subfolder)",default=False) - use_active_layers = BoolProperty(name="Active Layers",description="Export only objects on the active layers.",default=True) - use_anim = BoolProperty(name="Export Animation",description="Export keyframe animation",default=False) - use_anim_action_all = BoolProperty(name="All Actions",description=("Export all actions for the first armature found in separate DAE files"),default=False) - use_anim_skip_noexp = BoolProperty(name="Skip (-noexp) Actions",description="Skip exporting of actions whose name end in (-noexp). Useful to skip control animations.",default=True) - use_anim_optimize = BoolProperty(name="Optimize Keyframes",description="Remove double keyframes",default=True) - - anim_optimize_precision = FloatProperty(name="Precision",description=("Tolerence for comparing double keyframes (higher for greater accuracy)"),min=1, max=16,soft_min=1, soft_max=16,default=6.0) - - use_metadata = BoolProperty(name="Use Metadata",default=True,options={'HIDDEN'}) - use_include_particle_duplicates = BoolProperty(name="Include Particle Duplicates",default=True) def register(): bpy.utils.register_class(godot_export_manager) @@ -445,8 +546,10 @@ def register(): bpy.utils.register_class(select_group_objects) bpy.utils.register_class(UI_List_Godot) - bpy.types.Scene.godot_export_groups = CollectionProperty(type=godot_export_groups) - bpy.types.Scene.godot_export_groups_index = IntProperty(default=0,min=0) + bpy.types.Scene.godot_export_groups = CollectionProperty( + type=godot_export_groups) + bpy.types.Scene.godot_export_groups_index = IntProperty(default=0, min=0) + def unregister(): bpy.utils.unregister_class(godot_export_manager) @@ -462,6 +565,7 @@ def unregister(): bpy.utils.unregister_class(select_group_objects) bpy.utils.unregister_class(UI_List_Godot) + @persistent def auto_export(dummy): bpy.ops.scene.godot_export_groups_autosave() diff --git a/tools/export/blender25/io_scene_dae/__init__.py b/tools/export/blender25/io_scene_dae/__init__.py index a1a0eabbbe..0b82e1537b 100644 --- a/tools/export/blender25/io_scene_dae/__init__.py +++ b/tools/export/blender25/io_scene_dae/__init__.py @@ -18,35 +18,30 @@ # <pep8-80 compliant> +import bpy +from bpy.props import StringProperty, BoolProperty, FloatProperty, EnumProperty + +from bpy_extras.io_utils import ExportHelper bl_info = { "name": "Better Collada Exporter", "author": "Juan Linietsky", "blender": (2, 5, 8), "api": 38691, "location": "File > Import-Export", - "description": ("Export DAE Scenes, This plugin actually works better! otherwise contact me."), + "description": ("Export DAE Scenes, This plugin actually works better! " + "otherwise contact me."), "warning": "", "wiki_url": ("http://www.godotengine.org"), "tracker_url": "", "support": 'OFFICIAL', "category": "Import-Export"} - if "bpy" in locals(): import imp if "export_dae" in locals(): imp.reload(export_dae) -import bpy -from bpy.props import StringProperty, BoolProperty, FloatProperty, EnumProperty - -from bpy_extras.io_utils import (ExportHelper, - path_reference_mode, - axis_conversion, - ) - - class ExportDAE(bpy.types.Operator, ExportHelper): '''Selection to DAE''' bl_idname = "export_scene.dae" @@ -59,90 +54,94 @@ class ExportDAE(bpy.types.Operator, ExportHelper): # List of operator properties, the attributes will be assigned # to the class instance from the operator settings before calling. - object_types = EnumProperty( - name="Object Types", - options={'ENUM_FLAG'}, - items=(('EMPTY', "Empty", ""), - ('CAMERA', "Camera", ""), - ('LAMP', "Lamp", ""), - ('ARMATURE', "Armature", ""), - ('MESH', "Mesh", ""), - ('CURVE', "Curve", ""), - ), - default={'EMPTY', 'CAMERA', 'LAMP', 'ARMATURE', 'MESH','CURVE'}, - ) + name="Object Types", + options={'ENUM_FLAG'}, + items=(('EMPTY', "Empty", ""), + ('CAMERA', "Camera", ""), + ('LAMP', "Lamp", ""), + ('ARMATURE', "Armature", ""), + ('MESH', "Mesh", ""), + ('CURVE', "Curve", ""), + ), + default={'EMPTY', 'CAMERA', 'LAMP', 'ARMATURE', 'MESH', 'CURVE'}, + ) use_export_selected = BoolProperty( - name="Selected Objects", - description="Export only selected objects (and visible in active layers if that applies).", - default=False, - ) + name="Selected Objects", + description="Export only selected objects (and visible in active " + "layers if that applies).", + default=False, + ) use_mesh_modifiers = BoolProperty( - name="Apply Modifiers", - description="Apply modifiers to mesh objects (on a copy!).", - default=False, - ) + name="Apply Modifiers", + description="Apply modifiers to mesh objects (on a copy!).", + default=False, + ) use_tangent_arrays = BoolProperty( - name="Tangent Arrays", - description="Export Tangent and Binormal arrays (for normalmapping).", - default=False, - ) + name="Tangent Arrays", + description="Export Tangent and Binormal arrays " + "(for normalmapping).", + default=False, + ) use_triangles = BoolProperty( - name="Triangulate", - description="Export Triangles instead of Polygons.", - default=False, - ) + name="Triangulate", + description="Export Triangles instead of Polygons.", + default=False, + ) use_copy_images = BoolProperty( - name="Copy Images", - description="Copy Images (create images/ subfolder)", - default=False, - ) + name="Copy Images", + description="Copy Images (create images/ subfolder)", + default=False, + ) use_active_layers = BoolProperty( - name="Active Layers", - description="Export only objects on the active layers.", - default=True, - ) + name="Active Layers", + description="Export only objects on the active layers.", + default=True, + ) use_anim = BoolProperty( - name="Export Animation", - description="Export keyframe animation", - default=False, - ) + name="Export Animation", + description="Export keyframe animation", + default=False, + ) use_anim_action_all = BoolProperty( - name="All Actions", - description=("Export all actions for the first armature found in separate DAE files"), - default=False, - ) + name="All Actions", + description=("Export all actions for the first armature found " + "in separate DAE files"), + default=False, + ) use_anim_skip_noexp = BoolProperty( - name="Skip (-noexp) Actions", - description="Skip exporting of actions whose name end in (-noexp). Useful to skip control animations.", - default=True, - ) + name="Skip (-noexp) Actions", + description="Skip exporting of actions whose name end in (-noexp)." + " Useful to skip control animations.", + default=True, + ) use_anim_optimize = BoolProperty( - name="Optimize Keyframes", - description="Remove double keyframes", - default=True, - ) + name="Optimize Keyframes", + description="Remove double keyframes", + default=True, + ) anim_optimize_precision = FloatProperty( - name="Precision", - description=("Tolerence for comparing double keyframes " - "(higher for greater accuracy)"), - min=1, max=16, - soft_min=1, soft_max=16, - default=6.0, - ) + name="Precision", + description=("Tolerence for comparing double keyframes " + "(higher for greater accuracy)"), + min=1, max=16, + soft_min=1, soft_max=16, + default=6.0, + ) use_metadata = BoolProperty( - name="Use Metadata", - default=True, - options={'HIDDEN'}, - ) + name="Use Metadata", + default=True, + options={'HIDDEN'}, + ) @property def check_extension(self): - return True#return self.batch_mode == 'OFF' + # return self.batch_mode == 'OFF' + return True def check(self, context): return True diff --git a/tools/export/blender25/io_scene_dae/export_dae.py b/tools/export/blender25/io_scene_dae/export_dae.py index 2f7d1ddd86..9f8458c0da 100644 --- a/tools/export/blender25/io_scene_dae/export_dae.py +++ b/tools/export/blender25/io_scene_dae/export_dae.py @@ -46,1679 +46,1878 @@ import bpy import bmesh from mathutils import Vector, Matrix -#according to collada spec, order matters -S_ASSET=0 -S_IMGS=1 -S_FX=2 -S_MATS=3 -S_GEOM=4 -S_MORPH=5 -S_SKIN=6 -S_CONT=7 -S_CAMS=8 -S_LAMPS=9 -S_ANIM_CLIPS=10 -S_NODES=11 -S_ANIM=12 - -CMP_EPSILON=0.0001 +# According to collada spec, order matters +S_ASSET = 0 +S_IMGS = 1 +S_FX = 2 +S_MATS = 3 +S_GEOM = 4 +S_MORPH = 5 +S_SKIN = 6 +S_CONT = 7 +S_CAMS = 8 +S_LAMPS = 9 +S_ANIM_CLIPS = 10 +S_NODES = 11 +S_ANIM = 12 + +CMP_EPSILON = 0.0001 + def snap_tup(tup): - ret=() - for x in tup: - ret+=( x-math.fmod(x,0.0001), ) + ret = () + for x in tup: + ret += (x - math.fmod(x, 0.0001), ) - return tup + return tup def strmtx(mtx): - s=" " - for x in range(4): - for y in range(4): - s+=str(mtx[x][y]) - s+=" " - s+=" " - return s - -def numarr(a,mult=1.0): - s=" " - for x in a: - s+=" "+str(x*mult) - s+=" " - return s - -def numarr_alpha(a,mult=1.0): - s=" " - for x in a: - s+=" "+str(x*mult) - if len(a) == 3: - s+=" 1.0" - s+=" " - return s - -def strarr(arr): - s=" " - for x in arr: - s+=" "+str(x) - s+=" " - return s - -class DaeExporter: - - def validate_id(self,d): - if (d.find("id-")==0): - return "z"+d - return d - - - def new_id(self,t): - self.last_id+=1 - return "id-"+t+"-"+str(self.last_id) - - class Vertex: - - def close_to(v): - if ( (self.vertex-v.vertex).length() > CMP_EPSILON ): - return False - if ( (self.normal-v.normal).length() > CMP_EPSILON ): - return False - if ( (self.uv-v.uv).length() > CMP_EPSILON ): - return False - if ( (self.uv2-v.uv2).length() > CMP_EPSILON ): - return False - - return True - - def get_tup(self): - tup = (self.vertex.x,self.vertex.y,self.vertex.z,self.normal.x,self.normal.y,self.normal.z) - for t in self.uv: - tup = tup + (t.x,t.y) - if (self.color!=None): - tup = tup + (self.color.x,self.color.y,self.color.z) - if (self.tangent!=None): - tup = tup + (self.tangent.x,self.tangent.y,self.tangent.z) - if (self.bitangent!=None): - tup = tup + (self.bitangent.x,self.bitangent.y,self.bitangent.z) - for t in self.bones: - tup = tup + (float(t),) - for t in self.weights: - tup = tup + (float(t),) - - return tup - - def __init__(self): - self.vertex = Vector( (0.0,0.0,0.0) ) - self.normal = Vector( (0.0,0.0,0.0) ) - self.tangent = None - self.bitangent = None - self.color = None - self.uv = [] - self.uv2 = Vector( (0.0,0.0) ) - self.bones=[] - self.weights=[] - - - def writel(self,section,indent,text): - if (not (section in self.sections)): - self.sections[section]=[] - line="" - for x in range(indent): - line+="\t" - line+=text - self.sections[section].append(line) - - - def export_image(self,image): - if (image in self.image_cache): - return self.image_cache[image] - - imgpath = image.filepath - if (imgpath.find("//")==0 or imgpath.find("\\\\")==0): - #if relative, convert to absolute - imgpath = bpy.path.abspath(imgpath) - - #path is absolute, now do something! - - if (self.config["use_copy_images"]): - #copy image - basedir = os.path.dirname(self.path)+"/images" - if (not os.path.isdir(basedir)): - os.makedirs(basedir) - - if os.path.isfile(imgpath): - dstfile=basedir+"/"+os.path.basename(imgpath) - - if (not os.path.isfile(dstfile)): - shutil.copy(imgpath,dstfile) - imgpath="images/"+os.path.basename(imgpath) - else: - ### if file is not found save it as png file in the destination folder - img_tmp_path = image.filepath - if img_tmp_path.endswith((".bmp",".rgb",".png",".jpeg",".jpg",".jp2",".tga",".cin",".dpx",".exr",".hdr",".tif")): - image.filepath = basedir+"/"+os.path.basename(img_tmp_path) - else: - image.filepath = basedir+"/"+image.name+".png" - - dstfile=basedir+"/"+os.path.basename(image.filepath) - - if (not os.path.isfile(dstfile)): - - image.save() - imgpath="images/"+os.path.basename(image.filepath) - image.filepath = img_tmp_path - - else: - #export relative, always, no one wants absolute paths. - try: - imgpath = os.path.relpath(imgpath,os.path.dirname(self.path)).replace("\\","/") # export unix compatible always - - except: - pass #fails sometimes, not sure why - - - imgid = self.new_id("image") - - print("FOR: "+imgpath) - -# if (not os.path.isfile(imgpath)): -# print("NOT FILE?") -# if imgpath.endswith((".bmp",".rgb",".png",".jpeg",".jpg",".jp2",".tga",".cin",".dpx",".exr",".hdr",".tif")): -# imgpath="images/"+os.path.basename(imgpath) -# else: -# imgpath="images/"+image.name+".png" - - self.writel(S_IMGS,1,'<image id="'+imgid+'" name="'+image.name+'">') - self.writel(S_IMGS,2,'<init_from>'+imgpath+'</init_from>') - self.writel(S_IMGS,1,'</image>') - self.image_cache[image]=imgid - return imgid - - def export_material(self,material,double_sided_hint=True): - - if (material in self.material_cache): - return self.material_cache[material] - - fxid = self.new_id("fx") - self.writel(S_FX,1,'<effect id="'+fxid+'" name="'+material.name+'-fx">') - self.writel(S_FX,2,'<profile_COMMON>') - - #Find and fetch the textures and create sources - sampler_table={} - diffuse_tex=None - specular_tex=None - emission_tex=None - normal_tex=None - for i in range(len(material.texture_slots)): - ts=material.texture_slots[i] - if (not ts): - continue - if (not ts.use): - continue - if (not ts.texture): - continue - if (ts.texture.type!="IMAGE"): - continue - - if (ts.texture.image==None): - continue - - #image - imgid = self.export_image(ts.texture.image) - - #surface - surface_sid = self.new_id("fx_surf") - self.writel(S_FX,3,'<newparam sid="'+surface_sid+'">') - self.writel(S_FX,4,'<surface type="2D">') - self.writel(S_FX,5,'<init_from>'+imgid+'</init_from>') #this is sooo weird - self.writel(S_FX,5,'<format>A8R8G8B8</format>') - self.writel(S_FX,4,'</surface>') - self.writel(S_FX,3,'</newparam>') - #sampler, collada sure likes it difficult - sampler_sid = self.new_id("fx_sampler") - self.writel(S_FX,3,'<newparam sid="'+sampler_sid+'">') - self.writel(S_FX,4,'<sampler2D>') - self.writel(S_FX,5,'<source>'+surface_sid+'</source>') - self.writel(S_FX,4,'</sampler2D>') - self.writel(S_FX,3,'</newparam>') - sampler_table[i]=sampler_sid - - if (ts.use_map_color_diffuse and diffuse_tex==None): - diffuse_tex=sampler_sid - if (ts.use_map_color_spec and specular_tex==None): - specular_tex=sampler_sid - if (ts.use_map_emit and emission_tex==None): - emission_tex=sampler_sid - if (ts.use_map_normal and normal_tex==None): - normal_tex=sampler_sid - - self.writel(S_FX,3,'<technique sid="common">') - shtype="blinn" - self.writel(S_FX,4,'<'+shtype+'>') - #ambient? from where? - - self.writel(S_FX,5,'<emission>') - if (emission_tex!=None): - self.writel(S_FX,6,'<texture texture="'+emission_tex+'" texcoord="CHANNEL1"/>') - else: - self.writel(S_FX,6,'<color>'+numarr_alpha(material.diffuse_color,material.emit)+' </color>') # not totally right but good enough - self.writel(S_FX,5,'</emission>') - - self.writel(S_FX,5,'<ambient>') - self.writel(S_FX,6,'<color>'+numarr_alpha(self.scene.world.ambient_color,material.ambient)+' </color>') - self.writel(S_FX,5,'</ambient>') - - self.writel(S_FX,5,'<diffuse>') - if (diffuse_tex!=None): - self.writel(S_FX,6,'<texture texture="'+diffuse_tex+'" texcoord="CHANNEL1"/>') - else: - self.writel(S_FX,6,'<color>'+numarr_alpha(material.diffuse_color,material.diffuse_intensity)+'</color>') - self.writel(S_FX,5,'</diffuse>') - - self.writel(S_FX,5,'<specular>') - if (specular_tex!=None): - self.writel(S_FX,6,'<texture texture="'+specular_tex+'" texcoord="CHANNEL1"/>') - else: - self.writel(S_FX,6,'<color>'+numarr_alpha(material.specular_color,material.specular_intensity)+'</color>') - self.writel(S_FX,5,'</specular>') - - self.writel(S_FX,5,'<shininess>') - self.writel(S_FX,6,'<float>'+str(material.specular_hardness)+'</float>') - self.writel(S_FX,5,'</shininess>') - - self.writel(S_FX,5,'<reflective>') - self.writel(S_FX,6,'<color>'+numarr_alpha(material.mirror_color)+'</color>') - self.writel(S_FX,5,'</reflective>') - - if (material.use_transparency): - self.writel(S_FX,5,'<transparency>') - self.writel(S_FX,6,'<float>'+str(material.alpha)+'</float>') - self.writel(S_FX,5,'</transparency>') - - self.writel(S_FX,5,'<index_of_refraction>') - self.writel(S_FX,6,'<float>'+str(material.specular_ior)+'</float>') - self.writel(S_FX,5,'</index_of_refraction>') - - self.writel(S_FX,4,'</'+shtype+'>') - - self.writel(S_FX,4,'<extra>') - self.writel(S_FX,5,'<technique profile="FCOLLADA">') - if (normal_tex): - self.writel(S_FX,6,'<bump bumptype="NORMALMAP">') - self.writel(S_FX,7,'<texture texture="'+normal_tex+'" texcoord="CHANNEL1"/>') - self.writel(S_FX,6,'</bump>') - - self.writel(S_FX,5,'</technique>') - self.writel(S_FX,5,'<technique profile="GOOGLEEARTH">') - self.writel(S_FX,6,'<double_sided>'+["0","1"][double_sided_hint]+"</double_sided>") - self.writel(S_FX,5,'</technique>') - - if (material.use_shadeless): - self.writel(S_FX,5,'<technique profile="GODOT">') - self.writel(S_FX,6,'<unshaded>1</unshaded>') - self.writel(S_FX,5,'</technique>') - - self.writel(S_FX,4,'</extra>') - - self.writel(S_FX,3,'</technique>') - self.writel(S_FX,2,'</profile_COMMON>') - self.writel(S_FX,1,'</effect>') - - # Also export blender material in all it's glory (if set as active) - - - #Material - matid = self.new_id("material") - self.writel(S_MATS,1,'<material id="'+matid+'" name="'+material.name+'">') - self.writel(S_MATS,2,'<instance_effect url="#'+fxid+'"/>') - self.writel(S_MATS,1,'</material>') - - self.material_cache[material]=matid - return matid - - - def export_mesh(self,node,armature=None,skeyindex=-1,skel_source=None,custom_name=None): - - mesh = node.data - - - if (node.data in self.mesh_cache): - return self.mesh_cache[mesh] - - if (skeyindex==-1 and mesh.shape_keys!=None and len(mesh.shape_keys.key_blocks)): - values=[] - morph_targets=[] - md=None - for k in range(0,len(mesh.shape_keys.key_blocks)): - shape = node.data.shape_keys.key_blocks[k] - values+=[shape.value] #save value - shape.value=0 - - mid = self.new_id("morph") - - for k in range(0,len(mesh.shape_keys.key_blocks)): - - shape = node.data.shape_keys.key_blocks[k] - node.show_only_shape_key=True - node.active_shape_key_index = k - shape.value = 1.0 - mesh.update() - """ - oldval = shape.value - shape.value = 1.0 - - """ - p = node.data - v = node.to_mesh(bpy.context.scene, True, "RENDER") - node.data = v -# self.export_node(node,il,shape.name) - node.data.update() - if (armature and k==0): - md=self.export_mesh(node,armature,k,mid,shape.name) - else: - md=self.export_mesh(node,None,k,None,shape.name) - - node.data = p - node.data.update() - shape.value = 0.0 - morph_targets.append(md) - - """ - shape.value = oldval - """ - node.show_only_shape_key=False - node.active_shape_key_index = 0 - - - self.writel(S_MORPH,1,'<controller id="'+mid+'" name="">') - #if ("skin_id" in morph_targets[0]): - # self.writel(S_MORPH,2,'<morph source="#'+morph_targets[0]["skin_id"]+'" method="NORMALIZED">') - #else: - self.writel(S_MORPH,2,'<morph source="#'+morph_targets[0]["id"]+'" method="NORMALIZED">') - - self.writel(S_MORPH,3,'<source id="'+mid+'-morph-targets">') - self.writel(S_MORPH,4,'<IDREF_array id="'+mid+'-morph-targets-array" count="'+str(len(morph_targets)-1)+'">') - marr="" - warr="" - for i in range(len(morph_targets)): - if (i==0): - continue - elif (i>1): - marr+=" " - - if ("skin_id" in morph_targets[i]): - marr+=morph_targets[i]["skin_id"] - else: - marr+=morph_targets[i]["id"] - - warr+=" 0" - - self.writel(S_MORPH,5,marr) - self.writel(S_MORPH,4,'</IDREF_array>') - self.writel(S_MORPH,4,'<technique_common>') - self.writel(S_MORPH,5,'<accessor source="#'+mid+'-morph-targets-array" count="'+str(len(morph_targets)-1)+'" stride="1">') - self.writel(S_MORPH,6,'<param name="MORPH_TARGET" type="IDREF"/>') - self.writel(S_MORPH,5,'</accessor>') - self.writel(S_MORPH,4,'</technique_common>') - self.writel(S_MORPH,3,'</source>') - - self.writel(S_MORPH,3,'<source id="'+mid+'-morph-weights">') - self.writel(S_MORPH,4,'<float_array id="'+mid+'-morph-weights-array" count="'+str(len(morph_targets)-1)+'" >') - self.writel(S_MORPH,5,warr) - self.writel(S_MORPH,4,'</float_array>') - self.writel(S_MORPH,4,'<technique_common>') - self.writel(S_MORPH,5,'<accessor source="#'+mid+'-morph-weights-array" count="'+str(len(morph_targets)-1)+'" stride="1">') - self.writel(S_MORPH,6,'<param name="MORPH_WEIGHT" type="float"/>') - self.writel(S_MORPH,5,'</accessor>') - self.writel(S_MORPH,4,'</technique_common>') - self.writel(S_MORPH,3,'</source>') - - self.writel(S_MORPH,3,'<targets>') - self.writel(S_MORPH,4,'<input semantic="MORPH_TARGET" source="#'+mid+'-morph-targets"/>') - self.writel(S_MORPH,4,'<input semantic="MORPH_WEIGHT" source="#'+mid+'-morph-weights"/>') - self.writel(S_MORPH,3,'</targets>') - self.writel(S_MORPH,2,'</morph>') - self.writel(S_MORPH,1,'</controller>') - if (armature!=None): - - self.armature_for_morph[node]=armature - - meshdata={} - if (armature): - meshdata = morph_targets[0] - meshdata["morph_id"]=mid - else: - meshdata["id"]=morph_targets[0]["id"] - meshdata["morph_id"]=mid - meshdata["material_assign"]=morph_targets[0]["material_assign"] - - - - self.mesh_cache[node.data]=meshdata - return meshdata - - apply_modifiers = len(node.modifiers) and self.config["use_mesh_modifiers"] - - name_to_use = mesh.name - #print("name to use: "+mesh.name) - if (custom_name!=None and custom_name!=""): - name_to_use=custom_name - - mesh=node.to_mesh(self.scene,apply_modifiers,"RENDER") #is this allright? - - triangulate=self.config["use_triangles"] - if (triangulate): - bm = bmesh.new() - bm.from_mesh(mesh) - bmesh.ops.triangulate(bm, faces=bm.faces) - bm.to_mesh(mesh) - bm.free() - - - mesh.update(calc_tessface=True) - vertices=[] - vertex_map={} - surface_indices={} - materials={} - - materials={} - - si=None - if (armature!=None): - si=self.skeleton_info[armature] - - has_uv=False - has_uv2=False - has_weights=armature!=None - has_tangents=self.config["use_tangent_arrays"] # could detect.. - has_colors=len(mesh.vertex_colors) - mat_assign=[] - - uv_layer_count=len(mesh.uv_textures) - if (has_tangents and len(mesh.uv_textures)): - try: - mesh.calc_tangents() - except: - self.operator.report({'WARNING'},'CalcTangets failed for mesh "'+mesh.name+'", no tangets will be exported.') - #uv_layer_count=0 - mesh.calc_normals_split() - has_tangents=False - - else: - mesh.calc_normals_split() - has_tangents=False - - - for fi in range(len(mesh.polygons)): - f=mesh.polygons[fi] - - if (not (f.material_index in surface_indices)): - surface_indices[f.material_index]=[] - #print("Type: "+str(type(f.material_index))) - #print("IDX: "+str(f.material_index)+"/"+str(len(mesh.materials))) - - try: - #Bizarre blender behavior i don't understand, so catching exception - mat = mesh.materials[f.material_index] - except: - mat= None - - if (mat!=None): - materials[f.material_index]=self.export_material( mat,mesh.show_double_sided ) - else: - materials[f.material_index]=None #weird, has no material? - - indices = surface_indices[f.material_index] - vi=[] - #vertices always 3 - """ - if (len(f.vertices)==3): - vi.append(0) - vi.append(1) - vi.append(2) - elif (len(f.vertices)==4): - #todo, should use shortest path - vi.append(0) - vi.append(1) - vi.append(2) - vi.append(0) - vi.append(2) - vi.append(3) - """ - - for lt in range(f.loop_total): - loop_index = f.loop_start + lt - ml = mesh.loops[loop_index] - mv = mesh.vertices[ml.vertex_index] - - v = self.Vertex() - v.vertex = Vector( mv.co ) - - for xt in mesh.uv_layers: - v.uv.append( Vector( xt.data[loop_index].uv ) ) - - if (has_colors): - v.color = Vector( mesh.vertex_colors[0].data[loop_index].color ) - - v.normal = Vector( ml.normal ) - - if (has_tangents): - v.tangent = Vector( ml.tangent ) - v.bitangent = Vector( ml.bitangent ) - - - # if (armature): - # v.vertex = node.matrix_world * v.vertex - - #v.color=Vertex(mv. ??? - - if (armature!=None): - wsum=0.0 - zero_bones=[] - - for vg in mv.groups: - if vg.group >= len(node.vertex_groups): - continue; - name = node.vertex_groups[vg.group].name - - if (name in si["bone_index"]): - #could still put the weight as 0.0001 maybe - if (vg.weight>0.001): #blender has a lot of zero weight stuff - v.bones.append(si["bone_index"][name]) - v.weights.append(vg.weight) - wsum+=vg.weight - if (wsum==0.0): - if not self.wrongvtx_report: - self.operator.report({'WARNING'},'Mesh for object "'+node.name+'" has unassigned weights. This may look wrong in exported model.') - self.wrongvtx_report=True - - #blender can have bones assigned that weight zero so they remain local - #this is the best it can be done? - v.bones.append(0) - v.weights.append(1) - - - - - tup = v.get_tup() - idx = 0 - if (skeyindex==-1 and tup in vertex_map): #do not optmize if using shapekeys - idx = vertex_map[tup] - else: - idx = len(vertices) - vertices.append(v) - vertex_map[tup]=idx - - vi.append(idx) - - if (len(vi)>2): - #only triangles and above - indices.append(vi) - - - meshid = self.new_id("mesh") - self.writel(S_GEOM,1,'<geometry id="'+meshid+'" name="'+name_to_use+'">') - - self.writel(S_GEOM,2,'<mesh>') - - - # Vertex Array - self.writel(S_GEOM,3,'<source id="'+meshid+'-positions">') - float_values="" - for v in vertices: - float_values+=" "+str(v.vertex.x)+" "+str(v.vertex.y)+" "+str(v.vertex.z) - self.writel(S_GEOM,4,'<float_array id="'+meshid+'-positions-array" count="'+str(len(vertices)*3)+'">'+float_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+meshid+'-positions-array" count="'+str(len(vertices))+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,4,'</technique_common>') - self.writel(S_GEOM,3,'</source>') - - # Normal Array - - self.writel(S_GEOM,3,'<source id="'+meshid+'-normals">') - float_values="" - for v in vertices: - float_values+=" "+str(v.normal.x)+" "+str(v.normal.y)+" "+str(v.normal.z) - self.writel(S_GEOM,4,'<float_array id="'+meshid+'-normals-array" count="'+str(len(vertices)*3)+'">'+float_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+meshid+'-normals-array" count="'+str(len(vertices))+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,4,'</technique_common>') - self.writel(S_GEOM,3,'</source>') - - if (has_tangents): - self.writel(S_GEOM,3,'<source id="'+meshid+'-tangents">') - float_values="" - for v in vertices: - float_values+=" "+str(v.tangent.x)+" "+str(v.tangent.y)+" "+str(v.tangent.z) - self.writel(S_GEOM,4,'<float_array id="'+meshid+'-tangents-array" count="'+str(len(vertices)*3)+'">'+float_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+meshid+'-tangents-array" count="'+str(len(vertices))+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,4,'</technique_common>') - self.writel(S_GEOM,3,'</source>') - - self.writel(S_GEOM,3,'<source id="'+meshid+'-bitangents">') - float_values="" - for v in vertices: - float_values+=" "+str(v.bitangent.x)+" "+str(v.bitangent.y)+" "+str(v.bitangent.z) - self.writel(S_GEOM,4,'<float_array id="'+meshid+'-bitangents-array" count="'+str(len(vertices)*3)+'">'+float_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+meshid+'-bitangents-array" count="'+str(len(vertices))+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,4,'</technique_common>') - self.writel(S_GEOM,3,'</source>') - - - - # UV Arrays - - for uvi in range(uv_layer_count): - - self.writel(S_GEOM,3,'<source id="'+meshid+'-texcoord-'+str(uvi)+'">') - float_values="" - for v in vertices: - try: - float_values+=" "+str(v.uv[uvi].x)+" "+str(v.uv[uvi].y) - except: - # I don't understand this weird multi-uv-layer API, but with this it seems to works - float_values+=" 0 0 " - - self.writel(S_GEOM,4,'<float_array id="'+meshid+'-texcoord-'+str(uvi)+'-array" count="'+str(len(vertices)*2)+'">'+float_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+meshid+'-texcoord-'+str(uvi)+'-array" count="'+str(len(vertices))+'" stride="2">') - self.writel(S_GEOM,5,'<param name="S" type="float"/>') - self.writel(S_GEOM,5,'<param name="T" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,4,'</technique_common>') - self.writel(S_GEOM,3,'</source>') - - # Color Arrays - - if (has_colors): - self.writel(S_GEOM,3,'<source id="'+meshid+'-colors">') - float_values="" - for v in vertices: - float_values+=" "+str(v.color.x)+" "+str(v.color.y)+" "+str(v.color.z) - self.writel(S_GEOM,4,'<float_array id="'+meshid+'-colors-array" count="'+str(len(vertices)*3)+'">'+float_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+meshid+'-colors-array" count="'+str(len(vertices))+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,4,'</technique_common>') - self.writel(S_GEOM,3,'</source>') - - # Triangle Lists - self.writel(S_GEOM,3,'<vertices id="'+meshid+'-vertices">') - self.writel(S_GEOM,4,'<input semantic="POSITION" source="#'+meshid+'-positions"/>') - self.writel(S_GEOM,3,'</vertices>') - - prim_type="" - if (triangulate): - prim_type="triangles" - else: - prim_type="polygons" - - - for m in surface_indices: - indices = surface_indices[m] - mat = materials[m] - - if (mat!=None): - matref = self.new_id("trimat") - self.writel(S_GEOM,3,'<'+prim_type+' count="'+str(int(len(indices)))+'" material="'+matref+'">') # todo material - mat_assign.append( (mat,matref) ) - else: - self.writel(S_GEOM,3,'<'+prim_type+' count="'+str(int(len(indices)))+'">') # todo material - - - self.writel(S_GEOM,4,'<input semantic="VERTEX" source="#'+meshid+'-vertices" offset="0"/>') - self.writel(S_GEOM,4,'<input semantic="NORMAL" source="#'+meshid+'-normals" offset="0"/>') - - for uvi in range(uv_layer_count): - self.writel(S_GEOM,4,'<input semantic="TEXCOORD" source="#'+meshid+'-texcoord-'+str(uvi)+'" offset="0" set="'+str(uvi)+'"/>') - - if (has_colors): - self.writel(S_GEOM,4,'<input semantic="COLOR" source="#'+meshid+'-colors" offset="0"/>') - if (has_tangents): - self.writel(S_GEOM,4,'<input semantic="TEXTANGENT" source="#'+meshid+'-tangents" offset="0"/>') - self.writel(S_GEOM,4,'<input semantic="TEXBINORMAL" source="#'+meshid+'-bitangents" offset="0"/>') - - if (triangulate): - int_values="<p>" - for p in indices: - for i in p: - int_values+=" "+str(i) - int_values+=" </p>" - self.writel(S_GEOM,4,int_values) - else: - for p in indices: - int_values="<p>" - for i in p: - int_values+=" "+str(i) - int_values+=" </p>" - self.writel(S_GEOM,4,int_values) - - self.writel(S_GEOM,3,'</'+prim_type+'>') - - - self.writel(S_GEOM,2,'</mesh>') - self.writel(S_GEOM,1,'</geometry>') - - - meshdata={} - meshdata["id"]=meshid - meshdata["material_assign"]=mat_assign - if (skeyindex==-1): - self.mesh_cache[node.data]=meshdata - - - # Export armature data (if armature exists) - - if (armature!=None and (skel_source!=None or skeyindex==-1)): - - contid = self.new_id("controller") - - self.writel(S_SKIN,1,'<controller id="'+contid+'">') - if (skel_source!=None): - self.writel(S_SKIN,2,'<skin source="#'+skel_source+'">') - else: - self.writel(S_SKIN,2,'<skin source="#'+meshid+'">') - - self.writel(S_SKIN,3,'<bind_shape_matrix>'+strmtx(node.matrix_world)+'</bind_shape_matrix>') - #Joint Names - self.writel(S_SKIN,3,'<source id="'+contid+'-joints">') - name_values="" - for v in si["bone_names"]: - name_values+=" "+v - - self.writel(S_SKIN,4,'<Name_array id="'+contid+'-joints-array" count="'+str(len(si["bone_names"]))+'">'+name_values+'</Name_array>') - self.writel(S_SKIN,4,'<technique_common>') - self.writel(S_SKIN,4,'<accessor source="#'+contid+'-joints-array" count="'+str(len(si["bone_names"]))+'" stride="1">') - self.writel(S_SKIN,5,'<param name="JOINT" type="Name"/>') - self.writel(S_SKIN,4,'</accessor>') - self.writel(S_SKIN,4,'</technique_common>') - self.writel(S_SKIN,3,'</source>') - #Pose Matrices! - self.writel(S_SKIN,3,'<source id="'+contid+'-bind_poses">') - pose_values="" - for v in si["bone_bind_poses"]: - pose_values+=" "+strmtx(v) - - self.writel(S_SKIN,4,'<float_array id="'+contid+'-bind_poses-array" count="'+str(len(si["bone_bind_poses"])*16)+'">'+pose_values+'</float_array>') - self.writel(S_SKIN,4,'<technique_common>') - self.writel(S_SKIN,4,'<accessor source="#'+contid+'-bind_poses-array" count="'+str(len(si["bone_bind_poses"]))+'" stride="16">') - self.writel(S_SKIN,5,'<param name="TRANSFORM" type="float4x4"/>') - self.writel(S_SKIN,4,'</accessor>') - self.writel(S_SKIN,4,'</technique_common>') - self.writel(S_SKIN,3,'</source>') - #Skin Weights! - self.writel(S_SKIN,3,'<source id="'+contid+'-skin_weights">') - skin_weights="" - skin_weights_total=0 - for v in vertices: - skin_weights_total+=len(v.weights) - for w in v.weights: - skin_weights+=" "+str(w) - - self.writel(S_SKIN,4,'<float_array id="'+contid+'-skin_weights-array" count="'+str(skin_weights_total)+'">'+skin_weights+'</float_array>') - self.writel(S_SKIN,4,'<technique_common>') - self.writel(S_SKIN,4,'<accessor source="#'+contid+'-skin_weights-array" count="'+str(skin_weights_total)+'" stride="1">') - self.writel(S_SKIN,5,'<param name="WEIGHT" type="float"/>') - self.writel(S_SKIN,4,'</accessor>') - self.writel(S_SKIN,4,'</technique_common>') - self.writel(S_SKIN,3,'</source>') - - - self.writel(S_SKIN,3,'<joints>') - self.writel(S_SKIN,4,'<input semantic="JOINT" source="#'+contid+'-joints"/>') - self.writel(S_SKIN,4,'<input semantic="INV_BIND_MATRIX" source="#'+contid+'-bind_poses"/>') - self.writel(S_SKIN,3,'</joints>') - self.writel(S_SKIN,3,'<vertex_weights count="'+str(len(vertices))+'">') - self.writel(S_SKIN,4,'<input semantic="JOINT" source="#'+contid+'-joints" offset="0"/>') - self.writel(S_SKIN,4,'<input semantic="WEIGHT" source="#'+contid+'-skin_weights" offset="1"/>') - vcounts="" - vs="" - vcount=0 - for v in vertices: - vcounts+=" "+str(len(v.weights)) - for b in v.bones: - vs+=" "+str(b) - vs+=" "+str(vcount) - vcount+=1 - self.writel(S_SKIN,4,'<vcount>'+vcounts+'</vcount>') - self.writel(S_SKIN,4,'<v>'+vs+'</v>') - self.writel(S_SKIN,3,'</vertex_weights>') - - - self.writel(S_SKIN,2,'</skin>') - self.writel(S_SKIN,1,'</controller>') - meshdata["skin_id"]=contid - - - return meshdata - - - def export_mesh_node(self,node,il): - - if (node.data==None): - return - armature=None - armcount=0 - for n in node.modifiers: - if (n.type=="ARMATURE"): - armcount+=1 - - if (node.parent!=None): - if (node.parent.type=="ARMATURE"): - armature=node.parent - if (armcount>1): - self.operator.report({'WARNING'},'Object "'+node.name+'" refers to more than one armature! This is unsupported.') - if (armcount==0): - self.operator.report({'WARNING'},'Object "'+node.name+'" is child of an armature, but has no armature modifier.') - - - if (armcount>0 and not armature): - self.operator.report({'WARNING'},'Object "'+node.name+'" has armature modifier, but is not a child of an armature. This is unsupported.') - - - if (node.data.shape_keys!=None): - sk = node.data.shape_keys - if (sk.animation_data): - #print("HAS ANIM") - #print("DRIVERS: "+str(len(sk.animation_data.drivers))) - for d in sk.animation_data.drivers: - if (d.driver): - for v in d.driver.variables: - for t in v.targets: - if (t.id!=None and t.id.name in self.scene.objects): - #print("LINKING "+str(node)+" WITH "+str(t.id.name)) - self.armature_for_morph[node]=self.scene.objects[t.id.name] - - - meshdata = self.export_mesh(node,armature) - close_controller=False - - if ("skin_id" in meshdata): - close_controller=True - self.writel(S_NODES,il,'<instance_controller url="#'+meshdata["skin_id"]+'">') - for sn in self.skeleton_info[armature]["skeleton_nodes"]: - self.writel(S_NODES,il+1,'<skeleton>#'+sn+'</skeleton>') - elif ("morph_id" in meshdata): - self.writel(S_NODES,il,'<instance_controller url="#'+meshdata["morph_id"]+'">') - close_controller=True - elif (armature==None): - self.writel(S_NODES,il,'<instance_geometry url="#'+meshdata["id"]+'">') - - - if (len(meshdata["material_assign"])>0): - - self.writel(S_NODES,il+1,'<bind_material>') - self.writel(S_NODES,il+2,'<technique_common>') - for m in meshdata["material_assign"]: - self.writel(S_NODES,il+3,'<instance_material symbol="'+m[1]+'" target="#'+m[0]+'"/>') - - self.writel(S_NODES,il+2,'</technique_common>') - self.writel(S_NODES,il+1,'</bind_material>') - - if (close_controller): - self.writel(S_NODES,il,'</instance_controller>') - else: - self.writel(S_NODES,il,'</instance_geometry>') - - - def export_armature_bone(self,bone,il,si): - boneid = self.new_id("bone") - boneidx = si["bone_count"] - si["bone_count"]+=1 - bonesid = si["id"]+"-"+str(boneidx) - if (bone.name in self.used_bones): - if (self.config["use_anim_action_all"]): - self.operator.report({'WARNING'},'Bone name "'+bone.name+'" used in more than one skeleton. Actions might export wrong.') - else: - self.used_bones.append(bone.name) - - si["bone_index"][bone.name]=boneidx - si["bone_ids"][bone]=boneid - si["bone_names"].append(bonesid) - self.writel(S_NODES,il,'<node id="'+boneid+'" sid="'+bonesid+'" name="'+bone.name+'" type="JOINT">') - il+=1 - xform = bone.matrix_local - si["bone_bind_poses"].append((si["armature_xform"] * xform).inverted()) - - if (bone.parent!=None): - xform = bone.parent.matrix_local.inverted() * xform - else: - si["skeleton_nodes"].append(boneid) - - self.writel(S_NODES,il,'<matrix sid="transform">'+strmtx(xform)+'</matrix>') - for c in bone.children: - self.export_armature_bone(c,il,si) - il-=1 - self.writel(S_NODES,il,'</node>') - - - def export_armature_node(self,node,il): - - if (node.data==None): - return - - self.skeletons.append(node) - - armature = node.data - self.skeleton_info[node]={ "bone_count":0, "id":self.new_id("skelbones"),"name":node.name, "bone_index":{},"bone_ids":{},"bone_names":[],"bone_bind_poses":[],"skeleton_nodes":[],"armature_xform":node.matrix_world } - - - - for b in armature.bones: - if (b.parent!=None): - continue - self.export_armature_bone(b,il,self.skeleton_info[node]) - - if (node.pose): - for b in node.pose.bones: - for x in b.constraints: - if (x.type=='ACTION'): - self.action_constraints.append(x.action) - - - def export_camera_node(self,node,il): - - if (node.data==None): - return - - camera=node.data - camid=self.new_id("camera") - self.writel(S_CAMS,1,'<camera id="'+camid+'" name="'+camera.name+'">') - self.writel(S_CAMS,2,'<optics>') - self.writel(S_CAMS,3,'<technique_common>') - if (camera.type=="PERSP"): - self.writel(S_CAMS,4,'<perspective>') - self.writel(S_CAMS,5,'<yfov> '+str(math.degrees(camera.angle))+' </yfov>') # I think? - self.writel(S_CAMS,5,'<aspect_ratio> '+str(self.scene.render.resolution_x / self.scene.render.resolution_y)+' </aspect_ratio>') - self.writel(S_CAMS,5,'<znear> '+str(camera.clip_start)+' </znear>') - self.writel(S_CAMS,5,'<zfar> '+str(camera.clip_end)+' </zfar>') - self.writel(S_CAMS,4,'</perspective>') - else: - self.writel(S_CAMS,4,'<orthographic>') - self.writel(S_CAMS,5,'<xmag> '+str(camera.ortho_scale*0.5)+' </xmag>') # I think? - self.writel(S_CAMS,5,'<aspect_ratio> '+str(self.scene.render.resolution_x / self.scene.render.resolution_y)+' </aspect_ratio>') - self.writel(S_CAMS,5,'<znear> '+str(camera.clip_start)+' </znear>') - self.writel(S_CAMS,5,'<zfar> '+str(camera.clip_end)+' </zfar>') - self.writel(S_CAMS,4,'</orthographic>') - - self.writel(S_CAMS,3,'</technique_common>') - self.writel(S_CAMS,2,'</optics>') - self.writel(S_CAMS,1,'</camera>') - - - self.writel(S_NODES,il,'<instance_camera url="#'+camid+'"/>') - - def export_lamp_node(self,node,il): - - if (node.data==None): - return - - light=node.data - lightid=self.new_id("light") - self.writel(S_LAMPS,1,'<light id="'+lightid+'" name="'+light.name+'">') - #self.writel(S_LAMPS,2,'<optics>') - self.writel(S_LAMPS,3,'<technique_common>') - - if (light.type=="POINT"): - self.writel(S_LAMPS,4,'<point>') - self.writel(S_LAMPS,5,'<color>'+strarr(light.color)+'</color>') - att_by_distance = 2.0 / light.distance # convert to linear attenuation - self.writel(S_LAMPS,5,'<linear_attenuation>'+str(att_by_distance)+'</linear_attenuation>') - if (light.use_sphere): - self.writel(S_LAMPS,5,'<zfar>'+str(light.distance)+'</zfar>') - - self.writel(S_LAMPS,4,'</point>') - elif (light.type=="SPOT"): - self.writel(S_LAMPS,4,'<spot>') - self.writel(S_LAMPS,5,'<color>'+strarr(light.color)+'</color>') - att_by_distance = 2.0 / light.distance # convert to linear attenuation - self.writel(S_LAMPS,5,'<linear_attenuation>'+str(att_by_distance)+'</linear_attenuation>') - self.writel(S_LAMPS,5,'<falloff_angle>'+str(math.degrees(light.spot_size/2))+'</falloff_angle>') - self.writel(S_LAMPS,4,'</spot>') - - - else: #write a sun lamp for everything else (not supported) - self.writel(S_LAMPS,4,'<directional>') - self.writel(S_LAMPS,5,'<color>'+strarr(light.color)+'</color>') - self.writel(S_LAMPS,4,'</directional>') - - - self.writel(S_LAMPS,3,'</technique_common>') - #self.writel(S_LAMPS,2,'</optics>') - self.writel(S_LAMPS,1,'</light>') - - - self.writel(S_NODES,il,'<instance_light url="#'+lightid+'"/>') - - def export_empty_node(self,node,il): - - self.writel(S_NODES,4,'<extra>') - self.writel(S_NODES,5,'<technique profile="GODOT">') - self.writel(S_NODES,6,'<empty_draw_type>'+node.empty_draw_type+'</empty_draw_type>') - self.writel(S_NODES,5,'</technique>') - self.writel(S_NODES,4,'</extra>') - - - def export_curve(self,curve): - - splineid = self.new_id("spline") - - self.writel(S_GEOM,1,'<geometry id="'+splineid+'" name="'+curve.name+'">') - self.writel(S_GEOM,2,'<spline closed="0">') - - points=[] - interps=[] - handles_in=[] - handles_out=[] - tilts=[] - - for cs in curve.splines: - - if (cs.type=="BEZIER"): - for s in cs.bezier_points: - points.append(s.co[0]) - points.append(s.co[1]) - points.append(s.co[2]) - - - handles_in.append(s.handle_left[0]) - handles_in.append(s.handle_left[1]) - handles_in.append(s.handle_left[2]) - - handles_out.append(s.handle_right[0]) - handles_out.append(s.handle_right[1]) - handles_out.append(s.handle_right[2]) - - - tilts.append(s.tilt) - interps.append("BEZIER") - else: - - for s in cs.points: - points.append(s.co[0]) - points.append(s.co[1]) - points.append(s.co[2]) - handles_in.append(s.co[0]) - handles_in.append(s.co[1]) - handles_in.append(s.co[2]) - handles_out.append(s.co[0]) - handles_out.append(s.co[1]) - handles_out.append(s.co[2]) - tilts.append(s.tilt) - interps.append("LINEAR") - - - - - self.writel(S_GEOM,3,'<source id="'+splineid+'-positions">') - position_values="" - for x in points: - position_values+=" "+str(x) - self.writel(S_GEOM,4,'<float_array id="'+splineid+'-positions-array" count="'+str(len(points))+'">'+position_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+splineid+'-positions-array" count="'+str(len(points)/3)+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,3,'</source>') - - self.writel(S_GEOM,3,'<source id="'+splineid+'-intangents">') - intangent_values="" - for x in handles_in: - intangent_values+=" "+str(x) - self.writel(S_GEOM,4,'<float_array id="'+splineid+'-intangents-array" count="'+str(len(points))+'">'+intangent_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+splineid+'-intangents-array" count="'+str(len(points)/3)+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,3,'</source>') - - self.writel(S_GEOM,3,'<source id="'+splineid+'-outtangents">') - outtangent_values="" - for x in handles_out: - outtangent_values+=" "+str(x) - self.writel(S_GEOM,4,'<float_array id="'+splineid+'-outtangents-array" count="'+str(len(points))+'">'+outtangent_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+splineid+'-outtangents-array" count="'+str(len(points)/3)+'" stride="3">') - self.writel(S_GEOM,5,'<param name="X" type="float"/>') - self.writel(S_GEOM,5,'<param name="Y" type="float"/>') - self.writel(S_GEOM,5,'<param name="Z" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,3,'</source>') - - self.writel(S_GEOM,3,'<source id="'+splineid+'-interpolations">') - interpolation_values="" - for x in interps: - interpolation_values+=" "+x - self.writel(S_GEOM,4,'<Name_array id="'+splineid+'-interpolations-array" count="'+str(len(interps))+'">'+interpolation_values+'</Name_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+splineid+'-interpolations-array" count="'+str(len(interps))+'" stride="1">') - self.writel(S_GEOM,5,'<param name="INTERPOLATION" type="name"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,3,'</source>') - - - self.writel(S_GEOM,3,'<source id="'+splineid+'-tilts">') - tilt_values="" - for x in tilts: - tilt_values+=" "+str(x) - self.writel(S_GEOM,4,'<float_array id="'+splineid+'-tilts-array" count="'+str(len(tilts))+'">'+tilt_values+'</float_array>') - self.writel(S_GEOM,4,'<technique_common>') - self.writel(S_GEOM,4,'<accessor source="#'+splineid+'-tilts-array" count="'+str(len(tilts))+'" stride="1">') - self.writel(S_GEOM,5,'<param name="TILT" type="float"/>') - self.writel(S_GEOM,4,'</accessor>') - self.writel(S_GEOM,3,'</source>') - - self.writel(S_GEOM,3,'<control_vertices>') - self.writel(S_GEOM,4,'<input semantic="POSITION" source="#'+splineid+'-positions"/>') - self.writel(S_GEOM,4,'<input semantic="IN_TANGENT" source="#'+splineid+'-intangents"/>') - self.writel(S_GEOM,4,'<input semantic="OUT_TANGENT" source="#'+splineid+'-outtangents"/>') - self.writel(S_GEOM,4,'<input semantic="INTERPOLATION" source="#'+splineid+'-interpolations"/>') - self.writel(S_GEOM,4,'<input semantic="TILT" source="#'+splineid+'-tilts"/>') - self.writel(S_GEOM,3,'</control_vertices>') - - - self.writel(S_GEOM,2,'</spline>') - self.writel(S_GEOM,1,'</geometry>') - - return splineid - - def export_curve_node(self,node,il): - - if (node.data==None): - return - curveid = self.export_curve(node.data) - - self.writel(S_NODES,il,'<instance_geometry url="#'+curveid+'">') - self.writel(S_NODES,il,'</instance_geometry>') - - - - def export_node(self,node,il): - if (not node in self.valid_nodes): - return - prev_node = bpy.context.scene.objects.active - bpy.context.scene.objects.active = node - - self.writel(S_NODES,il,'<node id="'+self.validate_id(node.name)+'" name="'+node.name+'" type="NODE">') - il+=1 - - self.writel(S_NODES,il,'<matrix sid="transform">'+strmtx(node.matrix_local)+'</matrix>') - #print("NODE TYPE: "+node.type+" NAME: "+node.name) - if (node.type=="MESH"): - self.export_mesh_node(node,il) - elif (node.type=="CURVE"): - self.export_curve_node(node,il) - elif (node.type=="ARMATURE"): - self.export_armature_node(node,il) - elif (node.type=="CAMERA"): - self.export_camera_node(node,il) - elif (node.type=="LAMP"): - self.export_lamp_node(node,il) - elif (node.type=="EMPTY"): - self.export_empty_node(node,il) - - for x in node.children: - self.export_node(x,il) - - il-=1 - self.writel(S_NODES,il,'</node>') - bpy.context.scene.objects.active = prev_node #make previous node active again - - def is_node_valid(self,node): - if (not node.type in self.config["object_types"]): - return False - if (self.config["use_active_layers"]): - valid=False - #print("NAME: "+node.name) - for i in range(20): - if (node.layers[i] and self.scene.layers[i]): - valid=True - break - if (not valid): - return False - - if (self.config["use_export_selected"] and not node.select): - return False - - return True - - - def export_scene(self): - - - self.writel(S_NODES,0,'<library_visual_scenes>') - self.writel(S_NODES,1,'<visual_scene id="'+self.scene_name+'" name="scene">') - - #validate nodes - for obj in self.scene.objects: - if (obj in self.valid_nodes): - continue - if (self.is_node_valid(obj)): - n = obj - while (n!=None): - if (not n in self.valid_nodes): - self.valid_nodes.append(n) - n=n.parent - - - - for obj in self.scene.objects: - if (obj in self.valid_nodes and obj.parent==None): - self.export_node(obj,2) - - self.writel(S_NODES,1,'</visual_scene>') - self.writel(S_NODES,0,'</library_visual_scenes>') - - def export_asset(self): - - - self.writel(S_ASSET,0,'<asset>') - # Why is this time stuff mandatory?, no one could care less... - self.writel(S_ASSET,1,'<contributor>') - self.writel(S_ASSET,2,'<author> Anonymous </author>') #Who made Collada, the FBI ? - self.writel(S_ASSET,2,'<authoring_tool> Collada Exporter for Blender 2.6+, by Juan Linietsky (juan@codenix.com) </authoring_tool>') #Who made Collada, the FBI ? - self.writel(S_ASSET,1,'</contributor>') - self.writel(S_ASSET,1,'<created>'+time.strftime("%Y-%m-%dT%H:%M:%SZ ")+'</created>') - self.writel(S_ASSET,1,'<modified>'+time.strftime("%Y-%m-%dT%H:%M:%SZ")+'</modified>') - self.writel(S_ASSET,1,'<unit meter="1.0" name="meter"/>') - self.writel(S_ASSET,1,'<up_axis>Z_UP</up_axis>') - self.writel(S_ASSET,0,'</asset>') - - - def export_animation_transform_channel(self,target,keys,matrices=True): - - frame_total=len(keys) - anim_id=self.new_id("anim") - self.writel(S_ANIM,1,'<animation id="'+anim_id+'">') - source_frames = "" - source_transforms = "" - source_interps = "" - - for k in keys: - source_frames += " "+str(k[0]) - if (matrices): - source_transforms += " "+strmtx(k[1]) - else: - source_transforms += " "+str(k[1]) - - source_interps +=" LINEAR" - - - # Time Source - self.writel(S_ANIM,2,'<source id="'+anim_id+'-input">') - self.writel(S_ANIM,3,'<float_array id="'+anim_id+'-input-array" count="'+str(frame_total)+'">'+source_frames+'</float_array>') - self.writel(S_ANIM,3,'<technique_common>') - self.writel(S_ANIM,4,'<accessor source="#'+anim_id+'-input-array" count="'+str(frame_total)+'" stride="1">') - self.writel(S_ANIM,5,'<param name="TIME" type="float"/>') - self.writel(S_ANIM,4,'</accessor>') - self.writel(S_ANIM,3,'</technique_common>') - self.writel(S_ANIM,2,'</source>') - - if (matrices): - # Transform Source - self.writel(S_ANIM,2,'<source id="'+anim_id+'-transform-output">') - self.writel(S_ANIM,3,'<float_array id="'+anim_id+'-transform-output-array" count="'+str(frame_total*16)+'">'+source_transforms+'</float_array>') - self.writel(S_ANIM,3,'<technique_common>') - self.writel(S_ANIM,4,'<accessor source="#'+anim_id+'-transform-output-array" count="'+str(frame_total)+'" stride="16">') - self.writel(S_ANIM,5,'<param name="TRANSFORM" type="float4x4"/>') - self.writel(S_ANIM,4,'</accessor>') - self.writel(S_ANIM,3,'</technique_common>') - self.writel(S_ANIM,2,'</source>') - else: - # Value Source - self.writel(S_ANIM,2,'<source id="'+anim_id+'-transform-output">') - self.writel(S_ANIM,3,'<float_array id="'+anim_id+'-transform-output-array" count="'+str(frame_total)+'">'+source_transforms+'</float_array>') - self.writel(S_ANIM,3,'<technique_common>') - self.writel(S_ANIM,4,'<accessor source="#'+anim_id+'-transform-output-array" count="'+str(frame_total)+'" stride="1">') - self.writel(S_ANIM,5,'<param name="X" type="float"/>') - self.writel(S_ANIM,4,'</accessor>') - self.writel(S_ANIM,3,'</technique_common>') - self.writel(S_ANIM,2,'</source>') - - # Interpolation Source - self.writel(S_ANIM,2,'<source id="'+anim_id+'-interpolation-output">') - self.writel(S_ANIM,3,'<Name_array id="'+anim_id+'-interpolation-output-array" count="'+str(frame_total)+'">'+source_interps+'</Name_array>') - self.writel(S_ANIM,3,'<technique_common>') - self.writel(S_ANIM,4,'<accessor source="#'+anim_id+'-interpolation-output-array" count="'+str(frame_total)+'" stride="1">') - self.writel(S_ANIM,5,'<param name="INTERPOLATION" type="Name"/>') - self.writel(S_ANIM,4,'</accessor>') - self.writel(S_ANIM,3,'</technique_common>') - self.writel(S_ANIM,2,'</source>') - - self.writel(S_ANIM,2,'<sampler id="'+anim_id+'-sampler">') - self.writel(S_ANIM,3,'<input semantic="INPUT" source="#'+anim_id+'-input"/>') - self.writel(S_ANIM,3,'<input semantic="OUTPUT" source="#'+anim_id+'-transform-output"/>') - self.writel(S_ANIM,3,'<input semantic="INTERPOLATION" source="#'+anim_id+'-interpolation-output"/>') - self.writel(S_ANIM,2,'</sampler>') - if (matrices): - self.writel(S_ANIM,2,'<channel source="#'+anim_id+'-sampler" target="'+target+'/transform"/>') - else: - self.writel(S_ANIM,2,'<channel source="#'+anim_id+'-sampler" target="'+target+'"/>') - self.writel(S_ANIM,1,'</animation>') - - return [anim_id] - - - def export_animation(self,start,end,allowed=None): - - #Blender -> Collada frames needs a little work - #Collada starts from 0, blender usually from 1 - #The last frame must be included also - - frame_orig = self.scene.frame_current - - frame_len = 1.0 / self.scene.render.fps - frame_total = end - start + 1 - frame_sub = 0 - if (start>0): - frame_sub=start*frame_len - - tcn = [] - xform_cache={} - blend_cache={} - # Change frames first, export objects last - # This improves performance enormously - - #print("anim from: "+str(start)+" to "+str(end)+" allowed: "+str(allowed)) - for t in range(start,end+1): - self.scene.frame_set(t) - key = t * frame_len - frame_sub -# print("Export Anim Frame "+str(t)+"/"+str(self.scene.frame_end+1)) - - for node in self.scene.objects: - - if (not node in self.valid_nodes): - continue - if (allowed!=None and not (node in allowed)): - if (node.type=="MESH" and node.data!=None and (node in self.armature_for_morph) and (self.armature_for_morph[node] in allowed)): - pass #all good you pass with flying colors for morphs inside of action - else: - #print("fail "+str((node in self.armature_for_morph))) - continue - if (node.type=="MESH" and node.data!=None and node.data.shape_keys!=None and (node.data in self.mesh_cache) and len(node.data.shape_keys.key_blocks)): - target = self.mesh_cache[node.data]["morph_id"] - for i in range(len(node.data.shape_keys.key_blocks)): - - if (i==0): - continue - - name=target+"-morph-weights("+str(i-1)+")" - if (not (name in blend_cache)): - blend_cache[name]=[] - - blend_cache[name].append( (key,node.data.shape_keys.key_blocks[i].value) ) - - - if (node.type=="MESH" and node.parent and node.parent.type=="ARMATURE"): - - continue #In Collada, nodes that have skin modifier must not export animation, animate the skin instead. - - if (len(node.constraints)>0 or node.animation_data!=None): - #If the node has constraints, or animation data, then export a sampled animation track - name=self.validate_id(node.name) - if (not (name in xform_cache)): - xform_cache[name]=[] - - mtx = node.matrix_world.copy() - if (node.parent): - mtx = node.parent.matrix_world.inverted() * mtx - - xform_cache[name].append( (key,mtx) ) - - if (node.type=="ARMATURE"): - #All bones exported for now - - for bone in node.data.bones: - - bone_name=self.skeleton_info[node]["bone_ids"][bone] - - if (not (bone_name in xform_cache)): - #print("has bone: "+bone_name) - xform_cache[bone_name]=[] - - posebone = node.pose.bones[bone.name] - parent_posebone=None - - mtx = posebone.matrix.copy() - if (bone.parent): - parent_posebone=node.pose.bones[bone.parent.name] - parent_invisible=False - - for i in range(3): - if (parent_posebone.scale[i]==0.0): - parent_invisible=True - - if (not parent_invisible): - mtx = parent_posebone.matrix.inverted() * mtx - - - xform_cache[bone_name].append( (key,mtx) ) - - self.scene.frame_set(frame_orig) - - #export animation xml - for nid in xform_cache: - tcn+=self.export_animation_transform_channel(nid,xform_cache[nid],True) - for nid in blend_cache: - tcn+=self.export_animation_transform_channel(nid,blend_cache[nid],False) - - return tcn - - def export_animations(self): - tmp_mat = [] - for s in self.skeletons: - tmp_bone_mat = [] - for bone in s.pose.bones: - tmp_bone_mat.append(Matrix(bone.matrix_basis)) - bone.matrix_basis = Matrix() - tmp_mat.append([Matrix(s.matrix_local),tmp_bone_mat]) - - self.writel(S_ANIM,0,'<library_animations>') - + s = " " + for x in range(4): + for y in range(4): + s += str(mtx[x][y]) + s += " " + s += " " + return s - if (self.config["use_anim_action_all"] and len(self.skeletons)): - cached_actions = {} +def numarr(a, mult=1.0): + s = " " + for x in a: + s += " " + str(x * mult) + s += " " + return s - for s in self.skeletons: - if s.animation_data and s.animation_data.action: - cached_actions[s] = s.animation_data.action.name - - self.writel(S_ANIM_CLIPS,0,'<library_animation_clips>') - - for x in bpy.data.actions[:]: - if x.users==0 or x in self.action_constraints: - continue - if (self.config["use_anim_skip_noexp"] and x.name.endswith("-noexp")): - continue - - bones=[] - #find bones used - for p in x.fcurves: - dp = str(p.data_path) - base = "pose.bones[\"" - if (dp.find(base)==0): - dp=dp[len(base):] - if (dp.find('"')!=-1): - dp=dp[:dp.find('"')] - if (not dp in bones): - bones.append(dp) - - allowed_skeletons=[] - for i,y in enumerate(self.skeletons): - if (y.animation_data): - for z in y.pose.bones: - if (z.bone.name in bones): - if (not y in allowed_skeletons): - allowed_skeletons.append(y) - y.animation_data.action=x; - - y.matrix_local = tmp_mat[i][0] - for j,bone in enumerate(s.pose.bones): - bone.matrix_basis = Matrix() - - - #print("allowed skeletons "+str(allowed_skeletons)) - - #print(str(x)) - - tcn = self.export_animation(int(x.frame_range[0]),int(x.frame_range[1]+0.5),allowed_skeletons) - framelen=(1.0/self.scene.render.fps) - start = x.frame_range[0]*framelen - end = x.frame_range[1]*framelen - #print("Export anim: "+x.name) - self.writel(S_ANIM_CLIPS,1,'<animation_clip name="'+x.name+'" start="'+str(start)+'" end="'+str(end)+'">') - for z in tcn: - self.writel(S_ANIM_CLIPS,2,'<instance_animation url="#'+z+'"/>') - self.writel(S_ANIM_CLIPS,1,'</animation_clip>') - if (len(tcn)==0): - self.operator.report({'WARNING'},'Animation clip "'+x.name+'" contains no tracks.') - - - - self.writel(S_ANIM_CLIPS,0,'</library_animation_clips>') - - - for i,s in enumerate(self.skeletons): - if (s.animation_data==None): - continue - if s in cached_actions: - s.animation_data.action = bpy.data.actions[cached_actions[s]] - else: - s.animation_data.action = None - for j,bone in enumerate(s.pose.bones): - bone.matrix_basis = tmp_mat[i][1][j] - - else: - self.export_animation(self.scene.frame_start,self.scene.frame_end) - - - - self.writel(S_ANIM,0,'</library_animations>') - - def export(self): - - self.writel(S_GEOM,0,'<library_geometries>') - self.writel(S_CONT,0,'<library_controllers>') - self.writel(S_CAMS,0,'<library_cameras>') - self.writel(S_LAMPS,0,'<library_lights>') - self.writel(S_IMGS,0,'<library_images>') - self.writel(S_MATS,0,'<library_materials>') - self.writel(S_FX,0,'<library_effects>') - - - self.skeletons=[] - self.action_constraints=[] - self.export_asset() - self.export_scene() - - self.writel(S_GEOM,0,'</library_geometries>') - - #morphs always go before skin controllers - if S_MORPH in self.sections: - for l in self.sections[S_MORPH]: - self.writel(S_CONT,0,l) - del self.sections[S_MORPH] - - #morphs always go before skin controllers - if S_SKIN in self.sections: - for l in self.sections[S_SKIN]: - self.writel(S_CONT,0,l) - del self.sections[S_SKIN] - - self.writel(S_CONT,0,'</library_controllers>') - self.writel(S_CAMS,0,'</library_cameras>') - self.writel(S_LAMPS,0,'</library_lights>') - self.writel(S_IMGS,0,'</library_images>') - self.writel(S_MATS,0,'</library_materials>') - self.writel(S_FX,0,'</library_effects>') - - if (self.config["use_anim"]): - self.export_animations() - - try: - f = open(self.path,"wb") - except: - return False - - f.write(bytes('<?xml version="1.0" encoding="utf-8"?>\n',"UTF-8")) - f.write(bytes('<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">\n',"UTF-8")) - - - s=[] - for x in self.sections.keys(): - s.append(x) - s.sort() - for x in s: - for l in self.sections[x]: - f.write(bytes(l+"\n","UTF-8")) - - f.write(bytes('<scene>\n',"UTF-8")) - f.write(bytes('\t<instance_visual_scene url="#'+self.scene_name+'" />\n',"UTF-8")) - f.write(bytes('</scene>\n',"UTF-8")) - f.write(bytes('</COLLADA>\n',"UTF-8")) - return True - - def __init__(self,path,kwargs,operator): - self.operator=operator - self.scene=bpy.context.scene - self.last_id=0 - self.scene_name=self.new_id("scene") - self.sections={} - self.path=path - self.mesh_cache={} - self.curve_cache={} - self.material_cache={} - self.image_cache={} - self.skeleton_info={} - self.config=kwargs - self.valid_nodes=[] - self.armature_for_morph={} - self.used_bones=[] - self.wrongvtx_report=False - - - - - - - -def save(operator, context, - filepath="", - use_selection=False, - **kwargs - ): - - exp = DaeExporter(filepath,kwargs,operator) - exp.export() +def numarr_alpha(a, mult=1.0): + s = " " + for x in a: + s += " " + str(x * mult) + if len(a) == 3: + s += " 1.0" + s += " " + return s +def strarr(arr): + s = " " + for x in arr: + s += " " + str(x) + s += " " + return s - return {'FINISHED'} # so the script wont run after we have batch exported. +class DaeExporter: + def validate_id(self, d): + if (d.find("id-") == 0): + return "z" + d + return d + + def new_id(self, t): + self.last_id += 1 + return "id-" + t + "-" + str(self.last_id) + + class Vertex: + + def close_to(self, v): + if self.vertex - v.vertex.length() > CMP_EPSILON: + return False + if self.normal - v.normal.length() > CMP_EPSILON: + return False + if self.uv - v.uv.length() > CMP_EPSILON: + return False + if self.uv2 - v.uv2.length() > CMP_EPSILON: + return False + + return True + + def get_tup(self): + tup = (self.vertex.x, self.vertex.y, self.vertex.z, self.normal.x, + self.normal.y, self.normal.z) + for t in self.uv: + tup = tup + (t.x, t.y) + if self.color is not None: + tup = tup + (self.color.x, self.color.y, self.color.z) + if self.tangent is not None: + tup = tup + (self.tangent.x, self.tangent.y, self.tangent.z) + if self.bitangent is not None: + tup = tup + (self.bitangent.x, self.bitangent.y, + self.bitangent.z) + for t in self.bones: + tup = tup + (float(t), ) + for t in self.weights: + tup = tup + (float(t), ) + + return tup + + def __init__(self): + self.vertex = Vector((0.0, 0.0, 0.0)) + self.normal = Vector((0.0, 0.0, 0.0)) + self.tangent = None + self.bitangent = None + self.color = None + self.uv = [] + self.uv2 = Vector((0.0, 0.0)) + self.bones = [] + self.weights = [] + + def writel(self, section, indent, text): + if (not (section in self.sections)): + self.sections[section] = [] + line = "" + for x in range(indent): + line += "\t" + line += text + self.sections[section].append(line) + + def export_image(self, image): + if (image in self.image_cache): + return self.image_cache[image] + + imgpath = image.filepath + if (imgpath.find("//") == 0 or imgpath.find("\\\\") == 0): + # If relative, convert to absolute + imgpath = bpy.path.abspath(imgpath) + + # Path is absolute, now do something! + + if (self.config["use_copy_images"]): + # copy image + basedir = os.path.dirname(self.path) + "/images" + if (not os.path.isdir(basedir)): + os.makedirs(basedir) + + if os.path.isfile(imgpath): + dstfile = basedir + "/" + os.path.basename(imgpath) + + if not os.path.isfile(dstfile): + shutil.copy(imgpath, dstfile) + imgpath = "images/" + os.path.basename(imgpath) + else: + # If file is not found save it as png file in the destination + # folder + img_tmp_path = image.filepath + if img_tmp_path.endswith((".bmp", ".rgb", ".png", ".jpeg", + ".jpg", ".jp2", ".tga", ".cin", + ".dpx", ".exr", ".hdr", ".tif")): + image.filepath = basedir + "/" + \ + os.path.basename(img_tmp_path) + else: + image.filepath = basedir + "/" + image.name + ".png" + + dstfile = basedir + "/" + os.path.basename(image.filepath) + + if not os.path.isfile(dstfile): + image.save() + imgpath = "images/" + os.path.basename(image.filepath) + image.filepath = img_tmp_path + + else: + # Export relative, always, no one wants absolute paths. + try: + # Export unix compatible always + imgpath = os.path.relpath( + imgpath, os.path.dirname(self.path)).replace("\\", "/") + + except: + # Fails sometimes, not sure why + pass + + imgid = self.new_id("image") + + print("FOR: " + imgpath) + +# if (not os.path.isfile(imgpath)): +# print("NOT FILE?") +# if imgpath.endswith((".bmp", ".rgb", ".png", ".jpeg", ".jpg", +# ".jp2", ".tga", ".cin", ".dpx", ".exr", +# ".hdr", ".tif")): +# imgpath="images/"+os.path.basename(imgpath) +# else: +# imgpath="images/"+image.name+".png" + + self.writel(S_IMGS, 1, '<image id="' + imgid + + '" name="' + image.name + '">') + self.writel(S_IMGS, 2, '<init_from>' + imgpath + '</init_from>') + self.writel(S_IMGS, 1, '</image>') + self.image_cache[image] = imgid + return imgid + + def export_material(self, material, double_sided_hint=True): + if (material in self.material_cache): + return self.material_cache[material] + + fxid = self.new_id("fx") + self.writel(S_FX, 1, '<effect id="' + fxid + '" name="' + + material.name + '-fx">') + self.writel(S_FX, 2, '<profile_COMMON>') + + # Find and fetch the textures and create sources + sampler_table = {} + diffuse_tex = None + specular_tex = None + emission_tex = None + normal_tex = None + for i in range(len(material.texture_slots)): + ts = material.texture_slots[i] + if not ts: + continue + if not ts.use: + continue + if not ts.texture: + continue + if ts.texture.type != "IMAGE": + continue + + if ts.texture.image is None: + continue + + # Image + imgid = self.export_image(ts.texture.image) + + # Surface + surface_sid = self.new_id("fx_surf") + self.writel(S_FX, 3, '<newparam sid="' + surface_sid + '">') + self.writel(S_FX, 4, '<surface type="2D">') + # This is sooo weird + self.writel(S_FX, 5, '<init_from>' + imgid + '</init_from>') + self.writel(S_FX, 5, '<format>A8R8G8B8</format>') + self.writel(S_FX, 4, '</surface>') + self.writel(S_FX, 3, '</newparam>') + # Sampler, collada sure likes it difficult + sampler_sid = self.new_id("fx_sampler") + self.writel(S_FX, 3, '<newparam sid="' + sampler_sid + '">') + self.writel(S_FX, 4, '<sampler2D>') + self.writel(S_FX, 5, '<source>' + surface_sid + '</source>') + self.writel(S_FX, 4, '</sampler2D>') + self.writel(S_FX, 3, '</newparam>') + sampler_table[i] = sampler_sid + + if ts.use_map_color_diffuse and diffuse_tex is None: + diffuse_tex = sampler_sid + if ts.use_map_color_spec and specular_tex is None: + specular_tex = sampler_sid + if ts.use_map_emit and emission_tex is None: + emission_tex = sampler_sid + if ts.use_map_normal and normal_tex is None: + normal_tex = sampler_sid + + self.writel(S_FX, 3, '<technique sid="common">') + shtype = "blinn" + self.writel(S_FX, 4, '<' + shtype + '>') + # Ambient? from where? + + self.writel(S_FX, 5, '<emission>') + if emission_tex is not None: + self.writel(S_FX, 6, '<texture texture="' + emission_tex + + '" texcoord="CHANNEL1"/>') + else: + self.writel(S_FX, 6, '<color>' + + numarr_alpha(material.diffuse_color, material.emit) + + ' </color>') # not totally right but good enough + self.writel(S_FX, 5, '</emission>') + + self.writel(S_FX, 5, '<ambient>') + self.writel(S_FX, 6, '<color>' + + numarr_alpha(self.scene.world.ambient_color, + material.ambient) + ' </color>') + self.writel(S_FX, 5, '</ambient>') + + self.writel(S_FX, 5, '<diffuse>') + if diffuse_tex is not None: + self.writel(S_FX, 6, '<texture texture="' + diffuse_tex + + '" texcoord="CHANNEL1"/>') + else: + self.writel(S_FX, 6, + '<color>' + numarr_alpha(material.diffuse_color, + material.diffuse_intensity) + + '</color>') + self.writel(S_FX, 5, '</diffuse>') + + self.writel(S_FX, 5, '<specular>') + if specular_tex is not None: + self.writel(S_FX, 6, '<texture texture="' + specular_tex + + '" texcoord="CHANNEL1"/>') + else: + self.writel(S_FX, 6, '<color>' + numarr_alpha( + material.specular_color, material.specular_intensity) + + '</color>') + self.writel(S_FX, 5, '</specular>') + + self.writel(S_FX, 5, '<shininess>') + self.writel(S_FX, 6, '<float>' + str(material.specular_hardness) + + '</float>') + self.writel(S_FX, 5, '</shininess>') + + self.writel(S_FX, 5, '<reflective>') + self.writel(S_FX, 6, '<color>' + numarr_alpha(material.mirror_color) + + '</color>') + self.writel(S_FX, 5, '</reflective>') + + if (material.use_transparency): + self.writel(S_FX, 5, '<transparency>') + self.writel(S_FX, 6, '<float>' + str(material.alpha) + '</float>') + self.writel(S_FX, 5, '</transparency>') + + self.writel(S_FX, 5, '<index_of_refraction>') + self.writel(S_FX, 6, '<float>' + str(material.specular_ior) + + '</float>') + self.writel(S_FX, 5, '</index_of_refraction>') + + self.writel(S_FX, 4, '</' + shtype + '>') + + self.writel(S_FX, 4, '<extra>') + self.writel(S_FX, 5, '<technique profile="FCOLLADA">') + if (normal_tex): + self.writel(S_FX, 6, '<bump bumptype="NORMALMAP">') + self.writel(S_FX, 7, '<texture texture="' + normal_tex + + '" texcoord="CHANNEL1"/>') + self.writel(S_FX, 6, '</bump>') + + self.writel(S_FX, 5, '</technique>') + self.writel(S_FX, 5, '<technique profile="GOOGLEEARTH">') + self.writel(S_FX, 6, '<double_sided>' + ["0", "1"][double_sided_hint] + + "</double_sided>") + self.writel(S_FX, 5, '</technique>') + + if (material.use_shadeless): + self.writel(S_FX, 5, '<technique profile="GODOT">') + self.writel(S_FX, 6, '<unshaded>1</unshaded>') + self.writel(S_FX, 5, '</technique>') + + self.writel(S_FX, 4, '</extra>') + + self.writel(S_FX, 3, '</technique>') + self.writel(S_FX, 2, '</profile_COMMON>') + self.writel(S_FX, 1, '</effect>') + + # Also export blender material in all it's glory (if set as active) + + # Material + matid = self.new_id("material") + self.writel(S_MATS, 1, '<material id="' + matid + '" name="' + + material.name + '">') + self.writel(S_MATS, 2, '<instance_effect url="#' + fxid + '"/>') + self.writel(S_MATS, 1, '</material>') + + self.material_cache[material] = matid + return matid + + def export_mesh(self, node, armature=None, skeyindex=-1, skel_source=None, + custom_name=None): + mesh = node.data + + if (node.data in self.mesh_cache): + return self.mesh_cache[mesh] + + if (skeyindex == -1 and mesh.shape_keys is not None and len( + mesh.shape_keys.key_blocks)): + values = [] + morph_targets = [] + md = None + for k in range(0, len(mesh.shape_keys.key_blocks)): + shape = node.data.shape_keys.key_blocks[k] + values += [shape.value] # save value + shape.value = 0 + + mid = self.new_id("morph") + + for k in range(0, len(mesh.shape_keys.key_blocks)): + + shape = node.data.shape_keys.key_blocks[k] + node.show_only_shape_key = True + node.active_shape_key_index = k + shape.value = 1.0 + mesh.update() + """ + oldval = shape.value + shape.value = 1.0 + + """ + p = node.data + v = node.to_mesh(bpy.context.scene, True, "RENDER") + node.data = v +# self.export_node(node, il, shape.name) + node.data.update() + if (armature and k == 0): + md = self.export_mesh(node, armature, k, mid, shape.name) + else: + md = self.export_mesh(node, None, k, None, shape.name) + + node.data = p + node.data.update() + shape.value = 0.0 + morph_targets.append(md) + + """ + shape.value = oldval + """ + node.show_only_shape_key = False + node.active_shape_key_index = 0 + + self.writel(S_MORPH, 1, '<controller id="' + mid + '" name="">') + # if ("skin_id" in morph_targets[0]): + # self.writel(S_MORPH, 2, '<morph source="#'+morph_targets[0][ + # "skin_id"]+'" method="NORMALIZED">') + # else: + self.writel(S_MORPH, 2, '<morph source="#' + + morph_targets[0]["id"] + '" method="NORMALIZED">') + + self.writel(S_MORPH, 3, '<source id="' + mid + '-morph-targets">') + self.writel(S_MORPH, 4, '<IDREF_array id="' + mid + + '-morph-targets-array" count="' + + str(len(morph_targets) - 1) + '">') + marr = "" + warr = "" + for i in range(len(morph_targets)): + if (i == 0): + continue + elif (i > 1): + marr += " " + + if ("skin_id" in morph_targets[i]): + marr += morph_targets[i]["skin_id"] + else: + marr += morph_targets[i]["id"] + + warr += " 0" + + self.writel(S_MORPH, 5, marr) + self.writel(S_MORPH, 4, '</IDREF_array>') + self.writel(S_MORPH, 4, '<technique_common>') + self.writel(S_MORPH, 5, '<accessor source="#' + mid + + '-morph-targets-array" count="' + + str(len(morph_targets) - 1) + '" stride="1">') + self.writel( + S_MORPH, 6, '<param name="MORPH_TARGET" type="IDREF"/>') + self.writel(S_MORPH, 5, '</accessor>') + self.writel(S_MORPH, 4, '</technique_common>') + self.writel(S_MORPH, 3, '</source>') + + self.writel(S_MORPH, 3, '<source id="' + mid + '-morph-weights">') + self.writel(S_MORPH, 4, '<float_array id="' + mid + + '-morph-weights-array" count="' + + str(len(morph_targets) - 1) + '" >') + self.writel(S_MORPH, 5, warr) + self.writel(S_MORPH, 4, '</float_array>') + self.writel(S_MORPH, 4, '<technique_common>') + self.writel(S_MORPH, 5, '<accessor source="#' + mid + + '-morph-weights-array" count="' + + str(len(morph_targets) - 1) + '" stride="1">') + self.writel( + S_MORPH, 6, '<param name="MORPH_WEIGHT" type="float"/>') + self.writel(S_MORPH, 5, '</accessor>') + self.writel(S_MORPH, 4, '</technique_common>') + self.writel(S_MORPH, 3, '</source>') + + self.writel(S_MORPH, 3, '<targets>') + self.writel( + S_MORPH, 4, '<input semantic="MORPH_TARGET" source="#' + mid + + '-morph-targets"/>') + self.writel( + S_MORPH, 4, '<input semantic="MORPH_WEIGHT" source="#' + mid + + '-morph-weights"/>') + self.writel(S_MORPH, 3, '</targets>') + self.writel(S_MORPH, 2, '</morph>') + self.writel(S_MORPH, 1, '</controller>') + if armature is not None: + + self.armature_for_morph[node] = armature + + meshdata = {} + if (armature): + meshdata = morph_targets[0] + meshdata["morph_id"] = mid + else: + meshdata["id"] = morph_targets[0]["id"] + meshdata["morph_id"] = mid + meshdata["material_assign"] = morph_targets[ + 0]["material_assign"] + + self.mesh_cache[node.data] = meshdata + return meshdata + + apply_modifiers = len(node.modifiers) and self.config[ + "use_mesh_modifiers"] + + name_to_use = mesh.name + # print("name to use: "+mesh.name) + if (custom_name is not None and custom_name != ""): + name_to_use = custom_name + + mesh = node.to_mesh(self.scene, apply_modifiers, + "RENDER") # is this allright? + + triangulate = self.config["use_triangles"] + if (triangulate): + bm = bmesh.new() + bm.from_mesh(mesh) + bmesh.ops.triangulate(bm, faces=bm.faces) + bm.to_mesh(mesh) + bm.free() + + mesh.update(calc_tessface=True) + vertices = [] + vertex_map = {} + surface_indices = {} + materials = {} + + materials = {} + + si = None + if armature is not None: + si = self.skeleton_info[armature] + + has_uv = False + has_uv2 = False + has_weights = armature is not None + has_tangents = self.config["use_tangent_arrays"] # could detect.. + has_colors = len(mesh.vertex_colors) + mat_assign = [] + + uv_layer_count = len(mesh.uv_textures) + if has_tangents and len(mesh.uv_textures): + try: + mesh.calc_tangents() + except: + self.operator.report( + {'WARNING'}, 'CalcTangets failed for mesh "' + mesh.name + + '", no tangets will be exported.') + # uv_layer_count=0 + mesh.calc_normals_split() + has_tangents = False + + else: + mesh.calc_normals_split() + has_tangents = False + + for fi in range(len(mesh.polygons)): + f = mesh.polygons[fi] + + if not (f.material_index in surface_indices): + surface_indices[f.material_index] = [] + # print("Type: " + str(type(f.material_index))) + # print("IDX: " + str(f.material_index) + "/" + str( + # len(mesh.materials))) + + try: + # Bizarre blender behavior i don't understand, + # so catching exception + mat = mesh.materials[f.material_index] + except: + mat = None + + if (mat is not None): + materials[f.material_index] = self.export_material( + mat, mesh.show_double_sided) + else: + # weird, has no material? + materials[f.material_index] = None + + indices = surface_indices[f.material_index] + vi = [] + # Vertices always 3 + """ + if (len(f.vertices)==3): + vi.append(0) + vi.append(1) + vi.append(2) + elif (len(f.vertices)==4): + #todo, should use shortest path + vi.append(0) + vi.append(1) + vi.append(2) + vi.append(0) + vi.append(2) + vi.append(3) + """ + + for lt in range(f.loop_total): + loop_index = f.loop_start + lt + ml = mesh.loops[loop_index] + mv = mesh.vertices[ml.vertex_index] + + v = self.Vertex() + v.vertex = Vector(mv.co) + + for xt in mesh.uv_layers: + v.uv.append(Vector(xt.data[loop_index].uv)) + + if (has_colors): + v.color = Vector( + mesh.vertex_colors[0].data[loop_index].color) + + v.normal = Vector(ml.normal) + + if (has_tangents): + v.tangent = Vector(ml.tangent) + v.bitangent = Vector(ml.bitangent) + + # if (armature): + # v.vertex = node.matrix_world * v.vertex + + # v.color=Vertex(mv. ??? + + if armature is not None: + wsum = 0.0 + zero_bones = [] + + for vg in mv.groups: + if vg.group >= len(node.vertex_groups): + continue + name = node.vertex_groups[vg.group].name + + if (name in si["bone_index"]): + # could still put the weight as 0.0001 maybe + # blender has a lot of zero weight stuff + if (vg.weight > 0.001): + v.bones.append(si["bone_index"][name]) + v.weights.append(vg.weight) + wsum += vg.weight + if (wsum == 0.0): + if not self.wrongvtx_report: + self.operator.report( + {'WARNING'}, 'Mesh for object "' + node.name + + '" has unassigned weights. ' + 'This may look wrong in exported model.') + self.wrongvtx_report = True + + # blender can have bones assigned that weight zero + # so they remain local + # this is the best it can be done? + v.bones.append(0) + v.weights.append(1) + + tup = v.get_tup() + idx = 0 + # do not optmize if using shapekeys + if (skeyindex == -1 and tup in vertex_map): + idx = vertex_map[tup] + else: + idx = len(vertices) + vertices.append(v) + vertex_map[tup] = idx + + vi.append(idx) + + if (len(vi) > 2): + # only triangles and above + indices.append(vi) + + meshid = self.new_id("mesh") + self.writel(S_GEOM, 1, '<geometry id="' + meshid + + '" name="' + name_to_use + '">') + + self.writel(S_GEOM, 2, '<mesh>') + + # Vertex Array + self.writel(S_GEOM, 3, '<source id="' + meshid + '-positions">') + float_values = "" + for v in vertices: + float_values += " " + str(v.vertex.x) + " " + \ + str(v.vertex.y) + " " + str(v.vertex.z) + self.writel(S_GEOM, 4, '<float_array id="' + meshid + + '-positions-array" count="' + + str(len(vertices) * 3) + '">' + float_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + meshid + + '-positions-array" count="' + str(len(vertices)) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 4, '</technique_common>') + self.writel(S_GEOM, 3, '</source>') + + # Normal Array + + self.writel(S_GEOM, 3, '<source id="' + meshid + '-normals">') + float_values = "" + for v in vertices: + float_values += " " + str(v.normal.x) + " " + \ + str(v.normal.y) + " " + str(v.normal.z) + self.writel(S_GEOM, 4, '<float_array id="' + meshid + + '-normals-array" count="' + + str(len(vertices) * 3) + '">' + float_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + meshid + + '-normals-array" count="' + str(len(vertices)) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 4, '</technique_common>') + self.writel(S_GEOM, 3, '</source>') + + if (has_tangents): + self.writel(S_GEOM, 3, '<source id="' + meshid + '-tangents">') + float_values = "" + for v in vertices: + float_values += " " + \ + str(v.tangent.x) + " " + \ + str(v.tangent.y) + " " + str(v.tangent.z) + self.writel(S_GEOM, 4, '<float_array id="' + meshid + + '-tangents-array" count="' + + str(len(vertices) * 3) + '">' + float_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + meshid + + '-tangents-array" count="' + str(len(vertices)) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 4, '</technique_common>') + self.writel(S_GEOM, 3, '</source>') + + self.writel(S_GEOM, 3, '<source id="' + meshid + '-bitangents">') + float_values = "" + for v in vertices: + float_values += " " + \ + str(v.bitangent.x) + " " + \ + str(v.bitangent.y) + " " + str(v.bitangent.z) + self.writel(S_GEOM, 4, '<float_array id="' + meshid + + '-bitangents-array" count="' + + str(len(vertices) * 3) + '">' + float_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + meshid + + '-bitangents-array" count="' + str(len(vertices)) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 4, '</technique_common>') + self.writel(S_GEOM, 3, '</source>') + + # UV Arrays + + for uvi in range(uv_layer_count): + + self.writel(S_GEOM, 3, '<source id="' + meshid + + '-texcoord-' + str(uvi) + '">') + float_values = "" + for v in vertices: + try: + float_values += " " + \ + str(v.uv[uvi].x) + " " + str(v.uv[uvi].y) + except: + # I don't understand this weird multi-uv-layer API, but + # with this it seems to works + float_values += " 0 0 " + + self.writel(S_GEOM, 4, '<float_array id="' + meshid + + '-texcoord-' + str(uvi) + + '-array" count="' + str(len(vertices) * 2) + '">' + + float_values + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + meshid + + '-texcoord-' + + str(uvi) + '-array" count="' + str(len(vertices)) + + '" stride="2">') + self.writel(S_GEOM, 5, '<param name="S" type="float"/>') + self.writel(S_GEOM, 5, '<param name="T" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 4, '</technique_common>') + self.writel(S_GEOM, 3, '</source>') + + # Color Arrays + + if (has_colors): + self.writel(S_GEOM, 3, '<source id="' + meshid + '-colors">') + float_values = "" + for v in vertices: + float_values += " " + \ + str(v.color.x) + " " + \ + str(v.color.y) + " " + str(v.color.z) + self.writel(S_GEOM, 4, '<float_array id="' + meshid + + '-colors-array" count="' + + str(len(vertices) * 3) + '">' + float_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + meshid + + '-colors-array" count="' + str(len(vertices)) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 4, '</technique_common>') + self.writel(S_GEOM, 3, '</source>') + + # Triangle Lists + self.writel(S_GEOM, 3, '<vertices id="' + meshid + '-vertices">') + self.writel( + S_GEOM, 4, '<input semantic="POSITION" source="#' + meshid + + '-positions"/>') + self.writel(S_GEOM, 3, '</vertices>') + + prim_type = "" + if (triangulate): + prim_type = "triangles" + else: + prim_type = "polygons" + + for m in surface_indices: + indices = surface_indices[m] + mat = materials[m] + + if (mat is not None): + matref = self.new_id("trimat") + self.writel(S_GEOM, 3, '<' + prim_type + ' count="' + str( + int(len(indices))) + '" material="' + matref + + '">') # todo material + mat_assign.append((mat, matref)) + else: + self.writel(S_GEOM, 3, '<' + prim_type + ' count="' + + str(int(len(indices))) + '">') # todo material + + self.writel(S_GEOM, 4, '<input semantic="VERTEX" source="#' + + meshid + '-vertices" offset="0"/>') + self.writel(S_GEOM, 4, '<input semantic="NORMAL" source="#' + + meshid + '-normals" offset="0"/>') + + for uvi in range(uv_layer_count): + self.writel(S_GEOM, 4, '<input semantic="TEXCOORD" source="#' + + meshid + + '-texcoord-' + str(uvi) + '" offset="0" set="' + + str(uvi) + '"/>') + + if (has_colors): + self.writel(S_GEOM, 4, '<input semantic="COLOR" source="#' + + meshid + '-colors" offset="0"/>') + if (has_tangents): + self.writel(S_GEOM, 4, + '<input semantic="TEXTANGENT" source="#' + + meshid + '-tangents" offset="0"/>') + self.writel(S_GEOM, 4, + '<input semantic="TEXBINORMAL" source="#' + + meshid + '-bitangents" offset="0"/>') + + if (triangulate): + int_values = "<p>" + for p in indices: + for i in p: + int_values += " " + str(i) + int_values += " </p>" + self.writel(S_GEOM, 4, int_values) + else: + for p in indices: + int_values = "<p>" + for i in p: + int_values += " " + str(i) + int_values += " </p>" + self.writel(S_GEOM, 4, int_values) + + self.writel(S_GEOM, 3, '</' + prim_type + '>') + + self.writel(S_GEOM, 2, '</mesh>') + self.writel(S_GEOM, 1, '</geometry>') + + meshdata = {} + meshdata["id"] = meshid + meshdata["material_assign"] = mat_assign + if (skeyindex == -1): + self.mesh_cache[node.data] = meshdata + + # Export armature data (if armature exists) + + if (armature is not None and ( + skel_source is not None or skeyindex == -1)): + + contid = self.new_id("controller") + + self.writel(S_SKIN, 1, '<controller id="' + contid + '">') + if (skel_source is not None): + self.writel(S_SKIN, 2, '<skin source="#' + skel_source + '">') + else: + self.writel(S_SKIN, 2, '<skin source="#' + meshid + '">') + + self.writel(S_SKIN, 3, '<bind_shape_matrix>' + + strmtx(node.matrix_world) + '</bind_shape_matrix>') + # Joint Names + self.writel(S_SKIN, 3, '<source id="' + contid + '-joints">') + name_values = "" + for v in si["bone_names"]: + name_values += " " + v + + self.writel(S_SKIN, 4, '<Name_array id="' + contid + + '-joints-array" count="' + + str(len(si["bone_names"])) + '">' + name_values + + '</Name_array>') + self.writel(S_SKIN, 4, '<technique_common>') + self.writel(S_SKIN, 4, '<accessor source="#' + contid + + '-joints-array" count="' + str(len(si["bone_names"])) + + '" stride="1">') + self.writel(S_SKIN, 5, '<param name="JOINT" type="Name"/>') + self.writel(S_SKIN, 4, '</accessor>') + self.writel(S_SKIN, 4, '</technique_common>') + self.writel(S_SKIN, 3, '</source>') + # Pose Matrices! + self.writel(S_SKIN, 3, '<source id="' + contid + '-bind_poses">') + pose_values = "" + for v in si["bone_bind_poses"]: + pose_values += " " + strmtx(v) + + self.writel(S_SKIN, 4, '<float_array id="' + contid + + '-bind_poses-array" count="' + + str(len(si["bone_bind_poses"]) * 16) + '">' + + pose_values + '</float_array>') + self.writel(S_SKIN, 4, '<technique_common>') + self.writel(S_SKIN, 4, '<accessor source="#' + contid + + '-bind_poses-array" count="' + + str(len(si["bone_bind_poses"])) + '" stride="16">') + self.writel(S_SKIN, 5, '<param name="TRANSFORM" type="float4x4"/>') + self.writel(S_SKIN, 4, '</accessor>') + self.writel(S_SKIN, 4, '</technique_common>') + self.writel(S_SKIN, 3, '</source>') + # Skin Weights! + self.writel(S_SKIN, 3, '<source id="' + contid + '-skin_weights">') + skin_weights = "" + skin_weights_total = 0 + for v in vertices: + skin_weights_total += len(v.weights) + for w in v.weights: + skin_weights += " " + str(w) + + self.writel(S_SKIN, 4, '<float_array id="' + contid + + '-skin_weights-array" count="' + + str(skin_weights_total) + '">' + skin_weights + + '</float_array>') + self.writel(S_SKIN, 4, '<technique_common>') + self.writel(S_SKIN, 4, '<accessor source="#' + contid + + '-skin_weights-array" count="' + + str(skin_weights_total) + '" stride="1">') + self.writel(S_SKIN, 5, '<param name="WEIGHT" type="float"/>') + self.writel(S_SKIN, 4, '</accessor>') + self.writel(S_SKIN, 4, '</technique_common>') + self.writel(S_SKIN, 3, '</source>') + + self.writel(S_SKIN, 3, '<joints>') + self.writel( + S_SKIN, 4, '<input semantic="JOINT" source="#' + contid + + '-joints"/>') + self.writel( + S_SKIN, 4, '<input semantic="INV_BIND_MATRIX" source="#' + + contid + '-bind_poses"/>') + self.writel(S_SKIN, 3, '</joints>') + self.writel(S_SKIN, 3, '<vertex_weights count="' + + str(len(vertices)) + '">') + self.writel(S_SKIN, 4, '<input semantic="JOINT" source="#' + + contid + '-joints" offset="0"/>') + self.writel(S_SKIN, 4, '<input semantic="WEIGHT" source="#' + + contid + '-skin_weights" offset="1"/>') + vcounts = "" + vs = "" + vcount = 0 + for v in vertices: + vcounts += " " + str(len(v.weights)) + for b in v.bones: + vs += " " + str(b) + vs += " " + str(vcount) + vcount += 1 + self.writel(S_SKIN, 4, '<vcount>' + vcounts + '</vcount>') + self.writel(S_SKIN, 4, '<v>' + vs + '</v>') + self.writel(S_SKIN, 3, '</vertex_weights>') + + self.writel(S_SKIN, 2, '</skin>') + self.writel(S_SKIN, 1, '</controller>') + meshdata["skin_id"] = contid + + return meshdata + + def export_mesh_node(self, node, il): + if (node.data is None): + return + + armature = None + armcount = 0 + for n in node.modifiers: + if (n.type == "ARMATURE"): + armcount += 1 + + if (node.parent is not None): + if (node.parent.type == "ARMATURE"): + armature = node.parent + if (armcount > 1): + self.operator.report({'WARNING'}, 'Object "' + node.name + + '" refers to more than one armature! ' + 'This is unsupported.') + if (armcount == 0): + self.operator.report({'WARNING'}, 'Object "' + node.name + + '" is child of an armature, but has ' + 'no armature modifier.') + + if (armcount > 0 and not armature): + self.operator.report({'WARNING'}, 'Object "' + node.name + + '" has armature modifier, but is not a child ' + 'of an armature. This is unsupported.') + + if (node.data.shape_keys is not None): + sk = node.data.shape_keys + if (sk.animation_data): + # print("HAS ANIM") + # print("DRIVERS: "+str(len(sk.animation_data.drivers))) + for d in sk.animation_data.drivers: + if (d.driver): + for v in d.driver.variables: + for t in v.targets: + if (t.id is not None and + t.id.name in self.scene.objects): + # print("LINKING " + str(node) + " WITH " + + # str(t.id.name)) + self.armature_for_morph[ + node] = self.scene.objects[t.id.name] + + meshdata = self.export_mesh(node, armature) + close_controller = False + + if ("skin_id" in meshdata): + close_controller = True + self.writel(S_NODES, il, '<instance_controller url="#' + + meshdata["skin_id"] + '">') + for sn in self.skeleton_info[armature]["skeleton_nodes"]: + self.writel(S_NODES, il + 1, '<skeleton>#' + + sn + '</skeleton>') + elif ("morph_id" in meshdata): + self.writel(S_NODES, il, '<instance_controller url="#' + + meshdata["morph_id"] + '">') + close_controller = True + elif (armature is None): + self.writel(S_NODES, il, '<instance_geometry url="#' + + meshdata["id"] + '">') + + if (len(meshdata["material_assign"]) > 0): + + self.writel(S_NODES, il + 1, '<bind_material>') + self.writel(S_NODES, il + 2, '<technique_common>') + for m in meshdata["material_assign"]: + self.writel(S_NODES, il + 3, '<instance_material symbol="' + + m[1] + '" target="#' + m[0] + '"/>') + + self.writel(S_NODES, il + 2, '</technique_common>') + self.writel(S_NODES, il + 1, '</bind_material>') + + if (close_controller): + self.writel(S_NODES, il, '</instance_controller>') + else: + self.writel(S_NODES, il, '</instance_geometry>') + + def export_armature_bone(self, bone, il, si): + boneid = self.new_id("bone") + boneidx = si["bone_count"] + si["bone_count"] += 1 + bonesid = si["id"] + "-" + str(boneidx) + if (bone.name in self.used_bones): + if (self.config["use_anim_action_all"]): + self.operator.report({'WARNING'}, 'Bone name "' + bone.name + + '" used in more than one skeleton. ' + 'Actions might export wrong.') + else: + self.used_bones.append(bone.name) + + si["bone_index"][bone.name] = boneidx + si["bone_ids"][bone] = boneid + si["bone_names"].append(bonesid) + self.writel(S_NODES, il, '<node id="' + boneid + '" sid="' + + bonesid + '" name="' + bone.name + '" type="JOINT">') + il += 1 + xform = bone.matrix_local + si["bone_bind_poses"].append((si["armature_xform"] * xform).inverted()) + + if (bone.parent is not None): + xform = bone.parent.matrix_local.inverted() * xform + else: + si["skeleton_nodes"].append(boneid) + + self.writel(S_NODES, il, '<matrix sid="transform">' + + strmtx(xform) + '</matrix>') + for c in bone.children: + self.export_armature_bone(c, il, si) + il -= 1 + self.writel(S_NODES, il, '</node>') + + def export_armature_node(self, node, il): + if (node.data is None): + return + + self.skeletons.append(node) + + armature = node.data + self.skeleton_info[node] = { + "bone_count": 0, + "id": self.new_id("skelbones"), + "name": node.name, "bone_index": {}, + "bone_ids": {}, "bone_names": [], "bone_bind_poses": [], + "skeleton_nodes": [], + "armature_xform": node.matrix_world} + + for b in armature.bones: + if (b.parent is not None): + continue + self.export_armature_bone(b, il, self.skeleton_info[node]) + + if (node.pose): + for b in node.pose.bones: + for x in b.constraints: + if (x.type == 'ACTION'): + self.action_constraints.append(x.action) + + def export_camera_node(self, node, il): + if (node.data is None): + return + + camera = node.data + camid = self.new_id("camera") + self.writel(S_CAMS, 1, '<camera id="' + camid + + '" name="' + camera.name + '">') + self.writel(S_CAMS, 2, '<optics>') + self.writel(S_CAMS, 3, '<technique_common>') + if (camera.type == "PERSP"): + self.writel(S_CAMS, 4, '<perspective>') + self.writel(S_CAMS, 5, '<yfov> ' + + # I think? + str(math.degrees(camera.angle)) + ' </yfov>') + self.writel(S_CAMS, 5, '<aspect_ratio> ' + + str(self.scene.render.resolution_x / + self.scene.render.resolution_y) + + ' </aspect_ratio>') + self.writel(S_CAMS, 5, '<znear> ' + + str(camera.clip_start) + ' </znear>') + self.writel(S_CAMS, 5, '<zfar> ' + + str(camera.clip_end) + ' </zfar>') + self.writel(S_CAMS, 4, '</perspective>') + else: + self.writel(S_CAMS, 4, '<orthographic>') + self.writel(S_CAMS, 5, '<xmag> ' + + str(camera.ortho_scale * 0.5) + ' </xmag>') # I think? + self.writel(S_CAMS, 5, '<aspect_ratio> ' + str( + self.scene.render.resolution_x / + self.scene.render.resolution_y) + ' </aspect_ratio>') + self.writel(S_CAMS, 5, '<znear> ' + + str(camera.clip_start) + ' </znear>') + self.writel(S_CAMS, 5, '<zfar> ' + + str(camera.clip_end) + ' </zfar>') + self.writel(S_CAMS, 4, '</orthographic>') + + self.writel(S_CAMS, 3, '</technique_common>') + self.writel(S_CAMS, 2, '</optics>') + self.writel(S_CAMS, 1, '</camera>') + + self.writel(S_NODES, il, '<instance_camera url="#' + camid + '"/>') + + def export_lamp_node(self, node, il): + if (node.data is None): + return + + light = node.data + lightid = self.new_id("light") + self.writel(S_LAMPS, 1, '<light id="' + lightid + + '" name="' + light.name + '">') + # self.writel(S_LAMPS, 2, '<optics>') + self.writel(S_LAMPS, 3, '<technique_common>') + + if (light.type == "POINT"): + self.writel(S_LAMPS, 4, '<point>') + self.writel(S_LAMPS, 5, '<color>' + + strarr(light.color) + '</color>') + # convert to linear attenuation + att_by_distance = 2.0 / light.distance + self.writel(S_LAMPS, 5, '<linear_attenuation>' + + str(att_by_distance) + '</linear_attenuation>') + if (light.use_sphere): + self.writel(S_LAMPS, 5, '<zfar>' + + str(light.distance) + '</zfar>') + + self.writel(S_LAMPS, 4, '</point>') + elif (light.type == "SPOT"): + self.writel(S_LAMPS, 4, '<spot>') + self.writel(S_LAMPS, 5, '<color>' + + strarr(light.color) + '</color>') + # convert to linear attenuation + att_by_distance = 2.0 / light.distance + self.writel(S_LAMPS, 5, '<linear_attenuation>' + + str(att_by_distance) + '</linear_attenuation>') + self.writel(S_LAMPS, 5, '<falloff_angle>' + + str(math.degrees(light.spot_size / 2)) + + '</falloff_angle>') + self.writel(S_LAMPS, 4, '</spot>') + + else: # write a sun lamp for everything else (not supported) + self.writel(S_LAMPS, 4, '<directional>') + self.writel(S_LAMPS, 5, '<color>' + + strarr(light.color) + '</color>') + self.writel(S_LAMPS, 4, '</directional>') + + self.writel(S_LAMPS, 3, '</technique_common>') + # self.writel(S_LAMPS, 2, '</optics>') + self.writel(S_LAMPS, 1, '</light>') + + self.writel(S_NODES, il, '<instance_light url="#' + lightid + '"/>') + + def export_empty_node(self, node, il): + self.writel(S_NODES, 4, '<extra>') + self.writel(S_NODES, 5, '<technique profile="GODOT">') + self.writel(S_NODES, 6, '<empty_draw_type>' + + node.empty_draw_type + '</empty_draw_type>') + self.writel(S_NODES, 5, '</technique>') + self.writel(S_NODES, 4, '</extra>') + + def export_curve(self, curve): + splineid = self.new_id("spline") + + self.writel(S_GEOM, 1, '<geometry id="' + + splineid + '" name="' + curve.name + '">') + self.writel(S_GEOM, 2, '<spline closed="0">') + + points = [] + interps = [] + handles_in = [] + handles_out = [] + tilts = [] + + for cs in curve.splines: + + if (cs.type == "BEZIER"): + for s in cs.bezier_points: + points.append(s.co[0]) + points.append(s.co[1]) + points.append(s.co[2]) + + handles_in.append(s.handle_left[0]) + handles_in.append(s.handle_left[1]) + handles_in.append(s.handle_left[2]) + + handles_out.append(s.handle_right[0]) + handles_out.append(s.handle_right[1]) + handles_out.append(s.handle_right[2]) + + tilts.append(s.tilt) + interps.append("BEZIER") + else: + + for s in cs.points: + points.append(s.co[0]) + points.append(s.co[1]) + points.append(s.co[2]) + handles_in.append(s.co[0]) + handles_in.append(s.co[1]) + handles_in.append(s.co[2]) + handles_out.append(s.co[0]) + handles_out.append(s.co[1]) + handles_out.append(s.co[2]) + tilts.append(s.tilt) + interps.append("LINEAR") + + self.writel(S_GEOM, 3, '<source id="' + splineid + '-positions">') + position_values = "" + for x in points: + position_values += " " + str(x) + self.writel(S_GEOM, 4, '<float_array id="' + splineid + + '-positions-array" count="' + + str(len(points)) + '">' + position_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + splineid + + '-positions-array" count="' + str(len(points) / 3) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 3, '</source>') + + self.writel(S_GEOM, 3, '<source id="' + splineid + '-intangents">') + intangent_values = "" + for x in handles_in: + intangent_values += " " + str(x) + self.writel(S_GEOM, 4, '<float_array id="' + splineid + + '-intangents-array" count="' + + str(len(points)) + '">' + intangent_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + splineid + + '-intangents-array" count="' + str(len(points) / 3) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 3, '</source>') + + self.writel(S_GEOM, 3, '<source id="' + splineid + '-outtangents">') + outtangent_values = "" + for x in handles_out: + outtangent_values += " " + str(x) + self.writel(S_GEOM, 4, '<float_array id="' + splineid + + '-outtangents-array" count="' + + str(len(points)) + '">' + outtangent_values + + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + splineid + + '-outtangents-array" count="' + str(len(points) / 3) + + '" stride="3">') + self.writel(S_GEOM, 5, '<param name="X" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Y" type="float"/>') + self.writel(S_GEOM, 5, '<param name="Z" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 3, '</source>') + + self.writel(S_GEOM, 3, '<source id="' + splineid + '-interpolations">') + interpolation_values = "" + for x in interps: + interpolation_values += " " + x + self.writel(S_GEOM, 4, '<Name_array id="' + splineid + + '-interpolations-array" count="' + + str(len(interps)) + '">' + interpolation_values + + '</Name_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + splineid + + '-interpolations-array" count="' + str(len(interps)) + + '" stride="1">') + self.writel(S_GEOM, 5, '<param name="INTERPOLATION" type="name"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 3, '</source>') + + self.writel(S_GEOM, 3, '<source id="' + splineid + '-tilts">') + tilt_values = "" + for x in tilts: + tilt_values += " " + str(x) + self.writel(S_GEOM, 4, '<float_array id="' + splineid + + '-tilts-array" count="' + + str(len(tilts)) + '">' + tilt_values + '</float_array>') + self.writel(S_GEOM, 4, '<technique_common>') + self.writel(S_GEOM, 4, '<accessor source="#' + splineid + + '-tilts-array" count="' + str(len(tilts)) + + '" stride="1">') + self.writel(S_GEOM, 5, '<param name="TILT" type="float"/>') + self.writel(S_GEOM, 4, '</accessor>') + self.writel(S_GEOM, 3, '</source>') + + self.writel(S_GEOM, 3, '<control_vertices>') + self.writel( + S_GEOM, 4, '<input semantic="POSITION" source="#' + splineid + + '-positions"/>') + self.writel(S_GEOM, 4, '<input semantic="IN_TANGENT" source="#' + + splineid + '-intangents"/>') + self.writel(S_GEOM, 4, '<input semantic="OUT_TANGENT" source="#' + + splineid + '-outtangents"/>') + self.writel(S_GEOM, 4, '<input semantic="INTERPOLATION" source="#' + + splineid + '-interpolations"/>') + self.writel(S_GEOM, 4, '<input semantic="TILT" source="#' + + splineid + '-tilts"/>') + self.writel(S_GEOM, 3, '</control_vertices>') + + self.writel(S_GEOM, 2, '</spline>') + self.writel(S_GEOM, 1, '</geometry>') + + return splineid + + def export_curve_node(self, node, il): + if (node.data is None): + return + + curveid = self.export_curve(node.data) + + self.writel(S_NODES, il, '<instance_geometry url="#' + curveid + '">') + self.writel(S_NODES, il, '</instance_geometry>') + + def export_node(self, node, il): + if (node not in self.valid_nodes): + return + + prev_node = bpy.context.scene.objects.active + bpy.context.scene.objects.active = node + + self.writel(S_NODES, il, '<node id="' + self.validate_id(node.name) + + '" name="' + node.name + '" type="NODE">') + il += 1 + + self.writel(S_NODES, il, '<matrix sid="transform">' + + strmtx(node.matrix_local) + '</matrix>') + # print("NODE TYPE: "+node.type+" NAME: "+node.name) + if (node.type == "MESH"): + self.export_mesh_node(node, il) + elif (node.type == "CURVE"): + self.export_curve_node(node, il) + elif (node.type == "ARMATURE"): + self.export_armature_node(node, il) + elif (node.type == "CAMERA"): + self.export_camera_node(node, il) + elif (node.type == "LAMP"): + self.export_lamp_node(node, il) + elif (node.type == "EMPTY"): + self.export_empty_node(node, il) + + for x in node.children: + self.export_node(x, il) + + il -= 1 + self.writel(S_NODES, il, '</node>') + # make previous node active again + bpy.context.scene.objects.active = prev_node + + def is_node_valid(self, node): + if (node.type not in self.config["object_types"]): + return False + + if (self.config["use_active_layers"]): + valid = False + # print("NAME: "+node.name) + for i in range(20): + if (node.layers[i] and self.scene.layers[i]): + valid = True + break + if (not valid): + return False + + if (self.config["use_export_selected"] and not node.select): + return False + + return True + + def export_scene(self): + self.writel(S_NODES, 0, '<library_visual_scenes>') + self.writel(S_NODES, 1, '<visual_scene id="' + + self.scene_name + '" name="scene">') + + # validate nodes + for obj in self.scene.objects: + if (obj in self.valid_nodes): + continue + if (self.is_node_valid(obj)): + n = obj + while (n is not None): + if (n not in self.valid_nodes): + self.valid_nodes.append(n) + n = n.parent + + for obj in self.scene.objects: + if (obj in self.valid_nodes and obj.parent is None): + self.export_node(obj, 2) + + self.writel(S_NODES, 1, '</visual_scene>') + self.writel(S_NODES, 0, '</library_visual_scenes>') + + def export_asset(self): + self.writel(S_ASSET, 0, '<asset>') + # Why is this time stuff mandatory?, no one could care less... + self.writel(S_ASSET, 1, '<contributor>') + # Who made Collada, the FBI ? + self.writel(S_ASSET, 2, '<author> Anonymous </author>') + # Who made Collada, the FBI ? + self.writel( + S_ASSET, 2, '<authoring_tool> Collada Exporter for Blender 2.6+, ' + 'by Juan Linietsky (juan@codenix.com) </authoring_tool>') + self.writel(S_ASSET, 1, '</contributor>') + self.writel(S_ASSET, 1, '<created>' + + time.strftime("%Y-%m-%dT%H:%M:%SZ ") + '</created>') + self.writel(S_ASSET, 1, '<modified>' + + time.strftime("%Y-%m-%dT%H:%M:%SZ") + '</modified>') + self.writel(S_ASSET, 1, '<unit meter="1.0" name="meter"/>') + self.writel(S_ASSET, 1, '<up_axis>Z_UP</up_axis>') + self.writel(S_ASSET, 0, '</asset>') + + def export_animation_transform_channel(self, target, keys, matrices=True): + frame_total = len(keys) + anim_id = self.new_id("anim") + self.writel(S_ANIM, 1, '<animation id="' + anim_id + '">') + source_frames = "" + source_transforms = "" + source_interps = "" + + for k in keys: + source_frames += " " + str(k[0]) + if (matrices): + source_transforms += " " + strmtx(k[1]) + else: + source_transforms += " " + str(k[1]) + + source_interps += " LINEAR" + + # Time Source + self.writel(S_ANIM, 2, '<source id="' + anim_id + '-input">') + self.writel(S_ANIM, 3, '<float_array id="' + anim_id + + '-input-array" count="' + + str(frame_total) + '">' + source_frames + '</float_array>') + self.writel(S_ANIM, 3, '<technique_common>') + self.writel(S_ANIM, 4, '<accessor source="#' + anim_id + + '-input-array" count="' + str(frame_total) + + '" stride="1">') + self.writel(S_ANIM, 5, '<param name="TIME" type="float"/>') + self.writel(S_ANIM, 4, '</accessor>') + self.writel(S_ANIM, 3, '</technique_common>') + self.writel(S_ANIM, 2, '</source>') + + if (matrices): + # Transform Source + self.writel(S_ANIM, 2, '<source id="' + + anim_id + '-transform-output">') + self.writel(S_ANIM, 3, '<float_array id="' + anim_id + + '-transform-output-array" count="' + + str(frame_total * 16) + '">' + source_transforms + + '</float_array>') + self.writel(S_ANIM, 3, '<technique_common>') + self.writel(S_ANIM, 4, '<accessor source="#' + anim_id + + '-transform-output-array" count="' + str(frame_total) + + '" stride="16">') + self.writel(S_ANIM, 5, '<param name="TRANSFORM" type="float4x4"/>') + self.writel(S_ANIM, 4, '</accessor>') + self.writel(S_ANIM, 3, '</technique_common>') + self.writel(S_ANIM, 2, '</source>') + else: + # Value Source + self.writel(S_ANIM, 2, '<source id="' + + anim_id + '-transform-output">') + self.writel(S_ANIM, 3, '<float_array id="' + anim_id + + '-transform-output-array" count="' + + str(frame_total) + '">' + source_transforms + + '</float_array>') + self.writel(S_ANIM, 3, '<technique_common>') + self.writel(S_ANIM, 4, '<accessor source="#' + anim_id + + '-transform-output-array" count="' + str(frame_total) + + '" stride="1">') + self.writel(S_ANIM, 5, '<param name="X" type="float"/>') + self.writel(S_ANIM, 4, '</accessor>') + self.writel(S_ANIM, 3, '</technique_common>') + self.writel(S_ANIM, 2, '</source>') + + # Interpolation Source + self.writel(S_ANIM, 2, '<source id="' + + anim_id + '-interpolation-output">') + self.writel(S_ANIM, 3, '<Name_array id="' + anim_id + + '-interpolation-output-array" count="' + + str(frame_total) + '">' + source_interps + '</Name_array>') + self.writel(S_ANIM, 3, '<technique_common>') + self.writel(S_ANIM, 4, '<accessor source="#' + anim_id + + '-interpolation-output-array" count="' + str(frame_total) + + '" stride="1">') + self.writel(S_ANIM, 5, '<param name="INTERPOLATION" type="Name"/>') + self.writel(S_ANIM, 4, '</accessor>') + self.writel(S_ANIM, 3, '</technique_common>') + self.writel(S_ANIM, 2, '</source>') + + self.writel(S_ANIM, 2, '<sampler id="' + anim_id + '-sampler">') + self.writel(S_ANIM, 3, '<input semantic="INPUT" source="#' + + anim_id + '-input"/>') + self.writel(S_ANIM, 3, '<input semantic="OUTPUT" source="#' + + anim_id + '-transform-output"/>') + self.writel(S_ANIM, 3, '<input semantic="INTERPOLATION" source="#' + + anim_id + '-interpolation-output"/>') + self.writel(S_ANIM, 2, '</sampler>') + if (matrices): + self.writel(S_ANIM, 2, '<channel source="#' + anim_id + + '-sampler" target="' + target + '/transform"/>') + else: + self.writel(S_ANIM, 2, '<channel source="#' + + anim_id + '-sampler" target="' + target + '"/>') + self.writel(S_ANIM, 1, '</animation>') + + return [anim_id] + + def export_animation(self, start, end, allowed=None): + # Blender -> Collada frames needs a little work + # Collada starts from 0, blender usually from 1 + # The last frame must be included also + + frame_orig = self.scene.frame_current + + frame_len = 1.0 / self.scene.render.fps + frame_total = end - start + 1 + frame_sub = 0 + if (start > 0): + frame_sub = start * frame_len + + tcn = [] + xform_cache = {} + blend_cache = {} + # Change frames first, export objects last + # This improves performance enormously + + # print("anim from: " + str(start) + " to " + str(end) + " allowed: " + + # str(allowed)) + for t in range(start, end + 1): + self.scene.frame_set(t) + key = t * frame_len - frame_sub +# print("Export Anim Frame "+str(t)+"/"+str(self.scene.frame_end+1)) + + for node in self.scene.objects: + + if (node not in self.valid_nodes): + continue + if (allowed is not None and not (node in allowed)): + if (node.type == "MESH" and node.data is not None and + (node in self.armature_for_morph) and ( + self.armature_for_morph[node] in allowed)): + # all good you pass with flying colors for morphs + # inside of action + pass + else: + # print("fail "+str((node in self.armature_for_morph))) + continue + if (node.type == "MESH" and node.data is not None and + node.data.shape_keys is not None and ( + node.data in self.mesh_cache) and len( + node.data.shape_keys.key_blocks)): + target = self.mesh_cache[node.data]["morph_id"] + for i in range(len(node.data.shape_keys.key_blocks)): + + if (i == 0): + continue + + name = target + "-morph-weights(" + str(i - 1) + ")" + if (not (name in blend_cache)): + blend_cache[name] = [] + + blend_cache[name].append( + (key, node.data.shape_keys.key_blocks[i].value)) + + if (node.type == "MESH" and node.parent and + node.parent.type == "ARMATURE"): + + # In Collada, nodes that have skin modifier must not export + # animation, animate the skin instead. + continue + + if (len(node.constraints) > 0 or + node.animation_data is not None): + # If the node has constraints, or animation data, then + # export a sampled animation track + name = self.validate_id(node.name) + if (not (name in xform_cache)): + xform_cache[name] = [] + + mtx = node.matrix_world.copy() + if (node.parent): + mtx = node.parent.matrix_world.inverted() * mtx + + xform_cache[name].append((key, mtx)) + + if (node.type == "ARMATURE"): + # All bones exported for now + + for bone in node.data.bones: + + bone_name = self.skeleton_info[node]["bone_ids"][bone] + + if (not (bone_name in xform_cache)): + # print("has bone: " + bone_name) + xform_cache[bone_name] = [] + + posebone = node.pose.bones[bone.name] + parent_posebone = None + + mtx = posebone.matrix.copy() + if (bone.parent): + parent_posebone = node.pose.bones[bone.parent.name] + parent_invisible = False + + for i in range(3): + if (parent_posebone.scale[i] == 0.0): + parent_invisible = True + + if (not parent_invisible): + mtx = parent_posebone.matrix.inverted() * mtx + + xform_cache[bone_name].append((key, mtx)) + + self.scene.frame_set(frame_orig) + + # export animation xml + for nid in xform_cache: + tcn += self.export_animation_transform_channel( + nid, xform_cache[nid], True) + for nid in blend_cache: + tcn += self.export_animation_transform_channel( + nid, blend_cache[nid], False) + + return tcn + + def export_animations(self): + tmp_mat = [] + for s in self.skeletons: + tmp_bone_mat = [] + for bone in s.pose.bones: + tmp_bone_mat.append(Matrix(bone.matrix_basis)) + bone.matrix_basis = Matrix() + tmp_mat.append([Matrix(s.matrix_local), tmp_bone_mat]) + + self.writel(S_ANIM, 0, '<library_animations>') + + if (self.config["use_anim_action_all"] and len(self.skeletons)): + + cached_actions = {} + + for s in self.skeletons: + if s.animation_data and s.animation_data.action: + cached_actions[s] = s.animation_data.action.name + + self.writel(S_ANIM_CLIPS, 0, '<library_animation_clips>') + + for x in bpy.data.actions[:]: + if x.users == 0 or x in self.action_constraints: + continue + if (self.config["use_anim_skip_noexp"] and + x.name.endswith("-noexp")): + continue + + bones = [] + # find bones used + for p in x.fcurves: + dp = str(p.data_path) + base = "pose.bones[\"" + if (dp.find(base) == 0): + dp = dp[len(base):] + if (dp.find('"') != -1): + dp = dp[:dp.find('"')] + if (dp not in bones): + bones.append(dp) + + allowed_skeletons = [] + for i, y in enumerate(self.skeletons): + if (y.animation_data): + for z in y.pose.bones: + if (z.bone.name in bones): + if (y not in allowed_skeletons): + allowed_skeletons.append(y) + y.animation_data.action = x + + y.matrix_local = tmp_mat[i][0] + for j, bone in enumerate(s.pose.bones): + bone.matrix_basis = Matrix() + + # print("allowed skeletons "+str(allowed_skeletons)) + + # print(str(x)) + + tcn = self.export_animation(int(x.frame_range[0]), int( + x.frame_range[1] + 0.5), allowed_skeletons) + framelen = (1.0 / self.scene.render.fps) + start = x.frame_range[0] * framelen + end = x.frame_range[1] * framelen + # print("Export anim: "+x.name) + self.writel( + S_ANIM_CLIPS, 1, '<animation_clip name="' + x.name + + '" start="' + str(start) + '" end="' + str(end) + '">') + for z in tcn: + self.writel(S_ANIM_CLIPS, 2, + '<instance_animation url="#' + z + '"/>') + self.writel(S_ANIM_CLIPS, 1, '</animation_clip>') + if (len(tcn) == 0): + self.operator.report( + {'WARNING'}, 'Animation clip "' + x.name + + '" contains no tracks.') + + self.writel(S_ANIM_CLIPS, 0, '</library_animation_clips>') + + for i, s in enumerate(self.skeletons): + if (s.animation_data is None): + continue + if s in cached_actions: + s.animation_data.action = bpy.data.actions[ + cached_actions[s]] + else: + s.animation_data.action = None + for j, bone in enumerate(s.pose.bones): + bone.matrix_basis = tmp_mat[i][1][j] + + else: + self.export_animation(self.scene.frame_start, self.scene.frame_end) + + self.writel(S_ANIM, 0, '</library_animations>') + + def export(self): + self.writel(S_GEOM, 0, '<library_geometries>') + self.writel(S_CONT, 0, '<library_controllers>') + self.writel(S_CAMS, 0, '<library_cameras>') + self.writel(S_LAMPS, 0, '<library_lights>') + self.writel(S_IMGS, 0, '<library_images>') + self.writel(S_MATS, 0, '<library_materials>') + self.writel(S_FX, 0, '<library_effects>') + + self.skeletons = [] + self.action_constraints = [] + self.export_asset() + self.export_scene() + + self.writel(S_GEOM, 0, '</library_geometries>') + + # morphs always go before skin controllers + if S_MORPH in self.sections: + for l in self.sections[S_MORPH]: + self.writel(S_CONT, 0, l) + del self.sections[S_MORPH] + + # morphs always go before skin controllers + if S_SKIN in self.sections: + for l in self.sections[S_SKIN]: + self.writel(S_CONT, 0, l) + del self.sections[S_SKIN] + + self.writel(S_CONT, 0, '</library_controllers>') + self.writel(S_CAMS, 0, '</library_cameras>') + self.writel(S_LAMPS, 0, '</library_lights>') + self.writel(S_IMGS, 0, '</library_images>') + self.writel(S_MATS, 0, '</library_materials>') + self.writel(S_FX, 0, '</library_effects>') + + if (self.config["use_anim"]): + self.export_animations() + + try: + f = open(self.path, "wb") + except: + return False + + f.write(bytes('<?xml version="1.0" encoding="utf-8"?>\n', "UTF-8")) + f.write(bytes( + '<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" ' + 'version="1.4.1">\n', "UTF-8")) + + s = [] + for x in self.sections.keys(): + s.append(x) + s.sort() + for x in s: + for l in self.sections[x]: + f.write(bytes(l + "\n", "UTF-8")) + + f.write(bytes('<scene>\n', "UTF-8")) + f.write(bytes('\t<instance_visual_scene url="#' + + self.scene_name + '" />\n', "UTF-8")) + f.write(bytes('</scene>\n', "UTF-8")) + f.write(bytes('</COLLADA>\n', "UTF-8")) + return True + + def __init__(self, path, kwargs, operator): + self.operator = operator + self.scene = bpy.context.scene + self.last_id = 0 + self.scene_name = self.new_id("scene") + self.sections = {} + self.path = path + self.mesh_cache = {} + self.curve_cache = {} + self.material_cache = {} + self.image_cache = {} + self.skeleton_info = {} + self.config = kwargs + self.valid_nodes = [] + self.armature_for_morph = {} + self.used_bones = [] + self.wrongvtx_report = False + + +def save(operator, context, filepath="", use_selection=False, **kwargs): + exp = DaeExporter(filepath, kwargs, operator) + exp.export() + + return {'FINISHED'} # so the script wont run after we have batch exported. diff --git a/tools/translations/ar.po b/tools/translations/ar.po index 772404006a..a6c34268b1 100644 --- a/tools/translations/ar.po +++ b/tools/translations/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" -"PO-Revision-Date: 2016-06-19 08:49+0000\n" +"PO-Revision-Date: 2016-06-20 11:18+0000\n" "Last-Translator: Mohammmad Khashashneh <mohammad.rasmi@gmail.com>\n" "Language-Team: Arabic <https://hosted.weblate.org/projects/godot-engine/" "godot/ar/>\n" @@ -64,7 +64,7 @@ msgid "" "order for AnimatedSprite to display frames." msgstr "" "ليتم إظهار الأطر (اللقطات) في الAnimatedSprite (النقوش المتحركة), يجب تكوين " -"مصدر لها من نوع SpriteFrames و ضبط خاصية الFrames (الأطر) بها. " +"مصدر لها من نوع SpriteFrames و ضبط خاصية الFrames (الأطر) بها." #: scene/2d/canvas_modulate.cpp msgid "" @@ -640,10 +640,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -684,10 +680,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -952,7 +944,7 @@ msgid "Method in target Node must be specified!" msgstr "" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +msgid "Connect To Node:" msgstr "" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1165,6 +1157,46 @@ msgstr "" msgid "Choose" msgstr "" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1418,8 +1450,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1512,6 +1559,10 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1535,7 +1586,7 @@ msgid "Save Layout" msgstr "" #: tools/editor/editor_node.cpp -msgid "Load Layout" +msgid "Delete Layout" msgstr "" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp @@ -1543,10 +1594,6 @@ msgid "Default" msgstr "" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "" @@ -1576,6 +1623,14 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2118,6 +2173,12 @@ msgid "No target font resource!" msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "" @@ -2353,7 +2414,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3016,13 +3077,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3138,7 +3197,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3391,6 +3449,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3752,17 +3814,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4598,17 +4657,43 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp @@ -5670,31 +5755,27 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" +msgid "Edit Connections" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" +msgid "Delete Node(s)" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Change Type" +msgid "Add Child Node" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" +msgid "Instance Child Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" +msgid "Change Type" msgstr "" #: tools/editor/scene_tree_dock.cpp @@ -5710,10 +5791,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" diff --git a/tools/translations/bg.po b/tools/translations/bg.po new file mode 100644 index 0000000000..247585d5a3 --- /dev/null +++ b/tools/translations/bg.po @@ -0,0 +1,6213 @@ +# Bulgarian translation of the Godot Engine editor +# Copyright (C) 2016 Juan Linietsky, Ariel Manzur and the Godot community +# This file is distributed under the same license as the Godot source code. +# +# Bojidar Marinov <bojidar.marinov.bg@gmail.com>, 2016. +# +msgid "" +msgstr "" +"Project-Id-Version: Godot Engine editor\n" +"PO-Revision-Date: 2016-06-27 15:36+0000\n" +"Last-Translator: Bojidar Marinov <bojidar.marinov.bg@gmail.com>\n" +"Language-Team: Bulgarian <https://hosted.weblate.org/projects/godot-engine/" +"godot/bg/>\n" +"Language: bg\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 2.7-dev\n" + +#: modules/gdscript/gd_functions.cpp +msgid "Invalid type argument to convert(), use TYPE_* constants." +msgstr "" +"Невалиден агрумент тип на convert(), използвайте константите започващи с " +"TYPE_*." + +#: modules/gdscript/gd_functions.cpp +msgid "Not enough bytes for decoding bytes, or invalid format." +msgstr "Недостатъчно байтове за декодиране на байтовете, или невалиден формат." + +#: modules/gdscript/gd_functions.cpp +msgid "step argument is zero!" +msgstr "Стъпката на range() е нула!" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Not a script with an instance" +msgstr "Скриптът няма инстанция" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Not based on a script" +msgstr "Обектът не е базиран на скрипт" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Not based on a resource file" +msgstr "Обектът не е базиран на ресурсен файл" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid instance dictionary format (missing @path)" +msgstr "Невалиден формат на инстанцията в речника (липсва @path)" + +#: modules/gdscript/gd_functions.cpp +msgid "Invalid instance dictionary format (can't load script at @path)" +msgstr "" +"Невалиден формат на инстанцията в речника (скриптът в @path не може да бъде " +"зареден)" + +#: modules/gdscript/gd_functions.cpp +msgid "Invalid instance dictionary format (invalid script at @path)" +msgstr "" +"Невалиден формат на инстанцията в речника (скриптът в @path е невалиден)" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid instance dictionary (invalid subclasses)" +msgstr "Невалиден формат на инстанцията в речника (невалиден подклас)" + +#: scene/2d/animated_sprite.cpp +msgid "" +"A SpriteFrames resource must be created or set in the 'Frames' property in " +"order for AnimatedSprite to display frames." +msgstr "" +"За да може AnimatedSprite да показва кадри, първо трябва да му се даде " +"SpriteFrames ресурс в парамертъра 'Frames'." + +#: scene/2d/canvas_modulate.cpp +#, fuzzy +msgid "" +"Only one visible CanvasModulate is allowed per scene (or set of instanced " +"scenes). The first created one will work, while the rest will be ignored." +msgstr "" +"Може да има само един видим CanvasModulate на сцене (или няколко " +"инстанцирани сцени). Само първият ще работи, а всички останали - игнорирани." + +#: scene/2d/collision_polygon_2d.cpp +msgid "" +"CollisionPolygon2D only serves to provide a collision shape to a " +"CollisionObject2D derived node. Please only use it as a child of Area2D, " +"StaticBody2D, RigidBody2D, KinematicBody2D, etc. to give them a shape." +msgstr "" +"CollisionPolygon2D служи само за да даде форма за колизии на " +"CollisionObject2D. Моля, използвайте го само като наследник на Area2D, " +"StaticBody2D, RigidBody2D, KinematicBody2D, и т.н. за да им дадете форма." + +#: scene/2d/collision_polygon_2d.cpp +msgid "An empty CollisionPolygon2D has no effect on collision." +msgstr "Празен CollisionPolygon2D няма никакъв ефект на колизията." + +#: scene/2d/collision_shape_2d.cpp +msgid "" +"CollisionShape2D only serves to provide a collision shape to a " +"CollisionObject2D derived node. Please only use it as a child of Area2D, " +"StaticBody2D, RigidBody2D, KinematicBody2D, etc. to give them a shape." +msgstr "" +"CollisionShape2D служи само за да даде форма за колизии на " +"CollisionObject2D. Моля, използвайте го само като наследник на Area2D, " +"StaticBody2D, RigidBody2D, KinematicBody2D, и т.н. за да им дадете форма." + +#: scene/2d/collision_shape_2d.cpp +#, fuzzy +msgid "" +"A shape must be provided for CollisionShape2D to function. Please create a " +"shape resource for it!" +msgstr "" +"За да работи CollisionShape2D, е нужно да му се даде форма. Моля, създайте " +"му Shape2D ресурс." + +#: scene/2d/light_2d.cpp +msgid "" +"A texture with the shape of the light must be supplied to the 'texture' " +"property." +msgstr "" +"Тесктура с нужната форма на светлината трябва да бъде дадена в параметъра " +"'texture'." + +#: scene/2d/light_occluder_2d.cpp +msgid "" +"An occluder polygon must be set (or drawn) for this occluder to take effect." +msgstr "" +"Затъмняващият многоъгълник трябва да бъде зададен (или нарисуван) за да може " +"да работи тази сянка." + +#: scene/2d/light_occluder_2d.cpp +msgid "The occluder polygon for this occluder is empty. Please draw a polygon!" +msgstr "Затъмняващият многоъгълник е празен. Моля, нарисувайте един." + +#: scene/2d/navigation_polygon.cpp +msgid "" +"A NavigationPolygon resource must be set or created for this node to work. " +"Please set a property or draw a polygon." +msgstr "" +"На този нод трябва да бъде даден един NavigationPolygon ресурс. Моля, " +"задайте или нарисувайте един многоъгълник." + +#: scene/2d/navigation_polygon.cpp +msgid "" +"NavigationPolygonInstance must be a child or grandchild to a Navigation2D " +"node. It only provides navigation data." +msgstr "" +"NavigationPolygonInstance трябва да бъде наследник или наследник на " +"наследник на Navigation2D. Той само дава навигационна информация." + +#: scene/2d/parallax_layer.cpp +msgid "" +"ParallaxLayer node only works when set as child of a ParallaxBackground node." +msgstr "ParallaxLayer работи само когато е наследник на ParallaxBackground." + +#: scene/2d/particles_2d.cpp +msgid "Path property must point to a valid Particles2D node to work." +msgstr "" +"Параметъра 'Path' трябва да сочи към работещ Particles2D нод за да работи." + +#: scene/2d/path_2d.cpp +msgid "PathFollow2D only works when set as a child of a Path2D node." +msgstr "PathFollow2D работи само когато е наследник на Path2D." + +#: scene/2d/remote_transform_2d.cpp +msgid "Path property must point to a valid Node2D node to work." +msgstr "Параметъра 'Path' трябва да сочи към Node2D нод за да работи." + +#: scene/2d/sample_player_2d.cpp scene/audio/sample_player.cpp +msgid "" +"A SampleLibrary resource must be created or set in the 'samples' property in " +"order for SamplePlayer to play sound." +msgstr "" +"За да изпълнява звук, SamplePlayer трябва да има един SampleLibrary ресурс в " +"параметъра 'samples'." + +#: scene/2d/sprite.cpp +msgid "" +"Path property must point to a valid Viewport node to work. Such Viewport " +"must be set to 'render target' mode." +msgstr "" +"Параметъра 'Path' трябва да сочи към валиден Viewport нод за да работи. Този " +"Viewport трябва да бъде настройен в режим 'рендъринг цел'(render target)." + +#: scene/2d/sprite.cpp +msgid "" +"The Viewport set in the path property must be set as 'render target' in " +"order for this sprite to work." +msgstr "" + +#: scene/2d/visibility_notifier_2d.cpp +msgid "" +"VisibilityEnable2D works best when used with the edited scene root directly " +"as parent." +msgstr "" + +#: scene/3d/body_shape.cpp +msgid "" +"CollisionShape only serves to provide a collision shape to a CollisionObject " +"derived node. Please only use it as a child of Area, StaticBody, RigidBody, " +"KinematicBody, etc. to give them a shape." +msgstr "" + +#: scene/3d/body_shape.cpp +msgid "" +"A shape must be provided for CollisionShape to function. Please create a " +"shape resource for it!" +msgstr "" + +#: scene/3d/collision_polygon.cpp +msgid "" +"CollisionPolygon only serves to provide a collision shape to a " +"CollisionObject derived node. Please only use it as a child of Area, " +"StaticBody, RigidBody, KinematicBody, etc. to give them a shape." +msgstr "" + +#: scene/3d/collision_polygon.cpp +msgid "An empty CollisionPolygon has no effect on collision." +msgstr "" + +#: scene/3d/navigation_mesh.cpp +msgid "A NavigationMesh resource must be set or created for this node to work." +msgstr "" + +#: scene/3d/navigation_mesh.cpp +msgid "" +"NavigationMeshInstance must be a child or grandchild to a Navigation node. " +"It only provides navigation data." +msgstr "" + +#: scene/3d/scenario_fx.cpp +msgid "" +"Only one WorldEnvironment is allowed per scene (or set of instanced scenes)." +msgstr "" + +#: scene/3d/spatial_sample_player.cpp +msgid "" +"A SampleLibrary resource must be created or set in the 'samples' property in " +"order for SpatialSamplePlayer to play sound." +msgstr "" + +#: scene/3d/sprite_3d.cpp +msgid "" +"A SpriteFrames resource must be created or set in the 'Frames' property in " +"order for AnimatedSprite3D to display frames." +msgstr "" + +#: scene/gui/dialogs.cpp tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Cancel" +msgstr "" + +#: scene/gui/dialogs.cpp +msgid "OK" +msgstr "" + +#: scene/gui/dialogs.cpp +msgid "Alert!" +msgstr "" + +#: scene/gui/dialogs.cpp +msgid "Please Confirm..." +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "File Exists, Overwrite?" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "All Recognized" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "All Files (*)" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/editor_help.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp +#: tools/editor/scenes_dock.cpp +msgid "Open" +msgstr "" + +#: scene/gui/file_dialog.cpp +msgid "Open a File" +msgstr "" + +#: scene/gui/file_dialog.cpp +msgid "Open File(s)" +msgstr "" + +#: scene/gui/file_dialog.cpp +msgid "Open a Directory" +msgstr "" + +#: scene/gui/file_dialog.cpp +msgid "Open a File or Directory" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Save a File" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp +#: tools/editor/editor_file_dialog.cpp +msgid "Create Folder" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/project_settings.cpp tools/editor/script_create_dialog.cpp +msgid "Path:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Directories & Files:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "File:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Filter:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_plugin_settings.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Name:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp +#: tools/editor/editor_file_dialog.cpp +msgid "Could not create folder." +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Must use a valid extension." +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Shift+" +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Alt+" +msgstr "" + +#: scene/gui/input_action.cpp +msgid "Ctrl+" +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Meta+" +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Device" +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Button" +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Left Button." +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Right Button." +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Middle Button." +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Wheel Up." +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Wheel Down." +msgstr "" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Axis" +msgstr "" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Cut" +msgstr "" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp +msgid "Copy" +msgstr "" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp +msgid "Paste" +msgstr "" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/project_export.cpp +msgid "Select All" +msgstr "" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp tools/editor/editor_log.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/rich_text_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/script_editor_debugger.cpp +msgid "Clear" +msgstr "" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Undo" +msgstr "" + +#: scene/gui/popup.cpp +msgid "" +"Popups will hide by default unless you call popup() or any of the popup*() " +"functions. Making them visible for editing is fine though, but they will " +"hide upon running." +msgstr "" + +#: scene/main/viewport.cpp +msgid "" +"This viewport is not set as render target. If you intend for it to display " +"its contents directly to the screen, make it a child of a Control so it can " +"obtain a size. Otherwise, make it a RenderTarget and assign its internal " +"texture to some node for display." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error initializing FreeType." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Unknown font format." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error loading font." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font size." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Disabled" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "All Selection" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move Add Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Transition" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Transform" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Value" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Call" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Add Track" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move Anim Track Up" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move Anim Track Down" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove Anim Track" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Duplicate Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Set Transitions to:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Track Rename" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Track Change Interpolation" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Track Change Value Mode" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Edit Node Curve" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Edit Selection Curve" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Delete Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Continuous" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Discrete" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Trigger" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Add Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Move Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Scale Selection" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Scale From Cursor" +msgstr "" + +#: tools/editor/animation_editor.cpp +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Duplicate Selection" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Duplicate Transposed" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Goto Next Step" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Goto Prev Step" +msgstr "" + +#: tools/editor/animation_editor.cpp tools/editor/property_editor.cpp +msgid "Linear" +msgstr "" + +#: tools/editor/animation_editor.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Constant" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "In" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Out" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "In-Out" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Out-In" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Transitions" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Optimize Animation" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-Up Animation" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Create NEW track for %s and insert key?" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Create %d NEW tracks and insert keys?" +msgstr "" + +#: tools/editor/animation_editor.cpp tools/editor/create_dialog.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/particles_editor_plugin.cpp +#: tools/editor/project_manager.cpp tools/editor/script_create_dialog.cpp +msgid "Create" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Create & Insert" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Insert Track & Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Insert Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Change Anim Len" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Change Anim Loop" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Create Typed Value Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Insert" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Scale Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Add Call Track" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Animation zoom." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Length (s):" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Animation length (in seconds)." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Step (s):" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Cursor step snap (in seconds)." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Enable/Disable looping in animation." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Add new tracks." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move current track up." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move current track down." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove selected track." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Track tools" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Enable editing of individual keys by clicking them." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim. Optimizer" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Max. Linear Error:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Max. Angular Error:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Max Optimizable Angle:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Optimize" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Transition" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Scale Ratio:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Call Functions in Which Node?" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove invalid keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove unresolved and empty tracks" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-up all animations" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-Up Animation(s) (NO UNDO!)" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-Up" +msgstr "" + +#: tools/editor/array_property_edit.cpp +msgid "Resize Array" +msgstr "" + +#: tools/editor/array_property_edit.cpp +msgid "Change Array Value Type" +msgstr "" + +#: tools/editor/array_property_edit.cpp +msgid "Change Array Value" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp tools/editor/create_dialog.cpp +#: tools/editor/editor_help.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Search:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Sort:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Reverse" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +#: tools/editor/project_settings.cpp +msgid "Category:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "All" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Site:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Support.." +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Official" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Community" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Testing" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Assets ZIP File" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Method List For '%s':" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Call" +msgstr "" + +#: tools/editor/call_dialog.cpp tools/editor/connections_dialog.cpp +#: tools/editor/import_settings.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +#: tools/editor/project_settings.cpp tools/editor/property_editor.cpp +#: tools/editor/run_settings_dialog.cpp tools/editor/settings_config_dialog.cpp +msgid "Close" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Method List:" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Arguments:" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Return:" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Go to Line" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Line Number:" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "No Matches" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replaced %d Ocurrence(s)." +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace All" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Match Case" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Whole Words" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Selection Only" +msgstr "" + +#: tools/editor/code_editor.cpp tools/editor/editor_help.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/project_settings.cpp +msgid "Search" +msgstr "" + +#: tools/editor/code_editor.cpp tools/editor/editor_help.cpp +msgid "Find" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Next" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replaced %d ocurrence(s)." +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Not found!" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace By" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Case Sensitive" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Backwards" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Prompt On Replace" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Skip" +msgstr "" + +#: tools/editor/code_editor.cpp tools/editor/script_editor_debugger.cpp +msgid "Line:" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Col:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Method in target Node must be specified!" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect To Node:" +msgstr "" + +#: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp +#: tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/project_settings.cpp +msgid "Add" +msgstr "" + +#: tools/editor/connections_dialog.cpp tools/editor/dependency_editor.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/project_manager.cpp +msgid "Remove" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Add Extra Call Argument:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Extra Call Arguments:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Path to Node:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Make Function" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Deferred" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Oneshot" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect '%s' to '%s'" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connecting Signal:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Create Subscription" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect.." +msgstr "" + +#: tools/editor/connections_dialog.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Disconnect" +msgstr "" + +#: tools/editor/connections_dialog.cpp tools/editor/node_dock.cpp +msgid "Signals" +msgstr "" + +#: tools/editor/create_dialog.cpp +msgid "Create New" +msgstr "" + +#: tools/editor/create_dialog.cpp tools/editor/editor_help.cpp +#: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp +msgid "Matches:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Search Replacement For:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependencies For:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "" +"Scene '%s' is currently being edited.\n" +"Changes will not take effect unless reloaded." +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "" +"Resource '%s' is in use.\n" +"Changes will take effect when reloaded." +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependencies" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Resource" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/project_manager.cpp +#: tools/editor/project_settings.cpp +msgid "Path" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependencies:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Fix Broken" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependency Editor" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Search Replacement Resource:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Owners Of:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "" +"The files being removed are required by other resources in order for them to " +"work.\n" +"Remove them anyway? (no undo)" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Remove selected files from the project? (no undo)" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Error loading:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Scene failed to load due to missing dependencies:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Open Anyway" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Which action should be taken?" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Fix Dependencies" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Errors loading!" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Permanently delete %d item(s)? (No undo!)" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Owns" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Resources Without Explicit Ownership:" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/editor_node.cpp +msgid "Orphan Resource Explorer" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Delete selected files?" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/scenes_dock.cpp +msgid "Delete" +msgstr "" + +#: tools/editor/editor_data.cpp +msgid "Updating Scene" +msgstr "" + +#: tools/editor/editor_data.cpp +msgid "Storing local changes.." +msgstr "" + +#: tools/editor/editor_data.cpp +msgid "Updating scene.." +msgstr "" + +#: tools/editor/editor_dir_dialog.cpp +msgid "Choose a Directory" +msgstr "" + +#: tools/editor/editor_dir_dialog.cpp +msgid "Choose" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp +msgid "Favorites:" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Recent:" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Preview:" +msgstr "" + +#: tools/editor/editor_file_system.cpp +msgid "Cannot go into subdir:" +msgstr "" + +#: tools/editor/editor_file_system.cpp +msgid "ScanSources" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Search Classes" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Class List:" +msgstr "" + +#: tools/editor/editor_help.cpp tools/editor/property_editor.cpp +msgid "Class:" +msgstr "" + +#: tools/editor/editor_help.cpp tools/editor/scene_tree_editor.cpp +#: tools/editor/script_create_dialog.cpp +msgid "Inherits:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Inherited by:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Brief Description:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Public Methods:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Members:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "GUI Theme Items:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Signals:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Constants:" +msgstr "" + +#: tools/editor/editor_help.cpp tools/editor/script_editor_debugger.cpp +msgid "Description:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Method Description:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Search Text" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Added:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Removed:" +msgstr "" + +#: tools/editor/editor_import_export.cpp tools/editor/project_export.cpp +msgid "Error saving atlas:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Could not save atlas subtexture:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Storing File:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Packing" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Exporting for %s" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Setting Up.." +msgstr "" + +#: tools/editor/editor_log.cpp +msgid " Output:" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/editor_reimport_dialog.cpp +msgid "Re-Importing" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Importing:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Node From Scene" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/scenes_dock.cpp +msgid "Re-Import.." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/resources_dock.cpp +msgid "Error saving resource!" +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/resources_dock.cpp +msgid "Save Resource As.." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp +msgid "I see.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't open file for writing:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Requested file format unknown:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error while saving." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Saving Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Analyzing" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Creating Thumbnail" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Couldn't save scene. Likely dependencies (instances) couldn't be satisfied." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Failed to load resource." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't load MeshLibrary for merging!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error saving MeshLibrary!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't load TileSet for merging!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error saving TileSet!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't open export templates zip." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Loading Export Templates" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error trying to save layout!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Default editor layout overridden." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Layout name not found!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Restored default layout to base settings." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Copy Params" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Paste Params" +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Paste Resource" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Copy Resource" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Make Built-In" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Make Sub-Resources Unique" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open in Help" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "There is no defined scene to run." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Current scene was never saved, please save it prior to running." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Could not start subprocess!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Base Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Open Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Open Script.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Yes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Close scene? (Unsaved changes will be lost)" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Scene As.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "This scene has never been saved. Save before running?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Please save the scene first." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Translatable Strings" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export Mesh Library" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export Tile Set" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quit" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Exit the editor?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Current scene not saved. Open anyway?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't reload a scene that was never saved." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Revert" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "This action cannot be undone. Revert anyway?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Run Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Open Project Manager? \n" +"(Unsaved changes will be lost)" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp +msgid "Ugh" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Error loading scene, it must be inside the project path. Use 'Import' to " +"open the scene, then save it inside the project path." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error loading scene." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Scene '%s' has broken dependencies:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Layout" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Delete Layout" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Default" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Switch Scene Tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "%d more file(s)" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "%d more file(s) or folder(s)" +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Go to previously opened scene." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Fullscreen Mode" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Distraction Free Mode" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Operations with scene files." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "New Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "New Inherited Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Close Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Close Goto Prev. Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Recent" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Filter Files.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Convert To.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Translatable Strings.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "MeshLibrary.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "TileSet.." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Redo" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Run Script" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Project Settings" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Revert Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quit to Project List" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Import assets to the project." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/project_manager.cpp +msgid "Import" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Miscellaneous project or scene-wide tools." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Tools" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export the project to many platforms." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Export" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play the project." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Play" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Pause the scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Pause Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Stop the scene." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Stop" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play the edited scene." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play custom scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Debug options" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Deploy with Remote Debug" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When exporting or deploying, the resulting executable will attempt to " +"connect to the IP of this computer in order to be debugged." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Small Deploy with Network FS" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When this option is enabled, export or deploy will produce a minimal " +"executable.\n" +"The filesystem will be provided from the project by the editor over the " +"network.\n" +"On Android, deploy will use the USB cable for faster performance. This " +"option speeds up testing for games with a large footprint." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Visible Collision Shapes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Collision shapes and raycast nodes (for 2D and 3D) will be visible on the " +"running game if this option is turned on." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Visible Navigation" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Navigation meshes and polygons will be visible on the running game if this " +"option is turned on." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Sync Scene Changes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When this option is turned on, any changes made to the scene in the editor " +"will be replicated in the running game.\n" +"When used remotely on a device, this is more efficient with network " +"filesystem." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Sync Script Changes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When this option is turned on, any script that is saved will be reloaded on " +"the running game.\n" +"When used remotely on a device, this is more efficient with network " +"filesystem." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Settings" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/settings_config_dialog.cpp +msgid "Editor Settings" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Editor Layout" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Install Export Templates" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "About" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Alerts when an external resource has changed." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Spins when the editor window repaints!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Update Always" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Update Changes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Inspector" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Create a new resource in memory and edit it." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Load an existing resource from disk and edit it." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save the currently edited resource." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/plugins/script_editor_plugin.cpp +msgid "Save As.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Go to the previous edited object in history." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Go to the next edited object in history." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "History of recently edited objects." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Object properties." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "FileSystem" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Output" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/editor_reimport_dialog.cpp +#: tools/editor/import_settings.cpp +msgid "Re-Import" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/editor_plugin_settings.cpp +msgid "Update" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Thanks from the Godot community!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Thanks!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Import Templates From ZIP File" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Export Project" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export Library" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Merge With Existing" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Password:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open & Run a Script" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Load Errors" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Installed Plugins:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Version:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Author:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Status:" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Stop Profiling" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Start Profiling" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Measure:" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame Time (sec)" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Average Time (sec)" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame %" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Fixed Frame %" +msgstr "" + +#: tools/editor/editor_profiler.cpp tools/editor/script_editor_debugger.cpp +msgid "Time:" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Inclusive" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Self" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame #:" +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Please wait for scan to complete." +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Current scene must be saved to re-import." +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Save & Re-Import" +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Re-Import Changed Resources" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Write your logic in the _run() method." +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "There is an edited scene already." +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Couldn't instance script:" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Did you forget the 'tool' keyword?" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Couldn't run script:" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Did you forget the '_run' method?" +msgstr "" + +#: tools/editor/editor_settings.cpp +msgid "Default (Same as Editor)" +msgstr "" + +#: tools/editor/editor_sub_scene.cpp +msgid "Select Node(s) to Import" +msgstr "" + +#: tools/editor/editor_sub_scene.cpp +msgid "Scene Path:" +msgstr "" + +#: tools/editor/editor_sub_scene.cpp +msgid "Import From Node:" +msgstr "" + +#: tools/editor/file_type_cache.cpp +msgid "Can't open file_type_cache.cch for writing, not saving file type cache!" +msgstr "" + +#: tools/editor/groups_editor.cpp +msgid "Add to Group" +msgstr "" + +#: tools/editor/groups_editor.cpp +msgid "Remove from Group" +msgstr "" + +#: tools/editor/import_settings.cpp +msgid "Imported Resources" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +msgid "No bit masks to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Target path is empty." +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Target path must be a complete resource path." +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Target path must exist." +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Save path is empty!" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +msgid "Import BitMasks" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Source Texture(s):" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Target Path:" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Accept" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +msgid "Bit Mask" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "No source font file!" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "No target font resource!" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Can't load/process source font." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Couldn't save font." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Source Font:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Source Font Size:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Dest Resource:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "The quick brown fox jumps over the lazy dog." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Test:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Options:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Font Import" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"This file is already a Godot font file, please supply a BMFont type file " +"instead." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Failed opening as BMFont file." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font custom source." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Font" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "No meshes to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Single Mesh Import" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Source Mesh(es):" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Surface %d" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "No samples to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Import Audio Samples" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Source Sample(s):" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Audio Sample" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "New Clip" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Animation Options" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Flags" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Bake FPS:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Optimizer" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Linear Error" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Angular Error" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Angle" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Clips" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/project_manager.cpp tools/editor/project_settings.cpp +msgid "Name" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Start(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "End(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Loop" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Filters" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Source path is empty." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't load post-import script." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Invalid/broken script for post-import." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Error importing scene." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import 3D Scene" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Source Scene:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Same as Target Scene" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Shared" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Target Texture Folder:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Post-Process Script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Custom Root Node Type:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Auto" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "The Following Files are Missing:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import Anyway" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import & Open" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Edited scene has not been saved, open imported scene anyway?" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Import Scene" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Importing Scene.." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Running Custom Script.." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't load post-import script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Invalid/broken script for post-import (check console):" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Error running post-import script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import Image:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Can't import a file over itself:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't localize path: %s (already local)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Saving.." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "3D Scene Animation" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Uncompressed" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Compress Lossless (PNG)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Compress Lossy (WebP)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Compress (VRAM)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture Format" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture Compression Quality (WebP):" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture Options" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Please specify some files!" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "At least one file needed for Atlas." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Error importing:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Only one file is required for large texture." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Max Texture Size:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures for Atlas (2D)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Cell Size:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Large Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Large Textures (2D)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Source Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Base Atlas Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Source Texture(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures for 2D" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures for 3D" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "2D Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "3D Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Atlas Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "" +"NOTICE: Importing 2D textures is not mandatory. Just copy png/jpg files to " +"the project." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Crop empty space." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Large Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Load Source Image" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Slicing" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Inserting" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Saving" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't save large texture:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Build Atlas For:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Loading Image:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't load image:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Converting Images" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Cropping Images" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Blitting Images" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't save atlas image:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't save converted texture:" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Invalid source!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Invalid translation source!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Column" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/script_create_dialog.cpp +msgid "Language" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "No items to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "No target path!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Translations" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Couldn't import!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Translation" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Source CSV:" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Ignore First Row" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Compress" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Add to Project (engine.cfg)" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Languages:" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Translation" +msgstr "" + +#: tools/editor/multi_node_edit.cpp +msgid "MultiNode Set" +msgstr "" + +#: tools/editor/node_dock.cpp +msgid "Node" +msgstr "" + +#: tools/editor/node_dock.cpp +msgid "Groups" +msgstr "" + +#: tools/editor/node_dock.cpp +msgid "Select a Node to edit Signals and Groups." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Toggle Autoplay" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "New Animation Name:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "New Anim" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Change Animation Name:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Remove Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: Invalid animation name!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: Animation name already exists!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Rename Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Blend Next Changed" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Change Blend Time" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Duplicate Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation to copy!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation resource on clipboard!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Pasted Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Paste Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation to edit!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation backwards from current pos. (A)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation backwards from end. (Shift+A)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Stop animation playback. (S)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation from start. (Shift+D)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation from current pos. (D)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation position (in seconds)." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Scale animation playback globally for the node." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Create new animation in player." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load animation from disk." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load an animation from disk." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Save the current animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Save As" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Display list of animations in player." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Autoplay on Load" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Edit Target Blend Times" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation Tools" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Copy Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Create New Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation Name:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/script_create_dialog.cpp +msgid "Error!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Blend Times:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Next (Auto Queue):" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Cross-Animation Blend Times" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Animation" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "New name:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Scale:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Fade In (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Fade Out (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Mix" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Auto Restart:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Restart (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Random Restart (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Start!" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Amount:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend 0:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend 1:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "X-Fade Time (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Current:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Add Input" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Clear Auto-Advance" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Set Auto-Advance" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Delete Input" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Rename" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation tree is valid." +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation tree is invalid." +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "OneShot Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Mix Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend2 Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend3 Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend4 Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "TimeScale Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "TimeSeek Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Transition Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Import Animations.." +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Edit Node Filters" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Filters.." +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Parsing %d Triangles:" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Triangle #" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Light Baker Setup:" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Parsing Geometry" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Fixing Lights" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Making BVH" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Creating Light Octree" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Creating Octree Texture" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Transfer to Lightmaps:" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Allocating Texture #" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Baking Triangle #" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Post-Processing Texture #" +msgstr "" + +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "BakedLightInstance does not contain a BakedLight resource." +msgstr "" + +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "Bake!" +msgstr "" + +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "Reset the lightmap octree baking process (start over)." +msgstr "" + +#: tools/editor/plugins/camera_editor_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Preview" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Configure Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Grid Offset:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Grid Step:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Rotation Offset:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Rotation Step:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Move Pivot" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Move Action" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Edit IK Chain" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Edit CanvasItem" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Change Anchors" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom (%):" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Paste Pose" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Select Mode (Q)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Drag: Rotate" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Alt+Drag: Move" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Press 'v' to Change Pivot, 'Shift+v' to Drag Pivot (while moving)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Alt+RMB: Depth list selection" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Move Mode (W)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotate Mode (E)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "" +"Show a list of all objects at the position clicked\n" +"(same as Alt+RMB in select mode)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Click to change object's rotation pivot." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Pan Mode" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Lock the selected object in place (can't be moved)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Unlock the selected object (can be moved)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Makes sure the object's children are not selectable." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Restores the object's children's ability to be selected." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/project_manager.cpp +msgid "Edit" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Use Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Show Grid" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Use Rotation Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Snap Relative" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Configure Snap.." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Use Pixel Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Expand to Parent" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Skeleton.." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Make Bones" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Clear Bones" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Make IK Chain" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Clear IK Chain" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom In" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom Out" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom Reset" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom Set.." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Center Selection" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Frame Selection" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Anchor" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Insert Keys (Ins)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Insert Key" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Insert Key (Existing Tracks)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Copy Pose" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Clear Pose" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Set a Value" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Snap (Pixels):" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Create Poly" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Edit Poly" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Edit Poly (Remove Point)" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create a new polygon from scratch." +msgstr "" + +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +msgid "Create Poly3D" +msgstr "" + +#: tools/editor/plugins/collision_shape_2d_editor_plugin.cpp +msgid "Set Handle" +msgstr "" + +#: tools/editor/plugins/color_ramp_editor_plugin.cpp +msgid "Add/Remove Color Ramp Point" +msgstr "" + +#: tools/editor/plugins/color_ramp_editor_plugin.cpp +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Modify Color Ramp" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Creating Mesh Library" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Thumbnail.." +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Remove item %d?" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Add Item" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Remove Selected Item" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Import from Scene" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Update from Scene" +msgstr "" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Item %d" +msgstr "" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Items" +msgstr "" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Item List Editor" +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +msgid "Create Occluder Polygon" +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Edit existing polygon:" +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "LMB: Move Point." +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Ctrl+LMB: Split Segment." +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "RMB: Erase Point." +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh is empty!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Static Trimesh Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Static Convex Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "This doesn't work on scene root!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Shape" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Shape" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Navigation Mesh" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "MeshInstance lacks a Mesh!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Could not create outline!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Static Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Static Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Collision Sibling" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Collision Sibling" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline Mesh.." +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline Mesh" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Outline Size:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "No mesh source specified (and no MultiMesh set in node)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "No mesh source specified (and MultiMesh contains no Mesh)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh source is invalid (invalid path)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh source is invalid (not a MeshInstance)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh source is invalid (contains no Mesh resource)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "No surface source specified." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Surface source is invalid (invalid path)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Surface source is invalid (no geometry)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Surface source is invalid (no faces)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Parent has no solid faces to populate." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Couldn't map area." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Select a Source Mesh:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Select a Target Surface:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Populate Surface" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Populate MultiMesh" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Target Surface:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Source Mesh:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "X-Axis" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Y-Axis" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Z-Axis" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh Up Axis:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Random Rotation:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Random Tilt:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Random Scale:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Populate" +msgstr "" + +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create Navigation Polygon" +msgstr "" + +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Remove Poly And Point" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Error loading image:" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "No pixels with transparency > 128 in image.." +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Set Emission Mask" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Clear Emission Mask" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Load Emission Mask" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Generated Point Count:" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Node does not contain geometry." +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Node does not contain geometry (faces)." +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Faces contain no area!" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "No faces!" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Generate AABB" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter From Mesh" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter From Node" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Clear Emitter" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Emission Positions:" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Emission Fill:" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Surface" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Volume" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Remove Point from Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Add Point to Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move Point in Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move In-Control in Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move Out-Control in Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Select Points" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Shift+Drag: Select Control Points" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Click: Add Point" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Right Click: Delete Point" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Select Control Points (Shift+Drag)" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Add Point (in empty space)" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Split Segment (in curve)" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Delete Point" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Close Curve" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Curve Point #" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve Point Pos" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve In Pos" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve Out Pos" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Split Path" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Remove Path Point" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Create UV Map" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Transform UV Map" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Polygon 2D UV Editor" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Move Point" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Ctrl: Rotate" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Shift: Move All" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Shift+Ctrl: Scale" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Move Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Rotate Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Scale Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Polygon->UV" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "UV->Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Clear UV" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Snap" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Enable Snap" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Grid" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "ERROR: Couldn't load resource!" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Add Resource" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Rename Resource" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Delete Resource" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Resource clipboard is empty!" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Load Resource" +msgstr "" + +#: tools/editor/plugins/rich_text_editor_plugin.cpp +msgid "Parse BBCode" +msgstr "" + +#: tools/editor/plugins/sample_editor_plugin.cpp +msgid "Length:" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Open Sample File(s)" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "ERROR: Couldn't load sample!" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Add Sample" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Rename Sample" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Delete Sample" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "16 Bits" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "8 Bits" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Stereo" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Mono" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Format" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Pitch" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error while saving theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error saving" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error importing theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error importing" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Import Theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme As.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/project_export.cpp +msgid "File" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/property_editor.cpp +msgid "New" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save All" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "History Prev" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "History Next" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Reload Theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme As" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp +msgid "Move Up" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp +msgid "Move Down" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Indent Left" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Indent Right" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Toggle Comment" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Clone Down" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Complete Symbol" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Trim Trailing Whitespace" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Auto Indent" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Soft Reload Script" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Find.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Find Next" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Find Previous" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Replace.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Function.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Goto Line.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Debug" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Toggle Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Remove All Breakpoints" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Next Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Previous Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Step Over" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Step Into" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Break" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Continue" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Keep Debugger Open" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Window" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Move Left" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Move Right" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Help" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Contextual Help" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Tutorials" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Open https://godotengine.org at tutorials section." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Classes" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search the class hierarchy." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search Help" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search the reference documentation." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Go to previous edited document." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Go to next edited document." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Create Script" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "" +"The following files are newer on disk.\n" +"What action should be taken?:" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Reload" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Resave" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Debugger" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Vertex" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Fragment" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Lighting" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Scalar Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Toggle Rot Only" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Function" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Function" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Default Value" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change XForm Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Texture Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Cubemap Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Comment" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add/Remove to Color Ramp" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add/Remove to Curve Map" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Modify Curve Map" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Input Name" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Connect Graph Nodes" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Disconnect Graph Nodes" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Remove Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Move Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Duplicate Graph Node(s)" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Delete Shader Graph Node(s)" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Error: Cyclic Connection Link" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Error: Missing Input Connections" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Orthogonal" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Perspective" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Aborted." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "X-Axis Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Y-Axis Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Z-Axis Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Plane Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scaling to %s%%." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotating %s degrees." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Bottom View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Bottom" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Top View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Top" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rear View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rear" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Front View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Front" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Left View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Left" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Right View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Right" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Keying is disabled (no key inserted)." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Animation Key Inserted." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Align with view" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Top (Num7)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Bottom (Shift+Num7)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Left (Num3)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Right (Shift+Num3)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Front (Num1)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rear (Shift+Num1)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Perspective (Num5)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Orthogonal (Num5)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Environment" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Audio Listener" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Gizmos" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Selection (F)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Align with view (Ctrl+Shift+F)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "XForm Dialog" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "No scene selected to instance!" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Instance at Cursor" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Could not instance scene!" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scale Mode (R)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Local Coords" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Dialog.." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Use Default Light" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Use Default sRGB" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "1 Viewport" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "2 Viewports" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "2 Viewports (Alt)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "3 Viewports" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "3 Viewports (Alt)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "4 Viewports" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Normal" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Wireframe" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Overdraw" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Shadeless" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Origin" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Grid" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Snap Settings" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Translate Snap:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotate Snap (deg.):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scale Snap (%):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Viewport Settings" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Default Light Normal:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Ambient Light Color:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Perspective FOV (deg.):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Z-Near:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Z-Far:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Change" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Translate:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotate (deg.):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scale (ratio):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Type" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Pre" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Post" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "ERROR: Couldn't load frame resource!" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Frame" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Resource clipboard is empty or not a texture!" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Paste Frame" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Empty" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Change Animation Loop" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Change Animation FPS" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "(empty)" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Animations" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Speed (FPS):" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Animation Frames" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Insert Empty (Before)" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Insert Empty (After)" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Up" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Down" +msgstr "" + +#: tools/editor/plugins/style_box_editor_plugin.cpp +msgid "StyleBox Preview:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Snap Mode:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "<None>" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Can't save theme to file:" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add All Items" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add All" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Remove Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add Class Items" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Remove Class Items" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Create Empty Template" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Create Empty Editor Template" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "CheckBox Radio1" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "CheckBox Radio2" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Check Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Checked Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Has" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Many" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp tools/editor/project_export.cpp +msgid "Options" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Have,Many,Several,Options!" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 1" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 2" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 3" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/project_settings.cpp tools/editor/scene_tree_editor.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Type:" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Data Type:" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Icon" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Style" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Color" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Paint TileMap" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp +msgid "Duplicate" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Erase TileMap" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Erase selection" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Find tile" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Transpose" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Mirror X" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Mirror Y" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Bucket" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Pick Tile" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Select" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 0 degrees" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 90 degrees" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 180 degrees" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 270 degrees" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Could not find tile:" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Item name or ID:" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Create from scene?" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Merge from scene?" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Create from Scene" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Merge from Scene" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Error" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Edit Script Options" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Please export outside the project folder!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Error exporting project!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Error writing the project PCK!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "No exporter for platform '%s' yet." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Include" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Change Image Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Group name can't be empty!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Invalid character in group name!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Group name already exists!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Add Image Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Delete Image Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Atlas Preview" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Project Export Settings" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Target" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export to Platform" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Resources" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export selected resources (including dependencies)." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export all resources in the project." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export all files in the project directory." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export Mode:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Resources to Export:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Action" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "" +"Filters to export non-resource files (comma-separated, e.g.: *.json, *.txt):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Filters to exclude from export (comma-separated, e.g.: *.json, *.txt):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Convert text scenes to binary on export." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Images" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Keep Original" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress for Disk (Lossy, WebP)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress for RAM (BC/PVRTC/ETC)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Convert Images (*.png):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress for Disk (Lossy) Quality:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Shrink All Images:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress Formats:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Image Groups" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Groups:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress Disk" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress RAM" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress Mode:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Lossy Quality:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Atlas:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Shrink By:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Preview Atlas" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Image Filter:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Images:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Select None" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Samples" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Sample Conversion Mode: (.wav files):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Keep" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress (RAM - IMA-ADPCM)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Sampling Rate Limit (Hz):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Trim" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Trailing Silence:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Script" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Script Export Mode:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Text" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compiled" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Encrypted (Provide Key Below)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Script Encryption Key (256-bits as hex):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export PCK/Zip" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export Project PCK" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export.." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Project Export" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export Preset:" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path, the path must exist!" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path, engine.cfg must not exist." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path, engine.cfg must exist." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Imported Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path (changed anything?)." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Couldn't create engine.cfg in project path." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Import Existing Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Path (Must Exist):" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Name:" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Create New Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Path:" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Browse" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "New Game Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "That's a BINGO!" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Unnamed Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Are you sure to open more than one projects?" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Are you sure to run more than one projects?" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Remove project from the list? (Folder contents will not be modified)" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Manager" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project List" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Run" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Scan" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "New Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Exit" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Key " +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joy Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joy Axis" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Mouse Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid action (anything goes but '/' or ':')." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Action '%s' already exists!" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Rename Input Action Event" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Input Action Event" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp +msgid "Control+" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp +msgid "Press a Key.." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Mouse Button Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Left Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Right Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Middle Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Wheel Up Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Wheel Down Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 6" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 7" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 8" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 9" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joystick Axis Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joystick Button Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Input Action" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Erase Input Action Event" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Toggle Persisting" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Error saving settings." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Settings saved OK." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Translation" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Valid characters:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name. Must not collide with an existing engine class name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name. Must not collide with an existing buit-in type name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name. Must not collide with an existing global constant name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Autoload '%s' already exists!" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Rename Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Toggle AutoLoad Globals" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Move Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Translation" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Remapped Path" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Resource Remap Add Remap" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Change Resource Remap Language" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Resource Remap" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Resource Remap Option" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Enable" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Project Settings (engine.cfg)" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp +msgid "General" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/property_editor.cpp +msgid "Property:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Del" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Copy To Platform.." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Input Map" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Action:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Device:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Localization" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Translations" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Translations:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add.." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remaps" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Resources:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remaps by Locale:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Locale" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "AutoLoad" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Node Name:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "List:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Singleton" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Plugins" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Preset.." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Ease In" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Ease Out" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Zero" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Easing In-Out" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Easing Out-In" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "File.." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Dir.." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Load" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Assign" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Error loading file: Not a resource!" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Couldn't load image" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Bit %d, val %d." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "On" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Set" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Properties:" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Global" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Sections:" +msgstr "" + +#: tools/editor/pvrtc_compress.cpp +msgid "Could not execute PVRTC tool:" +msgstr "" + +#: tools/editor/pvrtc_compress.cpp +msgid "Can't load back converted image using PVRTC tool:" +msgstr "" + +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp +msgid "Reparent Node" +msgstr "" + +#: tools/editor/reparent_dialog.cpp +msgid "Reparent Location (Select new Parent):" +msgstr "" + +#: tools/editor/reparent_dialog.cpp +msgid "Keep Global Transform" +msgstr "" + +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp +msgid "Reparent" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Create New Resource" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Open Resource" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Save Resource" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Resource Tools" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Make Local" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Run Mode:" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Current Scene" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Main Scene" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Main Scene Arguments:" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Scene Run Settings" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "OK :(" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "No parent to instance a child at." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error loading scene from %s" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error instancing scene from %s" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Ok" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Cannot instance the scene '%s' because the current scene exists within one " +"of its nodes." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Instance Scene(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done on the tree root." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Move Node In Parent" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Move Nodes In Parent" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Duplicate Node(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)?" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done without a scene." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation requires a single selected node." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done on instanced scenes." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Save New Scene As.." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Makes Sense!" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Can't operate on nodes from a foreign scene!" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Can't operate on nodes the current scene inherits from!" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Remove Node(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Create Node" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Couldn't save new scene. Likely dependencies (instances) couldn't be " +"satisfied." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error saving scene." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error duplicating scene to save it." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Groups" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Add Child Node" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Instance Child Scene" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Change Type" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Add Script" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Merge From Scene" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Save Branch as Scene" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Add/Create a New Node" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Instance a scene file as a Node. Creates an inherited scene if no root node " +"exists." +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "" +"This item cannot be made visible because the parent is hidden. Unhide the " +"parent first." +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Toggle Spatial Visible" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Toggle CanvasItem Visible" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Instance:" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Invalid node name, the following characters are not allowed:" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Rename Node" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Scene Tree (Nodes):" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Editable Children" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Load As Placeholder" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Discard Instancing" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Open in Editor" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear Inheritance" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear Inheritance? (No Undo!)" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear!" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Select a Node" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Same source and destination files, doing nothing." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Same source and destination paths, doing nothing." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Can't move directories to within themselves." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Can't operate on '..'" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Pick New Name and Location For:" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "No files selected!" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Instance" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Edit Dependencies.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "View Owners.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Copy Path" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Rename or Move.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Move To.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Info" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Show In File Manager" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Previous Directory" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Next Directory" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Re-Scan Filesystem" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Toggle folder status as Favorite" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Instance the selected scene(s) as child of the selected node." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Move" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid parent class name" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid chars:" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid class name" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid name" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "N/A" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Class name is invalid!" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Parent class name is invalid!" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid path!" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Could not create script in filesystem." +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Path is empty" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Path is not local" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid base path" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "File exists" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid extension" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid path" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Class Name:" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Built-In Script" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Create Node Script" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Bytes:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Warning" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Error:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Source:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Function:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Errors" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Child Process Connected" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Inspect Previous Instance" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Inspect Next Instance" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Stack Frames" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Variable" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Errors:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Stack Trace (if applicable):" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Remote Inspector" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Live Scene Tree:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Remote Object Properties: " +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Profiler" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Monitor" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Value" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Monitors" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "List of Video Memory Usage by Resource:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Total:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Video Mem" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Resource Path" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Type" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Usage" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Misc" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Clicked Control:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Clicked Control Type:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Live Edit Root:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Set From Tree" +msgstr "" + +#: tools/editor/settings_config_dialog.cpp +msgid "Shortcuts" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Light Radius" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Camera FOV" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Camera Size" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Sphere Shape Radius" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Box Shape Extents" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Capsule Shape Radius" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Capsule Shape Height" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Ray Shape Length" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Notifier Extents" +msgstr "" diff --git a/tools/translations/cs.po b/tools/translations/cs.po index 8a1e596942..9a482216ec 100644 --- a/tools/translations/cs.po +++ b/tools/translations/cs.po @@ -631,10 +631,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -675,10 +671,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -943,7 +935,7 @@ msgid "Method in target Node must be specified!" msgstr "" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +msgid "Connect To Node:" msgstr "" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1156,6 +1148,46 @@ msgstr "" msgid "Choose" msgstr "" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1409,8 +1441,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1503,6 +1550,10 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1526,7 +1577,7 @@ msgid "Save Layout" msgstr "" #: tools/editor/editor_node.cpp -msgid "Load Layout" +msgid "Delete Layout" msgstr "" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp @@ -1534,10 +1585,6 @@ msgid "Default" msgstr "" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "" @@ -1567,6 +1614,14 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2109,6 +2164,12 @@ msgid "No target font resource!" msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "" @@ -2344,7 +2405,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3007,13 +3068,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3129,7 +3188,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3382,6 +3440,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3743,17 +3805,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4589,17 +4648,43 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp @@ -5661,31 +5746,27 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" +msgid "Edit Connections" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" +msgid "Delete Node(s)" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Change Type" +msgid "Add Child Node" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" +msgid "Instance Child Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" +msgid "Change Type" msgstr "" #: tools/editor/scene_tree_dock.cpp @@ -5701,10 +5782,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" diff --git a/tools/translations/de.po b/tools/translations/de.po index b9c1c070d8..208b4d1bc5 100644 --- a/tools/translations/de.po +++ b/tools/translations/de.po @@ -18,8 +18,8 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2016-06-14 12:29+0000\n" -"Last-Translator: Timo Schwarzer <account@timoschwarzer.com>\n" +"PO-Revision-Date: 2016-06-27 09:01+0000\n" +"Last-Translator: danjo <atze@libra.uberspace.de>\n" "Language-Team: German <https://hosted.weblate.org/projects/godot-engine/" "godot/de/>\n" "Language: de\n" @@ -598,18 +598,16 @@ msgid "Anim Delete Keys" msgstr "Anim Schlüsselbilder löschen" #: tools/editor/animation_editor.cpp -#, fuzzy msgid "Continuous" -msgstr "Fortfahren" +msgstr "Fortlaufend" #: tools/editor/animation_editor.cpp -#, fuzzy msgid "Discrete" -msgstr "Trennen" +msgstr "Einzeln" #: tools/editor/animation_editor.cpp msgid "Trigger" -msgstr "" +msgstr "Auslöser" #: tools/editor/animation_editor.cpp msgid "Anim Add Key" @@ -719,11 +717,6 @@ msgid "Change Anim Loop" msgstr "Ändere Animationswiederholung" #: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Change Anim Loop Interpolation" -msgstr "Ändere Animationswiederholung" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "Animation Erstelle Typed Value Key" @@ -764,11 +757,6 @@ msgid "Enable/Disable looping in animation." msgstr "Aktivieren / Deaktivieren der Schleife (Loop)." #: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Enable/Disable interpolation when looping animation." -msgstr "Aktivieren / Deaktivieren der Schleife (Loop)." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "Neue Spuren hinzufügen." @@ -1035,7 +1023,7 @@ msgstr "Methode in Ziel-Node muss angegeben werden!" #: tools/editor/connections_dialog.cpp #, fuzzy -msgid "Conect To Node:" +msgid "Connect To Node:" msgstr "Verbinde Zu Node:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1258,6 +1246,50 @@ msgstr "Wähle ein Verzeichnis" msgid "Choose" msgstr "Wählen" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Favoriten:" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Autoplay Umschalten" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Pfad kopieren" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Favoriten:" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Favoriten:" @@ -1512,9 +1544,31 @@ msgid "There is no defined scene to run." msgstr "Es ist keine zu startende Szene definiert." #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"Es ist keine Hauptszene definiert worden.\n" +"Wähle eine in den \"Projekt Einstellungen\" in der 'Applikation' Kategorie." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"Es ist keine Hauptszene definiert worden.\n" +"Wähle eine in den \"Projekt Einstellungen\" in der 'Applikation' Kategorie." + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "Es ist keine Hauptszene definiert worden.\n" "Wähle eine in den \"Projekt Einstellungen\" in der 'Applikation' Kategorie." @@ -1615,6 +1669,11 @@ msgstr "" "Projektmanager Öffnen?\n" "(Nichtgespeicherte Änderungen gehen verloren)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Hauptszene" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Ugh" @@ -1641,18 +1700,14 @@ msgid "Save Layout" msgstr "Layout Speichern" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Layout Laden" +msgid "Delete Layout" +msgstr "Layout Löschen" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Standard" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Layout Löschen" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Wechsle Szenen Tab" @@ -1682,6 +1737,15 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Nächste" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "Operationen mit Szenen Dateien." @@ -1711,7 +1775,7 @@ msgstr "Schließen Zu Vorh. Szene Gehen" #: tools/editor/editor_node.cpp msgid "Open Recent" -msgstr "Aktuelle Öffnen" +msgstr "Zuletzt benutzte Scenen" #: tools/editor/editor_node.cpp msgid "Quick Filter Files.." @@ -2246,6 +2310,12 @@ msgid "No target font resource!" msgstr "Keine Ziel Font Ressource!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "Quell Font kann nicht geladen/verarbeitet werden." @@ -2485,7 +2555,8 @@ msgid "Couldn't load post-import script:" msgstr "Post-Import Skript konnte nicht geladen werden:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Fehlerhaftes Skript für Post-Import:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3152,13 +3223,11 @@ msgstr "Einrasten konfigurieren" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Gitterverschiebung:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Gitterabstand:" @@ -3283,7 +3352,6 @@ msgstr "Einrasten aktivieren" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Raster anzeigen" @@ -3536,6 +3604,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3897,17 +3969,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Einrasten" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Einrasten aktivieren" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Raster" @@ -4743,19 +4812,52 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Texturbegrenzungseditor" +#, fuzzy +msgid "Snap Mode:" +msgstr "Export-Modus:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "Skalierungsbegrenzungseditor" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Einrasten an Pixeln aktivieren" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Gitterabstand:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Gitterverschiebung:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Schritte (s):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Version:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Texturbegrenzungseditor" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Texturbegrenzungseditor" + #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" msgstr "" @@ -5144,8 +5246,9 @@ msgid "Group" msgstr "Gruppe" #: tools/editor/project_export.cpp +#, fuzzy msgid "Samples" -msgstr "Beispiele" +msgstr "Samples" #: tools/editor/project_export.cpp msgid "Sample Conversion Mode: (.wav files):" @@ -5822,31 +5925,27 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" +msgid "Edit Connections" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" +msgid "Delete Node(s)" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Change Type" +msgid "Add Child Node" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" +msgid "Instance Child Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" +msgid "Change Type" msgstr "" #: tools/editor/scene_tree_dock.cpp @@ -5862,10 +5961,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" @@ -6253,6 +6348,19 @@ msgstr "" msgid "Change Notifier Extents" msgstr "" +#, fuzzy +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Ändere Animationswiederholung" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Aktivieren/Deaktivieren Interpolation, wenn Schleife aktiviert." + +#~ msgid "Load Layout" +#~ msgstr "Layout Laden" + +#~ msgid "Scale Region Editor" +#~ msgstr "Skalierungsbegrenzungseditor" + #~ msgid "Binds (Extra Params):" #~ msgstr "Bindungen (Extra Parameter):" diff --git a/tools/translations/de_CH.po b/tools/translations/de_CH.po index eb5e1be880..4404ca02df 100644 --- a/tools/translations/de_CH.po +++ b/tools/translations/de_CH.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" -"PO-Revision-Date: 2016-06-12 13:27+0000\n" +"PO-Revision-Date: 2016-06-22 14:54+0000\n" "Last-Translator: Christian Fisch <christian.fiesel@gmail.com>\n" "Language-Team: Swiss High German <https://hosted.weblate.org/projects/godot-" "engine/godot/de_CH/>\n" @@ -58,7 +58,6 @@ msgid "Invalid instance dictionary (invalid subclasses)" msgstr "" #: scene/2d/animated_sprite.cpp -#, fuzzy msgid "" "A SpriteFrames resource must be created or set in the 'Frames' property in " "order for AnimatedSprite to display frames." @@ -222,7 +221,7 @@ msgstr "" #: scene/gui/dialogs.cpp tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Cancel" -msgstr "" +msgstr "Abbrechen" #: scene/gui/dialogs.cpp msgid "OK" @@ -230,15 +229,15 @@ msgstr "Okay" #: scene/gui/dialogs.cpp msgid "Alert!" -msgstr "" +msgstr "Alert!" #: scene/gui/dialogs.cpp msgid "Please Confirm..." -msgstr "" +msgstr "Bitte bestätigen..." #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "File Exists, Overwrite?" -msgstr "" +msgstr "Datei existiert, Überschreiben?" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "All Recognized" @@ -246,41 +245,41 @@ msgstr "" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "All Files (*)" -msgstr "" +msgstr "Alle Dateien (*)" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp #: tools/editor/editor_help.cpp tools/editor/editor_node.cpp #: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp #: tools/editor/scenes_dock.cpp msgid "Open" -msgstr "" +msgstr "Öffnen" #: scene/gui/file_dialog.cpp msgid "Open a File" -msgstr "" +msgstr "Datei öffnen" #: scene/gui/file_dialog.cpp msgid "Open File(s)" -msgstr "" +msgstr "Datei(en) öffnen" #: scene/gui/file_dialog.cpp msgid "Open a Directory" -msgstr "" +msgstr "Verzeichnis öffnen" #: scene/gui/file_dialog.cpp msgid "Open a File or Directory" -msgstr "" +msgstr "Datei oder Verzeichnis öffnen" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp #: tools/editor/editor_node.cpp #: tools/editor/plugins/animation_player_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp msgid "Save" -msgstr "" +msgstr "Speichern" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "Save a File" -msgstr "" +msgstr "Datei speichern" #: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp #: tools/editor/editor_file_dialog.cpp @@ -431,8 +430,9 @@ msgstr "" #: scene/resources/dynamic_font.cpp #: tools/editor/io_plugins/editor_font_import_plugin.cpp +#, fuzzy msgid "Error initializing FreeType." -msgstr "" +msgstr "Fehler bei der FreeType Inizialisierung." #: scene/resources/dynamic_font.cpp #: tools/editor/io_plugins/editor_font_import_plugin.cpp @@ -515,7 +515,7 @@ msgstr "" #: tools/editor/animation_editor.cpp msgid "Edit Node Curve" -msgstr "" +msgstr "Node Kurve editieren" #: tools/editor/animation_editor.cpp msgid "Edit Selection Curve" @@ -645,10 +645,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -689,10 +685,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -750,7 +742,7 @@ msgstr "" #: tools/editor/animation_editor.cpp msgid "Call Functions in Which Node?" -msgstr "" +msgstr "Im welchem Node soll die Funktion aufgerufen werden?" #: tools/editor/animation_editor.cpp msgid "Remove invalid keys" @@ -954,11 +946,12 @@ msgstr "" #: tools/editor/connections_dialog.cpp msgid "Method in target Node must be specified!" -msgstr "" +msgstr "Die Methode muss im Ziel Node definiert werden!" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" -msgstr "" +#, fuzzy +msgid "Connect To Node:" +msgstr "Verbindung zu Node:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp #: tools/editor/plugins/item_list_editor_plugin.cpp @@ -984,7 +977,7 @@ msgstr "" #: tools/editor/connections_dialog.cpp msgid "Path to Node:" -msgstr "" +msgstr "Pfad zum Node:" #: tools/editor/connections_dialog.cpp msgid "Make Function" @@ -1170,6 +1163,46 @@ msgstr "" msgid "Choose" msgstr "" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1293,7 +1326,7 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "Node From Scene" -msgstr "" +msgstr "Node von Szene" #: tools/editor/editor_node.cpp tools/editor/scenes_dock.cpp msgid "Re-Import.." @@ -1423,8 +1456,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1517,6 +1565,10 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1540,7 +1592,7 @@ msgid "Save Layout" msgstr "" #: tools/editor/editor_node.cpp -msgid "Load Layout" +msgid "Delete Layout" msgstr "" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp @@ -1548,10 +1600,6 @@ msgid "Default" msgstr "" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "" @@ -1581,6 +1629,14 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2026,7 +2082,7 @@ msgstr "" #: tools/editor/editor_sub_scene.cpp msgid "Select Node(s) to Import" -msgstr "" +msgstr "Selektiere Node(s) zum Importieren aus" #: tools/editor/editor_sub_scene.cpp msgid "Scene Path:" @@ -2034,7 +2090,7 @@ msgstr "" #: tools/editor/editor_sub_scene.cpp msgid "Import From Node:" -msgstr "" +msgstr "Importiere von folgendem Node:" #: tools/editor/file_type_cache.cpp msgid "Can't open file_type_cache.cch for writing, not saving file type cache!" @@ -2123,6 +2179,12 @@ msgid "No target font resource!" msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "" @@ -2199,7 +2261,7 @@ msgstr "" #: tools/editor/io_plugins/editor_mesh_import_plugin.cpp msgid "Surface %d" -msgstr "" +msgstr "Oberfläche %d" #: tools/editor/io_plugins/editor_sample_import_plugin.cpp msgid "No samples to import!" @@ -2358,7 +2420,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -2617,20 +2679,22 @@ msgid "Translation" msgstr "" #: tools/editor/multi_node_edit.cpp +#, fuzzy msgid "MultiNode Set" -msgstr "" +msgstr "MultiNode Set" #: tools/editor/node_dock.cpp msgid "Node" -msgstr "" +msgstr "Node" #: tools/editor/node_dock.cpp msgid "Groups" msgstr "" #: tools/editor/node_dock.cpp +#, fuzzy msgid "Select a Node to edit Signals and Groups." -msgstr "" +msgstr "Selektiere ein Node um deren Signale und Gruppen zu ändern." #: tools/editor/plugins/animation_player_editor_plugin.cpp msgid "Toggle Autoplay" @@ -2904,39 +2968,39 @@ msgstr "" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Animation Node" -msgstr "" +msgstr "Animations-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "OneShot Node" -msgstr "" +msgstr "OneShot-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Mix Node" -msgstr "" +msgstr "Mix-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Blend2 Node" -msgstr "" +msgstr "Blend2-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Blend3 Node" -msgstr "" +msgstr "Blend3-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Blend4 Node" -msgstr "" +msgstr "Blend4-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "TimeScale Node" -msgstr "" +msgstr "TimeScale-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "TimeSeek Node" -msgstr "" +msgstr "TimeSeek-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Transition Node" -msgstr "" +msgstr "Transition-Node" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Import Animations.." @@ -2944,7 +3008,7 @@ msgstr "" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Edit Node Filters" -msgstr "" +msgstr "Node Filter editieren" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Filters.." @@ -3021,13 +3085,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3143,7 +3205,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3396,6 +3457,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3453,19 +3518,20 @@ msgstr "" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "No surface source specified." -msgstr "" +msgstr "Keine Oberflächen Quelle spezifiziert." #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Surface source is invalid (invalid path)." -msgstr "" +msgstr "Oberflächen Quelle is invalid (invalider Pfad)." #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Surface source is invalid (no geometry)." -msgstr "" +msgstr "Oberflächen Quelle is invalid (keine Form)." #: tools/editor/plugins/multimesh_editor_plugin.cpp +#, fuzzy msgid "Surface source is invalid (no faces)." -msgstr "" +msgstr "Oberflächen Quelle is invalid (kein Face)" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Parent has no solid faces to populate." @@ -3481,7 +3547,7 @@ msgstr "" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Select a Target Surface:" -msgstr "" +msgstr "Wähle eine Ziel Oberfläche aus:" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Populate Surface" @@ -3493,7 +3559,7 @@ msgstr "" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Target Surface:" -msgstr "" +msgstr "Ziel Oberfläche:" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "Source Mesh:" @@ -3549,15 +3615,16 @@ msgstr "" #: tools/editor/plugins/particles_2d_editor_plugin.cpp msgid "Set Emission Mask" -msgstr "" +msgstr "Emissions-Maske setzen" #: tools/editor/plugins/particles_2d_editor_plugin.cpp +#, fuzzy msgid "Clear Emission Mask" -msgstr "" +msgstr "Inhalt der Emissions-Masken löschen" #: tools/editor/plugins/particles_2d_editor_plugin.cpp msgid "Load Emission Mask" -msgstr "" +msgstr "Emissions-Maske laden" #: tools/editor/plugins/particles_2d_editor_plugin.cpp msgid "Generated Point Count:" @@ -3569,15 +3636,15 @@ msgstr "" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Node does not contain geometry (faces)." -msgstr "" +msgstr "Node enthält keine Geometrie (Flächen)." #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Faces contain no area!" -msgstr "" +msgstr "Flächen enthalten keinen Bereich!" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "No faces!" -msgstr "" +msgstr "Keine Flächen!" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Generate AABB" @@ -3609,7 +3676,7 @@ msgstr "" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Surface" -msgstr "" +msgstr "Oberfläche" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Volume" @@ -3757,17 +3824,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4528,7 +4592,7 @@ msgstr "" #: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Transform Type" -msgstr "" +msgstr "Transformationstyp" #: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Pre" @@ -4603,17 +4667,43 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp @@ -5588,7 +5678,7 @@ msgstr "" #: tools/editor/scene_tree_dock.cpp msgid "Error instancing scene from %s" -msgstr "" +msgstr "Fehler beim Instanzieren der %s Szene" #: tools/editor/scene_tree_dock.cpp msgid "Ok" @@ -5602,11 +5692,12 @@ msgstr "" #: tools/editor/scene_tree_dock.cpp msgid "Instance Scene(s)" -msgstr "" +msgstr "Instanziere Szene(n)" #: tools/editor/scene_tree_dock.cpp +#, fuzzy msgid "This operation can't be done on the tree root." -msgstr "" +msgstr "Das funktioniert nicht beim obersten Node. (tree root)" #: tools/editor/scene_tree_dock.cpp msgid "Move Node In Parent" @@ -5618,27 +5709,27 @@ msgstr "" #: tools/editor/scene_tree_dock.cpp msgid "Duplicate Node(s)" -msgstr "" +msgstr "Node(s) duplizieren" #: tools/editor/scene_tree_dock.cpp msgid "Delete Node(s)?" -msgstr "" +msgstr "Node(s) löschen?" #: tools/editor/scene_tree_dock.cpp msgid "This operation can't be done without a scene." -msgstr "" +msgstr "Ohne eine Szene kann das nicht funktionieren." #: tools/editor/scene_tree_dock.cpp msgid "This operation requires a single selected node." -msgstr "" +msgstr "Bitte nur ein Node selektieren." #: tools/editor/scene_tree_dock.cpp msgid "This operation can't be done on instanced scenes." -msgstr "" +msgstr "Das funktioniert nicht bei einer instanzierten Szene." #: tools/editor/scene_tree_dock.cpp msgid "Save New Scene As.." -msgstr "" +msgstr "Neue Szene speichern als..." #: tools/editor/scene_tree_dock.cpp msgid "Makes Sense!" @@ -5654,11 +5745,11 @@ msgstr "" #: tools/editor/scene_tree_dock.cpp msgid "Remove Node(s)" -msgstr "" +msgstr "Node(s) entfernen" #: tools/editor/scene_tree_dock.cpp msgid "Create Node" -msgstr "" +msgstr "Node erstellen" #: tools/editor/scene_tree_dock.cpp msgid "" @@ -5668,19 +5759,23 @@ msgstr "" #: tools/editor/scene_tree_dock.cpp msgid "Error saving scene." -msgstr "" +msgstr "Szene kann nicht gespeichert werden." #: tools/editor/scene_tree_dock.cpp msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "" +msgid "Edit Connections" +msgstr "Connections editieren" + +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)" +msgstr "Node(s) löschen" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5692,19 +5787,11 @@ msgstr "" #: tools/editor/scene_tree_dock.cpp msgid "Change Type" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "" +msgstr "Typ ändern" #: tools/editor/scene_tree_dock.cpp msgid "Add Script" -msgstr "" +msgstr "Script hinzufügen" #: tools/editor/scene_tree_dock.cpp msgid "Merge From Scene" @@ -5715,10 +5802,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" diff --git a/tools/translations/es.po b/tools/translations/es.po index 3f727d18c3..d43e181f46 100644 --- a/tools/translations/es.po +++ b/tools/translations/es.po @@ -699,10 +699,6 @@ msgid "Change Anim Loop" msgstr "Cambiar Loop de Anim" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "Cambiar Interpolación de Loop de Anim" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "Crear Clave de Valor Tipado para Anim" @@ -743,10 +739,6 @@ msgid "Enable/Disable looping in animation." msgstr "Activar/Desactivar loopeo en la animación." #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "Activar/Desactivar interpolación al loopear animación." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "Agregar nuevos tracks." @@ -1011,7 +1003,8 @@ msgid "Method in target Node must be specified!" msgstr "El método en el Nodo objetivo debe ser especificado!" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +#, fuzzy +msgid "Connect To Node:" msgstr "Conectar a Nodo:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1230,6 +1223,51 @@ msgstr "Elegí un Directorio" msgid "Choose" msgstr "Elegir" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Act/Desact. Breakpoint" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Act/Desact. Comentario" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Copiar Ruta" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Favoritos:" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "Bajar" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Favoritos:" @@ -1484,16 +1522,39 @@ msgid "There is no defined scene to run." msgstr "No hay escena definida para ejecutar." #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"No se ha definido ninguna escena principal.\n" +"Seleccioná una de \"Ajustes del Proyecto\" bajo la categoria 'aplicacion'." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"No se ha definido ninguna escena principal.\n" +"Seleccioná una de \"Ajustes del Proyecto\" bajo la categoria 'aplicacion'." + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "No se ha definido ninguna escena principal.\n" "Seleccioná una de \"Ajustes del Proyecto\" bajo la categoria 'aplicacion'." #: tools/editor/editor_node.cpp msgid "Current scene was never saved, please save it prior to running." -msgstr "La escena actual nunca se guardó. Favor de guardarla antes de ejecutar." +msgstr "" +"La escena actual nunca se guardó. Favor de guardarla antes de ejecutar." #: tools/editor/editor_node.cpp msgid "Could not start subprocess!" @@ -1581,6 +1642,11 @@ msgid "" "(Unsaved changes will be lost)" msgstr "Abrir el Gestor de Proyectos? (Los cambios sin guardar se perderán)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Escena Principal" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Ugh" @@ -1607,18 +1673,14 @@ msgid "Save Layout" msgstr "Guardar Layout" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Cargar Layout" +msgid "Delete Layout" +msgstr "Eliminar Layout" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Por Defecto" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Eliminar Layout" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Cambiar Pestaña de Escena" @@ -1648,6 +1710,16 @@ msgid "Distraction Free Mode" msgstr "Modo Sin Distracciones" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Siguiente" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "Directorio Previo" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "Operaciones con archivos de escena." @@ -2212,6 +2284,12 @@ msgid "No target font resource!" msgstr "Sin recurso de tipografías de destino!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "No se puede cargar/procesar la tipografía de origen." @@ -2451,7 +2529,8 @@ msgid "Couldn't load post-import script:" msgstr "No se pudo cargar el script post importación:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Script para post importación inválido/roto:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3119,13 +3198,11 @@ msgstr "Configurar Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Offset de Grilla:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Setp de Grilla:" @@ -3245,7 +3322,6 @@ msgstr "Usar Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Mostrar la Grilla" @@ -3498,6 +3574,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "A MeshInstance le falta un Mesh!" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "No se pudo crear el outline!" @@ -3860,17 +3940,14 @@ msgid "Clear UV" msgstr "Limpiar UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Esnapear" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Activar Snap" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Grilla" @@ -4708,20 +4785,51 @@ msgid "StyleBox Preview:" msgstr "Vista Previa de StyleBox:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Editor de Regiones de Texturas" +#, fuzzy +msgid "Snap Mode:" +msgstr "Modo de Ejecución:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "Editor de Regiones de Escalado" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Usar Pixel Snap" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Setp de Grilla:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" -"Sin textura en este nodo.\n" -"Asigná una textura para poder editar la región." + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Offset de Grilla:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Paso (s):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Selecciones:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Editor de Regiones de Texturas" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Editor de Regiones de Texturas" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -5018,8 +5126,8 @@ msgstr "" #: tools/editor/project_export.cpp msgid "Filters to exclude from export (comma-separated, e.g.: *.json, *.txt):" msgstr "" -"Filtros para excluir de la exportación (separados por comas, ej: *.json, " -"*.txt):" +"Filtros para excluir de la exportación (separados por comas, ej: *.json, *." +"txt):" #: tools/editor/project_export.cpp msgid "Convert text scenes to binary on export." @@ -5772,7 +5880,8 @@ msgstr "No se puede operar sobre los nodos de una escena externa!" #: tools/editor/scene_tree_dock.cpp msgid "Can't operate on nodes the current scene inherits from!" -msgstr "No se puede operar sobre los nodos de los cual hereda la escena actual!" +msgstr "" +"No se puede operar sobre los nodos de los cual hereda la escena actual!" #: tools/editor/scene_tree_dock.cpp msgid "Remove Node(s)" @@ -5799,12 +5908,16 @@ msgid "Error duplicating scene to save it." msgstr "Error al duplicar escena para guardarla." #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "Nueva Raíz de Escena" +msgid "Edit Groups" +msgstr "Editar Grupos" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "Editar Conexiones" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "Heredar Escena" +msgid "Delete Node(s)" +msgstr "Eliminar Nodo(s)" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5819,14 +5932,6 @@ msgid "Change Type" msgstr "Cambiar Tipo" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "Editar Grupos" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "Editar Conexiones" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "Agregar Script" @@ -5839,10 +5944,6 @@ msgid "Save Branch as Scene" msgstr "Guardar Rama como Escena" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "Eliminar Nodo(s)" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "Agregar/Crear un Nuevo Nodo" @@ -6235,6 +6336,31 @@ msgstr "Cambiar Largo de Shape Rayo" msgid "Change Notifier Extents" msgstr "Cambiar Alcances de Notificadores" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Cambiar Interpolación de Loop de Anim" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Activar/Desactivar interpolación al loopear animación." + +#~ msgid "Load Layout" +#~ msgstr "Cargar Layout" + +#~ msgid "Scale Region Editor" +#~ msgstr "Editor de Regiones de Escalado" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "" +#~ "Sin textura en este nodo.\n" +#~ "Asigná una textura para poder editar la región." + +#~ msgid "New Scene Root" +#~ msgstr "Nueva Raíz de Escena" + +#~ msgid "Inherit Scene" +#~ msgstr "Heredar Escena" + #~ msgid "Binds (Extra Params):" #~ msgstr "Binds (Parametros Extra):" diff --git a/tools/translations/es_AR.po b/tools/translations/es_AR.po index e9dc591b98..cca5745688 100644 --- a/tools/translations/es_AR.po +++ b/tools/translations/es_AR.po @@ -10,8 +10,8 @@ msgstr "" "POT-Creation-Date: \n" "PO-Revision-Date: 2016-06-19 12:39+0000\n" "Last-Translator: Lisandro Lorea <lisandrolorea@gmail.com>\n" -"Language-Team: Spanish (Argentina) <https://hosted.weblate.org/projects" -"/godot-engine/godot/es_AR/>\n" +"Language-Team: Spanish (Argentina) <https://hosted.weblate.org/projects/" +"godot-engine/godot/es_AR/>\n" "Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -699,10 +699,6 @@ msgid "Change Anim Loop" msgstr "Cambiar Loop de Anim" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "Cambiar Interpolación de Loop de Anim" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "Crear Clave de Valor Tipado para Anim" @@ -743,10 +739,6 @@ msgid "Enable/Disable looping in animation." msgstr "Activar/Desactivar loopeo en la animación." #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "Activar/Desactivar interpolación al loopear animación." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "Agregar nuevos tracks." @@ -1011,7 +1003,8 @@ msgid "Method in target Node must be specified!" msgstr "El método en el Nodo objetivo debe ser especificado!" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +#, fuzzy +msgid "Connect To Node:" msgstr "Conectar a Nodo:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1230,6 +1223,51 @@ msgstr "Elegí un Directorio" msgid "Choose" msgstr "Elegir" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Act/Desact. Breakpoint" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Act/Desact. Comentario" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Copiar Ruta" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Favoritos:" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "Bajar" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Favoritos:" @@ -1484,9 +1522,31 @@ msgid "There is no defined scene to run." msgstr "No hay escena definida para ejecutar." #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"No se ha definido ninguna escena principal.\n" +"Seleccioná una de \"Ajustes del Proyecto\" bajo la categoria 'aplicacion'." + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"No se ha definido ninguna escena principal.\n" +"Seleccioná una de \"Ajustes del Proyecto\" bajo la categoria 'aplicacion'." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "No se ha definido ninguna escena principal.\n" "Seleccioná una de \"Ajustes del Proyecto\" bajo la categoria 'aplicacion'." @@ -1582,6 +1642,11 @@ msgid "" "(Unsaved changes will be lost)" msgstr "Abrir el Gestor de Proyectos? (Los cambios sin guardar se perderán)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Escena Principal" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Ugh" @@ -1608,18 +1673,14 @@ msgid "Save Layout" msgstr "Guardar Layout" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Cargar Layout" +msgid "Delete Layout" +msgstr "Eliminar Layout" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Por Defecto" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Eliminar Layout" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Cambiar Pestaña de Escena" @@ -1649,6 +1710,16 @@ msgid "Distraction Free Mode" msgstr "Modo Sin Distracciones" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Siguiente" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "Directorio Previo" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "Operaciones con archivos de escena." @@ -2213,6 +2284,12 @@ msgid "No target font resource!" msgstr "Sin recurso de tipografías de destino!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "No se puede cargar/procesar la tipografía de origen." @@ -2452,7 +2529,8 @@ msgid "Couldn't load post-import script:" msgstr "No se pudo cargar el script post importación:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Script para post importación inválido/roto:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3120,13 +3198,11 @@ msgstr "Configurar Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Offset de Grilla:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Setp de Grilla:" @@ -3246,7 +3322,6 @@ msgstr "Usar Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Mostrar la Grilla" @@ -3499,6 +3574,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "A MeshInstance le falta un Mesh!" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "No se pudo crear el outline!" @@ -3861,17 +3940,14 @@ msgid "Clear UV" msgstr "Limpiar UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Esnapear" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Activar Snap" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Grilla" @@ -4709,20 +4785,51 @@ msgid "StyleBox Preview:" msgstr "Vista Previa de StyleBox:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Editor de Regiones de Texturas" +#, fuzzy +msgid "Snap Mode:" +msgstr "Modo de Ejecución:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "Editor de Regiones de Escalado" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Usar Pixel Snap" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Setp de Grilla:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" -"Sin textura en este nodo.\n" -"Asigná una textura para poder editar la región." + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Offset de Grilla:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Paso (s):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Selecciones:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Editor de Regiones de Texturas" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Editor de Regiones de Texturas" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -5801,12 +5908,16 @@ msgid "Error duplicating scene to save it." msgstr "Error al duplicar escena para guardarla." #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "Nueva Raíz de Escena" +msgid "Edit Groups" +msgstr "Editar Grupos" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "Editar Conexiones" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "Heredar Escena" +msgid "Delete Node(s)" +msgstr "Eliminar Nodo(s)" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5821,14 +5932,6 @@ msgid "Change Type" msgstr "Cambiar Tipo" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "Editar Grupos" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "Editar Conexiones" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "Agregar Script" @@ -5841,10 +5944,6 @@ msgid "Save Branch as Scene" msgstr "Guardar Rama como Escena" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "Eliminar Nodo(s)" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "Agregar/Crear un Nuevo Nodo" @@ -6237,6 +6336,31 @@ msgstr "Cambiar Largo de Shape Rayo" msgid "Change Notifier Extents" msgstr "Cambiar Alcances de Notificadores" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Cambiar Interpolación de Loop de Anim" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Activar/Desactivar interpolación al loopear animación." + +#~ msgid "Load Layout" +#~ msgstr "Cargar Layout" + +#~ msgid "Scale Region Editor" +#~ msgstr "Editor de Regiones de Escalado" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "" +#~ "Sin textura en este nodo.\n" +#~ "Asigná una textura para poder editar la región." + +#~ msgid "New Scene Root" +#~ msgstr "Nueva Raíz de Escena" + +#~ msgid "Inherit Scene" +#~ msgstr "Heredar Escena" + #~ msgid "Binds (Extra Params):" #~ msgstr "Binds (Parametros Extra):" diff --git a/tools/translations/fr.po b/tools/translations/fr.po index 386a7e6170..24a8790ca0 100644 --- a/tools/translations/fr.po +++ b/tools/translations/fr.po @@ -2,6 +2,7 @@ # Copyright (C) 2016 Juan Linietsky, Ariel Manzur and the Godot community # This file is distributed under the same license as the Godot source code. # +# Chenebel Dorian <LoubiTek54@gmail.com>, 2016. # derderder77 <derderder77380@gmail.com>, 2016. # finkiki <specialpopol@gmx.fr>, 2016. # Hugo Locurcio <hugo.l@openmailbox.org>, 2016. @@ -11,10 +12,10 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2016-06-19 13:17+0000\n" -"Last-Translator: Rémi Verschelde <akien@godotengine.org>\n" -"Language-Team: French <https://hosted.weblate.org/projects/godot-" -"engine/godot/fr/>\n" +"PO-Revision-Date: 2016-06-25 18:35+0000\n" +"Last-Translator: Chenebel Dorian <LoubiTek54@gmail.com>\n" +"Language-Team: French <https://hosted.weblate.org/projects/godot-engine/" +"godot/fr/>\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -24,11 +25,11 @@ msgstr "" #: modules/gdscript/gd_functions.cpp msgid "Invalid type argument to convert(), use TYPE_* constants." -msgstr "" +msgstr "Argument invalide de type convertir(), utiliser le TYPE * constantes." #: modules/gdscript/gd_functions.cpp msgid "Not enough bytes for decoding bytes, or invalid format." -msgstr "" +msgstr "Pas assez d'octets pour les octets de décodage, ou format non valide." #: modules/gdscript/gd_functions.cpp msgid "step argument is zero!" @@ -523,43 +524,43 @@ msgstr "Toute la sélection" #: tools/editor/animation_editor.cpp msgid "Move Add Key" -msgstr "Déplacer Ajouter Clé" +msgstr "Mouvement Ajouter une clé" #: tools/editor/animation_editor.cpp msgid "Anim Change Transition" -msgstr "Anim Modifier Transition" +msgstr "Animation Changer la transition" #: tools/editor/animation_editor.cpp msgid "Anim Change Transform" -msgstr "Anim Modifier Transform" +msgstr "Animation Changer la transformation" #: tools/editor/animation_editor.cpp msgid "Anim Change Value" -msgstr "Anim Modifier Valeur" +msgstr "Animation Changer la valeur" #: tools/editor/animation_editor.cpp msgid "Anim Change Call" -msgstr "Anim Modifier Appel" +msgstr "Animation Changer l'appel" #: tools/editor/animation_editor.cpp msgid "Anim Add Track" -msgstr "Anim Ajouter Piste" +msgstr "Animation Ajouter une piste" #: tools/editor/animation_editor.cpp msgid "Move Anim Track Up" -msgstr "Monter Piste Anim" +msgstr "Monter la piste d'animation" #: tools/editor/animation_editor.cpp msgid "Move Anim Track Down" -msgstr "Descendre Piste Anim" +msgstr "Descendre la piste d'animation" #: tools/editor/animation_editor.cpp msgid "Remove Anim Track" -msgstr "Supprimer Piste Anim" +msgstr "Supprimer la piste d'animation" #: tools/editor/animation_editor.cpp msgid "Anim Duplicate Keys" -msgstr "Anim Dupliquer Clés" +msgstr "Animation Dupliquer les clés" #: tools/editor/animation_editor.cpp msgid "Set Transitions to:" @@ -567,27 +568,27 @@ msgstr "Définir les transitions à :" #: tools/editor/animation_editor.cpp msgid "Anim Track Rename" -msgstr "" +msgstr "Renommer la piste d'animation" #: tools/editor/animation_editor.cpp msgid "Anim Track Change Interpolation" -msgstr "" +msgstr "Modifier l'interpolation de la piste d'animation" #: tools/editor/animation_editor.cpp msgid "Anim Track Change Value Mode" -msgstr "" +msgstr "Modifier le mode de valeur de la piste d'animation" #: tools/editor/animation_editor.cpp msgid "Edit Node Curve" -msgstr "" +msgstr "Modifier Courbe du Noeud" #: tools/editor/animation_editor.cpp msgid "Edit Selection Curve" -msgstr "" +msgstr "Modifier la courbe de sélection" #: tools/editor/animation_editor.cpp msgid "Anim Delete Keys" -msgstr "" +msgstr "Animation Supprimer les clés" #: tools/editor/animation_editor.cpp msgid "Continuous" @@ -603,11 +604,11 @@ msgstr "" #: tools/editor/animation_editor.cpp msgid "Anim Add Key" -msgstr "" +msgstr "Animation Ajouter une clé" #: tools/editor/animation_editor.cpp msgid "Anim Move Keys" -msgstr "" +msgstr "Animation Déplacer les clés" #: tools/editor/animation_editor.cpp msgid "Scale Selection" @@ -690,15 +691,15 @@ msgstr "Créer" #: tools/editor/animation_editor.cpp msgid "Anim Create & Insert" -msgstr "" +msgstr "Animation Créer et insérer" #: tools/editor/animation_editor.cpp msgid "Anim Insert Track & Key" -msgstr "" +msgstr "Animation Insérer une piste et une clé" #: tools/editor/animation_editor.cpp msgid "Anim Insert Key" -msgstr "" +msgstr "Animation Inserer une clé" #: tools/editor/animation_editor.cpp msgid "Change Anim Len" @@ -706,20 +707,15 @@ msgstr "" #: tools/editor/animation_editor.cpp msgid "Change Anim Loop" -msgstr "" - -#: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Change Anim Loop Interpolation" -msgstr "Changer l'interpolation de l'animation bouclée" +msgstr "Changer l'animation de la boucle" #: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" -msgstr "" +msgstr "Animation Créer une clé pour une valeur typée" #: tools/editor/animation_editor.cpp msgid "Anim Insert" -msgstr "" +msgstr "Insérer une animation" #: tools/editor/animation_editor.cpp msgid "Anim Scale Keys" @@ -727,7 +723,7 @@ msgstr "" #: tools/editor/animation_editor.cpp msgid "Anim Add Call Track" -msgstr "" +msgstr "Animation ajouter une piste d'appel" #: tools/editor/animation_editor.cpp msgid "Animation zoom." @@ -747,15 +743,11 @@ msgstr "Pas (s) :" #: tools/editor/animation_editor.cpp msgid "Cursor step snap (in seconds)." -msgstr "" +msgstr "Pas du curseur (en secondes)." #: tools/editor/animation_editor.cpp msgid "Enable/Disable looping in animation." -msgstr "" - -#: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" +msgstr "Activer/Désactiver le bouclage de l'animation." #: tools/editor/animation_editor.cpp msgid "Add new tracks." @@ -883,11 +875,11 @@ msgstr "Support…" #: tools/editor/asset_library_editor_plugin.cpp msgid "Official" -msgstr "" +msgstr "Officiel" #: tools/editor/asset_library_editor_plugin.cpp msgid "Community" -msgstr "" +msgstr "Communauté" #: tools/editor/asset_library_editor_plugin.cpp msgid "Testing" @@ -1022,7 +1014,8 @@ msgid "Method in target Node must be specified!" msgstr "La méthode du nœud cible doit être spécifiée !" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +#, fuzzy +msgid "Connect To Node:" msgstr "Connecter au nœud :" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1241,6 +1234,51 @@ msgstr "Choisir un répertoire" msgid "Choose" msgstr "Choisir" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Déplacer le favori vers le haut" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Commenter/décommenter" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Copier le chemin" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Déplacer le favori vers le haut" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "Déplacer le favori vers le bas" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Favoris :" @@ -1496,8 +1534,23 @@ msgstr "Il n'y a pas de scène définie pour être lancée." #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1595,6 +1648,11 @@ msgstr "" "Ouvrir le gestionnaire de projets ?\n" "(les modifications non sauvegardées seront perdues)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Scène principale" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Oups" @@ -1621,18 +1679,14 @@ msgid "Save Layout" msgstr "Enregistrer la disposition" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Charger la disposition" +msgid "Delete Layout" +msgstr "Supprimer la disposition" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Par défaut" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Supprimer la disposition" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Basculer entre les onglets de scène" @@ -1662,6 +1716,16 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Suivant" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "Répertoire précédent" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "Opérations avec les fichiers de scène." @@ -2207,6 +2271,12 @@ msgid "No target font resource!" msgstr "Pas de ressource de police de destination !" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "Impossible de charger ou traiter la police source." @@ -2446,7 +2516,8 @@ msgid "Couldn't load post-import script:" msgstr "Impossible de charger le script de post-importation :" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Script de post-importation invalide ou cassé :" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3111,13 +3182,11 @@ msgstr "Configurer la grille" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Décalage de la grille :" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Pas de la grille :" @@ -3233,7 +3302,6 @@ msgstr "Aligner sur la grille" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Afficher la grille" @@ -3486,6 +3554,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "Le MeshInstance n'a pas de maillage !" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "Impossible de créer le contour !" @@ -3847,17 +3919,14 @@ msgid "Clear UV" msgstr "Effacer l'UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Aligner" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Activer l'alignement" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Grille" @@ -4054,7 +4123,7 @@ msgstr "Trouver le suivant" #: tools/editor/plugins/script_editor_plugin.cpp #: tools/editor/plugins/shader_editor_plugin.cpp msgid "Find Previous" -msgstr "" +msgstr "trouver précédente" #: tools/editor/plugins/script_editor_plugin.cpp #: tools/editor/plugins/shader_editor_plugin.cpp @@ -4696,19 +4765,52 @@ msgid "StyleBox Preview:" msgstr "Aperçu de la StyleBox :" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Éditeur de région de texture" +#, fuzzy +msgid "Snap Mode:" +msgstr "Mode d'exécution :" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Aligner au pixel près" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Pas de la grille :" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Décalage de la grille :" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Pas (s) :" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Sections :" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Éditeur de région de texture" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Éditeur de région de texture" + #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" msgstr "Impossible d'enregistrer le thème dans le fichier :" @@ -5783,12 +5885,16 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "Nouvelle racine de la scène" +msgid "Edit Groups" +msgstr "Modifier les groupes" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "Modifier les connexions" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "Hériter la scène" +msgid "Delete Node(s)" +msgstr "Supprimer nœud(s)" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5803,14 +5909,6 @@ msgid "Change Type" msgstr "Changer le type" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "Modifier les groupes" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "Modifier les connexions" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "Ajouter un script" @@ -5823,10 +5921,6 @@ msgid "Save Branch as Scene" msgstr "Sauvegarder la branche comme scène" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "Supprimer nœud(s)" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "Ajouter un nouveau nœud" @@ -6218,6 +6312,21 @@ msgstr "Changer la longueur d'une forme en rayon" msgid "Change Notifier Extents" msgstr "Changer les extents d'un notificateur" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Changer l'interpolation de la boucle d'animation" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Activer/Désactiver l'interpolation lors de la boucle d'animation." + +#~ msgid "Load Layout" +#~ msgstr "Charger la disposition" + +#~ msgid "New Scene Root" +#~ msgstr "Nouvelle racine de la scène" + +#~ msgid "Inherit Scene" +#~ msgstr "Hériter la scène" + #~ msgid "Method In Node:" #~ msgstr "Méthode dans le nœud :" @@ -6266,12 +6375,6 @@ msgstr "Changer les extents d'un notificateur" #~ msgid "Next Time:" #~ msgstr "Les prochaines fois :" -#~ msgid "Move Favorite Up" -#~ msgstr "Déplacer le favori vers le haut" - -#~ msgid "Move Favorite Down" -#~ msgstr "Déplacer le favori vers le bas" - #~ msgid "%d frames" #~ msgstr "%d images" diff --git a/tools/translations/it.po b/tools/translations/it.po index dfb0eb522a..f41289656c 100644 --- a/tools/translations/it.po +++ b/tools/translations/it.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2016-06-19 09:39+0000\n" +"PO-Revision-Date: 2016-06-22 15:28+0000\n" "Last-Translator: Dario Bonfanti <bonfi.96@hotmail.it>\n" "Language-Team: Italian <https://hosted.weblate.org/projects/godot-engine/" "godot/it/>\n" @@ -21,45 +21,46 @@ msgstr "" #: modules/gdscript/gd_functions.cpp msgid "Invalid type argument to convert(), use TYPE_* constants." -msgstr "" +msgstr "Argomento tipo invalido per convert(), usare le costanti TYPE_*." #: modules/gdscript/gd_functions.cpp msgid "Not enough bytes for decoding bytes, or invalid format." msgstr "" +"Non vi sono abbastanza bytes per i bytes di decodifica, oppure formato " +"invalido." #: modules/gdscript/gd_functions.cpp msgid "step argument is zero!" -msgstr "" +msgstr "step argument è zero!" #: modules/gdscript/gd_functions.cpp -#, fuzzy msgid "Not a script with an instance" -msgstr "Nessuna scena da istanziare selezionata!" +msgstr "Non è uno script con un istanza" #: modules/gdscript/gd_functions.cpp msgid "Not based on a script" -msgstr "" +msgstr "Non si basa su uno script" #: modules/gdscript/gd_functions.cpp -#, fuzzy msgid "Not based on a resource file" -msgstr "Nessuna risorsa font di destinazione!" +msgstr "Non si basa su un file risorsa" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (missing @path)" -msgstr "" +msgstr "Istanza invalida formato dizionario (manca @path)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (can't load script at @path)" msgstr "" +"Istanza invalida formato dizionario (impossibile caricare script in @path)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (invalid script at @path)" -msgstr "" +msgstr "Istanza invalida formato dizionario (script invalido in @path)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary (invalid subclasses)" -msgstr "" +msgstr "Istanza invalida formato dizionario (sottoclassi invalide)" #: scene/2d/animated_sprite.cpp msgid "" @@ -589,18 +590,16 @@ msgid "Anim Delete Keys" msgstr "Anim Elimina Key" #: tools/editor/animation_editor.cpp -#, fuzzy msgid "Continuous" -msgstr "Continua" +msgstr "Continuo" #: tools/editor/animation_editor.cpp -#, fuzzy msgid "Discrete" -msgstr "Disconnetti" +msgstr "Discreto" #: tools/editor/animation_editor.cpp msgid "Trigger" -msgstr "" +msgstr "Attivazione" #: tools/editor/animation_editor.cpp msgid "Anim Add Key" @@ -710,11 +709,6 @@ msgid "Change Anim Loop" msgstr "Cambia Loop Animazione" #: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Change Anim Loop Interpolation" -msgstr "Cambia Loop Animazione" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "Anim Crea Typed Value Key" @@ -755,11 +749,6 @@ msgid "Enable/Disable looping in animation." msgstr "Attiva/Disattiva loop animazione." #: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Enable/Disable interpolation when looping animation." -msgstr "Attiva/Disattiva loop animazione." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "Aggiungi nuova traccia." @@ -1025,8 +1014,8 @@ msgstr "Il Metodo nel nodo di target deve essere specificato!" #: tools/editor/connections_dialog.cpp #, fuzzy -msgid "Conect To Node:" -msgstr "Collega A Nodo:" +msgid "Connect To Node:" +msgstr "Connetti A Nodo:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp #: tools/editor/plugins/item_list_editor_plugin.cpp @@ -1044,17 +1033,15 @@ msgstr "Rimuovi" #: tools/editor/connections_dialog.cpp msgid "Add Extra Call Argument:" -msgstr "" +msgstr "Aggiungi Argomento Extra di Chiamata:" #: tools/editor/connections_dialog.cpp -#, fuzzy msgid "Extra Call Arguments:" -msgstr "Argomenti:" +msgstr "Argomenti Chiamata Extra:" #: tools/editor/connections_dialog.cpp -#, fuzzy msgid "Path to Node:" -msgstr "Percorso Al Nodo:" +msgstr "Percorso a Nodo:" #: tools/editor/connections_dialog.cpp msgid "Make Function" @@ -1077,9 +1064,8 @@ msgid "Connect '%s' to '%s'" msgstr "Connetti '%s' a '%s'" #: tools/editor/connections_dialog.cpp -#, fuzzy msgid "Connecting Signal:" -msgstr "Connessioni:" +msgstr "Connessione Segnali:" #: tools/editor/connections_dialog.cpp msgid "Create Subscription" @@ -1248,6 +1234,51 @@ msgstr "Scegli una Directory" msgid "Choose" msgstr "Scegli" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Sposta Preferito Su" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Cambia a Commento" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Copia Percorso" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Sposta Preferito Su" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "Sposta Preferito Giù" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Preferiti:" @@ -1502,9 +1533,33 @@ msgid "There is no defined scene to run." msgstr "Non c'è nessuna scena definita da eseguire." #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"Nessuna scena principale è mai stata definita.\n" +"Selezionane una da \"Impostazioni Progetto\" sotto la categoria " +"'applicazioni'." + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"Nessuna scena principale è mai stata definita.\n" +"Selezionane una da \"Impostazioni Progetto\" sotto la categoria " +"'applicazioni'." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "Nessuna scena principale è mai stata definita.\n" "Selezionane una da \"Impostazioni Progetto\" sotto la categoria " @@ -1604,6 +1659,11 @@ msgstr "" "Aprire la Gestione Progetti?\n" "(I cambiamenti non salvati saranno persi)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Scena Principale" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Ugh" @@ -1630,18 +1690,14 @@ msgid "Save Layout" msgstr "Salva layout" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Carica Layout" +msgid "Delete Layout" +msgstr "Elimina Layout" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Default" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Elimina Layout" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Cambia Tab di Scena" @@ -1664,11 +1720,21 @@ msgstr "Vai alla scena precedentemente aperta." #: tools/editor/editor_node.cpp msgid "Fullscreen Mode" -msgstr "" +msgstr "Modalità Fullscreen" #: tools/editor/editor_node.cpp msgid "Distraction Free Mode" -msgstr "" +msgstr "Modalità Senza Distrazioni" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Successivo" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "Directory Precedente" #: tools/editor/editor_node.cpp msgid "Operations with scene files." @@ -2235,6 +2301,12 @@ msgid "No target font resource!" msgstr "Nessuna risorsa font di destinazione!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "Impossibile caricare/processare il font sorgente." @@ -2473,7 +2545,8 @@ msgid "Couldn't load post-import script:" msgstr "Impossibile caricare lo script di post-import:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Script di post-import invalido/non funzionante:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -2858,9 +2931,8 @@ msgid "Create new animation in player." msgstr "Crea nuova animazione nel player." #: tools/editor/plugins/animation_player_editor_plugin.cpp -#, fuzzy msgid "Load animation from disk." -msgstr "Carica un'animazione da disco." +msgstr "Carica animazione da disco." #: tools/editor/plugins/animation_player_editor_plugin.cpp msgid "Load an animation from disk." @@ -2871,9 +2943,8 @@ msgid "Save the current animation" msgstr "Salva l'animazione corrente" #: tools/editor/plugins/animation_player_editor_plugin.cpp -#, fuzzy msgid "Save As" -msgstr "Salva Come.." +msgstr "Salva Come" #: tools/editor/plugins/animation_player_editor_plugin.cpp msgid "Display list of animations in player." @@ -3141,13 +3212,11 @@ msgstr "Configura Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Offset Griglia:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Step Griglia:" @@ -3267,7 +3336,6 @@ msgstr "Usa lo Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Mostra Griglia" @@ -3520,6 +3588,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "MeshInstance manca di una Mesh!" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "Impossiblile creare outline!" @@ -3883,17 +3955,14 @@ msgid "Clear UV" msgstr "Cancella UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Snap" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Abilita Snap" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Griglia" @@ -4073,9 +4142,8 @@ msgid "Auto Indent" msgstr "Auto Indenta" #: tools/editor/plugins/script_editor_plugin.cpp -#, fuzzy msgid "Soft Reload Script" -msgstr "Ricarica Tool Script" +msgstr "Ricarica Script Soft" #: tools/editor/plugins/script_editor_plugin.cpp #: tools/editor/plugins/shader_editor_plugin.cpp @@ -4167,9 +4235,8 @@ msgid "Help" msgstr "Aiuto" #: tools/editor/plugins/script_editor_plugin.cpp -#, fuzzy msgid "Contextual Help" -msgstr "Contestuale" +msgstr "Aiuto Contestuale" #: tools/editor/plugins/script_editor_plugin.cpp msgid "Tutorials" @@ -4733,20 +4800,51 @@ msgid "StyleBox Preview:" msgstr "Anteprima StyleBox:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Editor Regioni Texture" +#, fuzzy +msgid "Snap Mode:" +msgstr "Modalità esecuzione:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "Scala Editor Regioni" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Usa Snap a Pixel" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Step Griglia:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" -"Nessuna texture in questo nodo.\n" -"Imposta una texture per poter modificare la regione." + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Offset Griglia:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Step (s):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Sezioni:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Editor Regioni Texture" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Editor Regioni Texture" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -4774,14 +4872,12 @@ msgid "Remove Class Items" msgstr "Rimuovi Elementi di Classe" #: tools/editor/plugins/theme_editor_plugin.cpp -#, fuzzy msgid "Create Empty Template" -msgstr "Crea Template" +msgstr "Crea Template Vuota" #: tools/editor/plugins/theme_editor_plugin.cpp -#, fuzzy msgid "Create Empty Editor Template" -msgstr "Crea Template" +msgstr "Crea Template Editor Vuota" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "CheckBox Radio1" @@ -4867,28 +4963,24 @@ msgid "Erase TileMap" msgstr "Cancella TileMap" #: tools/editor/plugins/tile_map_editor_plugin.cpp -#, fuzzy msgid "Erase selection" -msgstr "Elimina Selezione" +msgstr "Cancella selezione" #: tools/editor/plugins/tile_map_editor_plugin.cpp -#, fuzzy msgid "Find tile" -msgstr "Trova Successivo" +msgstr "Trova tile" #: tools/editor/plugins/tile_map_editor_plugin.cpp msgid "Transpose" msgstr "Trasponi" #: tools/editor/plugins/tile_map_editor_plugin.cpp -#, fuzzy msgid "Mirror X" -msgstr "Specchia X (A)" +msgstr "Specchia X" #: tools/editor/plugins/tile_map_editor_plugin.cpp -#, fuzzy msgid "Mirror Y" -msgstr "Specchia Y (A)" +msgstr "Specchia Y" #: tools/editor/plugins/tile_map_editor_plugin.cpp msgid "Bucket" @@ -5829,12 +5921,16 @@ msgid "Error duplicating scene to save it." msgstr "Errore duplicando la scena per salvarla." #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "Nuova Scena di Root" +msgid "Edit Groups" +msgstr "Modifica Gruppi" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "Modifica Connessioni" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "Eredita Scena" +msgid "Delete Node(s)" +msgstr "Elimina Nodo(i)" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5849,14 +5945,6 @@ msgid "Change Type" msgstr "Cambia Tipo" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "Modifica Gruppi" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "Modifica Connessioni" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "Aggiungi Script" @@ -5869,10 +5957,6 @@ msgid "Save Branch as Scene" msgstr "Salva Ramo come Scena" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "Elimina Nodo(i)" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "Aggiungi/Crea un Nuovo Nodo" @@ -5926,7 +6010,7 @@ msgstr "Carica come placeholder" #: tools/editor/scene_tree_editor.cpp msgid "Discard Instancing" -msgstr "" +msgstr "Scarta Istanziamento" #: tools/editor/scene_tree_editor.cpp msgid "Open in Editor" @@ -6266,6 +6350,31 @@ msgstr "Cambia lunghezza Ray Shape" msgid "Change Notifier Extents" msgstr "Cambia Estensione di Notifier" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Cambia Interpolazione Loop Animazione" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Attiva/Disattiva interpolazione durante loop animazione." + +#~ msgid "Load Layout" +#~ msgstr "Carica Layout" + +#~ msgid "Scale Region Editor" +#~ msgstr "Scala Editor Regioni" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "" +#~ "Nessuna texture in questo nodo.\n" +#~ "Imposta una texture per poter modificare la regione." + +#~ msgid "New Scene Root" +#~ msgstr "Nuova Scena di Root" + +#~ msgid "Inherit Scene" +#~ msgstr "Eredita Scena" + #~ msgid "Binds (Extra Params):" #~ msgstr "Lega (Parametri Extra):" @@ -6305,12 +6414,6 @@ msgstr "Cambia Estensione di Notifier" #~ msgid "Plugin List:" #~ msgstr "Lista Plugin:" -#~ msgid "Move Favorite Up" -#~ msgstr "Sposta Preferito Su" - -#~ msgid "Move Favorite Down" -#~ msgstr "Sposta Preferito Giù" - #~ msgid "%d frames" #~ msgstr "%d frames" diff --git a/tools/translations/ja.po b/tools/translations/ja.po new file mode 100644 index 0000000000..4b6a1c8a28 --- /dev/null +++ b/tools/translations/ja.po @@ -0,0 +1,6182 @@ +# Japanese translation of the Godot Engine editor +# Copyright (C) 2016 Juan Linietsky, Ariel Manzur and the Godot community +# This file is distributed under the same license as the Godot source code. +# +# hopping tappy (たっぴさん) <hopping.tappy@gmail.com>, 2016. +# +msgid "" +msgstr "" +"Project-Id-Version: Godot Engine editor\n" +"PO-Revision-Date: 2016-06-20 19:30+0000\n" +"Last-Translator: hopping tappy (たっぴさん) <hopping.tappy@gmail.com>\n" +"Language-Team: Japanese <https://hosted.weblate.org/projects/godot-engine/" +"godot/ja/>\n" +"Language: ja\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 2.7-dev\n" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid type argument to convert(), use TYPE_* constants." +msgstr "Convert()に対して無効な型の引数です。TYPE_* 定数を使ってください。" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Not enough bytes for decoding bytes, or invalid format." +msgstr "デコードバイトのバイトは十分ではありません。または無効な形式です。" + +#: modules/gdscript/gd_functions.cpp +msgid "step argument is zero!" +msgstr "ステップ引数はゼロです!" + +#: modules/gdscript/gd_functions.cpp +msgid "Not a script with an instance" +msgstr "" + +#: modules/gdscript/gd_functions.cpp +msgid "Not based on a script" +msgstr "" + +#: modules/gdscript/gd_functions.cpp +msgid "Not based on a resource file" +msgstr "" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid instance dictionary format (missing @path)" +msgstr "無効なインスタンス辞書形式です ( @path が見つかりません)" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid instance dictionary format (can't load script at @path)" +msgstr "無効なインスタンス辞書形式です (@path でスクリプトを読み込めません)" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid instance dictionary format (invalid script at @path)" +msgstr "無効なインスタンス辞書形式です (@path で無効なスクリプト)" + +#: modules/gdscript/gd_functions.cpp +#, fuzzy +msgid "Invalid instance dictionary (invalid subclasses)" +msgstr "無効なインスタンス辞書です (無効なサブクラス)" + +#: scene/2d/animated_sprite.cpp +msgid "" +"A SpriteFrames resource must be created or set in the 'Frames' property in " +"order for AnimatedSprite to display frames." +msgstr "" + +#: scene/2d/canvas_modulate.cpp +msgid "" +"Only one visible CanvasModulate is allowed per scene (or set of instanced " +"scenes). The first created one will work, while the rest will be ignored." +msgstr "" + +#: scene/2d/collision_polygon_2d.cpp +msgid "" +"CollisionPolygon2D only serves to provide a collision shape to a " +"CollisionObject2D derived node. Please only use it as a child of Area2D, " +"StaticBody2D, RigidBody2D, KinematicBody2D, etc. to give them a shape." +msgstr "" + +#: scene/2d/collision_polygon_2d.cpp +msgid "An empty CollisionPolygon2D has no effect on collision." +msgstr "" + +#: scene/2d/collision_shape_2d.cpp +msgid "" +"CollisionShape2D only serves to provide a collision shape to a " +"CollisionObject2D derived node. Please only use it as a child of Area2D, " +"StaticBody2D, RigidBody2D, KinematicBody2D, etc. to give them a shape." +msgstr "" + +#: scene/2d/collision_shape_2d.cpp +msgid "" +"A shape must be provided for CollisionShape2D to function. Please create a " +"shape resource for it!" +msgstr "" + +#: scene/2d/light_2d.cpp +msgid "" +"A texture with the shape of the light must be supplied to the 'texture' " +"property." +msgstr "" + +#: scene/2d/light_occluder_2d.cpp +msgid "" +"An occluder polygon must be set (or drawn) for this occluder to take effect." +msgstr "" + +#: scene/2d/light_occluder_2d.cpp +msgid "The occluder polygon for this occluder is empty. Please draw a polygon!" +msgstr "" + +#: scene/2d/navigation_polygon.cpp +msgid "" +"A NavigationPolygon resource must be set or created for this node to work. " +"Please set a property or draw a polygon." +msgstr "" + +#: scene/2d/navigation_polygon.cpp +msgid "" +"NavigationPolygonInstance must be a child or grandchild to a Navigation2D " +"node. It only provides navigation data." +msgstr "" + +#: scene/2d/parallax_layer.cpp +msgid "" +"ParallaxLayer node only works when set as child of a ParallaxBackground node." +msgstr "" + +#: scene/2d/particles_2d.cpp +msgid "Path property must point to a valid Particles2D node to work." +msgstr "" + +#: scene/2d/path_2d.cpp +msgid "PathFollow2D only works when set as a child of a Path2D node." +msgstr "" + +#: scene/2d/remote_transform_2d.cpp +msgid "Path property must point to a valid Node2D node to work." +msgstr "" + +#: scene/2d/sample_player_2d.cpp scene/audio/sample_player.cpp +msgid "" +"A SampleLibrary resource must be created or set in the 'samples' property in " +"order for SamplePlayer to play sound." +msgstr "" + +#: scene/2d/sprite.cpp +msgid "" +"Path property must point to a valid Viewport node to work. Such Viewport " +"must be set to 'render target' mode." +msgstr "" + +#: scene/2d/sprite.cpp +msgid "" +"The Viewport set in the path property must be set as 'render target' in " +"order for this sprite to work." +msgstr "" + +#: scene/2d/visibility_notifier_2d.cpp +msgid "" +"VisibilityEnable2D works best when used with the edited scene root directly " +"as parent." +msgstr "" + +#: scene/3d/body_shape.cpp +msgid "" +"CollisionShape only serves to provide a collision shape to a CollisionObject " +"derived node. Please only use it as a child of Area, StaticBody, RigidBody, " +"KinematicBody, etc. to give them a shape." +msgstr "" + +#: scene/3d/body_shape.cpp +msgid "" +"A shape must be provided for CollisionShape to function. Please create a " +"shape resource for it!" +msgstr "" + +#: scene/3d/collision_polygon.cpp +msgid "" +"CollisionPolygon only serves to provide a collision shape to a " +"CollisionObject derived node. Please only use it as a child of Area, " +"StaticBody, RigidBody, KinematicBody, etc. to give them a shape." +msgstr "" + +#: scene/3d/collision_polygon.cpp +msgid "An empty CollisionPolygon has no effect on collision." +msgstr "" + +#: scene/3d/navigation_mesh.cpp +msgid "A NavigationMesh resource must be set or created for this node to work." +msgstr "" + +#: scene/3d/navigation_mesh.cpp +msgid "" +"NavigationMeshInstance must be a child or grandchild to a Navigation node. " +"It only provides navigation data." +msgstr "" + +#: scene/3d/scenario_fx.cpp +msgid "" +"Only one WorldEnvironment is allowed per scene (or set of instanced scenes)." +msgstr "" + +#: scene/3d/spatial_sample_player.cpp +msgid "" +"A SampleLibrary resource must be created or set in the 'samples' property in " +"order for SpatialSamplePlayer to play sound." +msgstr "" + +#: scene/3d/sprite_3d.cpp +msgid "" +"A SpriteFrames resource must be created or set in the 'Frames' property in " +"order for AnimatedSprite3D to display frames." +msgstr "" + +#: scene/gui/dialogs.cpp tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Cancel" +msgstr "キャンセル" + +#: scene/gui/dialogs.cpp +msgid "OK" +msgstr "決定" + +#: scene/gui/dialogs.cpp +msgid "Alert!" +msgstr "警告!" + +#: scene/gui/dialogs.cpp +msgid "Please Confirm..." +msgstr "確認してください。" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "File Exists, Overwrite?" +msgstr "ファイルが既に存在します。上書きしますか?" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "All Recognized" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "All Files (*)" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/editor_help.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp +#: tools/editor/scenes_dock.cpp +msgid "Open" +msgstr "開く" + +#: scene/gui/file_dialog.cpp +msgid "Open a File" +msgstr "ファイルを開く" + +#: scene/gui/file_dialog.cpp +msgid "Open File(s)" +msgstr "" + +#: scene/gui/file_dialog.cpp +msgid "Open a Directory" +msgstr "ディレクトリを開く" + +#: scene/gui/file_dialog.cpp +msgid "Open a File or Directory" +msgstr "ファイルまたはディレクトリを開く" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save" +msgstr "保存" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Save a File" +msgstr "ファイルを保存" + +#: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp +#: tools/editor/editor_file_dialog.cpp +msgid "Create Folder" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/project_settings.cpp tools/editor/script_create_dialog.cpp +msgid "Path:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Directories & Files:" +msgstr "" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "File:" +msgstr "ファイル:" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Filter:" +msgstr "フィルター:" + +#: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp +#: tools/editor/editor_file_dialog.cpp tools/editor/editor_plugin_settings.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Name:" +msgstr "名前:" + +#: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp +#: tools/editor/editor_file_dialog.cpp +msgid "Could not create folder." +msgstr "フォルダを作成できませんでした。" + +#: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp +msgid "Must use a valid extension." +msgstr "有効な拡張子を使用する必要があります。" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Shift+" +msgstr "Shift+" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Alt+" +msgstr "Alt+" + +#: scene/gui/input_action.cpp +msgid "Ctrl+" +msgstr "Ctrl+" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Meta+" +msgstr "Meta+" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Device" +msgstr "デバイス" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Button" +msgstr "ボタン" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Left Button." +msgstr "左クリック" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Right Button." +msgstr "右クリック" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Middle Button." +msgstr "中クリック" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Wheel Up." +msgstr "ホイール上" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Wheel Down." +msgstr "ホイール下" + +#: scene/gui/input_action.cpp tools/editor/project_settings.cpp +msgid "Axis" +msgstr "アナログ" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Cut" +msgstr "切り取り" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp +msgid "Copy" +msgstr "コピー" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp +msgid "Paste" +msgstr "貼り付け" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/project_export.cpp +msgid "Select All" +msgstr "すべて選択" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp tools/editor/editor_log.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/rich_text_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/script_editor_debugger.cpp +msgid "Clear" +msgstr "削除" + +#: scene/gui/line_edit.cpp scene/gui/text_edit.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Undo" +msgstr "元に戻す" + +#: scene/gui/popup.cpp +msgid "" +"Popups will hide by default unless you call popup() or any of the popup*() " +"functions. Making them visible for editing is fine though, but they will " +"hide upon running." +msgstr "" + +#: scene/main/viewport.cpp +msgid "" +"This viewport is not set as render target. If you intend for it to display " +"its contents directly to the screen, make it a child of a Control so it can " +"obtain a size. Otherwise, make it a RenderTarget and assign its internal " +"texture to some node for display." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error initializing FreeType." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Unknown font format." +msgstr "不明なフォント形式です。" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Error loading font." +msgstr "" + +#: scene/resources/dynamic_font.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font size." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Disabled" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "All Selection" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move Add Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Transition" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Transform" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Value" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Change Call" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Add Track" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move Anim Track Up" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move Anim Track Down" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove Anim Track" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Duplicate Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Set Transitions to:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Track Rename" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Track Change Interpolation" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Track Change Value Mode" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Edit Node Curve" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Edit Selection Curve" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Delete Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Continuous" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Discrete" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Trigger" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Add Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Move Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Scale Selection" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Scale From Cursor" +msgstr "" + +#: tools/editor/animation_editor.cpp +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Duplicate Selection" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Duplicate Transposed" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Goto Next Step" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Goto Prev Step" +msgstr "" + +#: tools/editor/animation_editor.cpp tools/editor/property_editor.cpp +msgid "Linear" +msgstr "" + +#: tools/editor/animation_editor.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Constant" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "In" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Out" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "In-Out" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Out-In" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Transitions" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Optimize Animation" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-Up Animation" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Create NEW track for %s and insert key?" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Create %d NEW tracks and insert keys?" +msgstr "" + +#: tools/editor/animation_editor.cpp tools/editor/create_dialog.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/particles_editor_plugin.cpp +#: tools/editor/project_manager.cpp tools/editor/script_create_dialog.cpp +msgid "Create" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Create & Insert" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Insert Track & Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Insert Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Change Anim Len" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Change Anim Loop" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Create Typed Value Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Insert" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Scale Keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim Add Call Track" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Animation zoom." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Length (s):" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Animation length (in seconds)." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Step (s):" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Cursor step snap (in seconds)." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Enable/Disable looping in animation." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Add new tracks." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move current track up." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Move current track down." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove selected track." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Track tools" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Enable editing of individual keys by clicking them." +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Anim. Optimizer" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Max. Linear Error:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Max. Angular Error:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Max Optimizable Angle:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Optimize" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Key" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Transition" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Scale Ratio:" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Call Functions in Which Node?" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove invalid keys" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Remove unresolved and empty tracks" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-up all animations" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-Up Animation(s) (NO UNDO!)" +msgstr "" + +#: tools/editor/animation_editor.cpp +msgid "Clean-Up" +msgstr "" + +#: tools/editor/array_property_edit.cpp +msgid "Resize Array" +msgstr "" + +#: tools/editor/array_property_edit.cpp +msgid "Change Array Value Type" +msgstr "" + +#: tools/editor/array_property_edit.cpp +msgid "Change Array Value" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp tools/editor/create_dialog.cpp +#: tools/editor/editor_help.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp +#: tools/editor/settings_config_dialog.cpp +msgid "Search:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Sort:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Reverse" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +#: tools/editor/project_settings.cpp +msgid "Category:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "All" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Site:" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Support.." +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Official" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Community" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Testing" +msgstr "" + +#: tools/editor/asset_library_editor_plugin.cpp +msgid "Assets ZIP File" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Method List For '%s':" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Call" +msgstr "" + +#: tools/editor/call_dialog.cpp tools/editor/connections_dialog.cpp +#: tools/editor/import_settings.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +#: tools/editor/project_settings.cpp tools/editor/property_editor.cpp +#: tools/editor/run_settings_dialog.cpp tools/editor/settings_config_dialog.cpp +msgid "Close" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Method List:" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Arguments:" +msgstr "" + +#: tools/editor/call_dialog.cpp +msgid "Return:" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Go to Line" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Line Number:" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "No Matches" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replaced %d Ocurrence(s)." +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace All" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Match Case" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Whole Words" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Selection Only" +msgstr "" + +#: tools/editor/code_editor.cpp tools/editor/editor_help.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/project_settings.cpp +msgid "Search" +msgstr "" + +#: tools/editor/code_editor.cpp tools/editor/editor_help.cpp +msgid "Find" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Next" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replaced %d ocurrence(s)." +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Not found!" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Replace By" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Case Sensitive" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Backwards" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Prompt On Replace" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Skip" +msgstr "" + +#: tools/editor/code_editor.cpp tools/editor/script_editor_debugger.cpp +msgid "Line:" +msgstr "" + +#: tools/editor/code_editor.cpp +msgid "Col:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Method in target Node must be specified!" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect To Node:" +msgstr "" + +#: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp +#: tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/project_settings.cpp +msgid "Add" +msgstr "" + +#: tools/editor/connections_dialog.cpp tools/editor/dependency_editor.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/project_manager.cpp +msgid "Remove" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Add Extra Call Argument:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Extra Call Arguments:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Path to Node:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Make Function" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Deferred" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Oneshot" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect '%s' to '%s'" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connecting Signal:" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Create Subscription" +msgstr "" + +#: tools/editor/connections_dialog.cpp +msgid "Connect.." +msgstr "" + +#: tools/editor/connections_dialog.cpp +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Disconnect" +msgstr "" + +#: tools/editor/connections_dialog.cpp tools/editor/node_dock.cpp +msgid "Signals" +msgstr "" + +#: tools/editor/create_dialog.cpp +msgid "Create New" +msgstr "" + +#: tools/editor/create_dialog.cpp tools/editor/editor_help.cpp +#: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp +msgid "Matches:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Search Replacement For:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependencies For:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "" +"Scene '%s' is currently being edited.\n" +"Changes will not take effect unless reloaded." +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "" +"Resource '%s' is in use.\n" +"Changes will take effect when reloaded." +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependencies" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Resource" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/project_manager.cpp +#: tools/editor/project_settings.cpp +msgid "Path" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependencies:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Fix Broken" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Dependency Editor" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Search Replacement Resource:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Owners Of:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "" +"The files being removed are required by other resources in order for them to " +"work.\n" +"Remove them anyway? (no undo)" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Remove selected files from the project? (no undo)" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Error loading:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Scene failed to load due to missing dependencies:" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Open Anyway" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Which action should be taken?" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Fix Dependencies" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Errors loading!" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Permanently delete %d item(s)? (No undo!)" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Owns" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Resources Without Explicit Ownership:" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/editor_node.cpp +msgid "Orphan Resource Explorer" +msgstr "" + +#: tools/editor/dependency_editor.cpp +msgid "Delete selected files?" +msgstr "" + +#: tools/editor/dependency_editor.cpp tools/editor/editor_node.cpp +#: tools/editor/plugins/item_list_editor_plugin.cpp +#: tools/editor/scenes_dock.cpp +msgid "Delete" +msgstr "" + +#: tools/editor/editor_data.cpp +msgid "Updating Scene" +msgstr "" + +#: tools/editor/editor_data.cpp +msgid "Storing local changes.." +msgstr "" + +#: tools/editor/editor_data.cpp +msgid "Updating scene.." +msgstr "" + +#: tools/editor/editor_dir_dialog.cpp +msgid "Choose a Directory" +msgstr "" + +#: tools/editor/editor_dir_dialog.cpp +msgid "Choose" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp +msgid "Favorites:" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Recent:" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Preview:" +msgstr "" + +#: tools/editor/editor_file_system.cpp +msgid "Cannot go into subdir:" +msgstr "" + +#: tools/editor/editor_file_system.cpp +msgid "ScanSources" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Search Classes" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Class List:" +msgstr "" + +#: tools/editor/editor_help.cpp tools/editor/property_editor.cpp +msgid "Class:" +msgstr "" + +#: tools/editor/editor_help.cpp tools/editor/scene_tree_editor.cpp +#: tools/editor/script_create_dialog.cpp +msgid "Inherits:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Inherited by:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Brief Description:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Public Methods:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Members:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "GUI Theme Items:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Signals:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Constants:" +msgstr "" + +#: tools/editor/editor_help.cpp tools/editor/script_editor_debugger.cpp +msgid "Description:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Method Description:" +msgstr "" + +#: tools/editor/editor_help.cpp +msgid "Search Text" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Added:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Removed:" +msgstr "" + +#: tools/editor/editor_import_export.cpp tools/editor/project_export.cpp +msgid "Error saving atlas:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Could not save atlas subtexture:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Storing File:" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Packing" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Exporting for %s" +msgstr "" + +#: tools/editor/editor_import_export.cpp +msgid "Setting Up.." +msgstr "" + +#: tools/editor/editor_log.cpp +msgid " Output:" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/editor_reimport_dialog.cpp +msgid "Re-Importing" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Importing:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Node From Scene" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/scenes_dock.cpp +msgid "Re-Import.." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/resources_dock.cpp +msgid "Error saving resource!" +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/resources_dock.cpp +msgid "Save Resource As.." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp +msgid "I see.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't open file for writing:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Requested file format unknown:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error while saving." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Saving Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Analyzing" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Creating Thumbnail" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Couldn't save scene. Likely dependencies (instances) couldn't be satisfied." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Failed to load resource." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't load MeshLibrary for merging!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error saving MeshLibrary!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't load TileSet for merging!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error saving TileSet!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't open export templates zip." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Loading Export Templates" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error trying to save layout!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Default editor layout overridden." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Layout name not found!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Restored default layout to base settings." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Copy Params" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Paste Params" +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Paste Resource" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Copy Resource" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Make Built-In" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Make Sub-Resources Unique" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open in Help" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "There is no defined scene to run." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Current scene was never saved, please save it prior to running." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Could not start subprocess!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Base Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Open Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Open Script.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Yes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Close scene? (Unsaved changes will be lost)" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Scene As.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "This scene has never been saved. Save before running?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Please save the scene first." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Translatable Strings" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export Mesh Library" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export Tile Set" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quit" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Exit the editor?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Current scene not saved. Open anyway?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Can't reload a scene that was never saved." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Revert" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "This action cannot be undone. Revert anyway?" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Run Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Open Project Manager? \n" +"(Unsaved changes will be lost)" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp +msgid "Ugh" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Error loading scene, it must be inside the project path. Use 'Import' to " +"open the scene, then save it inside the project path." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Error loading scene." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Scene '%s' has broken dependencies:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Layout" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Delete Layout" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Default" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Switch Scene Tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "%d more file(s)" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "%d more file(s) or folder(s)" +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Go to previously opened scene." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Fullscreen Mode" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Distraction Free Mode" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Operations with scene files." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "New Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "New Inherited Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Scene.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Close Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Close Goto Prev. Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open Recent" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quick Filter Files.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Convert To.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Translatable Strings.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "MeshLibrary.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "TileSet.." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Redo" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Run Script" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Project Settings" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Revert Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Quit to Project List" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Import assets to the project." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/project_manager.cpp +msgid "Import" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Miscellaneous project or scene-wide tools." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Tools" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export the project to many platforms." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Export" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play the project." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Play" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Pause the scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Pause Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Stop the scene." +msgstr "" + +#: tools/editor/editor_node.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Stop" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play the edited scene." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play Scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Play custom scene" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Debug options" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Deploy with Remote Debug" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When exporting or deploying, the resulting executable will attempt to " +"connect to the IP of this computer in order to be debugged." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Small Deploy with Network FS" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When this option is enabled, export or deploy will produce a minimal " +"executable.\n" +"The filesystem will be provided from the project by the editor over the " +"network.\n" +"On Android, deploy will use the USB cable for faster performance. This " +"option speeds up testing for games with a large footprint." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Visible Collision Shapes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Collision shapes and raycast nodes (for 2D and 3D) will be visible on the " +"running game if this option is turned on." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Visible Navigation" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Navigation meshes and polygons will be visible on the running game if this " +"option is turned on." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Sync Scene Changes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When this option is turned on, any changes made to the scene in the editor " +"will be replicated in the running game.\n" +"When used remotely on a device, this is more efficient with network " +"filesystem." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Sync Script Changes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"When this option is turned on, any script that is saved will be reloaded on " +"the running game.\n" +"When used remotely on a device, this is more efficient with network " +"filesystem." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Settings" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/settings_config_dialog.cpp +msgid "Editor Settings" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Editor Layout" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Install Export Templates" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "About" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Alerts when an external resource has changed." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Spins when the editor window repaints!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Update Always" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Update Changes" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Inspector" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Create a new resource in memory and edit it." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Load an existing resource from disk and edit it." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Save the currently edited resource." +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/plugins/script_editor_plugin.cpp +msgid "Save As.." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Go to the previous edited object in history." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Go to the next edited object in history." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "History of recently edited objects." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Object properties." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "FileSystem" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Output" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/editor_reimport_dialog.cpp +#: tools/editor/import_settings.cpp +msgid "Re-Import" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/editor_plugin_settings.cpp +msgid "Update" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Thanks from the Godot community!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Thanks!" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Import Templates From ZIP File" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Export Project" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Export Library" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Merge With Existing" +msgstr "" + +#: tools/editor/editor_node.cpp tools/editor/project_export.cpp +msgid "Password:" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Open & Run a Script" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Load Errors" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Installed Plugins:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Version:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Author:" +msgstr "" + +#: tools/editor/editor_plugin_settings.cpp +msgid "Status:" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Stop Profiling" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Start Profiling" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Measure:" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame Time (sec)" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Average Time (sec)" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame %" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Fixed Frame %" +msgstr "" + +#: tools/editor/editor_profiler.cpp tools/editor/script_editor_debugger.cpp +msgid "Time:" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Inclusive" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Self" +msgstr "" + +#: tools/editor/editor_profiler.cpp +msgid "Frame #:" +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Please wait for scan to complete." +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Current scene must be saved to re-import." +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Save & Re-Import" +msgstr "" + +#: tools/editor/editor_reimport_dialog.cpp +msgid "Re-Import Changed Resources" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Write your logic in the _run() method." +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "There is an edited scene already." +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Couldn't instance script:" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Did you forget the 'tool' keyword?" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Couldn't run script:" +msgstr "" + +#: tools/editor/editor_run_script.cpp +msgid "Did you forget the '_run' method?" +msgstr "" + +#: tools/editor/editor_settings.cpp +msgid "Default (Same as Editor)" +msgstr "" + +#: tools/editor/editor_sub_scene.cpp +msgid "Select Node(s) to Import" +msgstr "" + +#: tools/editor/editor_sub_scene.cpp +msgid "Scene Path:" +msgstr "" + +#: tools/editor/editor_sub_scene.cpp +msgid "Import From Node:" +msgstr "" + +#: tools/editor/file_type_cache.cpp +msgid "Can't open file_type_cache.cch for writing, not saving file type cache!" +msgstr "" + +#: tools/editor/groups_editor.cpp +msgid "Add to Group" +msgstr "" + +#: tools/editor/groups_editor.cpp +msgid "Remove from Group" +msgstr "" + +#: tools/editor/import_settings.cpp +msgid "Imported Resources" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +msgid "No bit masks to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Target path is empty." +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Target path must be a complete resource path." +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Target path must exist." +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Save path is empty!" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +msgid "Import BitMasks" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Source Texture(s):" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Target Path:" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Accept" +msgstr "" + +#: tools/editor/io_plugins/editor_bitmask_import_plugin.cpp +msgid "Bit Mask" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "No source font file!" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "No target font resource!" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Can't load/process source font." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Couldn't save font." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Source Font:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Source Font Size:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Dest Resource:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "The quick brown fox jumps over the lazy dog." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Test:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Options:" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Font Import" +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"This file is already a Godot font file, please supply a BMFont type file " +"instead." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Failed opening as BMFont file." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "Invalid font custom source." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Font" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "No meshes to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Single Mesh Import" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Source Mesh(es):" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh" +msgstr "" + +#: tools/editor/io_plugins/editor_mesh_import_plugin.cpp +msgid "Surface %d" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "No samples to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Import Audio Samples" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Source Sample(s):" +msgstr "" + +#: tools/editor/io_plugins/editor_sample_import_plugin.cpp +msgid "Audio Sample" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "New Clip" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Animation Options" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Flags" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Bake FPS:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Optimizer" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Linear Error" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Angular Error" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Max Angle" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Clips" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/project_manager.cpp tools/editor/project_settings.cpp +msgid "Name" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Start(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "End(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Loop" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Filters" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Source path is empty." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't load post-import script." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Invalid/broken script for post-import." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Error importing scene." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import 3D Scene" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Source Scene:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Same as Target Scene" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Shared" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Target Texture Folder:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Post-Process Script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Custom Root Node Type:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Auto" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "The Following Files are Missing:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import Anyway" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import & Open" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Edited scene has not been saved, open imported scene anyway?" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Import Scene" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Importing Scene.." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Running Custom Script.." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't load post-import script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Invalid/broken script for post-import (check console):" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Error running post-import script:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Import Image:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Can't import a file over itself:" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Couldn't localize path: %s (already local)" +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "Saving.." +msgstr "" + +#: tools/editor/io_plugins/editor_scene_import_plugin.cpp +msgid "3D Scene Animation" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Uncompressed" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Compress Lossless (PNG)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Compress Lossy (WebP)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Compress (VRAM)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture Format" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture Compression Quality (WebP):" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture Options" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Please specify some files!" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "At least one file needed for Atlas." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Error importing:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Only one file is required for large texture." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Max Texture Size:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures for Atlas (2D)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Cell Size:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Large Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Large Textures (2D)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Source Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Base Atlas Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Source Texture(s)" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures for 2D" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures for 3D" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Textures" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "2D Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "3D Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Atlas Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "" +"NOTICE: Importing 2D textures is not mandatory. Just copy png/jpg files to " +"the project." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Crop empty space." +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Import Large Texture" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Load Source Image" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Slicing" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Inserting" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Saving" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't save large texture:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Build Atlas For:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Loading Image:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't load image:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Converting Images" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Cropping Images" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Blitting Images" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't save atlas image:" +msgstr "" + +#: tools/editor/io_plugins/editor_texture_import_plugin.cpp +msgid "Couldn't save converted texture:" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Invalid source!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Invalid translation source!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Column" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +#: tools/editor/script_create_dialog.cpp +msgid "Language" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "No items to import!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "No target path!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Translations" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Couldn't import!" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Translation" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Source CSV:" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Ignore First Row" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Compress" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Add to Project (engine.cfg)" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Import Languages:" +msgstr "" + +#: tools/editor/io_plugins/editor_translation_import_plugin.cpp +msgid "Translation" +msgstr "" + +#: tools/editor/multi_node_edit.cpp +msgid "MultiNode Set" +msgstr "" + +#: tools/editor/node_dock.cpp +msgid "Node" +msgstr "" + +#: tools/editor/node_dock.cpp +msgid "Groups" +msgstr "" + +#: tools/editor/node_dock.cpp +msgid "Select a Node to edit Signals and Groups." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Toggle Autoplay" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "New Animation Name:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "New Anim" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Change Animation Name:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Remove Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: Invalid animation name!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: Animation name already exists!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Rename Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Blend Next Changed" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Change Blend Time" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Duplicate Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation to copy!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation resource on clipboard!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Pasted Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Paste Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "ERROR: No animation to edit!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation backwards from current pos. (A)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation backwards from end. (Shift+A)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Stop animation playback. (S)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation from start. (Shift+D)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Play selected animation from current pos. (D)" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation position (in seconds)." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Scale animation playback globally for the node." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Create new animation in player." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load animation from disk." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Load an animation from disk." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Save the current animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Save As" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Display list of animations in player." +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Autoplay on Load" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Edit Target Blend Times" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation Tools" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Copy Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Create New Animation" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Animation Name:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +#: tools/editor/property_editor.cpp tools/editor/script_create_dialog.cpp +msgid "Error!" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Blend Times:" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Next (Auto Queue):" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +msgid "Cross-Animation Blend Times" +msgstr "" + +#: tools/editor/plugins/animation_player_editor_plugin.cpp +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Animation" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "New name:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Scale:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Fade In (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Fade Out (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Mix" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Auto Restart:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Restart (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Random Restart (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Start!" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Amount:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend 0:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend 1:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "X-Fade Time (s):" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Current:" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Add Input" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Clear Auto-Advance" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Set Auto-Advance" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Delete Input" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Rename" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation tree is valid." +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation tree is invalid." +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Animation Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "OneShot Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Mix Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend2 Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend3 Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Blend4 Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "TimeScale Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "TimeSeek Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Transition Node" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Import Animations.." +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Edit Node Filters" +msgstr "" + +#: tools/editor/plugins/animation_tree_editor_plugin.cpp +msgid "Filters.." +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Parsing %d Triangles:" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Triangle #" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Light Baker Setup:" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Parsing Geometry" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Fixing Lights" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Making BVH" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Creating Light Octree" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Creating Octree Texture" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Transfer to Lightmaps:" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Allocating Texture #" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Baking Triangle #" +msgstr "" + +#: tools/editor/plugins/baked_light_baker.cpp +msgid "Post-Processing Texture #" +msgstr "" + +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "BakedLightInstance does not contain a BakedLight resource." +msgstr "" + +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "Bake!" +msgstr "" + +#: tools/editor/plugins/baked_light_editor_plugin.cpp +msgid "Reset the lightmap octree baking process (start over)." +msgstr "" + +#: tools/editor/plugins/camera_editor_plugin.cpp +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Preview" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Configure Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Grid Offset:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Grid Step:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Rotation Offset:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Rotation Step:" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Move Pivot" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Move Action" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Edit IK Chain" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Edit CanvasItem" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Change Anchors" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom (%):" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Paste Pose" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Select Mode (Q)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Drag: Rotate" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Alt+Drag: Move" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Press 'v' to Change Pivot, 'Shift+v' to Drag Pivot (while moving)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Alt+RMB: Depth list selection" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Move Mode (W)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotate Mode (E)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "" +"Show a list of all objects at the position clicked\n" +"(same as Alt+RMB in select mode)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Click to change object's rotation pivot." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Pan Mode" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Lock the selected object in place (can't be moved)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Unlock the selected object (can be moved)." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Makes sure the object's children are not selectable." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Restores the object's children's ability to be selected." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +#: tools/editor/project_manager.cpp +msgid "Edit" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Use Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Show Grid" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Use Rotation Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Snap Relative" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Configure Snap.." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Use Pixel Snap" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Expand to Parent" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Skeleton.." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Make Bones" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Clear Bones" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Make IK Chain" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Clear IK Chain" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom In" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom Out" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom Reset" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Zoom Set.." +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Center Selection" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Frame Selection" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Anchor" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Insert Keys (Ins)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Insert Key" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Insert Key (Existing Tracks)" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Copy Pose" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Clear Pose" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Set a Value" +msgstr "" + +#: tools/editor/plugins/canvas_item_editor_plugin.cpp +msgid "Snap (Pixels):" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Create Poly" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Edit Poly" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Edit Poly (Remove Point)" +msgstr "" + +#: tools/editor/plugins/collision_polygon_2d_editor_plugin.cpp +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create a new polygon from scratch." +msgstr "" + +#: tools/editor/plugins/collision_polygon_editor_plugin.cpp +msgid "Create Poly3D" +msgstr "" + +#: tools/editor/plugins/collision_shape_2d_editor_plugin.cpp +msgid "Set Handle" +msgstr "" + +#: tools/editor/plugins/color_ramp_editor_plugin.cpp +msgid "Add/Remove Color Ramp Point" +msgstr "" + +#: tools/editor/plugins/color_ramp_editor_plugin.cpp +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Modify Color Ramp" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Creating Mesh Library" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Thumbnail.." +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Remove item %d?" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Add Item" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Remove Selected Item" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Import from Scene" +msgstr "" + +#: tools/editor/plugins/cube_grid_theme_editor_plugin.cpp +msgid "Update from Scene" +msgstr "" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Item %d" +msgstr "" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Items" +msgstr "" + +#: tools/editor/plugins/item_list_editor_plugin.cpp +msgid "Item List Editor" +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +msgid "Create Occluder Polygon" +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Edit existing polygon:" +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "LMB: Move Point." +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Ctrl+LMB: Split Segment." +msgstr "" + +#: tools/editor/plugins/light_occluder_2d_editor_plugin.cpp +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "RMB: Erase Point." +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh is empty!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Static Trimesh Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Static Convex Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "This doesn't work on scene root!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Shape" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Shape" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Navigation Mesh" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "MeshInstance lacks a Mesh!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Could not create outline!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Static Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Static Body" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Trimesh Collision Sibling" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Convex Collision Sibling" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline Mesh.." +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Create Outline Mesh" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Outline Size:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "No mesh source specified (and no MultiMesh set in node)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "No mesh source specified (and MultiMesh contains no Mesh)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh source is invalid (invalid path)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh source is invalid (not a MeshInstance)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh source is invalid (contains no Mesh resource)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "No surface source specified." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Surface source is invalid (invalid path)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Surface source is invalid (no geometry)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Surface source is invalid (no faces)." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Parent has no solid faces to populate." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Couldn't map area." +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Select a Source Mesh:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Select a Target Surface:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Populate Surface" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Populate MultiMesh" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Target Surface:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Source Mesh:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "X-Axis" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Y-Axis" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Z-Axis" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Mesh Up Axis:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Random Rotation:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Random Tilt:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Random Scale:" +msgstr "" + +#: tools/editor/plugins/multimesh_editor_plugin.cpp +msgid "Populate" +msgstr "" + +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Create Navigation Polygon" +msgstr "" + +#: tools/editor/plugins/navigation_polygon_editor_plugin.cpp +msgid "Remove Poly And Point" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Error loading image:" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "No pixels with transparency > 128 in image.." +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Set Emission Mask" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Clear Emission Mask" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Load Emission Mask" +msgstr "" + +#: tools/editor/plugins/particles_2d_editor_plugin.cpp +msgid "Generated Point Count:" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Node does not contain geometry." +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Node does not contain geometry (faces)." +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Faces contain no area!" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "No faces!" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Generate AABB" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter From Mesh" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter From Node" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Clear Emitter" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Create Emitter" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Emission Positions:" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Emission Fill:" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Surface" +msgstr "" + +#: tools/editor/plugins/particles_editor_plugin.cpp +msgid "Volume" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Remove Point from Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Add Point to Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move Point in Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move In-Control in Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Move Out-Control in Curve" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Select Points" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Shift+Drag: Select Control Points" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Click: Add Point" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Right Click: Delete Point" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +msgid "Select Control Points (Shift+Drag)" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Add Point (in empty space)" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Split Segment (in curve)" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Delete Point" +msgstr "" + +#: tools/editor/plugins/path_2d_editor_plugin.cpp +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Close Curve" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Curve Point #" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve Point Pos" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve In Pos" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Set Curve Out Pos" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Split Path" +msgstr "" + +#: tools/editor/plugins/path_editor_plugin.cpp +msgid "Remove Path Point" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Create UV Map" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Transform UV Map" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Polygon 2D UV Editor" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Move Point" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Ctrl: Rotate" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Shift: Move All" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Shift+Ctrl: Scale" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Move Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Rotate Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Scale Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Polygon->UV" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "UV->Polygon" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Clear UV" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Snap" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Enable Snap" +msgstr "" + +#: tools/editor/plugins/polygon_2d_editor_plugin.cpp +msgid "Grid" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "ERROR: Couldn't load resource!" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Add Resource" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Rename Resource" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Delete Resource" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +msgid "Resource clipboard is empty!" +msgstr "" + +#: tools/editor/plugins/resource_preloader_editor_plugin.cpp +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Load Resource" +msgstr "" + +#: tools/editor/plugins/rich_text_editor_plugin.cpp +msgid "Parse BBCode" +msgstr "" + +#: tools/editor/plugins/sample_editor_plugin.cpp +msgid "Length:" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Open Sample File(s)" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "ERROR: Couldn't load sample!" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Add Sample" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Rename Sample" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Delete Sample" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "16 Bits" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "8 Bits" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Stereo" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Mono" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Format" +msgstr "" + +#: tools/editor/plugins/sample_library_editor_plugin.cpp +msgid "Pitch" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error while saving theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error saving" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error importing theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Error importing" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Import Theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme As.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/project_export.cpp +msgid "File" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/property_editor.cpp +msgid "New" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save All" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "History Prev" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "History Next" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Reload Theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Save Theme As" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp +msgid "Move Up" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp +msgid "Move Down" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Indent Left" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Indent Right" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Toggle Comment" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Clone Down" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Complete Symbol" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Trim Trailing Whitespace" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Auto Indent" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Soft Reload Script" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Find.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Find Next" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Find Previous" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Replace.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Function.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Goto Line.." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Debug" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Toggle Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Remove All Breakpoints" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Next Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Goto Previous Breakpoint" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Step Over" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Step Into" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Break" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Continue" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Keep Debugger Open" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Window" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Move Left" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Move Right" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Help" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Contextual Help" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Tutorials" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Open https://godotengine.org at tutorials section." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Classes" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search the class hierarchy." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search Help" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Search the reference documentation." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Go to previous edited document." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Go to next edited document." +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Create Script" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "" +"The following files are newer on disk.\n" +"What action should be taken?:" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Reload" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +msgid "Resave" +msgstr "" + +#: tools/editor/plugins/script_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Debugger" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Vertex" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Fragment" +msgstr "" + +#: tools/editor/plugins/shader_editor_plugin.cpp +msgid "Lighting" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Constant" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Scalar Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Operator" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Toggle Rot Only" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Function" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Function" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Scalar Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Vec Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change RGB Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Default Value" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change XForm Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Texture Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Cubemap Uniform" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Comment" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add/Remove to Color Ramp" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add/Remove to Curve Map" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Modify Curve Map" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Change Input Name" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Connect Graph Nodes" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Disconnect Graph Nodes" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Remove Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Move Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Duplicate Graph Node(s)" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Delete Shader Graph Node(s)" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Error: Cyclic Connection Link" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Error: Missing Input Connections" +msgstr "" + +#: tools/editor/plugins/shader_graph_editor_plugin.cpp +msgid "Add Shader Graph Node" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Orthogonal" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Perspective" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Aborted." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "X-Axis Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Y-Axis Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Z-Axis Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Plane Transform." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scaling to %s%%." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotating %s degrees." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Bottom View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Bottom" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Top View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Top" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rear View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rear" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Front View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Front" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Left View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Left" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Right View." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Right" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Keying is disabled (no key inserted)." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Animation Key Inserted." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Align with view" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Top (Num7)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Bottom (Shift+Num7)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Left (Num3)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Right (Shift+Num3)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Front (Num1)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rear (Shift+Num1)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Perspective (Num5)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Orthogonal (Num5)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Environment" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Audio Listener" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Gizmos" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Selection (F)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Align with view (Ctrl+Shift+F)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "XForm Dialog" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "No scene selected to instance!" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Instance at Cursor" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Could not instance scene!" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scale Mode (R)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Local Coords" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Dialog.." +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Use Default Light" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Use Default sRGB" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "1 Viewport" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "2 Viewports" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "2 Viewports (Alt)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "3 Viewports" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "3 Viewports (Alt)" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "4 Viewports" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Normal" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Wireframe" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Overdraw" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Display Shadeless" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Origin" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Grid" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Snap Settings" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Translate Snap:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotate Snap (deg.):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scale Snap (%):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Viewport Settings" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Default Light Normal:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Ambient Light Color:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Perspective FOV (deg.):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Z-Near:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "View Z-Far:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Change" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Translate:" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Rotate (deg.):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Scale (ratio):" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Transform Type" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Pre" +msgstr "" + +#: tools/editor/plugins/spatial_editor_plugin.cpp +msgid "Post" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "ERROR: Couldn't load frame resource!" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Frame" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Resource clipboard is empty or not a texture!" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Paste Frame" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Add Empty" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Change Animation Loop" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Change Animation FPS" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "(empty)" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Animations" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Speed (FPS):" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Animation Frames" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Insert Empty (Before)" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Insert Empty (After)" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Up" +msgstr "" + +#: tools/editor/plugins/sprite_frames_editor_plugin.cpp +msgid "Down" +msgstr "" + +#: tools/editor/plugins/style_box_editor_plugin.cpp +msgid "StyleBox Preview:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Snap Mode:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "<None>" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Can't save theme to file:" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add All Items" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add All" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Remove Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Add Class Items" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Remove Class Items" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Create Empty Template" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Create Empty Editor Template" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "CheckBox Radio1" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "CheckBox Radio2" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Check Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Checked Item" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Has" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Many" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp tools/editor/project_export.cpp +msgid "Options" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Have,Many,Several,Options!" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 1" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 2" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Tab 3" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +#: tools/editor/project_settings.cpp tools/editor/scene_tree_editor.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Type:" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Data Type:" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Icon" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Style" +msgstr "" + +#: tools/editor/plugins/theme_editor_plugin.cpp +msgid "Color" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Paint TileMap" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +#: tools/editor/scene_tree_dock.cpp +msgid "Duplicate" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Erase TileMap" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Erase selection" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Find tile" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Transpose" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Mirror X" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Mirror Y" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Bucket" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Pick Tile" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Select" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 0 degrees" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 90 degrees" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 180 degrees" +msgstr "" + +#: tools/editor/plugins/tile_map_editor_plugin.cpp +msgid "Rotate 270 degrees" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Could not find tile:" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Item name or ID:" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Create from scene?" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Merge from scene?" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Create from Scene" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +msgid "Merge from Scene" +msgstr "" + +#: tools/editor/plugins/tile_set_editor_plugin.cpp +#: tools/editor/script_editor_debugger.cpp +msgid "Error" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Edit Script Options" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Please export outside the project folder!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Error exporting project!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Error writing the project PCK!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "No exporter for platform '%s' yet." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Include" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Change Image Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Group name can't be empty!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Invalid character in group name!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Group name already exists!" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Add Image Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Delete Image Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Atlas Preview" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Project Export Settings" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Target" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export to Platform" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Resources" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export selected resources (including dependencies)." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export all resources in the project." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export all files in the project directory." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export Mode:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Resources to Export:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Action" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "" +"Filters to export non-resource files (comma-separated, e.g.: *.json, *.txt):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Filters to exclude from export (comma-separated, e.g.: *.json, *.txt):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Convert text scenes to binary on export." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Images" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Keep Original" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress for Disk (Lossy, WebP)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress for RAM (BC/PVRTC/ETC)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Convert Images (*.png):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress for Disk (Lossy) Quality:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Shrink All Images:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress Formats:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Image Groups" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Groups:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress Disk" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress RAM" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress Mode:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Lossy Quality:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Atlas:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Shrink By:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Preview Atlas" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Image Filter:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Images:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Select None" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Group" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Samples" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Sample Conversion Mode: (.wav files):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Keep" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compress (RAM - IMA-ADPCM)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Sampling Rate Limit (Hz):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Trim" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Trailing Silence:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Script" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Script Export Mode:" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Text" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Compiled" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Encrypted (Provide Key Below)" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Script Encryption Key (256-bits as hex):" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export PCK/Zip" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export Project PCK" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export.." +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Project Export" +msgstr "" + +#: tools/editor/project_export.cpp +msgid "Export Preset:" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path, the path must exist!" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path, engine.cfg must not exist." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path, engine.cfg must exist." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Imported Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Invalid project path (changed anything?)." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Couldn't create engine.cfg in project path." +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Import Existing Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Path (Must Exist):" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Name:" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Create New Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Path:" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Browse" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "New Game Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "That's a BINGO!" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Unnamed Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Are you sure to open more than one projects?" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Are you sure to run more than one projects?" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Remove project from the list? (Folder contents will not be modified)" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project Manager" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Project List" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Run" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Scan" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "New Project" +msgstr "" + +#: tools/editor/project_manager.cpp +msgid "Exit" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Key " +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joy Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joy Axis" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Mouse Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid action (anything goes but '/' or ':')." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Action '%s' already exists!" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Rename Input Action Event" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Input Action Event" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp +msgid "Control+" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp +msgid "Press a Key.." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Mouse Button Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Left Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Right Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Middle Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Wheel Up Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Wheel Down Button" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 6" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 7" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 8" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Button 9" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joystick Axis Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Joystick Button Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Input Action" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Erase Input Action Event" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Toggle Persisting" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Error saving settings." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Settings saved OK." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Translation" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Valid characters:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name. Must not collide with an existing engine class name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name. Must not collide with an existing buit-in type name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Invalid name. Must not collide with an existing global constant name." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Autoload '%s' already exists!" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Rename Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Toggle AutoLoad Globals" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Move Autoload" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Translation" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add Remapped Path" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Resource Remap Add Remap" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Change Resource Remap Language" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Resource Remap" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remove Resource Remap Option" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Enable" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Project Settings (engine.cfg)" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/settings_config_dialog.cpp +msgid "General" +msgstr "" + +#: tools/editor/project_settings.cpp tools/editor/property_editor.cpp +msgid "Property:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Del" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Copy To Platform.." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Input Map" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Action:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Device:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Index:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Localization" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Translations" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Translations:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Add.." +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remaps" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Resources:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Remaps by Locale:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Locale" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "AutoLoad" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Node Name:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "List:" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Singleton" +msgstr "" + +#: tools/editor/project_settings.cpp +msgid "Plugins" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Preset.." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Ease In" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Ease Out" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Zero" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Easing In-Out" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Easing Out-In" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "File.." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Dir.." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Load" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Assign" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Error loading file: Not a resource!" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Couldn't load image" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Bit %d, val %d." +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "On" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Set" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Properties:" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Global" +msgstr "" + +#: tools/editor/property_editor.cpp +msgid "Sections:" +msgstr "" + +#: tools/editor/pvrtc_compress.cpp +msgid "Could not execute PVRTC tool:" +msgstr "" + +#: tools/editor/pvrtc_compress.cpp +msgid "Can't load back converted image using PVRTC tool:" +msgstr "" + +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp +msgid "Reparent Node" +msgstr "" + +#: tools/editor/reparent_dialog.cpp +msgid "Reparent Location (Select new Parent):" +msgstr "" + +#: tools/editor/reparent_dialog.cpp +msgid "Keep Global Transform" +msgstr "" + +#: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp +msgid "Reparent" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Create New Resource" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Open Resource" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Save Resource" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Resource Tools" +msgstr "" + +#: tools/editor/resources_dock.cpp +msgid "Make Local" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Run Mode:" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Current Scene" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Main Scene" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Main Scene Arguments:" +msgstr "" + +#: tools/editor/run_settings_dialog.cpp +msgid "Scene Run Settings" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "OK :(" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "No parent to instance a child at." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error loading scene from %s" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error instancing scene from %s" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Ok" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Cannot instance the scene '%s' because the current scene exists within one " +"of its nodes." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Instance Scene(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done on the tree root." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Move Node In Parent" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Move Nodes In Parent" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Duplicate Node(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)?" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done without a scene." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation requires a single selected node." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "This operation can't be done on instanced scenes." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Save New Scene As.." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Makes Sense!" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Can't operate on nodes from a foreign scene!" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Can't operate on nodes the current scene inherits from!" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Remove Node(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Create Node" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Couldn't save new scene. Likely dependencies (instances) couldn't be " +"satisfied." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error saving scene." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Error duplicating scene to save it." +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Groups" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Add Child Node" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Instance Child Scene" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Change Type" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Add Script" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Merge From Scene" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Save Branch as Scene" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "Add/Create a New Node" +msgstr "" + +#: tools/editor/scene_tree_dock.cpp +msgid "" +"Instance a scene file as a Node. Creates an inherited scene if no root node " +"exists." +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "" +"This item cannot be made visible because the parent is hidden. Unhide the " +"parent first." +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Toggle Spatial Visible" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Toggle CanvasItem Visible" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Instance:" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Invalid node name, the following characters are not allowed:" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Rename Node" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Scene Tree (Nodes):" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Editable Children" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Load As Placeholder" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Discard Instancing" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Open in Editor" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear Inheritance" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear Inheritance? (No Undo!)" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Clear!" +msgstr "" + +#: tools/editor/scene_tree_editor.cpp +msgid "Select a Node" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Same source and destination files, doing nothing." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Same source and destination paths, doing nothing." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Can't move directories to within themselves." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Can't operate on '..'" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Pick New Name and Location For:" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "No files selected!" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Instance" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Edit Dependencies.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "View Owners.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Copy Path" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Rename or Move.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Move To.." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Info" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Show In File Manager" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Previous Directory" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Next Directory" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Re-Scan Filesystem" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Toggle folder status as Favorite" +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Instance the selected scene(s) as child of the selected node." +msgstr "" + +#: tools/editor/scenes_dock.cpp +msgid "Move" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid parent class name" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid chars:" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid class name" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid name" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "N/A" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Class name is invalid!" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Parent class name is invalid!" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid path!" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Could not create script in filesystem." +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Path is empty" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Path is not local" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid base path" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "File exists" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Invalid extension" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Valid path" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Class Name:" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Built-In Script" +msgstr "" + +#: tools/editor/script_create_dialog.cpp +msgid "Create Node Script" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Bytes:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Warning" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Error:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Source:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Function:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Errors" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Child Process Connected" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Inspect Previous Instance" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Inspect Next Instance" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Stack Frames" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Variable" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Errors:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Stack Trace (if applicable):" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Remote Inspector" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Live Scene Tree:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Remote Object Properties: " +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Profiler" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Monitor" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Value" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Monitors" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "List of Video Memory Usage by Resource:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Total:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Video Mem" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Resource Path" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Type" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Usage" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Misc" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Clicked Control:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Clicked Control Type:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Live Edit Root:" +msgstr "" + +#: tools/editor/script_editor_debugger.cpp +msgid "Set From Tree" +msgstr "" + +#: tools/editor/settings_config_dialog.cpp +msgid "Shortcuts" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Light Radius" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Camera FOV" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Camera Size" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Sphere Shape Radius" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Box Shape Extents" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Capsule Shape Radius" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Capsule Shape Height" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Ray Shape Length" +msgstr "" + +#: tools/editor/spatial_editor_gizmos.cpp +msgid "Change Notifier Extents" +msgstr "" diff --git a/tools/translations/ko.po b/tools/translations/ko.po index 990a9aba82..07c68ef992 100644 --- a/tools/translations/ko.po +++ b/tools/translations/ko.po @@ -10,8 +10,8 @@ msgstr "" "POT-Creation-Date: \n" "PO-Revision-Date: 2016-06-19 13:30+0000\n" "Last-Translator: 박한얼 <volzhs@gmail.com>\n" -"Language-Team: Korean <https://hosted.weblate.org/projects/godot-" -"engine/godot/ko/>\n" +"Language-Team: Korean <https://hosted.weblate.org/projects/godot-engine/" +"godot/ko/>\n" "Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,7 +21,8 @@ msgstr "" #: modules/gdscript/gd_functions.cpp msgid "Invalid type argument to convert(), use TYPE_* constants." -msgstr "convert()하기 위한 인자 타입이 유효하지 않습니다, TYPE_* 상수를 사용하세요." +msgstr "" +"convert()하기 위한 인자 타입이 유효하지 않습니다, TYPE_* 상수를 사용하세요." #: modules/gdscript/gd_functions.cpp msgid "Not enough bytes for decoding bytes, or invalid format." @@ -49,11 +50,13 @@ msgstr "유효하지 않은 인스턴스 Dictionary 형식 (@path 없음)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (can't load script at @path)" -msgstr "유효하지 않은 인스턴스 Dictionary 형식 (@path 에서 스크립트를 로드할 수 없음)" +msgstr "" +"유효하지 않은 인스턴스 Dictionary 형식 (@path 에서 스크립트를 로드할 수 없음)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (invalid script at @path)" -msgstr "유효하지 않은 인스턴스 Dictionary 형식 (@path의 스크립트가 유효하지 않음)" +msgstr "" +"유효하지 않은 인스턴스 Dictionary 형식 (@path의 스크립트가 유효하지 않음)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary (invalid subclasses)" @@ -687,10 +690,6 @@ msgid "Change Anim Loop" msgstr "애니메이션 루프 변경" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "애니메이션 루프 보간 변경" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "애니메이션 타입지정 값 키 만들기" @@ -731,10 +730,6 @@ msgid "Enable/Disable looping in animation." msgstr "애니메이션 루프 활성화/비활성화." #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "애니메이션 루프 시 보간 활성화/비활성화." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "새 트랙 추가." @@ -999,7 +994,8 @@ msgid "Method in target Node must be specified!" msgstr "대상 노드의 함수를 명시해야합니다!" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +#, fuzzy +msgid "Connect To Node:" msgstr "연결할 노드:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1218,6 +1214,51 @@ msgstr "디렉토리 선택" msgid "Choose" msgstr "선택" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "중단점 토글" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "주석 토글" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "경로 복사" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "즐겨찾기:" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "아래로 이동" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "즐겨찾기:" @@ -1471,9 +1512,31 @@ msgid "There is no defined scene to run." msgstr "실행하기 위해 정의된 씬이 없습니다." #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"메인 씬이 지정되지 않았습니다.\n" +"\"프로젝트 설정\"의 'Application' 항목에서 씬을 하나 선택해 주세요." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"메인 씬이 지정되지 않았습니다.\n" +"\"프로젝트 설정\"의 'Application' 항목에서 씬을 하나 선택해 주세요." + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "메인 씬이 지정되지 않았습니다.\n" "\"프로젝트 설정\"의 'Application' 항목에서 씬을 하나 선택해 주세요." @@ -1570,6 +1633,11 @@ msgstr "" "프로젝트 매니저를 실행하시겠습니까?\n" "(저장하지 않은 변경사항은 사라집니다.)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "메인 씬" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "오우" @@ -1595,18 +1663,14 @@ msgid "Save Layout" msgstr "레이아웃 저장" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "레이아웃 로드" +msgid "Delete Layout" +msgstr "레이아웃 삭제" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Default" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "레이아웃 삭제" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "씬 탭 전환" @@ -1636,6 +1700,16 @@ msgid "Distraction Free Mode" msgstr "초집중 모드" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "다음" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "이전 디렉토리" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "씬 파일 동작." @@ -2198,6 +2272,12 @@ msgid "No target font resource!" msgstr "폰트 리소스 경로가 없습니다!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "소스 폰트를 로드/처리할 수 없습니다." @@ -2433,7 +2513,8 @@ msgid "Couldn't load post-import script:" msgstr "가져오기 후 실행할 스크립트를 로드할 수 없습니다:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "가져오기 후 실행할 스크립트가 유효하지 않거나 깨져있습니다:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3098,13 +3179,11 @@ msgstr "스냅 설정" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "그리드 오프셋:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "그리드 스텝:" @@ -3222,7 +3301,6 @@ msgstr "스냅 사용" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "그리드 보이기" @@ -3475,6 +3553,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "MeshInstance에 메쉬가 없습니다!" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "외곽선을 만들수 없습니다!" @@ -3836,17 +3918,14 @@ msgid "Clear UV" msgstr "UV 정리" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "스냅" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "스냅 활성화" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "그리드" @@ -4685,20 +4764,51 @@ msgid "StyleBox Preview:" msgstr "StyleBox 미리보기:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "텍스쳐 구역 편집기" +#, fuzzy +msgid "Snap Mode:" +msgstr "실행 모드:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "스케일 구역 편집기" +#, fuzzy +msgid "Pixel Snap" +msgstr "픽셀 스냅 사용" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Grid Snap" +msgstr "그리드 스텝:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" -"이 노드에 텍스쳐가 없습니다.\n" -"구역을 편집하기 위해서는 텍스쳐를 지정해야합니다." + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "그리드 오프셋:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "단계 (초):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "부문:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "텍스쳐 구역 편집기" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "텍스쳐 구역 편집기" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -5763,12 +5873,16 @@ msgid "Error duplicating scene to save it." msgstr "저장하기 위해 씬을 복제하는 중에 에러가 발생했습니다." #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "새로운 씬 루트" +msgid "Edit Groups" +msgstr "그룹 편집" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "상속 씬" +msgid "Edit Connections" +msgstr "연결 편집" + +#: tools/editor/scene_tree_dock.cpp +msgid "Delete Node(s)" +msgstr "노드 삭제" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5783,14 +5897,6 @@ msgid "Change Type" msgstr "타입 변경" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "그룹 편집" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "연결 편집" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "스크립트 추가" @@ -5803,10 +5909,6 @@ msgid "Save Branch as Scene" msgstr "선택 노드를 다른 씬으로 저장" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "노드 삭제" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "새 노드 추가/생성" @@ -6197,6 +6299,31 @@ msgstr "Ray Shape 길이 변경" msgid "Change Notifier Extents" msgstr "Notifier 범위 변경" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "애니메이션 루프 보간 변경" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "애니메이션 루프 시 보간 활성화/비활성화." + +#~ msgid "Load Layout" +#~ msgstr "레이아웃 로드" + +#~ msgid "Scale Region Editor" +#~ msgstr "스케일 구역 편집기" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "" +#~ "이 노드에 텍스쳐가 없습니다.\n" +#~ "구역을 편집하기 위해서는 텍스쳐를 지정해야합니다." + +#~ msgid "New Scene Root" +#~ msgstr "새로운 씬 루트" + +#~ msgid "Inherit Scene" +#~ msgstr "상속 씬" + #~ msgid "Binds (Extra Params):" #~ msgstr "바인드 (추가 파라미터):" diff --git a/tools/translations/pt_BR.po b/tools/translations/pt_BR.po index dadd54d273..24c42d350a 100644 --- a/tools/translations/pt_BR.po +++ b/tools/translations/pt_BR.po @@ -11,8 +11,8 @@ msgstr "" "POT-Creation-Date: 2016-05-30\n" "PO-Revision-Date: 2016-06-20 01:48+0000\n" "Last-Translator: George Marques <georgemjesus@gmail.com>\n" -"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects" -"/godot-engine/godot/pt_BR/>\n" +"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/" +"godot-engine/godot/pt_BR/>\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -701,10 +701,6 @@ msgid "Change Anim Loop" msgstr "Mudar Loop da Animação" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "Mudar Interpolação do Loop da Animação" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "Criar Chave com Valor Definido" @@ -745,10 +741,6 @@ msgid "Enable/Disable looping in animation." msgstr "Habilitar/Desabilitar loop de animação." #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "Habilitar/Desabilitar interpolação quando repetindo a animação." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "Adicionar novas trilhas." @@ -1013,7 +1005,8 @@ msgid "Method in target Node must be specified!" msgstr "O método no Nó destino precisa ser especificado!" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +#, fuzzy +msgid "Connect To Node:" msgstr "Conectar ao Nó:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1233,6 +1226,51 @@ msgstr "Escolha um Diretório" msgid "Choose" msgstr "Escolher" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Mover Favorito Acima" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Alternar Comentário" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Copiar Caminho" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Mover Favorito Acima" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "Mover Favorito Abaixo" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Favoritos:" @@ -1487,9 +1525,31 @@ msgid "There is no defined scene to run." msgstr "Não há cena definida para rodar." #: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"A cena principal não foi definida.\n" +"Selecione uma nas \"Configurações do Projeto\" na categoria \"application\"." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"A cena principal não foi definida.\n" +"Selecione uma nas \"Configurações do Projeto\" na categoria \"application\"." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "A cena principal não foi definida.\n" "Selecione uma nas \"Configurações do Projeto\" na categoria \"application\"." @@ -1586,6 +1646,11 @@ msgstr "" "Abrir Gerenciador de Projetos?\n" "(Mudanças não salvas serão perdidas)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Cena Principal" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Ugh" @@ -1611,18 +1676,14 @@ msgid "Save Layout" msgstr "Salvar Layout" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Carregar Layout" +msgid "Delete Layout" +msgstr "Excluir Layout" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "Padrão" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Excluir Layout" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Trocar Guia de Cena" @@ -1652,6 +1713,16 @@ msgid "Distraction Free Mode" msgstr "Modo Sem Distrações" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Próximo" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "Diretório Anterior" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "Operações com arquivos de cena." @@ -2215,6 +2286,12 @@ msgid "No target font resource!" msgstr "Falta recurso de fonte destino!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "Não se pôde carregar/processar fonte de origem." @@ -2454,7 +2531,8 @@ msgid "Couldn't load post-import script:" msgstr "Não se pôde carregar script pós-importação:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Script pós-importação inválido/quebrado:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3122,13 +3200,11 @@ msgstr "Configurar o Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Deslocamento da grade:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Passo de grade:" @@ -3248,7 +3324,6 @@ msgstr "Usar Snap" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Mostrar Grade" @@ -3501,6 +3576,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "Falta uma MeshInstance na Mesh!" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "Não se pôde criar contorno!" @@ -3863,17 +3942,14 @@ msgid "Clear UV" msgstr "Limpar UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Snap" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Ativar Snap" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Grade" @@ -4711,20 +4787,51 @@ msgid "StyleBox Preview:" msgstr "Pré-Visualização do StyleBox:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Editor de Região da Textura" +#, fuzzy +msgid "Snap Mode:" +msgstr "Modo de Início:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "Editor de Região de Escala" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Usar Snap de Pixel" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Passo de grade:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" -"Sem textura nesse nó.\n" -"Defina uma textura para poder editar essa região." + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Deslocamento da grade:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Passo (s):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Seções:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Editor de Região da Textura" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Editor de Região da Textura" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -5796,12 +5903,16 @@ msgid "Error duplicating scene to save it." msgstr "Erro duplicando cena ao salvar." #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "Nova Raiz de Cena" +msgid "Edit Groups" +msgstr "Editar Grupos" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "Editar Conexões" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "Herdar Cena" +msgid "Delete Node(s)" +msgstr "Excluir Nó(s)" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5816,14 +5927,6 @@ msgid "Change Type" msgstr "Alterar Tipo" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "Editar Grupos" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "Editar Conexões" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "Adicionar Script" @@ -5836,10 +5939,6 @@ msgid "Save Branch as Scene" msgstr "Salvar Ramo como Cena" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "Excluir Nó(s)" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "Adicionar/Criar um Novo Nó" @@ -6231,6 +6330,31 @@ msgstr "Mudar o tamanho do Shape Ray" msgid "Change Notifier Extents" msgstr "Alterar a Extensão do Notificador" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Mudar Interpolação do Loop da Animação" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Habilitar/Desabilitar interpolação quando repetindo a animação." + +#~ msgid "Load Layout" +#~ msgstr "Carregar Layout" + +#~ msgid "Scale Region Editor" +#~ msgstr "Editor de Região de Escala" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "" +#~ "Sem textura nesse nó.\n" +#~ "Defina uma textura para poder editar essa região." + +#~ msgid "New Scene Root" +#~ msgstr "Nova Raiz de Cena" + +#~ msgid "Inherit Scene" +#~ msgstr "Herdar Cena" + #~ msgid "Binds (Extra Params):" #~ msgstr "Ligações (Parâmetros Extra):" @@ -6288,12 +6412,6 @@ msgstr "Alterar a Extensão do Notificador" #~ msgid "Next Time:" #~ msgstr "Next Time:" -#~ msgid "Move Favorite Up" -#~ msgstr "Mover Favorito Acima" - -#~ msgid "Move Favorite Down" -#~ msgstr "Mover Favorito Abaixo" - #~ msgid "%d frames" #~ msgstr "%d quadros" diff --git a/tools/translations/ru.po b/tools/translations/ru.po index 63fb6c4177..97ac24c5b7 100644 --- a/tools/translations/ru.po +++ b/tools/translations/ru.po @@ -3,23 +3,24 @@ # This file is distributed under the same license as the Godot source code. # # DimOkGamer <dimokgamer@gmail.com>, 2016. +# Maxim Kim <habamax@gmail.com>, 2016. # Maxim toby3d Lebedev <mail@toby3d.ru>, 2016. # msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2016-06-19 17:29+0300\n" -"Last-Translator: DimOkGamer <dimokgamer@gmail.com>\n" -"Language-Team: Russian <https://hosted.weblate.org/projects/godot-" -"engine/godot/ru/>\n" +"PO-Revision-Date: 2016-06-27 12:43+0000\n" +"Last-Translator: Maxim Kim <habamax@gmail.com>\n" +"Language-Team: Russian <https://hosted.weblate.org/projects/godot-engine/" +"godot/ru/>\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" -"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Poedit 1.8.8\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 2.7-dev\n" #: modules/gdscript/gd_functions.cpp msgid "Invalid type argument to convert(), use TYPE_* constants." @@ -136,7 +137,7 @@ msgid "" "A NavigationPolygon resource must be set or created for this node to work. " "Please set a property or draw a polygon." msgstr "" -"Ресурс NavigationPolygon должен быть установлен или создан для этого нода. " +"Ресурс NavigationPolygon должен быть установлен или создан для этого узла. " "Пожалуйста, установите свойство или нарисуйте многоугольник." #: scene/2d/navigation_polygon.cpp @@ -144,20 +145,21 @@ msgid "" "NavigationPolygonInstance must be a child or grandchild to a Navigation2D " "node. It only provides navigation data." msgstr "" -"NavigationPolygonInstance должен быть ребёнком или внуком нода Navigation2D. " -"Он обеспечивает только навигационные данные." +"NavigationPolygonInstance должен быть ребёнком или внуком узла Navigation2D. " +"Он предоставляет только навигационные данные." #: scene/2d/parallax_layer.cpp msgid "" "ParallaxLayer node only works when set as child of a ParallaxBackground node." msgstr "" -"Нод ParallaxLayer работает только при установке его в качестве дочернего " +"Узел ParallaxLayer работает только при установке его в качестве дочернего " "узла ParallaxBackground." #: scene/2d/particles_2d.cpp msgid "Path property must point to a valid Particles2D node to work." msgstr "" -"Свойство Path должен указывать на действительный нод Particles2D для работы." +"Для корректной работы свойство Path должно указывать на действующий узел " +"Particles2D." #: scene/2d/path_2d.cpp msgid "PathFollow2D only works when set as a child of a Path2D node." @@ -167,7 +169,9 @@ msgstr "" #: scene/2d/remote_transform_2d.cpp msgid "Path property must point to a valid Node2D node to work." -msgstr "Свойство Path должен указывать на действительный нод Node2D для работы." +msgstr "" +"Для корректной работы свойство Path должно указывать на действующий узел " +"Node2D." #: scene/2d/sample_player_2d.cpp scene/audio/sample_player.cpp msgid "" @@ -182,24 +186,24 @@ msgid "" "Path property must point to a valid Viewport node to work. Such Viewport " "must be set to 'render target' mode." msgstr "" -"Для работы, параметр Path должен указывать на действительный Нод Viewport. " -"Такой Viewport должен быть установлен в качестве цели рендеринга." +"Для корректной работы свойство Path должно указывать на действующий узел " +"Viewport. Такой Viewport должен быть установлен в режим 'цель рендеринга'." #: scene/2d/sprite.cpp msgid "" "The Viewport set in the path property must be set as 'render target' in " "order for this sprite to work." msgstr "" -"Области просмотра установленная в свойстве path должна быть назначена \"" -"целью визуализации\" для того, чтобы этот спрайт работал." +"Области просмотра установленная в свойстве path должна быть назначена " +"\"целью визуализации\" для того, чтобы этот спрайт работал." #: scene/2d/visibility_notifier_2d.cpp msgid "" "VisibilityEnable2D works best when used with the edited scene root directly " "as parent." msgstr "" -"VisibilityEnable2D работает лучше, когда используется, как дочерний нод " -"корня." +"VisibilityEnable2D работает наилучшим образом при использовании корня " +"редактируемой сцены, как прямого родителя." #: scene/3d/body_shape.cpp msgid "" @@ -235,15 +239,16 @@ msgstr "Пустой CollisionPolygon не влияет на столкнове #: scene/3d/navigation_mesh.cpp msgid "A NavigationMesh resource must be set or created for this node to work." -msgstr "Ресурс NavigationMesh должен быть установлен или создан для этого нода." +msgstr "" +"Ресурс NavigationMesh должен быть установлен или создан для этого узла." #: scene/3d/navigation_mesh.cpp msgid "" "NavigationMeshInstance must be a child or grandchild to a Navigation node. " "It only provides navigation data." msgstr "" -"NavigationMeshInstance должен быть ребёнком или внуком нода Navigation. Он " -"обеспечивает только навигационные данные." +"NavigationMeshInstance должен быть дочерним или под-дочерним узлом " +"Navigation. Он предоставляет только навигационные данные." #: scene/3d/scenario_fx.cpp msgid "" @@ -483,7 +488,7 @@ msgstr "" "использовать его, чтобы отобразить его содержимое прямо на экране, сделать " "его потомком Control'а, чтобы он мог получить размер. В противном случае, " "сделайте его целью рендеринга и передайте его внутренние текстуры какому-то " -"другому Ноду для отображения." +"другому узлу для отображения." #: scene/resources/dynamic_font.cpp #: tools/editor/io_plugins/editor_font_import_plugin.cpp @@ -701,10 +706,6 @@ msgid "Change Anim Loop" msgstr "Изменено зацикливание анимации" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "Изменена интерполяция анимации" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "Создан ключ с вводимым значением" @@ -745,10 +746,6 @@ msgid "Enable/Disable looping in animation." msgstr "Включить/отключить зацикливание в анимации." #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "Включить/отключить интерполяцию при зацикливании анимации." - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "Добавить новые дорожки." @@ -806,7 +803,7 @@ msgstr "Коэффициент масштабирования:" #: tools/editor/animation_editor.cpp msgid "Call Functions in Which Node?" -msgstr "Вызвать функцию в каком ноде?" +msgstr "Вызвать функции в каком узле?" #: tools/editor/animation_editor.cpp msgid "Remove invalid keys" @@ -1010,11 +1007,12 @@ msgstr "Стлб:" #: tools/editor/connections_dialog.cpp msgid "Method in target Node must be specified!" -msgstr "Метод должен быть указан в целевом Ноде!" +msgstr "Метод должен быть указан в целевом Узле!" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" -msgstr "Присоединить к ноду:" +#, fuzzy +msgid "Connect To Node:" +msgstr "Присоединить к узлу:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp #: tools/editor/plugins/item_list_editor_plugin.cpp @@ -1040,7 +1038,7 @@ msgstr "Дополнительные параметры вызова:" #: tools/editor/connections_dialog.cpp msgid "Path to Node:" -msgstr "Путь к ноду:" +msgstr "Путь к Узлу:" #: tools/editor/connections_dialog.cpp msgid "Make Function" @@ -1232,6 +1230,51 @@ msgstr "Выбрать каталог" msgid "Choose" msgstr "Выбрать" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "Точка остановки" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "Переключить комментарий" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "Копировать путь" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "Избранное:" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "Переместить вниз" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "Избранное:" @@ -1355,7 +1398,7 @@ msgstr "Импортируется:" #: tools/editor/editor_node.cpp msgid "Node From Scene" -msgstr "Нод со сцены" +msgstr "Узел со сцены" #: tools/editor/editor_node.cpp tools/editor/scenes_dock.cpp msgid "Re-Import.." @@ -1486,9 +1529,33 @@ msgid "There is no defined scene to run." msgstr "Нет определённой сцены, чтобы работать." #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"Не назначена главная сцена.\n" +"Укажите её в параметре \"main_scene\" расположенном\n" +"в \"Настройки проекта - Основное - application\"." + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"Не назначена главная сцена.\n" +"Укажите её в параметре \"main_scene\" расположенном\n" +"в \"Настройки проекта - Основное - application\"." + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "Не назначена главная сцена.\n" "Укажите её в параметре \"main_scene\" расположенном\n" @@ -1586,6 +1653,11 @@ msgstr "" "Открыть менеджер проектов? \n" "(Несохранённые изменения будут потеряны.)" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "Главная сцена" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "Ясно" @@ -1612,18 +1684,14 @@ msgid "Save Layout" msgstr "Сохранить макет" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "Загрузить макет" +msgid "Delete Layout" +msgstr "Удалить макет" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "По-умолчанию" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "Удалить макет" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "Смена вкладки со сценой" @@ -1653,6 +1721,16 @@ msgid "Distraction Free Mode" msgstr "Свободный режим" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "Следующий" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "Предыдущий каталог" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "Операции с файлами сцены." @@ -1839,7 +1917,7 @@ msgid "" "Collision shapes and raycast nodes (for 2D and 3D) will be visible on the " "running game if this option is turned on." msgstr "" -"Когда эта опция включена, области соприкосновений и ноды Raycast(в 2D и 3D) " +"Когда эта опция включена, области соприкосновений и узлы Raycast(в 2D и 3D) " "будут видимыми в запущенной игре." #: tools/editor/editor_node.cpp @@ -2117,7 +2195,7 @@ msgstr "По-умолчанию (как редактор)" #: tools/editor/editor_sub_scene.cpp msgid "Select Node(s) to Import" -msgstr "Выберите нод(ы) для импорта" +msgstr "Выберите Узлы(ы) для импорта" #: tools/editor/editor_sub_scene.cpp msgid "Scene Path:" @@ -2125,7 +2203,7 @@ msgstr "Путь к сцене:" #: tools/editor/editor_sub_scene.cpp msgid "Import From Node:" -msgstr "Импортировать из нода:" +msgstr "Импортировать из Узла:" #: tools/editor/file_type_cache.cpp msgid "Can't open file_type_cache.cch for writing, not saving file type cache!" @@ -2216,6 +2294,12 @@ msgid "No target font resource!" msgstr "Нет целевого ресурса шрифта!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "Не удалось загрузить/исполнить исходный шрифт." @@ -2415,7 +2499,7 @@ msgstr "Скрипт пост-процесса:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Custom Root Node Type:" -msgstr "Настраиваемый тип корневого нода:" +msgstr "Настраиваемый тип корневого узла:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp msgid "Auto" @@ -2457,7 +2541,8 @@ msgid "Couldn't load post-import script:" msgstr "Не могу загрузить скрипт для пост-импорта:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +#, fuzzy +msgid "Invalid/broken script for post-import (check console):" msgstr "Повреждённый/сломанный скрипт для пост-импорта:" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -2719,11 +2804,11 @@ msgstr "Перевод" #: tools/editor/multi_node_edit.cpp msgid "MultiNode Set" -msgstr "Мульти нодовый набор" +msgstr "Мульти-узловый набор" #: tools/editor/node_dock.cpp msgid "Node" -msgstr "Нод" +msgstr "Узел" #: tools/editor/node_dock.cpp msgid "Groups" @@ -2731,9 +2816,7 @@ msgstr "Группы" #: tools/editor/node_dock.cpp msgid "Select a Node to edit Signals and Groups." -msgstr "" -"Выберите нод для редактирования\n" -"сигналов и групп." +msgstr "Выберите узел для редактирования сигналов и групп." #: tools/editor/plugins/animation_player_editor_plugin.cpp msgid "Toggle Autoplay" @@ -3010,39 +3093,39 @@ msgstr "Дерево анимации не действительно." #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Animation Node" -msgstr "Animation нод" +msgstr "Animation узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "OneShot Node" -msgstr "OneShot нод" +msgstr "OneShot узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Mix Node" -msgstr "Mix нод" +msgstr "Mix узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Blend2 Node" -msgstr "Blend2 нод" +msgstr "Blend2 узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Blend3 Node" -msgstr "Blend3 нод" +msgstr "Blend3 узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Blend4 Node" -msgstr "Blend4 нод" +msgstr "Blend4 узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "TimeScale Node" -msgstr "TimeScale нод" +msgstr "TimeScale узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "TimeSeek Node" -msgstr "TimeSeek нод" +msgstr "TimeSeek узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Transition Node" -msgstr "Transition нод" +msgstr "Transition узел" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Import Animations.." @@ -3050,7 +3133,7 @@ msgstr "Импортировать анимации.." #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Edit Node Filters" -msgstr "Редактировать фильтры нода" +msgstr "Редактировать фильтры узла" #: tools/editor/plugins/animation_tree_editor_plugin.cpp msgid "Filters.." @@ -3127,13 +3210,11 @@ msgstr "Настроить привязку" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "Отступ сетку:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "Шаг сетки:" @@ -3253,7 +3334,6 @@ msgstr "Использовать привязку" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "Показать сетку" @@ -3506,6 +3586,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "В MeshInstance нет полисетки!" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "Невозможно создать контур!" @@ -3543,7 +3627,7 @@ msgstr "Размер обводки:" #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "No mesh source specified (and no MultiMesh set in node)." -msgstr "Не указана исходная полисетка (и мульти полисетка не указана в ноде)." +msgstr "Не указан источник полисетки (и мульти полисетка не указана в узле)." #: tools/editor/plugins/multimesh_editor_plugin.cpp msgid "No mesh source specified (and MultiMesh contains no Mesh)." @@ -3675,11 +3759,11 @@ msgstr "Количество создаваемых точек:" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Node does not contain geometry." -msgstr "Нод не содержит геометрии." +msgstr "Узел не содержит геометрии." #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Node does not contain geometry (faces)." -msgstr "Нод не содержит геометрии (грани)." +msgstr "Узел не содержит геометрии (грани)." #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Faces contain no area!" @@ -3699,7 +3783,7 @@ msgstr "Создать излучатель из полисетки" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Create Emitter From Node" -msgstr "Создать излучатель из нода" +msgstr "Создать излучатель из узла" #: tools/editor/plugins/particles_editor_plugin.cpp msgid "Clear Emitter" @@ -3867,17 +3951,14 @@ msgid "Clear UV" msgstr "Очистить UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "Привязка" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "Активировать привязку" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "Сетка" @@ -4488,7 +4569,7 @@ msgstr "Вещицы" #: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Selection (F)" -msgstr "Показать выбранный нод (F)" +msgstr "Показать выбранный узел (F)" #: tools/editor/plugins/spatial_editor_plugin.cpp msgid "Align with view (Ctrl+Shift+F)" @@ -4715,20 +4796,51 @@ msgid "StyleBox Preview:" msgstr "StyleBox предпросмотр:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "Редактор области текстуры" +#, fuzzy +msgid "Snap Mode:" +msgstr "Режим запуска:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "Редактор масштабируемой области текстуры" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +#, fuzzy +msgid "Pixel Snap" +msgstr "Использовать попиксельную привязку" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "Шаг сетки:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" msgstr "" -"В этом ноде нет текстуры.\n" -"Выберите текстуру, чтобы редактировать область." + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "Отступ сетку:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "Шаг (сек.):" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Разделы:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "Редактор области текстуры" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "Редактор области текстуры" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -5019,8 +5131,8 @@ msgstr "Действие" msgid "" "Filters to export non-resource files (comma-separated, e.g.: *.json, *.txt):" msgstr "" -"Фильтр для экспорта не ресурсных файлов (через запятую, например: *.json, " -"*.txt):" +"Фильтр для экспорта не ресурсных файлов (через запятую, например: *.json, *." +"txt):" #: tools/editor/project_export.cpp msgid "Filters to exclude from export (comma-separated, e.g.: *.json, *.txt):" @@ -5546,7 +5658,7 @@ msgstr "Автозагрузка" #: tools/editor/project_settings.cpp msgid "Node Name:" -msgstr "Имя Нода:" +msgstr "Имя Узла:" #: tools/editor/project_settings.cpp msgid "List:" @@ -5644,7 +5756,7 @@ msgstr "" #: tools/editor/reparent_dialog.cpp tools/editor/scene_tree_dock.cpp msgid "Reparent Node" -msgstr "Переподчинить нод" +msgstr "Переподчинить узел" #: tools/editor/reparent_dialog.cpp msgid "Reparent Location (Select new Parent):" @@ -5724,7 +5836,7 @@ msgid "" "of its nodes." msgstr "" "Невозможно добавить сцену %s, потому что текущая сцена существует в одном из " -"его нодов." +"его узлов." #: tools/editor/scene_tree_dock.cpp msgid "Instance Scene(s)" @@ -5736,19 +5848,19 @@ msgstr "Эта операция не может быть произведена #: tools/editor/scene_tree_dock.cpp msgid "Move Node In Parent" -msgstr "Перемещение нода в Родительский" +msgstr "Перемещение узла в Родительский" #: tools/editor/scene_tree_dock.cpp msgid "Move Nodes In Parent" -msgstr "Перемещение нодов в родительский" +msgstr "Перемещение узлов в Родительский" #: tools/editor/scene_tree_dock.cpp msgid "Duplicate Node(s)" -msgstr "Дублирован нод(ы)" +msgstr "Дублировать узел(узлы)" #: tools/editor/scene_tree_dock.cpp msgid "Delete Node(s)?" -msgstr "Удалить нод(ы)?" +msgstr "Удалить узел(узлы)?" #: tools/editor/scene_tree_dock.cpp msgid "This operation can't be done without a scene." @@ -5756,7 +5868,7 @@ msgstr "Эта операция не может быть выполнена бе #: tools/editor/scene_tree_dock.cpp msgid "This operation requires a single selected node." -msgstr "Эта операция требует одного выбранного нода." +msgstr "Эта операция требует одного выбранного узла." #: tools/editor/scene_tree_dock.cpp msgid "This operation can't be done on instanced scenes." @@ -5772,19 +5884,19 @@ msgstr "Уууу круто!" #: tools/editor/scene_tree_dock.cpp msgid "Can't operate on nodes from a foreign scene!" -msgstr "Не могу работать с нодами из внешней сцены!" +msgstr "Не могу работать с узлами из внешней сцены!" #: tools/editor/scene_tree_dock.cpp msgid "Can't operate on nodes the current scene inherits from!" -msgstr "Невозможно работать с нодами текущей сцены, наследуемой откуда-то!" +msgstr "Невозможно работать с узлами, от которых унаследована текущая сцена!" #: tools/editor/scene_tree_dock.cpp msgid "Remove Node(s)" -msgstr "Удалён нод(ы)" +msgstr "Удалить узел(узлы)" #: tools/editor/scene_tree_dock.cpp msgid "Create Node" -msgstr "Создан нод" +msgstr "Создать узел" #: tools/editor/scene_tree_dock.cpp msgid "" @@ -5803,16 +5915,20 @@ msgid "Error duplicating scene to save it." msgstr "Ошибка дублирования сцены, чтобы сохранить её." #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "Новый корень сцены" +msgid "Edit Groups" +msgstr "Редактировать группы" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "Редактировать связи" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "Унаследовать сцену" +msgid "Delete Node(s)" +msgstr "Удалить узел(узлы)" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" -msgstr "Добавить дочерний нод" +msgstr "Добавить дочерний узел" #: tools/editor/scene_tree_dock.cpp msgid "Instance Child Scene" @@ -5823,14 +5939,6 @@ msgid "Change Type" msgstr "Изменить тип" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "Редактировать группы" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "Редактировать связи" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "Добавить скрипт" @@ -5843,10 +5951,6 @@ msgid "Save Branch as Scene" msgstr "Сохранить ветку, как сцену" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "Удалить нод(ы)" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "Добавить/создать новый узел" @@ -5855,7 +5959,7 @@ msgid "" "Instance a scene file as a Node. Creates an inherited scene if no root node " "exists." msgstr "" -"Добавить файл сцены как нод. Создаёт наследуемую сцену, если корневой узел " +"Добавить файл сцены как узел. Создаёт наследуемую сцену, если корневой узел " "не существует." #: tools/editor/scene_tree_editor.cpp @@ -5864,7 +5968,7 @@ msgid "" "parent first." msgstr "" "Этот объект не может быть отображён, потому что его родитель скрыт. " -"Отобразите сначала родительский нод." +"Отобразите сначала родительский узел." #: tools/editor/scene_tree_editor.cpp msgid "Toggle Spatial Visible" @@ -5880,15 +5984,15 @@ msgstr "Экземпляр:" #: tools/editor/scene_tree_editor.cpp msgid "Invalid node name, the following characters are not allowed:" -msgstr "Недопустимые символы в названии нода:" +msgstr "Некорректное имя узла, следующие символы недопустимы:" #: tools/editor/scene_tree_editor.cpp msgid "Rename Node" -msgstr "Нод переименован" +msgstr "Переименовать узел" #: tools/editor/scene_tree_editor.cpp msgid "Scene Tree (Nodes):" -msgstr "Дерево сцены (ноды):" +msgstr "Дерево сцены (Узлы):" #: tools/editor/scene_tree_editor.cpp msgid "Editable Children" @@ -5920,7 +6024,7 @@ msgstr "Очистить!" #: tools/editor/scene_tree_editor.cpp msgid "Select a Node" -msgstr "Выберете нод" +msgstr "Выбрать узел" #: tools/editor/scenes_dock.cpp msgid "Same source and destination files, doing nothing." @@ -5996,7 +6100,7 @@ msgstr "Переключить статус папки как избранной #: tools/editor/scenes_dock.cpp msgid "Instance the selected scene(s) as child of the selected node." -msgstr "Добавить выбранную сцену(сцены), как потомка выбранного нода." +msgstr "Добавить выбранную сцену(сцены), как потомка выбранного узла." #: tools/editor/scenes_dock.cpp msgid "Move" @@ -6072,7 +6176,7 @@ msgstr "Встроенный Скрипт" #: tools/editor/script_create_dialog.cpp msgid "Create Node Script" -msgstr "Создать скрипт для нода" +msgstr "Создать скрипт для узла" #: tools/editor/script_editor_debugger.cpp msgid "Bytes:" @@ -6184,11 +6288,11 @@ msgstr "Прочее" #: tools/editor/script_editor_debugger.cpp msgid "Clicked Control:" -msgstr "Нажатый нод:" +msgstr "Нажатый элемент управления:" #: tools/editor/script_editor_debugger.cpp msgid "Clicked Control Type:" -msgstr "Тип нажатого нода:" +msgstr "Тип нажатого элемента управления:" #: tools/editor/script_editor_debugger.cpp msgid "Live Edit Root:" @@ -6196,7 +6300,7 @@ msgstr "Редактирование корня в реальном времен #: tools/editor/script_editor_debugger.cpp msgid "Set From Tree" -msgstr "Установить из дерева нодов" +msgstr "Установить из дерева" #: tools/editor/settings_config_dialog.cpp msgid "Shortcuts" @@ -6238,6 +6342,31 @@ msgstr "Изменена длинна луча" msgid "Change Notifier Extents" msgstr "Изменены границы уведомителя" +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "Изменена интерполяция анимации" + +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "Включить/отключить интерполяцию при зацикливании анимации." + +#~ msgid "Load Layout" +#~ msgstr "Загрузить макет" + +#~ msgid "Scale Region Editor" +#~ msgstr "Редактор масштабируемой области текстуры" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "" +#~ "В этом узле нет текстуры.\n" +#~ "Выберите текстуру, чтобы редактировать область." + +#~ msgid "New Scene Root" +#~ msgstr "Новый корень сцены" + +#~ msgid "Inherit Scene" +#~ msgstr "Унаследовать сцену" + #~ msgid "Binds (Extra Params):" #~ msgstr "Связи (необязательные параметры):" diff --git a/tools/translations/sk.po b/tools/translations/sk.po index b21333b7f8..94ce24b46c 100644 --- a/tools/translations/sk.po +++ b/tools/translations/sk.po @@ -2,13 +2,13 @@ # Copyright (C) 2016 Juan Linietsky, Ariel Manzur and the Godot community # This file is distributed under the same license as the Godot source code. # -# lablazer <avojtus@centrum.sk>, 2016. +# J08nY <johnenter@gmail.com>, 2016. # msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" -"PO-Revision-Date: 2016-06-11 11:23+0000\n" -"Last-Translator: lablazer <avojtus@centrum.sk>\n" +"PO-Revision-Date: 2016-06-25 14:16+0000\n" +"Last-Translator: J08nY <johnenter@gmail.com>\n" "Language-Team: Slovak <https://hosted.weblate.org/projects/godot-engine/" "godot/sk/>\n" "Language: sk\n" @@ -19,15 +19,15 @@ msgstr "" #: modules/gdscript/gd_functions.cpp msgid "Invalid type argument to convert(), use TYPE_* constants." -msgstr "" +msgstr "Chybný argument convert(), použite TYPE_* konštanty." #: modules/gdscript/gd_functions.cpp msgid "Not enough bytes for decoding bytes, or invalid format." -msgstr "" +msgstr "Nedostatok bajtov na dekódovanie, možný chybný formát." #: modules/gdscript/gd_functions.cpp msgid "step argument is zero!" -msgstr "" +msgstr "argument \"step\"/krok je nulový!" #: modules/gdscript/gd_functions.cpp msgid "Not a script with an instance" @@ -241,7 +241,7 @@ msgstr "" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "All Recognized" -msgstr "" +msgstr "Všetko rozpoznané" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "All Files (*)" @@ -252,64 +252,64 @@ msgstr "" #: tools/editor/plugins/script_editor_plugin.cpp tools/editor/quick_open.cpp #: tools/editor/scenes_dock.cpp msgid "Open" -msgstr "" +msgstr "Otvoriť" #: scene/gui/file_dialog.cpp msgid "Open a File" -msgstr "" +msgstr "Otvoriť súbor" #: scene/gui/file_dialog.cpp msgid "Open File(s)" -msgstr "" +msgstr "Otvoriť súbor(y)" #: scene/gui/file_dialog.cpp msgid "Open a Directory" -msgstr "" +msgstr "Otvorit priečinok" #: scene/gui/file_dialog.cpp msgid "Open a File or Directory" -msgstr "" +msgstr "Otvoriť súbor / priečinok" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp #: tools/editor/editor_node.cpp #: tools/editor/plugins/animation_player_editor_plugin.cpp #: tools/editor/plugins/script_editor_plugin.cpp msgid "Save" -msgstr "" +msgstr "Uložiť" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "Save a File" -msgstr "" +msgstr "Uložiť súbor" #: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp #: tools/editor/editor_file_dialog.cpp msgid "Create Folder" -msgstr "" +msgstr "Vytvoriť adresár" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp #: tools/editor/io_plugins/editor_font_import_plugin.cpp #: tools/editor/project_settings.cpp tools/editor/script_create_dialog.cpp msgid "Path:" -msgstr "" +msgstr "Cesta:" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "Directories & Files:" -msgstr "" +msgstr "Priečinky a Súbory:" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp #: tools/editor/script_editor_debugger.cpp msgid "File:" -msgstr "" +msgstr "Súbor:" #: scene/gui/file_dialog.cpp tools/editor/editor_file_dialog.cpp msgid "Filter:" -msgstr "" +msgstr "Filter:" #: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp #: tools/editor/editor_file_dialog.cpp tools/editor/editor_plugin_settings.cpp #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Name:" -msgstr "" +msgstr "Meno:" #: scene/gui/file_dialog.cpp tools/editor/editor_dir_dialog.cpp #: tools/editor/editor_file_dialog.cpp @@ -323,29 +323,29 @@ msgstr "" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp #: tools/editor/settings_config_dialog.cpp msgid "Shift+" -msgstr "" +msgstr "Shift+" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp #: tools/editor/settings_config_dialog.cpp msgid "Alt+" -msgstr "" +msgstr "Alt+" #: scene/gui/input_action.cpp msgid "Ctrl+" -msgstr "" +msgstr "Ctrl+" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp #: tools/editor/settings_config_dialog.cpp msgid "Meta+" -msgstr "" +msgstr "Meta+" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp msgid "Device" -msgstr "" +msgstr "Zariadenie" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp msgid "Button" -msgstr "" +msgstr "Tlačidlo" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp msgid "Left Button." @@ -369,7 +369,7 @@ msgstr "" #: scene/gui/input_action.cpp tools/editor/project_settings.cpp msgid "Axis" -msgstr "" +msgstr "Os" #: scene/gui/line_edit.cpp scene/gui/text_edit.cpp #: tools/editor/plugins/script_editor_plugin.cpp @@ -382,7 +382,7 @@ msgstr "" #: tools/editor/plugins/shader_editor_plugin.cpp #: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp msgid "Copy" -msgstr "" +msgstr "Kopírovať" #: scene/gui/line_edit.cpp scene/gui/text_edit.cpp #: tools/editor/plugins/resource_preloader_editor_plugin.cpp @@ -391,7 +391,7 @@ msgstr "" #: tools/editor/plugins/sprite_frames_editor_plugin.cpp #: tools/editor/property_editor.cpp tools/editor/resources_dock.cpp msgid "Paste" -msgstr "" +msgstr "Vložiť" #: scene/gui/line_edit.cpp scene/gui/text_edit.cpp #: tools/editor/plugins/script_editor_plugin.cpp @@ -411,7 +411,7 @@ msgstr "" #: tools/editor/plugins/script_editor_plugin.cpp #: tools/editor/plugins/shader_editor_plugin.cpp msgid "Undo" -msgstr "" +msgstr "Späť" #: scene/gui/popup.cpp msgid "" @@ -454,7 +454,7 @@ msgstr "" #: tools/editor/animation_editor.cpp msgid "All Selection" -msgstr "" +msgstr "Všetky vybrané" #: tools/editor/animation_editor.cpp msgid "Move Add Key" @@ -644,10 +644,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -688,10 +684,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -809,7 +801,7 @@ msgstr "" #: tools/editor/asset_library_editor_plugin.cpp msgid "Site:" -msgstr "" +msgstr "Stránka:" #: tools/editor/asset_library_editor_plugin.cpp msgid "Support.." @@ -821,7 +813,7 @@ msgstr "" #: tools/editor/asset_library_editor_plugin.cpp msgid "Community" -msgstr "" +msgstr "Komunita" #: tools/editor/asset_library_editor_plugin.cpp msgid "Testing" @@ -956,7 +948,7 @@ msgid "Method in target Node must be specified!" msgstr "" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +msgid "Connect To Node:" msgstr "" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1169,6 +1161,46 @@ msgstr "" msgid "Choose" msgstr "" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1195,11 +1227,11 @@ msgstr "" #: tools/editor/editor_help.cpp msgid "Class List:" -msgstr "" +msgstr "Zoznam tried:" #: tools/editor/editor_help.cpp tools/editor/property_editor.cpp msgid "Class:" -msgstr "" +msgstr "Trieda:" #: tools/editor/editor_help.cpp tools/editor/scene_tree_editor.cpp #: tools/editor/script_create_dialog.cpp @@ -1228,15 +1260,15 @@ msgstr "" #: tools/editor/editor_help.cpp msgid "Signals:" -msgstr "" +msgstr "Signály:" #: tools/editor/editor_help.cpp msgid "Constants:" -msgstr "" +msgstr "Konštanty:" #: tools/editor/editor_help.cpp tools/editor/script_editor_debugger.cpp msgid "Description:" -msgstr "" +msgstr "Popis:" #: tools/editor/editor_help.cpp msgid "Method Description:" @@ -1422,8 +1454,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1516,6 +1563,10 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1539,7 +1590,7 @@ msgid "Save Layout" msgstr "" #: tools/editor/editor_node.cpp -msgid "Load Layout" +msgid "Delete Layout" msgstr "" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp @@ -1547,10 +1598,6 @@ msgid "Default" msgstr "" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "" @@ -1580,6 +1627,14 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2122,6 +2177,12 @@ msgid "No target font resource!" msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "" @@ -2357,7 +2418,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3020,13 +3081,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3142,7 +3201,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3395,6 +3453,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3756,17 +3818,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4602,17 +4661,44 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "Popis:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp @@ -5674,31 +5760,27 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" +msgid "Edit Connections" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" +msgid "Delete Node(s)" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Change Type" +msgid "Add Child Node" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" +msgid "Instance Child Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" +msgid "Change Type" msgstr "" #: tools/editor/scene_tree_dock.cpp @@ -5714,10 +5796,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" diff --git a/tools/translations/tools.pot b/tools/translations/tools.pot index 854f8fef78..a5385f3bad 100644 --- a/tools/translations/tools.pot +++ b/tools/translations/tools.pot @@ -631,10 +631,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -675,10 +671,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -1156,6 +1148,46 @@ msgstr "" msgid "Choose" msgstr "" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Move Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Move Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1409,8 +1441,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1503,6 +1550,10 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1563,6 +1614,14 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2346,7 +2405,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3009,13 +3068,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3131,7 +3188,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3384,6 +3440,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3745,17 +3805,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4591,17 +4648,43 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp diff --git a/tools/translations/zh_CN.po b/tools/translations/zh_CN.po index 70b7845f9d..87d58db19e 100644 --- a/tools/translations/zh_CN.po +++ b/tools/translations/zh_CN.po @@ -3,13 +3,14 @@ # This file is distributed under the same license as the Godot source code. # # Geequlim <geequlim@gmail.com>, 2016. +# 纯洁的坏蛋 <tqj.zyy@gmail.com>, 2016. # msgid "" msgstr "" "Project-Id-Version: Godot Engine editor\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2016-06-11 11:37+0000\n" -"Last-Translator: Geequlim <geequlim@gmail.com>\n" +"PO-Revision-Date: 2016-06-25 17:02+0000\n" +"Last-Translator: 纯洁的坏蛋 <tqj.zyy@gmail.com>\n" "Language-Team: Chinese (China) <https://hosted.weblate.org/projects/godot-" "engine/godot/zh_CN/>\n" "Language: zh_CN\n" @@ -29,29 +30,28 @@ msgstr "" #: modules/gdscript/gd_functions.cpp msgid "step argument is zero!" -msgstr "" +msgstr "step参数为0!" #: modules/gdscript/gd_functions.cpp -#, fuzzy msgid "Not a script with an instance" -msgstr "没有选用要实例化的场景!" +msgstr "脚本没有实例化" #: modules/gdscript/gd_functions.cpp msgid "Not based on a script" -msgstr "" +msgstr "没有基于脚本" #: modules/gdscript/gd_functions.cpp -#, fuzzy msgid "Not based on a resource file" -msgstr "请设置目标字体资源!" +msgstr "不是一个资源文件" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (missing @path)" -msgstr "" +msgstr "实例字典格式不正确(缺少@path)" #: modules/gdscript/gd_functions.cpp +#, fuzzy msgid "Invalid instance dictionary format (can't load script at @path)" -msgstr "" +msgstr "实例字典格式不正确(无法加载脚本@path)" #: modules/gdscript/gd_functions.cpp msgid "Invalid instance dictionary format (invalid script at @path)" @@ -676,11 +676,6 @@ msgid "Change Anim Loop" msgstr "修改动画循环" #: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Change Anim Loop Interpolation" -msgstr "修改动画循环" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -721,11 +716,6 @@ msgid "Enable/Disable looping in animation." msgstr "启用/禁用循环" #: tools/editor/animation_editor.cpp -#, fuzzy -msgid "Enable/Disable interpolation when looping animation." -msgstr "启用/禁用循环" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "新建轨道" @@ -991,7 +981,7 @@ msgstr "必须设置方法的对象节点!" #: tools/editor/connections_dialog.cpp #, fuzzy -msgid "Conect To Node:" +msgid "Connect To Node:" msgstr "连接到节点:" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1207,6 +1197,51 @@ msgstr "选择目录" msgid "Choose" msgstr "选择" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Favorite" +msgstr "切换断点" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Toggle Mode" +msgstr "切换注释" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "拷贝路径" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "收藏:" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "向下移动" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "收藏:" @@ -1459,9 +1494,31 @@ msgid "There is no defined scene to run." msgstr "没有设置要执行的场景。" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" +"尚未定义主场景。\n" +"请在项目设置的application分类下设置选择主场景。" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" +"尚未定义主场景。\n" +"请在项目设置的application分类下设置选择主场景。" + +#: tools/editor/editor_node.cpp +#, fuzzy msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" "尚未定义主场景。\n" "请在项目设置的application分类下设置选择主场景。" @@ -1556,6 +1613,11 @@ msgid "" "(Unsaved changes will be lost)" msgstr "退出到项目管理窗口(未保存的修改将丢失)?" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "主场景" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "额" @@ -1580,18 +1642,14 @@ msgid "Save Layout" msgstr "保存布局" #: tools/editor/editor_node.cpp -msgid "Load Layout" -msgstr "加载布局" +msgid "Delete Layout" +msgstr "删除布局" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp msgid "Default" msgstr "默认" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "删除布局" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "切换场景标签页" @@ -1621,6 +1679,16 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "下一项" + +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Previous tab" +msgstr "上一个目录:" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "操作场景文件。" @@ -2172,6 +2240,12 @@ msgid "No target font resource!" msgstr "请设置目标字体资源!" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "无法加载/处理源字体。" @@ -2409,7 +2483,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3075,13 +3149,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "网格偏移量:" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "网格大小:" @@ -3197,7 +3269,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "显示网格" @@ -3450,6 +3521,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3811,17 +3886,14 @@ msgid "Clear UV" msgstr "清除UV" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "吸附" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "启用吸附" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "网格" @@ -4661,18 +4733,50 @@ msgid "StyleBox Preview:" msgstr "StyleBox预览:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" -msgstr "纹理区域编辑" +#, fuzzy +msgid "Snap Mode:" +msgstr "运行模式:" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" -msgstr "缩放区域编辑" +msgid "<None>" +msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." -msgstr "此节点没有贴图,请先为它设置贴图后再试。" +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Grid Snap" +msgstr "网格大小:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Offset:" +msgstr "网格偏移量:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Step:" +msgstr "步长(秒)" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Separation:" +msgstr "选项:" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +#, fuzzy +msgid "Texture Region" +msgstr "纹理区域编辑" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" +msgstr "纹理区域编辑" #: tools/editor/plugins/theme_editor_plugin.cpp msgid "Can't save theme to file:" @@ -5739,12 +5843,16 @@ msgid "Error duplicating scene to save it." msgstr "复制场景出错。" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "创建场景根节点" +msgid "Edit Groups" +msgstr "编辑分组" + +#: tools/editor/scene_tree_dock.cpp +msgid "Edit Connections" +msgstr "编辑事件连接" #: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" -msgstr "继承场景" +msgid "Delete Node(s)" +msgstr "删除节点" #: tools/editor/scene_tree_dock.cpp msgid "Add Child Node" @@ -5759,14 +5867,6 @@ msgid "Change Type" msgstr "更改类型" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" -msgstr "编辑分组" - -#: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" -msgstr "编辑事件连接" - -#: tools/editor/scene_tree_dock.cpp msgid "Add Script" msgstr "添加脚本" @@ -5779,10 +5879,6 @@ msgid "Save Branch as Scene" msgstr "将分支保存为场景" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "删除节点" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "添加/创建节点" @@ -6170,6 +6266,31 @@ msgstr "" msgid "Change Notifier Extents" msgstr "" +#, fuzzy +#~ msgid "Change Anim Loop Interpolation" +#~ msgstr "修改动画循环" + +#, fuzzy +#~ msgid "Enable/Disable interpolation when looping animation." +#~ msgstr "启用/禁用循环" + +#~ msgid "Load Layout" +#~ msgstr "加载布局" + +#~ msgid "Scale Region Editor" +#~ msgstr "缩放区域编辑" + +#~ msgid "" +#~ "No texture in this node.\n" +#~ "Set a texture to be able to edit region." +#~ msgstr "此节点没有贴图,请先为它设置贴图后再试。" + +#~ msgid "New Scene Root" +#~ msgstr "创建场景根节点" + +#~ msgid "Inherit Scene" +#~ msgstr "继承场景" + #~ msgid "Binds (Extra Params):" #~ msgstr "绑定(附加参数):" diff --git a/tools/translations/zh_HK.po b/tools/translations/zh_HK.po index 8f6476594b..e675cf53eb 100644 --- a/tools/translations/zh_HK.po +++ b/tools/translations/zh_HK.po @@ -639,10 +639,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -683,10 +679,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -952,8 +944,9 @@ msgid "Method in target Node must be specified!" msgstr "" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" -msgstr "" +#, fuzzy +msgid "Connect To Node:" +msgstr "連到" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp #: tools/editor/plugins/item_list_editor_plugin.cpp @@ -1166,6 +1159,49 @@ msgstr "選擇資料夾" msgid "Choose" msgstr "選擇" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Focus Path" +msgstr "複製" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Up" +msgstr "上移" + +#: tools/editor/editor_file_dialog.cpp +#, fuzzy +msgid "Mode Favorite Down" +msgstr "下移" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1420,8 +1456,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1514,6 +1565,11 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +#, fuzzy +msgid "Pick a Manu Scene" +msgstr "儲存場景" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1537,7 +1593,7 @@ msgid "Save Layout" msgstr "" #: tools/editor/editor_node.cpp -msgid "Load Layout" +msgid "Delete Layout" msgstr "" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp @@ -1545,10 +1601,6 @@ msgid "Default" msgstr "預設" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "" @@ -1578,6 +1630,15 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +#, fuzzy +msgid "Next tab" +msgstr "下一個" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2124,6 +2185,12 @@ msgid "No target font resource!" msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "" @@ -2359,7 +2426,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3023,13 +3090,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3145,7 +3210,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3398,6 +3462,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3759,17 +3827,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4605,17 +4670,43 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp @@ -5677,31 +5768,27 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" +msgid "Edit Connections" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" +msgid "Delete Node(s)" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Change Type" +msgid "Add Child Node" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" +msgid "Instance Child Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" +msgid "Change Type" msgstr "" #: tools/editor/scene_tree_dock.cpp @@ -5717,10 +5804,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" diff --git a/tools/translations/zh_TW.po b/tools/translations/zh_TW.po index 64399c4826..f2d1b44987 100644 --- a/tools/translations/zh_TW.po +++ b/tools/translations/zh_TW.po @@ -643,10 +643,6 @@ msgid "Change Anim Loop" msgstr "" #: tools/editor/animation_editor.cpp -msgid "Change Anim Loop Interpolation" -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Anim Create Typed Value Key" msgstr "" @@ -687,10 +683,6 @@ msgid "Enable/Disable looping in animation." msgstr "" #: tools/editor/animation_editor.cpp -msgid "Enable/Disable interpolation when looping animation." -msgstr "" - -#: tools/editor/animation_editor.cpp msgid "Add new tracks." msgstr "" @@ -955,7 +947,7 @@ msgid "Method in target Node must be specified!" msgstr "" #: tools/editor/connections_dialog.cpp -msgid "Conect To Node:" +msgid "Connect To Node:" msgstr "" #: tools/editor/connections_dialog.cpp tools/editor/groups_editor.cpp @@ -1168,6 +1160,46 @@ msgstr "" msgid "Choose" msgstr "" +#: tools/editor/editor_file_dialog.cpp +msgid "Go Back" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Forward" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Go Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Refresh" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Hidden Files" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Favorite" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Toggle Mode" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Focus Path" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Up" +msgstr "" + +#: tools/editor/editor_file_dialog.cpp +msgid "Mode Favorite Down" +msgstr "" + #: tools/editor/editor_file_dialog.cpp tools/editor/scenes_dock.cpp msgid "Favorites:" msgstr "" @@ -1421,8 +1453,23 @@ msgstr "" #: tools/editor/editor_node.cpp msgid "" -"No main scene has ever been defined.\n" -"Select one from \"Project Settings\" under the 'application' category." +"No main scene has ever been defined, select one?\n" +"You can change it later in later in \"Project Settings\" under the " +"'application' category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' does not exist, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "" +"Selected scene '%s' is not a scene file, select a valid one?\n" +"You can change it later in \"Project Settings\" under the 'application' " +"category." msgstr "" #: tools/editor/editor_node.cpp @@ -1515,6 +1562,10 @@ msgid "" "(Unsaved changes will be lost)" msgstr "" +#: tools/editor/editor_node.cpp +msgid "Pick a Manu Scene" +msgstr "" + #: tools/editor/editor_node.cpp tools/editor/scene_tree_dock.cpp msgid "Ugh" msgstr "" @@ -1538,7 +1589,7 @@ msgid "Save Layout" msgstr "" #: tools/editor/editor_node.cpp -msgid "Load Layout" +msgid "Delete Layout" msgstr "" #: tools/editor/editor_node.cpp tools/editor/project_export.cpp @@ -1546,10 +1597,6 @@ msgid "Default" msgstr "" #: tools/editor/editor_node.cpp -msgid "Delete Layout" -msgstr "" - -#: tools/editor/editor_node.cpp msgid "Switch Scene Tab" msgstr "" @@ -1579,6 +1626,14 @@ msgid "Distraction Free Mode" msgstr "" #: tools/editor/editor_node.cpp +msgid "Next tab" +msgstr "" + +#: tools/editor/editor_node.cpp +msgid "Previous tab" +msgstr "" + +#: tools/editor/editor_node.cpp msgid "Operations with scene files." msgstr "" @@ -2121,6 +2176,12 @@ msgid "No target font resource!" msgstr "" #: tools/editor/io_plugins/editor_font_import_plugin.cpp +msgid "" +"Invalid file extension.\n" +"Please use .fnt." +msgstr "" + +#: tools/editor/io_plugins/editor_font_import_plugin.cpp msgid "Can't load/process source font." msgstr "" @@ -2356,7 +2417,7 @@ msgid "Couldn't load post-import script:" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp -msgid "Invalid/broken script for post-import:" +msgid "Invalid/broken script for post-import (check console):" msgstr "" #: tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -3019,13 +3080,11 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Offset:" msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid Step:" msgstr "" @@ -3141,7 +3200,6 @@ msgstr "" #: tools/editor/plugins/canvas_item_editor_plugin.cpp #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Show Grid" msgstr "" @@ -3394,6 +3452,10 @@ msgid "MeshInstance lacks a Mesh!" msgstr "" #: tools/editor/plugins/mesh_instance_editor_plugin.cpp +msgid "Mesh has not surface to create outlines from!" +msgstr "" + +#: tools/editor/plugins/mesh_instance_editor_plugin.cpp msgid "Could not create outline!" msgstr "" @@ -3755,17 +3817,14 @@ msgid "Clear UV" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Enable Snap" msgstr "" #: tools/editor/plugins/polygon_2d_editor_plugin.cpp -#: tools/editor/plugins/texture_region_editor_plugin.cpp msgid "Grid" msgstr "" @@ -4601,17 +4660,43 @@ msgid "StyleBox Preview:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Texture Region Editor" +msgid "Snap Mode:" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "Scale Region Editor" +msgid "<None>" msgstr "" #: tools/editor/plugins/texture_region_editor_plugin.cpp -msgid "" -"No texture in this node.\n" -"Set a texture to be able to edit region." +msgid "Pixel Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Grid Snap" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Auto Slice" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Offset:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Step:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Separation:" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region" +msgstr "" + +#: tools/editor/plugins/texture_region_editor_plugin.cpp +msgid "Texture Region Editor" msgstr "" #: tools/editor/plugins/theme_editor_plugin.cpp @@ -5673,31 +5758,27 @@ msgid "Error duplicating scene to save it." msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "New Scene Root" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp -msgid "Inherit Scene" +msgid "Edit Groups" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Add Child Node" +msgid "Edit Connections" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Instance Child Scene" +msgid "Delete Node(s)" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Change Type" +msgid "Add Child Node" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Groups" +msgid "Instance Child Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Edit Connections" +msgid "Change Type" msgstr "" #: tools/editor/scene_tree_dock.cpp @@ -5713,10 +5794,6 @@ msgid "Save Branch as Scene" msgstr "" #: tools/editor/scene_tree_dock.cpp -msgid "Delete Node(s)" -msgstr "" - -#: tools/editor/scene_tree_dock.cpp msgid "Add/Create a New Node" msgstr "" |