arkology
6c38824d03
Document radial_center_offset bounds
2024-11-23 20:40:00 +03:00
Pāvels Nadtočajevs
e9b57fce82
Convert line breaks to `\n` and strip line break from the end of string returned by `OS::read_string_from_stdin`/`OS::get_stdin_string`.
2024-11-23 15:11:50 +02:00
Thaddeus Crews
7faad0cc7a
Merge pull request #97388 from tetrapod00/visualshader-linear-srgb
...
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-11-22 14:54:47 -06:00
Thaddeus Crews
ea3154a0d4
Merge pull request #99424 from dalexeev/core-fix-builtin-enum-const-binds
...
Core: Fix built-in enum constant bindings
2024-11-22 14:54:31 -06:00
Thaddeus Crews
37305e40bc
Merge pull request #95711 from TokageItLab/warn-oneshot-prop
...
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Thaddeus Crews
a0211b0f2e
Merge pull request #99533 from crei0/look_at_modifier3d_documentation_data_typos
...
Fix wording in `LookAtModifier3D` docs
2024-11-22 14:54:27 -06:00
Thaddeus Crews
fe1c044c73
Merge pull request #99394 from TokageItLab/root-local
...
Add `root_motion_local` option to AnimationMixer to pre-multiply root motion rotation accumulator before blending
2024-11-22 14:54:24 -06:00
Thaddeus Crews
336eeda6f8
Merge pull request #99521 from mechalynx/update-packedarray-class-descriptions
...
Correct PackedInt64Array comparison in description
2024-11-22 14:54:23 -06:00
Thaddeus Crews
c35e4c41d2
Merge pull request #97716 from pafuent/add_half_precision_floating_point_to_stream_peer
...
Add half precision floating point support to `StreamPeer` and `FileAccess`
2024-11-22 14:54:19 -06:00
Thaddeus Crews
47f3e95308
Merge pull request #99352 from Mickeon/documentation-aabb-coords-are-complicated
...
Fix incorrect Z direction for AABB's position
2024-11-22 14:54:12 -06:00
Thaddeus Crews
0430b977b6
Merge pull request #99348 from TokageItLab/explicit_elapse
...
Add `explicit_elapse` option to AnimationNodeTimeSeek to handle some processes
2024-11-22 14:54:11 -06:00
Micky
e0b13004a0
Fix incorrect Z direction for AABB's position
2024-11-22 20:25:50 +01:00
vPumpking
0542bccee0
Improve space management for EditorFileDialog
...
Move buttons related to the file view on the container above so that they take less horizontal space and make search bar similar to the one in FileDialog
2024-11-22 18:59:03 +01:00
André Guedes
e1fa489f77
Fix wording in LookAtModifier3D docs
2024-11-22 13:15:55 +01:00
Danil Alexeev
03b05cf9ac
Core: Fix built-in enum constant bindings
2024-11-22 14:03:21 +03:00
mechalynx
acf351fa6a
Update PackedVector4Array description to include explanation shared by PackedArray classes
2024-11-22 07:12:56 +02:00
mechalynx
133cf62d26
Correct PackedInt64Array comparison in description
...
All Packed classes that have the same paragraph will compare the currently viewed Packed array type with the equivalent typed Array but here the comparison was with the Int32 version instead of the Int64 version
2024-11-22 06:23:06 +02:00
Thaddeus Crews
f952bfe998
Merge pull request #98972 from dbnicholson/standardize-add-defaults
...
Expose `TranslationServer::standardize_locale` `add_default` param publicly
2024-11-21 17:57:01 -06:00
Thaddeus Crews
0d8352bd96
Merge pull request #99511 from Mickeon/documentation-audio-stream-typo
...
Fix typo in AudioStream's documentation
2024-11-21 17:57:00 -06:00
Thaddeus Crews
d967befc42
Merge pull request #99465 from aaronfranke/arch-bit-has-feature
...
Suggest using OS.has_feature instead of the engine architecture name for bitness
2024-11-21 17:56:49 -06:00
Thaddeus Crews
0eca686191
Merge pull request #99270 from Sauermann/fix-svc-drop-config
...
Introduce a `SubViewportContainer` config for drag-and-drop target locations
2024-11-21 17:56:48 -06:00
Thaddeus Crews
1117d91704
Merge pull request #99200 from KingTheFifth/master
...
Document `AudioStreamPlayer.get_playback_position()` intentionally aways returning `0.0` when using `AudioStreamInteractive`
2024-11-21 17:56:43 -06:00
Dan Nicholson
6f4fadf65d
Expose standardize_locale add_default param publicly
...
Comparing locales can have surprising outcomes since it standardizes
locales with defaults. For example, zh and zh_CN result in an exact
match since the defaults change them both to zh_Hans_CN. Expose the
add_default parameter publicly with a default of false so the fully
standardized locale can be inspected.
2024-11-21 16:50:31 -07:00
Micky
429ea1c8e3
Fix typo in AudioStream's documentation
2024-11-21 21:33:55 +01:00
Aaron Franke
f4c1f89add
Suggest using OS.has_feature instead of the engine architecture name for bitness
2024-11-20 06:33:28 -08:00
Silc Lizard (Tokage) Renew
9ab94df772
Add explicit_elapse option to NodeSeek to handle some processes
2024-11-20 22:51:27 +09:00
Hugo Locurcio
0cf99cf95d
Add a Viewport method to get automatically computed 2D stretch transform
...
`Viewport.get_stretch_transform()` returns the automatically computed
2D stretch transform. Combined with `Transform2D.get_scale()`, this is
useful when using the `canvas_items` stretch mode in a project.
There are many situations where knowing this factor is useful:
- Divide Camera2D zoom to keep the size of the 2D game world identical
regardless of the 2D scale factor (so that UI elements can still be scaled).
- Make certain controls always drawn at 1:1 scale
(e.g. for the crosshair in a FPS). This is done by dividing the Control
node's scale by the scale factor.
2024-11-19 23:11:13 +01:00
Markus Sauermann
117158d271
Introduce a `SubViewportContainer` config for drag-and-drop targets
...
With the drag-and-drop rewrite, `SubViewportContainer` nodes were no
longer available as drop-locations.
This PR introduces a configuration option, that allows
`SubViewportContainer` to be considered as drop-location, but disables the
`Control` nodes inside its `SubViewport` children as drop-location.
2024-11-19 23:06:41 +01:00
Johannes Kung
3ab88c2e6a
Document `AudioStreamPlayer.get_playback_position()` intentionally always returning `0.0` when using `AudioStreamInteractive`
2024-11-19 22:21:30 +01:00
Thaddeus Crews
e4dbba94d9
Merge pull request #99324 from TokageItLab/fix-fpe-spinner
...
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-19 15:20:10 -06:00
ntlblpm
086d1ea2ac
Update FileAccess.xml
2024-11-19 03:45:03 -05:00
Silc Lizard (Tokage) Renew
755bcf4737
Add root_motion_local option to AnimationMixer
2024-11-19 08:25:31 +09:00
Thaddeus Crews
fd4c29a189
Merge pull request #98683 from clayjohn/wireframe
...
Ensure shadow material and mesh are not used with wireframe mode
2024-11-18 09:23:54 -06:00
Thaddeus Crews
cf541f0997
Merge pull request #97656 from kitbdev/doc-textedit-improve
...
Improve TextEdit and CodeEdit documentation
2024-11-18 09:23:53 -06:00
Thaddeus Crews
0a50cef751
Merge pull request #98788 from Bonkahe/master
...
Add `multimesh_get_buffer_rd_rid` method to `RenderingServer`.
2024-11-18 09:23:46 -06:00
Thaddeus Crews
8e324c4589
Merge pull request #86195 from GreenCrowDev/curve3d_close
...
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 -06:00
Thaddeus Crews
d72112ba0a
Merge pull request #98816 from arkology/to-infinity-and-beyond
...
Improve `TextureProgressBar.set_radial_initial_angle()` by removing loops
2024-11-18 09:23:28 -06:00
Silc Lizard (Tokage) Renew
f5b49af99f
Add RetargetModifier3D for realtime retarget to keep original rest
2024-11-18 22:44:55 +09:00
clayjohn
90b4b48b5a
Ensure shadow material and mesh are not used with wireframe mode
...
And in the Compatibility renderer actually use the wireframe render mode
2024-11-16 22:25:00 -08:00
Silc Lizard (Tokage) Renew
e283fdfb59
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-17 01:54:06 +09:00
matricola787
790efbb783
Implement closed path for Curve3d
2024-11-16 12:59:08 +01:00
Thaddeus Crews
e9ce3932b3
Merge pull request #98099 from dalexeev/pot-gen-add-comment-support
...
POT Generator: Add support for `TRANSLATORS:` and `NO_TRANSLATE` comments
2024-11-15 10:42:45 -06:00
Thaddeus Crews
1d5c589e71
Merge pull request #99212 from CW-Jesse/patch-1
...
Describe edge cases for `DisplayServer.get_screen_from_rect()`
2024-11-15 10:42:40 -06:00
Hugo Locurcio
d683ea4772
Update Z Index property location in Node2D class reference
...
The Z Index property is in CanvasItem since Godot 4.0, so it's shared among
Node2D and Control.
2024-11-15 15:02:10 +01:00
Jesse
121097db0a
[DisplayServer] [docs] Improve readability of `get_screen_from_rect()`
...
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-14 16:28:51 -08:00
kit
d467b3acb5
Improve TextEdit and CodeEdit documentation
2024-11-14 17:09:00 -05:00
David House
6e9d31f602
Implemented multimesh_get_buffer_rd_rid function into RenderingServer.
...
Fixed style error.
Updated dummy mesh_storage to move from cpp to h the return of a blank Rid on _multimesh_get_buffer_rd_rid.
2024-11-14 15:52:08 -06:00
Thaddeus Crews
673f396677
Merge pull request #99132 from BrianBHuynh/master
...
Add notes on `DirAccess` documentation
2024-11-14 14:52:04 -06:00
Thaddeus Crews
36fac3df7a
Merge pull request #75164 from Calinou/visualinstance3d-lightmap-scale-float
...
Allow more flexible adjustments of VisualInstance3D Lightmap Scale
2024-11-14 14:52:00 -06:00
Thaddeus Crews
0b2a75b995
Merge pull request #99185 from Mickeon/documentation-damn-it
...
Fix `format` description being different between String and StringName
2024-11-14 14:51:55 -06:00
arkology
d692b7bdde
Improve set_radial_initial_angle by removing loops
...
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +03:00
Hugo Locurcio
1e5f0a86ca
Allow more flexible adjustments of VisualInstance3D Lightmap Scale
...
Any floating-point value greater than 0.01 can now be used.
Prior to this change, only factors of 1×, 2× and 4× and 8× could be used.
2024-11-14 17:28:05 +01:00
bruvzg
b329b4ab06
[Label] Handle text as multiple independent paragraphs.
2024-11-14 11:29:46 +02:00
Jesse
4ba533d0b5
[DisplayServer] [docs] Describe edge cases for `get_screen_from_rect()`
...
Describes output when multiple screens intersect with rectangle or rectangle has no area.
2024-11-13 22:02:42 -08:00
Hugo Locurcio
af76a896ef
Improve documentation on `@GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE`
2024-11-14 00:05:06 +01:00
Micky
2d855f2955
Fix `format` description being different between String and StringName
2024-11-13 18:26:16 +01:00
Thaddeus Crews
1627912d11
Merge pull request #98918 from bruvzg/pck_enc_iv
...
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:34:31 -06:00
Thaddeus Crews
5d152713bb
Merge pull request #99146 from noidexe/patch-3
...
Clarify effect of setting "page" parameter in ScrollBar nodes
2024-11-13 08:34:19 -06:00
Thaddeus Crews
606f0eb02c
Merge pull request #98621 from tetrapod00/improve-project-settings-links
...
Docs: Add links to project settings
2024-11-13 08:34:05 -06:00
Thaddeus Crews
07d7d9bca5
Merge pull request #94372 from TokageItLab/advance-on-start
...
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
2024-11-13 08:33:57 -06:00
Thaddeus Crews
64ce03f261
Merge pull request #93440 from Calinou/import-size-limit-downsample-if-necessary
...
Downsample textures on import if necessary for technical reasons
2024-11-13 08:33:40 -06:00
bruvzg
45593d45b3
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:16:12 +02:00
Lisandro Lorea
21673336e6
Update doc/classes/Range.xml
...
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 20:29:04 -03:00
Lisandro Lorea
0175074bc7
Clarify effect of setting "page" parameter
...
Setting `page` affect the ScrollBar's _grabber_ length, not the ScrollBar node itself.
2024-11-12 18:22:03 -03:00
Brian Huynh
06bed7a8f2
Added notes on DirAccess
...
Some notes are ported from FileAccess (for example file_exist)
Other notes were added when needed (for example when included on the non static version but not on the static version)
Other entirely new notes were added as well when required for example when getting a list of directories or if a directory exist or not
Clarified note at the top and made it more in line with the one found in file access
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 14:29:01 -05:00
tetrapod00
5c15d346b2
Docs: Add links to project settings
2024-11-12 10:25:38 -08:00
Thaddeus Crews
646cef2ca2
Merge pull request #98680 from jaydensipe/expose-toast-notification-methods
...
Expose `get_editor_toaster` method to `EditorInterface`
2024-11-12 12:13:22 -06:00
Thaddeus Crews
aa6aa45675
Merge pull request #97373 from kitbdev/fix-splitcontainer-collapsed-doc
...
Fix SplitContainer collapsed documentation
2024-11-12 12:13:15 -06:00
Thaddeus Crews
179321a0a3
Merge pull request #91201 from bruvzg/con_type
...
[OS] Add functions to determine standard I/O device type.
2024-11-12 12:13:12 -06:00
Thaddeus Crews
f1d31304b2
Merge pull request #99002 from Mickeon/documentation-more-miscellaneous-oddities
...
Fix more miscellaneous oddities around the class reference
2024-11-12 12:13:10 -06:00
Thaddeus Crews
9309b37228
Merge pull request #97955 from RobProductions/fix-godot-nav-preset
...
Restore the original `Godot` preset zoom modifier
2024-11-12 12:13:05 -06:00
Thaddeus Crews
cc6ee3e956
Merge pull request #98713 from dalexeev/core-fix-callable-get-bound-arguments
...
Core: Fix `Callable.get_bound_arguments{,_count}()` return incorrect data
2024-11-12 12:13:04 -06:00
Thaddeus Crews
a5c5504dc2
Merge pull request #98689 from Meorge/tween-docs
...
Improve `Tween.set_ease` and `Tween.set_trans` documentation
2024-11-12 12:12:59 -06:00
Micky
eaebb3f864
Fix more miscellaneous oddities around the class reference
2024-11-12 17:44:45 +01:00
Thaddeus Crews
ab5a539549
Merge pull request #98423 from Calinou/doc-textedit-is-caret-visible
...
Clarify `TextEdit.is_caret_visible()` behavior in the class reference
2024-11-12 09:28:14 -06:00
Thaddeus Crews
686b1c4d98
Merge pull request #94326 from davidrautert/blit-rect-alpha-notes
...
Add note about alpha channels blending to `Image.blit_rect`
2024-11-12 09:28:12 -06:00
Thaddeus Crews
0f95061092
Merge pull request #98787 from Meorge/tween-docs-stop
...
Update docs for `Tween.stop` to clarify behavior
2024-11-12 09:28:06 -06:00
Thaddeus Crews
3128bd06ac
Merge pull request #98264 from DevPoodle/rd-texture-format-docs
...
Add descriptions to RDTextureFormat's methods
2024-11-12 09:28:04 -06:00
Thaddeus Crews
2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
...
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
Thaddeus Crews
0439686bea
Merge pull request #99015 from CabalCrow/PacketPeerUDP-docs-example
...
Add examples to PacketPeerUDP class documentation
2024-11-12 09:27:59 -06:00
Thaddeus Crews
cb286da1dd
Merge pull request #99112 from bruvzg/get_model_name
...
Implement `get_model_name` on macOS and Windows.
2024-11-12 09:27:52 -06:00
Thaddeus Crews
e66d9988a6
Merge pull request #95774 from Mickeon/documentation-miscellaneous-oddities
...
Fix miscellaneous oddities around the class reference
2024-11-12 09:27:47 -06:00
Thaddeus Crews
47e7fb4406
Merge pull request #98587 from skyace65/SurroundingCells
...
Improve `TileMapLayer` get surrounding cells description
2024-11-12 09:27:46 -06:00
Thaddeus Crews
04f33894f5
Merge pull request #97041 from aXu-AP/script-highlight-scene
...
Highlight scripts used by current scene
2024-11-12 09:27:39 -06:00
Thaddeus Crews
6d08005ddb
Merge pull request #95758 from Mickeon/documentation-no-differences-String
...
Fix differences between String and StringName's documentation
2024-11-12 09:27:36 -06:00
Thaddeus Crews
9995c3eedd
Merge pull request #98446 from TokageItLab/look-at-modifier
...
Implement LookAtModifier3D
2024-11-12 09:27:35 -06:00
Thaddeus Crews
3e7d68da46
Merge pull request #98948 from Meorge/docs-clip-children
...
Add note to `CanvasItem.clip_children` about nesting
2024-11-12 09:27:31 -06:00
Thaddeus Crews
930079740f
Merge pull request #99075 from PhairZ/fix-transform3d-docs
...
Update `Transform3D.rotated_local()` description
2024-11-12 09:27:30 -06:00
Pablo Andres Fuente
eb86670f94
Add half precision floating point support to `StreamPeer`
...
Closes godotengine/godot-proposals#5983
Adds put/get methods to `StreamPeer` that handles half precision
floating point values.
Adds endode/decode half precision floating point to `marshalls`.
Adds `get_half` and `store_half` to `FileAccess`
Co-Authored-By: "Alfonso J. Ramos" <theraot@gmail.com>
2024-11-12 08:46:52 -03:00
Pāvels Nadtočajevs
a6dfd1cf6e
Implement `get_model_name` on macOS and Windows.
2024-11-12 10:34:24 +02:00
Jayden Sipe
722d932466
Expose toast notification methods
2024-11-11 19:39:33 -05:00
Malcolm Anderson
0304f8fd57
Update docs for `Tween.stop` to clarify behavior
...
Apply suggestions from code review
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Updated wording in comments to be more concise
2024-11-11 16:34:45 -08:00
Micky
f789025d42
Add documentation note on Object's boolean context
2024-11-11 22:21:59 +01:00
David Rautert
ea2ea58a28
Add note about alpha channels blending to `Image.blit_rect`
2024-11-11 21:24:14 +01:00
Thaddeus Crews
a07fea1e93
Merge pull request #97906 from Calinou/doc-fileaccess-non-resource-export
...
Document non-resource file handling in FileAccess and ResourceLoader
2024-11-11 14:18:39 -06:00
Thaddeus Crews
87cf530bcf
Merge pull request #98282 from cadence-s/doc-fix-remote-debug-host
...
Fix documentation tip for `network/debug/remote_host` editor setting
2024-11-11 14:18:37 -06:00
Thaddeus Crews
e964811682
Merge pull request #99038 from Mickeon/documentation-truth-and-bold
...
Fix `true` being surrounded by `[b]` tags in documentation
2024-11-11 14:18:35 -06:00
Thaddeus Crews
a5873ff1e8
Merge pull request #99031 from Mickeon/white-space-jumpscare
...
Trim a few no-break and zero-width spaces from codebase
2024-11-11 14:18:31 -06:00
Thaddeus Crews
c8ff788052
Merge pull request #96590 from reduz/list-directory
...
Provide a reliable way to see original resources in a directory
2024-11-11 14:18:28 -06:00
Thaddeus Crews
d76fbb7a40
Merge pull request #97356 from reduz/pck-file-removal
...
Add ability for PCK patches to remove files
2024-11-11 14:18:27 -06:00