Commit graph

8037 commits

Author SHA1 Message Date
Aaron Franke
6f7eccc758
Add a type conversion method to Variant Utility and expose to scripting 2023-09-08 10:12:48 -05:00
Rémi Verschelde
b4cf5c51ca
Merge pull request #81445 from timothyqiu/default-layout
Fix description of dock slot usage in the documentation
2023-09-08 11:54:25 +02:00
Haoyu Qiu
6cdf5eff21 Fix description of dock slot usage in the documentation 2023-09-08 17:52:15 +08:00
Rémi Verschelde
b39303abae
Merge pull request #81430 from aaronfranke/export-platform-os-name
Expose `EditorExportPlatform::get_os_name()`
2023-09-08 11:50:46 +02:00
Rémi Verschelde
6c4266271d
Merge pull request #67082 from Mickeon/resource-screw-you-setup-local-to-scene
Deprecate Resource.`setup_local_to_scene`
2023-09-08 11:50:37 +02:00
Aaron Franke
c1c0ee3faf
Expose EditorExportPlatform::get_os_name() 2023-09-07 12:28:09 -05:00
Hendrik Brucker
5afe78bd9c Clean up/refactor GraphNode and make it more flexible
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.

So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
Micky
0af2467029 Unexpose Resource.setup_local_to_scene
Good riddance.

Also modifies a note in ViewportTexture
2023-09-06 23:38:42 +02:00
Yuri Sizov
16957fd35b Merge pull request #81286 from lemilonkh/unshaded-materials-ignore-fog
Implement render mode `fog_disabled` and BaseMaterial3D setting Disable Fog
2023-09-06 14:49:16 +02:00
Milan Gruner
45a33cc749 Implement render mode fog_disabled and BaseMaterial3D setting Disable Fog 2023-09-05 18:15:02 +02:00
Haoyu Qiu
4675e047bb Fix unmatched brackets in the documentation 2023-09-05 15:57:39 +08:00
Rémi Verschelde
f05c7f6d68
Merge pull request #81239 from Malcolmnixon/xr-tracking-signals
Add XR tracking state-change signals
2023-09-04 09:08:59 +02:00
Rémi Verschelde
dd4fae6162
Merge pull request #74809 from Chaosus/completion_color_xyzw
Add coloring for completion of vector components
2023-09-04 09:06:57 +02:00
Malcolm Nixon
22de1b31b5 Added XR tracking-state change signals
Add "pose_lost_tracking" signal to XRPositionalTracker.
Add "tracking_changed" signal to XRNode3D.
2023-09-03 12:17:16 -04:00
Rémi Verschelde
7dc14db283
Merge pull request #81232 from wlsnmrk/lineedit-reference-typos
Fix typos in LineEdit documentation
2023-09-02 14:32:10 +02:00
Rémi Verschelde
b842c73acc
Merge pull request #81228 from raulsntos/docs/code_to_constants
Use `[constant]` instead of `[code]` when possible
2023-09-02 14:31:46 +02:00
Rémi Verschelde
865879faf9
Merge pull request #81227 from raulsntos/docs/int
Fix int's C# documentation
2023-09-02 14:31:23 +02:00
Rémi Verschelde
f383249f6f
Merge pull request #81212 from mateuseap/fix/meshDataToolClassReference
Fix misleading description of `MeshDataTool.get_vertex()` method
2023-09-02 14:31:00 +02:00
Mark Wilson
5f9d5a0cea Docs: Fix typos for LineEdit reference 2023-09-01 12:22:10 -04:00
Raul Santos
0897a795c3
Fix int's C# documentation
- There's no implicit conversion from `double` to `int`, a cast was missing.
- The example about literals in GDScript also applies to C# (with the same syntax even).
2023-09-01 17:00:09 +02:00
Raul Santos
03add1f6d8
Use [constant] instead of [code] when possible 2023-09-01 16:57:53 +02:00
Rémi Verschelde
e3522e0d85
Merge pull request #81190 from timothyqiu/nav-agent-3d-doc
Fix typos in NavigationAgent3D documentation
2023-09-01 16:02:59 +02:00
Rémi Verschelde
fa3072f625
Merge pull request #81087 from mateuseap/docs/tweenClassReference
Add a note about `SceneTree.create_tween()` method
2023-09-01 16:01:47 +02:00
Mateus Elias
fe45774f59 Fix misleading description of MeshDataTool.get_vertex() method 2023-08-31 21:13:34 -03:00
Jcrespo
528a76486c Add inverse hyperbolic functions asinh(), acosh() & atanh()
GDScript has the following built-in trigonometry functions:

