Commit Graph

466 Commits

Author SHA1 Message Date
SysError99
487b454506 Add a get_or_add method to Dictionary
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-04-06 10:46:31 +02:00
a2d07caf93 Small doc tweak. 2024-03-27 16:14:42 +01:00
fd1f8aa5d7 Update docs for the vertex lights 3d module. 2024-03-27 16:12:15 +01:00
e1fcf610e6 Small tweaks to docs. 2024-03-27 09:14:58 +01:00
cd8f79865e Added a property to World2D for the vertex light 2d map. 2024-03-27 08:16:48 +01:00
a58eba6277 Re-extracted class docs. 2024-03-27 08:06:09 +01:00
26ca3d7235 Added VertexLight2D Node. 2024-03-24 21:45:06 +01:00
66a2d798b3 Implemented api and data storage for the VertexLights2D singleton. 2024-03-24 20:57:35 +01:00
f3745546c1 Re-extracted class docs. 2024-03-17 22:48:15 +01:00
053b283c47 Reworked RendetingServer's canvas_item_add_texture_rect_animation's last parameter. Now instead of bool randomize_start_time it's real start_time. This should make it more versatile. 2024-03-12 17:52:12 +01:00
105115dbb3 Removed clips_input() method and _clips_input() virtual method from Control. Made clip_contents to also have an input clipping effect, since I couldn't think any single instance where keeping them separated would be useful.
This fixes LayeredTileMap's editors clipping input while being invisible, and likely other smaller issues.
2024-03-12 17:29:22 +01:00
765a8ded6a Re-extracted class docs. 2024-03-11 21:09:47 +01:00
588b50e9ce Added randomize_start_time optional parameter to canvas_item_add_texture_rect_animation(). 2024-03-11 20:53:05 +01:00
2c42753ea6 Docs for canvas_item_add_texture_rect_animation(). 2024-03-11 18:35:31 +01:00
b11bd949cc Backported from Godot4: Allow disabling scrolling in Tree.
- groud
b2dddc3c82
2024-03-11 13:46:53 +01:00
6f81a15fc0 Various doc fixes. 2024-03-10 10:10:02 +01:00
be0b5b5bdc Backported from Godot4: Implement Tabs minimum size.
- groud
898a2a7cf3
2024-03-07 21:57:49 +01:00
3e533b33bb Fix typo. 2024-03-04 21:15:00 +01:00
2b85fcdbb5 Backported ViewPanner from Godot4. It also got bindings, now inherited from Resource, and is registered in the ClassDB. 2024-03-01 22:39:19 +01:00
4adb2423d2 Added docs for String::substr_index(). 2024-02-26 11:31:45 +01:00
8c06dce33f Now PROPERTY_HINT_BUTTON adds the property's name as the called method's first parameter. 2024-02-25 22:09:25 +01:00
0edc5438dd Re-extracted class docs. 2024-02-25 10:26:26 +01:00
66c2b12fc0 Added a new method to Expression so it can be used with multiple threads simultenously. 2024-02-25 10:25:46 +01:00
a5d8696021 Ported: Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
- lawnjelly
0aa22b8f13
2024-02-08 21:35:01 +01:00
c3c6d64a50 Portred: Add MergeGroup node to simplify merging Meshes at runtime.
- lawnjelly
8b79135538
2024-02-08 21:00:07 +01:00
5d2a594843 Ported: Shadow volume culling and tighter shadow caster culling
Existing shadow caster culling using the BVH takes no account of the camera. This PR adds the highly encapsulated class VisualServerLightCuller which can cut down the casters in the shadow volume to only those which can cast shadows on the camera frustum.
This is used to:
* More accurately defer dirty updates to shadows when the shadow volume does not intersect the camera frustum.
* Tighter cull shadow casters to the view frustum.
Lights dirty state is now automatically managed:
* Continuous (tighter caster culling)
* Static (all casters are rendered)
- lawnjelly
8ca631a466
2024-02-08 18:40:44 +01:00
lawnjelly
f09cdf5954 Portals - include in bound and special cases in start room
* Re-introduces a property for portals to decide whether they are included in room bounds during room conversion.
* Adds a special case for portals that extend into the start room, which may be caused by level design inaccuracies.
2024-02-08 15:10:00 +01:00
Rémi Verschelde
b44ee23cee Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.

Fixes #82439.

(cherry picked from commit 0a10f09ce4321695940a626eef9c64b36f599193)
2024-02-08 15:05:20 +01:00
Micky
e53dcc1432 Mention InputEventJoypadButton's pressure not working 2024-02-08 14:57:01 +01:00
Zach Coleman
92a8e047e0 Add APP_PAUSED and APP_RESUMED MainLoop notifications 2024-02-08 14:49:18 +01:00
kleonc
b952bfcc36 Document some Image methods can unlock it (making set_pixel fail) 2024-02-08 14:47:00 +01:00
Micky
fa226ade2a Rewrite most of Resource's documentation 2024-02-08 14:35:34 +01:00
Cody Roberts
eb8ca6d2ed Add project settings for AVAudioSessionCategory on iOS
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2024-02-08 14:06:59 +01:00
DylanCheetah
d04de8ef62 Implement UWP version of OS.get_unique_id function. 2024-02-08 13:59:32 +01:00
bef218d7e4 Fix some of the missing docs for String. 2024-01-10 20:11:04 +01:00
2f53a26f36 Re-extracted class docs. 2023-12-25 20:20:30 +01:00
db08e3c8b9 Re-extracted class docs. 2023-12-23 00:54:40 +01:00
0d6f38b317 Re-extracted class docs. 2023-12-22 19:49:04 +01:00
cf76e6debf Fix the doc descriptions where they got lost due to adding StringName to Variants. Also fixed smaller issues where I ran into them. 2023-12-21 00:48:25 +01:00
Fredia Huya-Kouadio
6713693291 Add Android project settings for gesture support
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-12-20 23:08:39 +01:00
0146de37da Initial docs for the WindowServer. 2023-12-12 14:55:38 +01:00
2c78ecad0f Re-extracted docs for PLogger. 2023-12-12 14:52:01 +01:00
4628e5354e Reworked the wide mode setting for the filesystem dock. Now the code is more flexible and less error prone. 2023-10-20 17:02:41 +02:00
3b8f836a41 Re-extracted class docs. 2023-10-20 15:06:38 +02:00
2e7709185a Added a new CSplitContainer type which acts as both a VSplitContainer and HSplitContainer and allows changing between them using a property. 2023-10-20 15:06:23 +02:00
e6ee1f0c0f Added a new CBoxContainer type which acts as both a VBoxContainer and HBoxContainer and allows changing between them using a property. 2023-10-20 13:44:43 +02:00
a2f1f2925f Added docs for the 2 new editor properties. 2023-10-12 02:12:20 +02:00
93a2081a58 Re-extracted class docs. 2023-10-12 01:59:32 +02:00
b4692f1763 Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
59ae5c4662 Ported from godot: add support for 3 dir shadow splits
- Ansraer
54bc6a300e
2023-10-02 18:12:54 +02:00