Commit Graph

8600 Commits

Author SHA1 Message Date
45fc8a3b43 Add missing descriptions for Image's documentation
(cherry picked from commit e01b91777a)
2024-01-24 18:30:59 +01:00
c02fcb4ede Add missing descriptions to TextServer's constants
(cherry picked from commit d3150c9c8f)
2024-01-24 18:27:37 +01:00
57fe32f8da corrected tooltip information Roll Influence property of VehicleWheel3D
(cherry picked from commit c979d02db2)
2024-01-24 18:20:39 +01:00
c72c69379a Improve RichTextLabel install_effect() documentation
(cherry picked from commit 78fff7292c)
2024-01-24 18:20:38 +01:00
0904f0affd Remove pointer to deprecated class page, from Skeleton3D
SkeletonIK3D is now deprecated, but Skeleton3D is recommending looking into its use for complicated inverse kinematics. What's worse, the removed line is not perfectly clear for non-developers and people less experienced with the engine, and could still stand to be improved.

(cherry picked from commit 0e52ffeb69)
2024-01-24 18:20:38 +01:00
ab7d9578b7 Clarify PackedByteArray.decompress* limitations with external data
(cherry picked from commit 4850b866e8)
2024-01-24 18:04:32 +01:00
b3018d81c5 Clarified behavior of RayCast objects when get_collision_point() is used inside a collision shape
(cherry picked from commit 6dfec4f70d)
2024-01-24 18:00:50 +01:00
dfcd70c09f Add descpription for rendering/limits/spatial_indexer/threaded_cull_minimum_instances
(cherry picked from commit 498f46063d)
2024-01-24 18:00:49 +01:00
31
2c062f1922 Include animation.length in Animation example
The length of an Animation isn't automatically set by adding keys, and
it must be set manually. The existing example only has keys up to 0.5s,
so the default value of 1.0s may be acceptable. However, this results in
unexpected behavior for anyone who makes an animation longer than 1.0s.
Include animation.length in the example because it's important.

Also, increase the key position to 2.0s so it won't be confusing that
the assignment is somewhat redundant.

(cherry picked from commit 698c67d540)
2024-01-24 18:00:49 +01:00
5ffc22b06f Add missing descriptions to PrimitiveMesh and SoftBody3D
(cherry picked from commit a33777d49d)
2024-01-24 18:00:49 +01:00
87798576f0 Improve documentation for CameraAttributesPhysical.exposure_shutter_speed
(cherry picked from commit b7b0022c7a)
2024-01-23 20:22:00 +01:00
da200b99c9 Improve and clarify texture filtering documentation
- Mention the Use Nearest Mipmap Filter project setting.
- Fix nearest mipmap claiming to always use bilinear filtering
  (it uses trilinear filtering by default, like linear mipmap).

(cherry picked from commit 47cadda3ad)
2024-01-23 20:22:00 +01:00
98cfa8bcf2 VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.

(cherry picked from commit 7d0c561e02)
2024-01-23 20:22:00 +01:00
2ff7b6c830 Specify the behaviour of get_tree when the node is not in the scene tree
(cherry picked from commit ee9c8cb296)
2024-01-23 20:00:34 +01:00
9c82571dd6 Fill out Material documentation and clarify render_priority and next_pass sorting
(cherry picked from commit 6a663959a6)
2024-01-23 20:00:23 +01:00
b468496700 Don't apply frame delay project setting to the editor
This appears to already be the case for the Max FPS project setting.

(cherry picked from commit a63556212d)
2024-01-23 19:15:02 +01:00
b3b9342bf1 Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement
(cherry picked from commit 3c82f4a371)
2024-01-23 19:15:02 +01:00
0a7af396c4 Fix missing arrows in integer vector properties
(cherry picked from commit aff49d3a76)
2024-01-23 19:09:45 +01:00
e63a7215bb Update add_submenu doc to mention that submenu should already exist
(cherry picked from commit 34c27021e0)
2024-01-23 17:42:36 +01:00
95ca8e0365 Add an example for Dictionary.merge(), mention lack of recursion
(cherry picked from commit 0396e12a47)
2024-01-23 17:38:48 +01:00
06d8262b57 doc: Fix typo in ConcavePolygonShape2D/3D description
(cherry picked from commit 0573122605)
2024-01-23 17:32:49 +01:00
f247ffef54 Clarify NOTIFICATION_SCROLL_BEGIN/END behavior
Documents that these notifications are only sent for touch events.

(cherry picked from commit 44f62a4f97)
2024-01-23 16:54:02 +01:00
5470eb5894 Fix description of Animation::copy_track
The documentation stated the track was added to this, instead of
`to_animation`

