summaryrefslogtreecommitdiff
path: root/doc/classes/@GlobalScope.xml
AgeCommit message (Collapse)Author
2022-12-15[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.bruvzg
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-05Refactor baking code for Curve2DYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem.
2022-12-02Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/PlayerSilc Renew
#69357
2022-11-24Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24Merge pull request #68806 from MewPurPur/printraw-warn-better-in-docsRémi Verschelde
Make it clearer that printraw only prints to terminal
2022-11-24Make it clearer that printraw only prints to terminalVolTer
2022-11-24Refactor Curve3D::_bake() methodYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. Other changes are: 1. Add an bezier_derivative() method for Vector3, Vector2, and Math; 2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively; 3. Cache the tangent vectors in baked_tangent_vector_cache;
2022-11-23Merge pull request #67726 from HenryClones/integer-lerping-errorsRémi Verschelde
Add case for Variant::INT in lerp variant switch
2022-11-22Add case for Variant::INT in lerp variant switchXpertice
2022-11-19Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer
2022-11-15Remove `PROPERTY_HINT_IMAGE_COMPRESS` constantsMicky
These were used in 3.x but there's no reference of them in the codebase, at all.
2022-11-02Merge pull request #66747 from aaronfranke/move-euler-orderRémi Verschelde
Move EulerOrder enum to math_defs.h and global scope
2022-11-02Move EulerOrder enum to math_defs.h and global scopeAaron Franke
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #67693 from Mickeon/slight-hint-shufflingRémi Verschelde
Fix unordered values of PROPERTY_HINT_INT_IS_POINTER & ARRAY_TYPE
2022-10-27Doc consistency: "inspector" to "Inspector"Micky
Also fixes a slightly misleading comment in `Node.print_tree_pretty`.
2022-10-21Tweak `@GlobalScope` constants documentation overallMicky
General: - Replace most type names with strong references (such as "integer" to "[int]"); - Made the writing style closer to how the rest of the documentation is formatted. - Use uppercase Inspector when referring to the Inspector dock. - Describe missing MethodFlags, Variant.Type constants. Key: - Add " key." to the `KEY_0` to `KEY_9` constants; - Reword some MouseButton constants; - In a programming context, it's kind of odd hearing about the plural of "mouse". Error: - Reword OK constant to flow better, use `printerr()` over `print()`; - Describe where `ERR_HELP` is used by the engine; - Point to the Github Issues Page in ERR_BUG. PropertyHint: - Mention that PROPERTY_HINT_IMAGE_COMPRESS_LOSSY and PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS are unused; - Mention that PROPERTY_HINT_PASSWORD allows a placeholder string. - Describe PROPERTY_HINT_OBJECT_TOO_BIG, PROPERTY_HINT_MAX. PropertyUsageFlags: - Describe PROPERTY_USAGE_HIGH_END_GFX, PROPERTY_USAGE_ARRAY.
2022-10-21Merge pull request #67072 from Mickeon/uh-oh-stinkyMax Hilbrunner
Rewrite most of Resource's documentation
2022-10-21Merge pull request #67656 from MewPurPur/instance🧹Max Hilbrunner
Fix minor mistakes throughout the documentation
2022-10-21Fix unordered values of PROPERTY_HINT_INT_IS_POINTER & ARRAY_TYPEMicky
2022-10-21Fix small mistakes throughout much of the documentationVolTer
2022-10-19Merge pull request #67001 from KoBeWi/🎲Max Hilbrunner
Fill random docs
2022-10-19Merge pull request #67208 from Mickeon/doc-peeves-the-peeveningMax Hilbrunner
Tweak `@GlobalScope` functions documentation overall
2022-10-18Rewrite most of Resource's documentationMicky
2022-10-18Tweak `@GlobalScope` functions documentation overallMicky
Generally: - Made use of [param] more frequently; - Link to other classes' documentation more often; - Improve and add more examples; - Ensure that multiple comments of an codeblock example are spaced out equally for better readability; - Made the writing style closer to how the rest of the documentation is formatted; - Ensure these are called "functions", not "methods". - Fixed a few typos. - Touched up a few cases of zero being written as "zero" or "0" where "0" or "0.0" would be more appropriate. - Removed mentions of "(real)". In 3.x, this was associated with floats, because TYPE_FLOAT was called TYPE_REAL. More specifically: - Every type-safe version of a function (such as `ceili` has a consistent final note ("A type-safe version of [method ceil], returning a [int]"). - Added more details to `randomize`, `seed`. - Corrected `floori()`'s description. It's not the same as `int()`. This was not correct behavior and has been fixed.
2022-10-11Merge pull request #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-10-08Remove leading spaces from enumerator name hintsHaoyu Qiu
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as a comma separated list. There're a few properties that add leading spaces to the names (e.g. `First, Second, Third`). These spaces are included in the Inspector dropdown, which is unexpected. It's better to leave the surrounding spaces untouched because it could be part of the resulting string value (the variable is a string enum). And most other enum hints don't contain surrounding whitespaces. This PR removes the spaces and documents this `PROPERTY_HINT_ENUM` behavior.
2022-10-07Fill random docskobewi
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05Describe the left mouse button constant as the primary buttonHaoyu Qiu
2022-10-03Fix hide_slider vs no_slider inconsistency in editor property codeAaron Franke
2022-09-28Expose `PROPERTY_USAGE_READ_ONLY`Marc Gilleron
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-07Expose registration of physics servers to GDExtensionRicardo Buring
This exposes PhysicsServer2DManager and PhysicsServer3DManager.
2022-09-07Merge pull request #65239 from Geequlim/js2webFabio Alessandrelli
Rename JavaScript singleton to JavaScriptBridge
2022-09-06Rename `range_lerp` to `remap`Micky
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-09-02Rename JavaScript singleton to JavaScriptBridgeGeequlim
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-27Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-26[macOS export] Simplify code signing options, add support for rcodesign tool ↵bruvzg
for signing and notarization.
2022-08-24Merge pull request #64691 from TokageItLab/Quaternion-editorRémi Verschelde
2022-08-24Implement Quaternion EditorSilc Renew
2022-08-24Remove VisualScript module for 4.0Rémi Verschelde
As announced in https://godotengine.org/article/godot-4-will-discontinue-visual-scripting, Godot maintainers have agreed to discontinue the current implementation of our VisualScript language. The way it had been designed was not user-friendly enough and we did not succeed in improving its usability to actually make it a good low-code solution for users who need one. So we prefer to remove it for Godot 4.0 and leave the door open for new, innovative ideas around visual scripting, to be developed as plugins or extensions now that Godot provides sufficient functionality for this (notably via GDExtension and the godot-cpp C++ bindings). The current module has been moved to a dedicated repository (with full Git history extracted with `git filter-branch`): https://github.com/godotengine/godot-visual-script It can still be compiled as a C++ module (for now, but will likely require work to be kept in sync with the engine repository), but our hope is that contributors will port it to GDExtension (which is quite compatibile with the existing C++ module code when using the godot-cpp C++ bindings).