- `sin()`
- `cos()`
- `tan()`
- `asin()`
- `acos()`
- `atan()`
- `atan()`
- `sinh()`
- `cosh()`
- `tanh()`

However, it lacks the hyperbolic arc (also known as inverse
hyperbolic) functions:

- `asinh()`
- `acosh()`
- `atanh()`

Implement them by just exposing the C++ Math library, but clamping
its values to the closest real defined value.
For the cosine, clamp input values lower than 1 to 1.
In the case of the tangent, where the limit value is infinite,
clamp it to -inf or +inf.

References #78377
Fixes godotengine/godot-proposals#7110
2023-09-01 01:27:56 +02:00
Mateus Elias
5030549c7b Add a note about create_tween() method of SceneTree class
Add note regarding SceneTree.create_tween() method behavior.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-08-31 17:50:15 -03:00
Haoyu Qiu
2fcfe99059 Fix typos in NavigationAgent3D documentation 2023-08-31 17:30:19 +08:00
Yuri Rubinsky
35802374ac Add coloring for completion of vector components 2023-08-30 21:13:25 +03:00
Rémi Verschelde
d4465dbef4
Merge pull request #81084 from MewPurPur/improve-line2d-docs
Improve Line2D documentation
2023-08-30 08:46:15 +02:00
Rémi Verschelde
cfe9cd5cae
Merge pull request #81126 from clayjohn/revert-dds-runtime
Revert "Implement loading DDS textures at run-time"
2023-08-29 18:42:56 +02:00
AcatXIo
45aa5bfe3c Grammatical improvements for the RayCast 2D and 3D class references. 2023-08-29 16:33:45 +02:00
Rémi Verschelde
922689c801
Merge pull request #81127 from KoBeWi/errors_begone
Prevent errors if Tween callback's object is freed
2023-08-29 15:07:35 +02:00
Rémi Verschelde
76bc5a6554
Merge pull request #80859 from KoBeWi/prepare_for_action_and_make_it_double
Fix action state when multiple events are assigned
2023-08-29 15:06:02 +02:00
kobewi
598d9972c8 Prevent errors if Tween callback's object is freed 2023-08-29 14:50:53 +02:00
clayjohn
0045dc204c Revert "Implement loading DDS textures at run-time"
This reverts commit 34ab1c8a36.
2023-08-29 14:25:16 +02:00
MewPurPur
39f50da2ca Improve Line2D documentation 2023-08-29 15:02:26 +03:00
Rémi Verschelde
247c3548d8
Merge pull request #81097 from AcatXIo/grammar-enhancements
Some grammar and punctuation enhancements in the class reference.
2023-08-29 12:48:42 +02:00
Rémi Verschelde
8dfd9d39a6
Merge pull request #81093 from mateuseap/docs/objectClassReference
Improve `Object.get_property_list()` method description
2023-08-29 12:48:19 +02:00
Rémi Verschelde
c52c830c9f
Merge pull request #81088 from mateuseap/docs/meshDataToolClassReference
Improve `MeshDataTool.get_face_vertex()` method description
2023-08-29 12:47:31 +02:00
Rémi Verschelde
f061200405
Merge pull request #80997 from MewPurPur/improve-xml-parser-docs
Improve XMLParser's documentation
2023-08-29 12:45:09 +02:00
Rémi Verschelde
bec94a6210
Merge pull request #80716 from ARez2/add-rd-method-descriptions
Add missing RenderingDevice method descriptions
2023-08-29 12:44:21 +02:00
Rémi Verschelde
4b69e8be85
Merge pull request #80688 from DarioSamo/gpu-particles-motion-vectors
Add motion vector support for GPU 3D Particles
2023-08-29 12:43:58 +02:00
Rémi Verschelde
76d318dbd1
Merge pull request #75778 from KoBeWi/_vp
Expose `_validate_property()` for scripting
2023-08-29 12:41:27 +02:00
Rémi Verschelde
91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
ARez
bd4d43023d Add missing RenderingDevice method descriptions 2023-08-29 12:32:29 +02:00
Mateus Elias
6020e34757 Improve Object.get_property_list() method description 2023-08-29 07:11:11 -03:00
Mateus Elias
adb0d0ea58 Improve MeshDataTool.get_face_vertex() method description
Improve MeshDataTool.get_face_vertex() method description and also add an example code.

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-29 05:27:04 -03:00
AcatXIo
637f10a3cd Some grammar and punctuation enhancements in the class reference. 2023-08-28 21:32:37 +02:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00