Commit Graph

492 Commits

Author SHA1 Message Date
lawnjelly
4f1f6633e1 Fix Viewport interpolation mode
Viewport interpolation mode is a special case, which should be set to ON instead of INHERIT.
2024-07-14 08:40:21 +02:00
lawnjelly
d249ee0624 ImageTexture - document workaround for mipmap generation 2024-07-14 08:16:39 +02:00
Charlie Burnham
8eaeba938b Backport fix documentation about body_shape_index 2024-07-14 07:45:18 +02:00
1b14af3a98 Moved the y_sort property from YSort to Node2D. Node2d has it off by default while YSort has it on by default. 2024-05-10 17:23:52 +02:00
6783cb92ab Re-extracted class docs. 2024-04-26 17:32:25 +02:00
5d190f21d6 Re-extracted class docs. 2024-04-21 15:39:49 +02:00
a5c71c5ffd Class docs for ORMSpatialMaterial. 2024-04-21 15:33:20 +02:00
ed224298e5 Also add is_zero_approx() to Vector4. 2024-04-14 16:59:12 +02:00
Haoyu Qiu
441bb29fd3 Add is_zero_approx methods to Vector{2,3} 2024-04-14 16:44:38 +02:00
Haoyu Qiu
1d18b076de Add Node.is_node_ready 2024-04-14 16:35:04 +02:00
8648a32667 Backported from Godot4: Expose TileMapLayer
- groud
3cd4b2859c
2024-04-06 18:35:58 +02:00
bruvzg
620b30a86a Backport locale selection improvements. 2024-04-06 12:37:02 +02:00
Aleksey Kapustyanenko
11cdb79005 Rotary input for 3.x 2024-04-06 12:20:05 +02:00
lawnjelly
909acac329 Discrete Level of Detail
Add scene side discrete level of detail.

New node `LOD` for UI, and `LODManager` within `World` for automatically updating child visibilities based on distance from cameras.
2024-04-06 12:06:01 +02:00
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
275a9124de Work on layered tile maps. 2024-03-03 09:39:24 +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
Mikael Klasson
6fa76aca7e Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317e592db86603ae14a72fe0a96a3f538)
2024-02-08 15:20:50 +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