(cherry picked from commit 9d23956b28)
2024-01-23 16:44:36 +01:00
39271362c3 Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317)
2024-01-16 17:17:29 +01:00
d73b76da02 Fix Object class C# syntax error
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
(cherry picked from commit 74efbde7df)
2023-10-24 20:10:49 +02:00
f2dd4086b7 Change return type of "_Set" method in csharp code example
Add "return false" to GDScript code example of _Set method

(cherry picked from commit 458cb99966)
2023-10-24 20:10:49 +02:00
7f2ebc2389 Fix _set example
(cherry picked from commit 90160eff80)
2023-10-24 20:10:49 +02:00
15eaeddfbf Fix RefCounted.unreference() documentation providing wrong info.
(cherry picked from commit 098c445f75)
2023-10-24 19:00:16 +02:00
61374c7794 Clarify difference between surface material and surface override material
(cherry picked from commit f4fd6d0d99)
2023-10-24 18:17:01 +02:00
78713a427c fix incorrect GL format code for 16 bit float formats
For FORMAT_XXXH half-precision format constants, the description uses GL_XXX32F, which is incorrect.
This fixes it to GL_XXX16F to align with the intended precision.

(cherry picked from commit 4a2de1e17a)
2023-10-24 16:52:59 +02:00
d69359fa92 Fix description of dock slot usage in the documentation
(cherry picked from commit 6cdf5eff21)
2023-10-24 16:52:00 +02:00
90b8a2ae8c Add missing YEN, SECTION and OPENURL names to keycode mappings
(cherry picked from commit 8908ac4e6e)
2023-10-24 16:07:42 +02:00
3c84e5a947 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).

(cherry picked from commit 0897a795c3)
2023-10-24 16:07:42 +02:00
ca6fba87de Add missing RenderingDevice method descriptions
(cherry picked from commit bd4d43023d)
2023-10-24 16:06:28 +02:00
cfd8b3cd9b 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>
(cherry picked from commit adb0d0ea58)
2023-10-24 16:06:28 +02:00
1c0ffdaa87 Document mouse-picking limit of 64 objects
(cherry picked from commit 765da0a365)
2023-10-24 16:05:00 +02:00
60b432a1f0 Updated C# example for method AddPropertyInfo
(cherry picked from commit 694f280acd)
2023-10-24 16:04:59 +02:00
67e1849bd4 Add missing tutorials to documentation classes
(cherry picked from commit 469c462b76)
2023-10-19 21:59:32 +02:00
2e39550306 Fix empty XML tag doc in XMLParser.xml
Fix doc to show how an empty XML tag is appropiately closed.

(cherry picked from commit 3fdca75365)
2023-10-19 21:45:12 +02:00
7773e1ed96 docs: fix link to two's complement wiki page
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
(cherry picked from commit f000be3237)
2023-10-19 21:45:12 +02:00
bede7fa0d8 Fix get_method from named lambda
(cherry picked from commit 793cc080cb)
2023-10-19 21:45:12 +02:00
7fa44784f8 Add description for SoftBody3D linear_stiffness property
(cherry picked from commit 7ca6e94c36)
2023-10-19 21:45:11 +02:00
06f6ef8fca Fix wrong example output of float*Color in classref
(cherry picked from commit 54f26c66ab)
2023-10-19 21:21:02 +02:00
cf1674c423 Initialize MSDF parameters in BaseMaterial3D with default
(cherry picked from commit d275a7487d)
2023-10-19 21:17:46 +02:00
8fab0ff848 Add detail to NavigationAgent signal descriptions
Adds detail to NavigationAgent signal descriptions.

(cherry picked from commit 99e70ab6ef)
2023-10-19 21:06:12 +02:00
f7d1f9e25b Improve and clarify paused Tweens
(cherry picked from commit dbecf8bd1a)
2023-10-19 21:06:11 +02:00
77f6d00ad8 Updated Deprecated Method in C# Example Size to Region
(cherry picked from commit 5b3f14cc82)
2023-10-19 21:06:11 +02:00
c8bd1259af Allow using floating-point bone sizes and outline widths in the 2D editor
This is useful when animating pixel art sprites in the 2D editor,
as a value of `1` is often too large when zoomed in.

(cherry picked from commit a39190a18f)
2023-10-19 21:06:11 +02:00
aae20e5b10 Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303.

Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>

(cherry picked from commit faaf27f284)
2023-10-03 20:45:35 +02:00
6b37ad40d7 Web: Disable raycast module by default (no occlusion culling)
This means no CPU occlusion culling (and not compiling Embree), unless
you compile custom export templates with `module_raycast_enabled=yes`.

This reduces the memory footprint significantly, and binary size.

Fixes #70621.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit 8c40edf8c0)
2023-10-03 20:45:35 +02:00