Rémi Verschelde
6ccc6b6e28
Merge pull request #44372 from madmiraal/rename-animation-track_remove_key_at
...
Rename Animation::track_remove_key_at_position to track_remove_key_at_time
2020-12-15 13:42:54 +01:00
Rémi Verschelde
7e3424e3ab
Merge pull request #44377 from Calinou/rename-textureprogressbar
...
Rename the TextureProgress node to TextureProgressBar
2020-12-15 13:34:32 +01:00
Marcel Admiraal
9bc62bf449
Remove Generic6DOFJoint precision property
2020-12-15 10:14:48 +00:00
Hugo Locurcio
57dcc83152
Rename the TextureProgress node to TextureProgressBar
...
Advantages:
- When searching for "progressbar", you'll see both nodes in the
search results.
- More consistent with Button/TextureButton.
2020-12-14 21:35:13 +01:00
Marcel Admiraal
8509c8c8fc
Rename AcceptDialog get_ok() to get_ok_button()
...
Also renames:
- AcceptDialog add_cancel() to add_cancel_button()
- ConfirmationDiaglog get_cancel() to get_cancel_button()
2020-12-14 18:43:52 +00:00
Marcel Admiraal
f5a3cbda19
Rename Animation::track_remove_key_at_position to track_remove_key_at_time
2020-12-14 18:00:11 +00:00
bruvzg
06ae77a320
Add word breaks on punctuation characters.
2020-12-14 11:36:13 +02:00
bruvzg
62927383ed
[Complex Text Layouts] Add drop-caps support to TextParagraph and RTL.
2020-12-13 22:20:02 +02:00
bruvzg
c1d261fdb0
[Complex Text Layouts] Add variable fonts support.
2020-12-13 18:43:39 +02:00
Fabio Alessandrelli
49741d9464
Add important note about OS.get_unixtime.
...
Should NEVER be used for precise time computations since its return
values are not guaranteed to be monotonic.
2020-12-13 13:56:45 +01:00
Rémi Verschelde
bbf7bb3838
Merge pull request #42595 from bruvzg/ctl_rich_text
...
[Complex Text Layouts] Refactor RichTextLabel.
2020-12-13 13:42:00 +01:00
Hugo Locurcio
91c19308dd
Document that BaseMaterial3D doesn't support height mapping + triplanar
...
See #44322 .
2020-12-12 17:13:01 +01:00
Rémi Verschelde
0762484473
Merge pull request #44317 from mbrlabs/geometry2d-docs
...
Fixed Geometry2D::get_closest_points_between_segments docs
2020-12-12 13:03:09 +01:00
Marcus Brummer
56e5ca38d7
Fixed Geometry2D::get_closest_points_between_segments docs
2020-12-12 12:45:06 +01:00
Rémi Verschelde
79ba70f7ee
ProximityGroup: Fix access modifiers, rename private methods for clarity
...
See #36285 which mistakenly added documentation for the whole C++ API, while
some of it is meant to be and stay private as it's not exposed to scripts.
The access modifiers and method prefix were not used properly.
Cleanup code, and rename wrong `group_name` parameters to `method`, as it's a
method name which is being broadcast.
This is a very old class from pre-open source days, chances are that it was
just forgotten and not meant to be kept as is and undocumented.
2020-12-11 14:32:05 +01:00
bruvzg
6b6f101983
[Complex Text Layouts] Refactor RichTextLabel.
2020-12-11 09:48:49 +02:00
Rémi Verschelde
9263f8eb4b
Image: Rename PVRTC{2,4} to PVRTC1_{2,4}, drop COMPRESS_PVRTC2
...
We haven't had a proper implementation for COMPRESS_PVRTC2 (which is PVRTC1 2-bpp) in years,
so let's drop it instead of keeping a compress type which doesn't work.
The other enum values were renamed to clarify that our PVRTC2 and PVRTC4 are respectively
PVRTC1 2-bpp and PVRTC1 4-bpp. PVRTC2 2-bpp and 4-bpp are not implemented yet.
2020-12-10 23:14:04 +01:00
Marcel Admiraal
284642be01
Rename Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME to CLEAR_MODE_ONCE
2020-12-10 12:24:49 +00:00
Rémi Verschelde
d8fdb8796a
Merge pull request #44260 from madmiraal/rename-area3d-audio_bus_name
...
Rename Area3D audio_bus_name getter and setter
2020-12-10 12:15:46 +01:00
Rémi Verschelde
37d0d757d6
Merge pull request #40708 from bruvzg/improve_os_locale
...
Improve `OS::get_locale()` and documentation.
2020-12-10 11:49:00 +01:00
Marcel Admiraal
e40ab06599
Rename TrackerHand enums
...
Renames:
TRACKER_LEFT_HAND -> TRACKER_HAND_LEFT
TRACKER_RIGHT_HAND -> TRACKER_HAND_RIGHT
2020-12-10 10:30:45 +00:00
Rémi Verschelde
67259d07db
Merge pull request #44070 from YeldhamDev/popupmenu_separator_font_color
...
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-10 11:13:07 +01:00
Rémi Verschelde
bc9b54d6ab
Merge pull request #43920 from Calinou/doc-videoplayer-no-remapping
...
Document the lack of localization remapping support in VideoPlayer
2020-12-10 10:57:09 +01:00
Rémi Verschelde
47fc78b599
Merge pull request #44016 from KoBeWi/emit_me_senpai
...
Mention that 'changed' signal needs manual emit
2020-12-10 10:48:46 +01:00
Marcel Admiraal
daa084d004
Rename Area3D audio_bus_name getter and setter
2020-12-10 08:31:14 +00:00
Rémi Verschelde
70c435272a
Merge pull request #44124 from volzhs/tabs-in-front
...
Add option to draw all tabs in front
2020-12-10 07:55:41 +01:00
volzhs
814f9015f8
Add option to draw all tabs in front
2020-12-10 07:47:10 +09:00
Rémi Verschelde
2034a1cca0
Merge pull request #44089 from Xrayez/rng-state
...
Add ability to restore `RandomNumberGenerator` state
2020-12-08 21:40:38 +01:00
Marcel Admiraal
43302837eb
Rename CanvasItem's hide signal to hidden
2020-12-08 12:14:15 +00:00
Marcel Admiraal
4da4feed18
Use Vector3 instead of 3 floats for CSGBox3D dimensions
2020-12-08 11:58:30 +00:00
Marcel Admiraal
43c9106806
Use box size instead of extents for Shape dimensions
2020-12-08 11:58:21 +00:00
Marcel Admiraal
d5d99aaed6
Use rectangle size instead of extents for Shape dimensions
2020-12-08 11:57:46 +00:00
Rémi Verschelde
0f6745b6aa
Merge pull request #44188 from madmiraal/tabs-signal-names
...
Rename Tabs close and hover signals to tab_closed and tab_hovered
2020-12-08 12:30:49 +01:00
Marcel Admiraal
a65e609e21
Rename Tabs close and hover signals to tab_closed and tab_hovered
2020-12-08 09:51:06 +00:00
Marcel Admiraal
58c38d957b
Rename XRController signal button_release to button_released
2020-12-08 08:37:48 +00:00
Andrii Doroshenko (Xrayez)
b5107715f1
Add ability to restore `RandomNumberGenerator` state
...
- added `state` as a property to restore internal state of RNG;
- `get_seed()` returns last seed used to initialize the state rather than the current state.
Co-authored-by: MidZik <matt.idzik1@gmail.com>
2020-12-07 13:50:46 +02:00
Aaron Franke
5465e604bb
Improve argument names for core types
2020-12-07 05:01:33 -05:00
Marcel Admiraal
a24c38d1a8
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-06 18:16:06 +00:00
Rémi Verschelde
c574b4d086
Merge pull request #44091 from madmiraal/rename-cubemesh-boxmesh
...
Rename CubeMesh to BoxMesh
2020-12-05 16:48:15 +01:00
Marcel Admiraal
df6b061dbb
Rename CubeMesh BoxMesh
2020-12-05 11:48:26 +00:00
Aaron Franke
5dddf4377a
Rename RD texture "type" to "texture_type"
...
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
2020-12-04 19:34:50 -05:00
Aaron Franke
19bdd01438
Rename RD uniform "type" to "uniform_type"
...
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
2020-12-04 19:34:50 -05:00
Aaron Franke
40b81339d0
Rebind Mesh/ArrayMesh enums
2020-12-04 19:34:50 -05:00
Aaron Franke
47f8ac7864
Rename Particles/ParticlesMaterial "Flags" enum to "ParticleFlags"
...
"Flags" was a bit too ambiguous, and in 3D it hid GeometryInstance.Flags
2020-12-04 19:34:29 -05:00
Aaron Franke
1b499d244a
Rename LightOccluder2D light_mask to occluder_light_mask
2020-12-04 19:34:29 -05:00
Aaron Franke
ce9d87ddfd
Rename PathFollow2D rotate bool
2020-12-04 18:59:02 -05:00
Aaron Franke
888deca827
Rename XR get_type and get_name
...
Now called get_tracker_type and get_tracker_name
2020-12-04 18:59:02 -05:00
Rémi Verschelde
1a001ad964
doc: Sync classref with current source
...
And fixups:
- Add missing bindings in RenderingServer
- Remove duplicate ArrayMesh enum bindings (they're in Mesh already)
- Remove redundant _unhandled_key_input binding in Control (it's in Node
already)
2020-12-04 22:28:08 +01:00
George Marques
02f60812ed
Rename TYPE_REAL to TYPE_FLOAT
...
To be consistent with the naming everywhere else.
2020-12-04 09:47:26 -03:00
Tomasz Chabora
b552c26c68
Mention that 'changed' signal needs manual emit
2020-12-03 20:11:52 +01:00
Michael Alexsander
383e8919e0
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-03 11:36:03 -03:00
Rémi Verschelde
9a0610c1ff
Merge pull request #43959 from dalexeev/gds-doc
...
Several edits to the GDScript docs
2020-12-03 13:32:32 +01:00
Fabio Alessandrelli
502ff74fee
Merge pull request #43536 from jonbonazza/hmac
...
feat: HMAC support in Crypto APIs
2020-12-03 11:08:16 +01:00
Hugo Locurcio
5a9600cd24
Fix incorrect `Curve3D.interpolate_baked()` description
...
The offset is in 3D units, not pixels.
This closes https://github.com/godotengine/godot-docs/issues/4339 .
2020-12-01 16:23:34 +01:00
Danil Alexeev
bf96056ad0
Several edits to the GDScript docs
2020-12-01 16:05:10 +03:00
Yuri Sizov
999ce610a2
Add a minimap to the GraphEdit
2020-11-30 16:48:52 +03:00
Eric M
12ded391f5
Exposed shortcut_context property to scripting and added documentation.
...
I didn't expose this as a property or add documentation in the original PR #42109 .
2020-11-30 00:11:40 +10:00
Rémi Verschelde
ef2d1f6d19
Merge pull request #42761 from fire/color-grading-3d
...
Environment brightness, contrast, saturation restore with 3d LUT.
2020-11-28 23:07:52 +01:00
clayjohn
076908bed9
Environment brightness, contrast, saturation restore with color correction.
...
Allow gradients and 2d images.
Use shader versions for LUT in tonemap
Co-authored-by: alex-poe <3957610+CptPotato@users.noreply.github.com>
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-11-28 07:37:49 -08:00
Rémi Verschelde
53b23c6bdc
Merge pull request #43922 from Calinou/doc-projectsettings-globalize-path
...
Improve the `ProjectSettings.globalize_path()` documentation
2020-11-28 10:29:23 +01:00
Rémi Verschelde
95572211bb
Merge pull request #43925 from madmiraal/fix-16039a
...
Remove RigidBody weight property
2020-11-28 09:37:42 +01:00
Yuri Roubinsky
4a3588a51a
Merge pull request #43828 from Chaosus/restore_line_antialiasing
...
Restored antialiased lines by emulation using triangle strips
2020-11-28 11:32:16 +03:00
Rémi Verschelde
94341ac547
Merge pull request #42987 from clayjohn/VULKAN-sky-only
...
Add sky_only setting to DirectionalLight3Ds
2020-11-28 09:07:09 +01:00
Rémi Verschelde
a6751e6c58
Merge pull request #41100 from bruvzg/ctl_text_server_interface
...
[Complex Text Layouts] Implement TextServer interface.
2020-11-28 09:03:15 +01:00
Yuri Roubinsky
3ec972fc95
Restored antialiased lines by emulation using triangle strips
2020-11-27 20:45:59 +03:00
Marcel Admiraal
981fbcd3e0
Remove RigidBody weight property
2020-11-27 17:39:20 +00:00
Fabio Alessandrelli
828d1ea59e
Merge pull request #40136 from Jummit/multiplayer-root-node-getters
...
Add root_node as property of MultiplayerAPI
2020-11-27 18:36:07 +01:00
Hugo Locurcio
f415db5b75
Improve the `ProjectSettings.globalize_path()` documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4409 .
2020-11-27 17:12:13 +01:00
Marcel Admiraal
356a2b7235
Fix cast_motion sometimes failing
...
- Fixes Godot physics failing when the cast Shape is inside of, or
already colliding with another Shape.
- Fixes Bullet physics failing when there is no motion.
- Ensures Godot and Bullet physics behave the same.
- Updates the documentation to exclude the caveats for the failures and
differences.
2020-11-27 15:33:00 +00:00
Hugo Locurcio
1636fb8856
Document the lack of localization remapping support in VideoPlayer
...
See #43917 .
2020-11-27 15:56:24 +01:00
Rémi Verschelde
2d0fda3ca2
doc: Mention iOS support for Input gravity/gyroscope sensors
...
It has been implemented for iOS a long time ago already with #7127 .
2020-11-27 12:01:08 +01:00
Jon Bonazza
d5925fd522
feat: HMAC support in Crypto APIs
2020-11-26 18:39:56 -08:00
bruvzg
7e2c0ffd1a
[Complex Text Layouts] Add TextServer documentation. Update Font, CanvasItem, Theme and modified controls documentation.
2020-11-26 14:25:52 +02:00
bruvzg
3be31c4960
[Complex Text Layouts] Refactor TextEdit and CodeEdit controls.
2020-11-26 14:25:50 +02:00
bruvzg
99666de00f
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
...
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
2020-11-26 14:25:48 +02:00
Rémi Verschelde
a8c2cc9028
Merge pull request #43807 from Xrayez/aspect-ratio-container
...
Add `AspectRatioContainer` class
2020-11-26 12:20:15 +01:00
HaSa1002
5a01c2a3b0
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
...
Includes:
* File
* Geometry2D
* HashingContext
* HTTPClient
* HTTPRequest
* Image
* Input
* int
* ItemList
* JSONParseResult
* KinematicBody2D
* LineEdit
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-25 22:15:13 +01:00
Rémi Verschelde
613b76cfd5
Merge pull request #43861 from JFonS/fix_gizmo_defval
...
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
2020-11-25 19:28:05 +01:00
jfons
e6949dae72
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
2020-11-25 18:55:07 +01:00
Andrii Doroshenko (Xrayez)
ba68383706
Add `AspectRatioContainer` class
...
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2020-11-25 15:06:40 +02:00
Rémi Verschelde
6dfcc4aa80
Merge pull request #43793 from Calinou/doc-mono-resources
...
Document C# garbage collection caveats in Reference and Resource
2020-11-25 11:12:09 +01:00
Rémi Verschelde
59fdfc77e8
doc: Sync classref with current source
2020-11-23 23:44:44 +01:00
Hugo Locurcio
95618e2937
Improve the AudioStreamPlayer3D class documentation
2020-11-23 16:56:05 +01:00
Hugo Locurcio
0565c76e8b
Document C# garbage collection caveats in Reference and Resource
2020-11-23 14:01:50 +01:00
Rémi Verschelde
ba989a1d39
Merge pull request #43627 from aaronfranke/pixelvi
...
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
2020-11-23 10:04:49 +01:00
Hugo Locurcio
b297d595a5
Document that vertex displacement isn't visible in overdraw debug mode
...
See #24232 .
2020-11-22 16:28:00 +01:00
Aaron Franke
2c53e8b0e9
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
...
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
2020-11-21 02:42:29 -05:00
Rémi Verschelde
a655de89e3
doc: Warn about using Node internal processing
...
See #43689 .
Also 'fixed' some spelling for behavior in publicly visible strings.
(Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling
war.)
2020-11-20 09:52:37 +01:00
Rémi Verschelde
6a683f8016
Merge pull request #43591 from madmiraal/fix-43520
...
Update joy button and stick names, enums and documentation
2020-11-19 20:43:44 +01:00
Marcel Admiraal
20f2b71e21
Update joy button and stick names, enums and documentation
2020-11-19 15:28:31 +00:00
Rémi Verschelde
b4f81e7b88
Merge pull request #43662 from EricEzaM/PR/INP3-command_serialization_optional
...
Made serialization of Command toggleable when saving InputEvents.
2020-11-19 13:38:55 +01:00
Eric M
c92f83d3ca
Made serialization of Command toggleable when saving InputEvents.
...
Made serialization of Command optional. If command is serialized, Control (On Win/Linux) or Meta (on Mac) are not.
Example use case: You are on Windows and you set a shortcut to be Control + E. This would serialize as Command=true and Control=true. If you then run this project on Mac, you would need to press Command AND Control to activate the shortcut - which is not what is intended. Now, you can set store_command to true, and it will only serialize to Command = true (no Control serialized). On Windows, this means Control. On Mac, it means only command.
2020-11-19 21:05:45 +10:00
Phischermen
371d12a2f0
Clarify that SceneTree::quit() does not immediately end the application.
2020-11-18 16:45:20 -08:00
Andrii Doroshenko (Xrayez)
0ee88d6705
Describe `ImageTexture`, `Image` creation and usage
2020-11-17 16:00:41 +02:00
Rémi Verschelde
c6dcf3310d
doc: Sync classref with Variant utility methods
...
Copied relevant documentation from the original `@GDScript` built-ins,
which will likely be removed in a future commit.
Various fixups to `variant_utility.cpp` while working on this.
2020-11-17 11:26:24 +01:00
Rémi Verschelde
9310369318
Merge pull request #43565 from rcorre/curve_handle_doc
...
Clarify Curve3D.get_point_{in,out} position in doc.
2020-11-17 08:21:04 +01:00
Ryan Roden-Corrent
c6093ae612
Clarify Curve3D.get_point_{in,out} position in doc.
...
I verified this experimentally. I added a point at roughly (1,0,0), and
dragged a handle back to the origin. The result was:
```
get_point_position: (0.991079, 0, -0.000069)
get_point_in: (0.993409, 0, 0)
get_point_out: (-0.993409, 0, 0)
```
2020-11-16 17:22:44 -05:00
Rémi Verschelde
bffa95fc07
Merge pull request #43537 from KoBeWi/ 🌳 🗎 🔧
...
Correct the doc about Tree.get_edited
2020-11-16 22:32:38 +01:00
Rémi Verschelde
7a2d721536
Merge pull request #43509 from Calinou/doc-projectsettings-packetpeerstream-size
...
Clarify packet peer `max_buffer_po2` in ProjectSettings documentation
2020-11-16 14:52:24 +01:00
Hugo Locurcio
c475b1fd0b
Clarify packet peer `max_buffer_po2` in ProjectSettings documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4364 .
2020-11-16 14:13:59 +01:00
Rémi Verschelde
fc70f986b9
Merge pull request #42008 from Calinou/theme-rename-node-type
...
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-16 13:20:24 +01:00
Rémi Verschelde
8e1765d9c7
Merge pull request #43533 from Calinou/doc-improve-dictionary
...
Improve the Dictionary class documentation
2020-11-16 12:52:01 +01:00
Rémi Verschelde
d7176e9040
Merge pull request #42167 from madmiraal/fix-42108
...
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
2020-11-16 09:32:48 +01:00
Rémi Verschelde
19f27ab486
Merge pull request #42976 from aaronfranke/input-get-axis
...
Allow getting Input "axis" and "vector" values by specifying multiple actions
2020-11-16 09:30:34 +01:00
Rémi Verschelde
91dd6da2ff
Merge pull request #43246 from HaSa1002/docs-lang-5
...
Docs: Port code examples to C# (M, N, O, P, Q, R)
2020-11-16 09:16:18 +01:00
Hugo Locurcio
5325de4e6b
Improve the Dictionary class documentation
...
- Mention Lua-style syntax.
- Make the code samples self-contained.
- Mention caveat with `const` (also in Array).
- Clarify the description of `size()`.
This closes https://github.com/godotengine/godot-docs/issues/4272 .
2020-11-14 22:05:53 +01:00
Tomasz Chabora
b8145c182b
Correct the doc about Tree.get_edited
2020-11-14 16:35:53 +01:00
Aaron Franke
4b272b18ea
Improve comments in Color documentation
2020-11-13 23:31:19 -05:00
Feniks
59ed3c1aaf
Changed mouse cursor to the caret (text cursor) location.
2020-11-13 14:57:18 +00:00
Rémi Verschelde
a7d610db16
Merge pull request #43408 from rcorre/path-gizmos-4.0
...
Make Path3D handles visible and consistent with 2D.
2020-11-12 13:12:49 +01:00
Ryan Roden-Corrent
8458ba0aef
Proposal 1246: Make Path3D handles more visible.
...
Resolves godotengine/godot-proposals#1246 .
It is difficult to tell the difference between the handles for adjusting
curves and the points themselves when looking at a Path gizmo.
This re-uses the icons used for Path2D.
Unlike Path2D, this does not use a different icon for smooth vs sharp
points, as using a potentially different material for each point would
prevent batching the points in add_handles (and adding them out-of-order
messes up other logic based on handle indices).
This includes a public API change to allow specifying a texture for a
handle material. This allows spatial gizmo plugins to customize the way
a handle is rendered, if desired, but does not break existing behavior
(as providing no texture uses the default).
The path handle icons were resized as well. 16x16 is the standard icon
size. These icons were 10x10 rather than 16x16, and appeared rather
small in the editor.
To resize, I:
- Opened the original in Inkscape
- Resized the document to 16x16
- Opened the transform dialog
- Scaled by 160% proportionally
- Used Align/Distribute to center on the page
- Saved the document
- Cleaned with `svgcleaner --multipass`
2020-11-12 06:37:56 -05:00
Rémi Verschelde
dca6bac620
Merge pull request #43244 from HaSa1002/docs-mdt
...
Docs: MeshDataTool: showcase tool in code example
2020-11-12 11:35:25 +01:00
HaSa1002
4f9b993423
Docs: MeshDataTool: showcase tool in code example
2020-11-12 10:56:39 +01:00
Wilson E. Alvarez
a6f3ef3ac7
Document InstancePlaceholder.create_instance not being thread-safe.
2020-11-11 21:34:51 -05:00
Rémi Verschelde
acb7d99fce
Merge pull request #43449 from nekomatata/line_edit_window_pos
...
Expose LineEdit scroll offset to scripts
2020-11-11 13:18:55 +01:00
Aaron Franke
4abf189e36
Allow getting Input axis/vector values by specifying multiple actions
...
For get_vector, use raw values and handle deadzones appropriately
2020-11-11 06:02:44 -05:00
PouleyKetchoupp
4775db1600
Expose LineEdit scroll offset to scripts
2020-11-11 10:07:31 +01:00
Rémi Verschelde
9397a5a272
Merge pull request #43437 from akien-mga/doc-operators
...
doc: Add template to document Variant operators, fixups to #43419
2020-11-10 15:58:36 +01:00
Rémi Verschelde
64e893deac
doc: Sync classref to add operators after #43419
2020-11-10 15:00:50 +01:00
Rémi Verschelde
34cad0d020
doc: Fixups to #43419 which added operators in the docs
...
- Escape the method names as e.g. `operator <` is invalid XML.
- Add a hack to merge all String % operator definitions for each Variant type
as a single one with `Variant` argument type.
- Add support for the new qualifiers in makerst.py.
- Drop unused `doc_merge.py`, seems to date back to when we had all the
documentation in a single `classes.xml`.
2020-11-10 15:00:07 +01:00
Rémi Verschelde
03ae26bb74
Merge pull request #43398 from KoBeWi/add_an_array_to_another_array_but_with_a_method
...
Add append_array() method to Array class
2020-11-10 13:53:58 +01:00
Tomasz Chabora
cbfbb4538b
Register methods for drawing 3D editor overlays
2020-11-10 11:35:34 +01:00
HaSa1002
9dad1c4943
[Docs] Add C# example for EditorPlugin::forward_canvas_draw_over_viewport
...
Follow up to #43356
2020-11-10 10:24:17 +01:00
Rémi Verschelde
e0285dcc00
Merge pull request #43356 from KoBeWi/editor_art
...
Add docs for editor viewport drawing methods
2020-11-10 09:34:32 +01:00
Rémi Verschelde
0f249f5c0a
Variant: Sync docs with new constructors, fixups after #43403
...
Change DocData comparators for MethodDoc and ArgumentDoc to get a better
ordering of constructors.
2020-11-09 23:39:53 +01:00
Andrii Doroshenko (Xrayez)
1e6b684d44
Expose `PROPERTY_HINT_TYPE_STRING` to scripting
2020-11-09 18:12:04 +02:00
HaSa1002
a3df26e554
Docs: Port Code Examples to C# (M, N, O, P, R)
...
Includes:
* MarginContainer
* NavigationPolygon
* Node
* NodePath
* OS
* PackedByteArray
* PackedScene
* PacketPeerUDP
* PCKPacker
* Performance
* PhysicsShapeQueryParameters2D
* PhysicsShapeQueryParameters3D
* PrimitiveMesh
* ProjectSettings
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-09 10:05:53 +01:00
Rémi Verschelde
593e35346a
Merge pull request #42841 from HaSa1002/docs-lang-3
...
Port code examples to C# (D and E)
2020-11-09 08:29:44 +01:00
Tomasz Chabora
9f23a94b8a
Add append_array() method to Array class
2020-11-08 21:09:45 +01:00
Rémi Verschelde
709964849f
Merge pull request #42896 from Calinou/httprequest-increase-chunk-size
...
Increase the default HTTPClient download chunk size to 64 KiB
2020-11-07 16:38:28 +01:00
Rémi Verschelde
329d2c1ced
Merge pull request #42947 from Calinou/image-load-bmp-from-buffer
...
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
2020-11-07 16:38:09 +01:00
Hugo Locurcio
13357095ee
Increase the default HTTPClient download chunk size to 64 KiB
...
This improves download speeds at the cost of increased memory usage.
This change also effects HTTPRequest automatically.
See #32807 and #33862 .
2020-11-07 16:11:04 +01:00
Tomasz Chabora
5d8b60ac3d
Add docs for editor viewport drawing methods
2020-11-06 16:42:40 +01:00
Rémi Verschelde
a9bc440311
Merge pull request #41746 from Calinou/doc-projectsettings-fullscreen-borderless
...
Improve the documentation related to fullscreen and borderless settings
2020-11-06 14:34:22 +01:00
Rémi Verschelde
aba611b6fc
Merge pull request #42870 from Calinou/doc-httprequest-tls-version
...
Document the supported TLS versions in HTTPRequest
2020-11-06 14:32:45 +01:00
Rémi Verschelde
52c1b5fc41
Merge pull request #43283 from Calinou/color-remove-contrasted
...
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06 10:17:12 +01:00
Rémi Verschelde
35e6070a35
doc: Override default value for RandomNumberGenerator.seed
...
It's non-deterministic so it's better to show a fixed value like 0 instead of
having it potentially change whenever `randomize()` is called.
Fixes #43317 .
2020-11-05 00:41:24 +01:00
Rémi Verschelde
424cd00f8b
doc: Sync classref with current source + fixup some bindings
...
Includes various changes triggered by the refactoring of method bindings.
2020-11-04 15:38:26 +01:00
Ryan Roden-Corrent
3826f3348f
Fix typo in Tabs doc.
...
I don't know enough about grammar to say why the "ing" suffix is
correct, but I'm reasonably sure it is :)
2020-11-03 18:26:48 -05:00
Hugo Locurcio
7adb6b91b3
Remove `Color.contrasted()` as its behavior is barely useful
...
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
2020-11-03 04:46:08 -05:00
Rémi Verschelde
c5d8dafec4
Tooltips: Improve code clarity and docs
...
The return type for `_make_custom_tooltip` is clarified as Control, and users
should make sure to return a visible node for proper size calculations.
Moreover in the current master branch, a PopupPanel will be added as parent
to the provided tooltip to make it a sub-window.
Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
to style tooltips.
Fixes #39677 .
2020-11-03 09:19:03 +01:00
Rémi Verschelde
873d461785
Merge pull request #40364 from marstaik/alpha2coverage_up
...
Alpha Hash and Alpha2Coverage Implementation
2020-11-03 07:50:49 +01:00
Marios Staikopoulos
e5d7c7d5fc
Alpha Hash and Alpha2Coverage Implementation
2020-11-02 20:11:20 -08:00
Rémi Verschelde
e8794b24bd
Merge pull request #43260 from HaSa1002/mainloop-remove-deprecated-methods
...
MainLoop: Remove deprecated methods
2020-11-02 14:26:49 +01:00
Hugo Locurcio
82bfb6273b
Correct documentation about NinePatchRect stretch modes
...
This closes https://github.com/godotengine/godot-docs/issues/4333 .
2020-11-01 18:41:10 +01:00
HaSa1002
f8ac4c4d75
MainLoop: Remove deprecated methods
2020-11-01 12:38:30 +01:00
HaSa1002
8fb113bb4c
Port code examples to C# (D)
...
Includes:
* Decal
* Dictionary
* Directory
* DisplayServer
* DTLSServer
* DynamicFont
* EditorImportPlugin
* EditorPlugin
* EditorScenePostImport
* EditorScript
* EditorSettings
* EditorTranslationParserPlugin
* Engine
* Expression
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-01 09:05:17 +01:00
Hugo Locurcio
d7025c4167
Fix a variable being redeclared in the HTTPRequest code sample
2020-10-31 19:20:18 +01:00
Rémi Verschelde
f6f38ac086
Merge pull request #42811 from Calinou/doc-packetpeerudp-wait-interrupt
...
Document how to interrupt `PacketPeerUDP.wait()`
2020-10-29 22:38:36 +01:00
SirQuartz
120ef02ca3
Clarify what the "item_rect_changed" signal does
2020-10-28 15:59:14 +01:00
Hugo Locurcio
a1f81a52df
Improve the documentation related to fullscreen and borderless settings
2020-10-28 14:30:33 +01:00
Hugo Locurcio
b3a6937c0c
Document hiding a Control when its reference point is behind the camera
...
See https://github.com/godotengine/godot/issues/1725 .
2020-10-27 17:37:03 +01:00
Hugo Locurcio
c3b246e6af
Rename the `type` parameter to `node_type` in Theme and Control
...
This makes it clearer that it expects a node type as a string
(such as "Label") instead of a type like "TYPE_ARRAY".
This is backwards-compatible since only the name of the parameter
is changed, not its order.
2020-10-27 14:58:52 +01:00
Dustin Petersohn
669f21d367
Improved documentation for TileMap.cell_y_sort
2020-10-27 00:30:14 +01:00
Andrii Doroshenko (Xrayez)
8ce2f401dd
Fixup `ColorRamp` to `Gradient` renames
2020-10-25 18:32:44 +02:00
Aaron Franke
961ee3a1d7
Rename button group property to button_group
2020-10-24 01:30:18 -04:00
Rémi Verschelde
f0f8864c9c
Merge pull request #42907 from Xrayez/add-ref-rect-border-width
...
Add `border_width` to `ReferenceRect`
2020-10-22 15:58:12 +02:00
clayjohn
6299575250
Add sky_only setting to DirectionalLight3Ds
2020-10-21 23:28:08 -07:00
Hugo Locurcio
0209e3790e
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/676 .
2020-10-20 23:52:45 +02:00
Andrii Doroshenko (Xrayez)
803b046b38
Cross-reference `ColorRect` and `ReferenceRect` in the class reference
...
They use the same underlying `CanvasItem.draw_rect()` API.
2020-10-20 13:59:41 +03:00
Andrii Doroshenko (Xrayez)
aef00021a9
Add `border_width` to `ReferenceRect`
...
Exposes a hidden parameter behind `CanvasItem.draw_rect()`.
2020-10-20 13:58:50 +03:00
Yuri Roubinsky
4f4287243c
Removed underscore from GraphEdit begin/end_node_move signals
2020-10-20 09:22:40 +03:00
Hugo Locurcio
2f1d40367a
Document how to display the vertex color in `SurfaceTool.add_color()`
...
This closes https://github.com/godotengine/godot-docs/issues/4083 .
2020-10-19 15:23:16 +02:00
Rémi Verschelde
6b20859984
Merge pull request #42558 from Chaosus/vs_curve
...
Added visual shader node to easy gather data from a CurveTexture
2020-10-19 14:58:45 +02:00
Marcel Admiraal
7f26ce4486
Set Bullet collision shape index to zero when using a single shape
...
or ConcavePolygonShape3D.
2020-10-19 11:51:11 +01:00
Rémi Verschelde
bc8300d201
Merge pull request #42579 from theoway/stylebox_and_control_documentation
...
Documentation change: Explaining the behavior of focus stylebox overlapping the pressed stylebox
2020-10-19 09:36:24 +02:00
Juan Linietsky
53d5a252bb
Revert "Replace SAO implementation with MSSAO"
2020-10-18 19:27:51 -03:00
Juan Linietsky
d98261ab8f
Merge pull request #42077 from clayjohn/MSSAO
...
Replace SAO implementation with MSSAO
2020-10-18 18:34:43 -03:00
Juan Linietsky
e799a2ba45
Merge pull request #42201 from clayjohn/Vulkan-new-glow
...
Optimize Glow with local memory
2020-10-18 18:32:36 -03:00
clayjohn
366ee46774
Replace SAO implementation with MSSAO
2020-10-18 13:15:51 -07:00
clayjohn
63a34b93aa
Optimize Glow with local memory
2020-10-18 11:37:12 -07:00
Rémi Verschelde
d9e5c355e5
Merge pull request #41418 from clayjohn/Vulkan-aerial
...
Add aerial perspective to fixed fog
2020-10-18 17:32:19 +02:00
Yuri Roubinsky
f402e1e675
Added VisualShaderNodeCurve to easy gather data from a CurveTexture
2020-10-18 09:57:15 +03:00
clayjohn
8c21c26fb5
Add aerial perspective to fixed fog
2020-10-17 10:53:07 -07:00
Hugo Locurcio
0ebbc7602c
Document the supported TLS versions in HTTPRequest
...
See #42857 .
2020-10-17 14:49:56 +02:00
Tomasz Chabora
02ce2f4bb9
Document that setting node name will remove @s
2020-10-17 12:13:54 +02:00
Rémi Verschelde
ea21b8ff83
Merge pull request #42823 from madmiraal/update-intersect_point-doc
...
Update intersect_point documentation to mention solid shapes.
2020-10-15 18:40:36 +02:00
Rémi Verschelde
14e3d68dd9
Merge pull request #42778 from madmiraal/remove-get_layers
...
Remove old RigidBody get_layers() methods.
2020-10-15 18:40:21 +02:00
Marcel Admiraal
e496db79d8
Update intersect_point documentation to mention solid shapes.
2020-10-15 16:44:57 +01:00
Hugo Locurcio
6975bd106a
Clarify that `MultiMesh.set_instance_color()` multiplies vertex colors
...
This closes https://github.com/godotengine/godot-docs/issues/4273 .
2020-10-15 10:19:20 +02:00
Hugo Locurcio
25777488fd
Document how to interrupt `PacketPeerUDP.wait()`
...
This closes #36335 .
2020-10-15 10:10:32 +02:00
Hugo Locurcio
802c1e4df1
Link the Random number generation tutorial in the class reference
2020-10-14 18:03:29 +02:00
Marcel Admiraal
a17fdaef09
Remove old RigidBody layers property and methods.
2020-10-13 16:59:49 +01:00
Rémi Verschelde
7baefe812a
Merge pull request #42604 from KoBeWi/da100mp
...
Correct the doc about linear damping
2020-10-13 11:53:01 +02:00
Tomasz Chabora
ebca7d4e4e
Correct the doc about linear damping
2020-10-13 11:41:18 +02:00
Rémi Verschelde
5782b3355a
Merge pull request #41576 from FIF15/remove-redundant-property-enabled-focus-mode
...
Remove redundant property "enabled_focus_mode"
2020-10-13 10:50:00 +02:00
FIF15
0e7e25d488
Remove redundant property "enabled_focus_mode"
...
Fixes #41529 .
2020-10-13 10:04:37 +02:00
Charles Merriam
5160a9f650
Fix typo in the ProjectSettings class documentation
2020-10-13 09:55:31 +02:00
Rémi Verschelde
0df7793693
Merge pull request #42696 from arthurpaulino/update-kinematicbody2d-is-on-descriptions
...
Updating KinematicBody2D "is_on" functions' descriptions
2020-10-13 08:53:01 +02:00
Arthur Paulino
0c9a1a1cd4
updating descriptions
2020-10-12 20:24:19 -03:00
Rémi Verschelde
d22791c271
doc: Sync classref with current source
2020-10-12 10:58:02 +02:00
Paulb23
b707920355
Update SyntaxHighlighter documentation
2020-10-11 17:14:37 +01:00
Rémi Verschelde
7c4d1e9c65
Merge pull request #42660 from Chaosus/remove_get_uv84_normal_bit
...
Removed unused method Geometry3D.get_uv84_normal_bit
2020-10-09 19:31:24 +02:00
Rémi Verschelde
a33fe75050
doc: Sync classref with current source
2020-10-09 15:04:15 +02:00
Yuri Roubinsky
66c2aaf749
Removed unused method Geometry.get_uv84_normal_bit
2020-10-09 10:22:26 +03:00
Sniff
7970e4a433
Docs change: More detailed description of StreamPeerTCP.is_connected_to_host()
2020-10-07 16:35:33 +02:00
Umang Kalra
10a7eddc5e
Explaining the behavior of focus & pressed stylebox overlap
2020-10-06 17:44:33 +05:30
Rémi Verschelde
3556bc48a1
Merge pull request #42439 from Xrayez/doc-gdscript-load-and-resloader-xref
...
Cross-reference GDScript `load` and `ResourceLoader.load` in classref
2020-10-04 20:48:07 +02:00
Rémi Verschelde
b5eea37fb0
Merge pull request #42518 from Duroxxigar/update-getter-and-setters
...
Updated getters and setters names for toplevel
2020-10-03 21:53:35 +02:00
Marcel Admiraal
e7edbcedc9
Remove reference to 3D shapes in RigidBody2D.xml contacts description.
2020-10-03 10:38:52 +01:00
Duroxxigar
4834e14493
Updated getters and setters names for toplevel
2020-10-02 19:09:01 -04:00
Rémi Verschelde
7879b0a6e5
Merge pull request #42511 from InfiniteAnts/update-ninepatchrect-class-reference
...
Updated NinePatchRect's patch margin descriptions
2020-10-02 17:32:45 +02:00
Anant Ahuja
00d9432f44
Updated NinePatchRect's patch margin descriptions
2020-10-02 09:41:00 -05:00
Rémi Verschelde
19f72beebb
Merge pull request #42451 from Duroxxigar/rename-toplevel
...
Renamed toplevel to be top_level
2020-10-02 10:57:23 +02:00
Aaron Franke
439be614f4
Link to demos from within the class reference
2020-10-01 23:57:21 -04:00
bruvzg
b0152dcac5
Fix `screen_get_dpi` on macOS for non fractional display scales and restore documentation.
2020-10-01 22:52:20 +03:00
Rémi Verschelde
f3e557780f
Merge pull request #37194 from lolligerjoj/expose_val_interp
...
Expose Animation::value_track_interpolate to GDscript
2020-10-01 15:27:32 +02:00
Rémi Verschelde
c646768ba2
Merge pull request #40473 from rcorre/gizmo-doc
...
Fix return type on EditorNode3DGizmoPlugin::get_priority.
2020-10-01 14:28:38 +02:00
lolligerjoj
ff4af94414
Expose Animation::value_track_interpolate to GDscript
2020-10-01 14:27:09 +02:00
Rémi Verschelde
63d158ff62
Merge pull request #42442 from rcorre/file_doc
...
Clarify store_string vs store_line.
2020-10-01 13:21:11 +02:00
Ryan Roden-Corrent
2762821c08
Clarify store_string vs store_line.
...
While the behavior can be implied from the name, it seems worth stating
it explicitly.
2020-10-01 07:03:24 -04:00
Rémi Verschelde
42f2098509
Merge pull request #42435 from Calinou/doc-string-is-valid-ip-address
...
Improve the `String.is_valid_ip_address()` documentation
2020-10-01 12:54:27 +02:00
Sergey Minakov
1d9b6b01db
iOS: move touch delay to settings
2020-10-01 12:36:11 +03:00
Duroxxigar
b687ace7f9
Renamed toplevel to be top_level
2020-10-01 03:17:33 -04:00
Duroxxigar
85a8dbb7b6
Made toplevel a property for Node3D and CanvasItem
2020-10-01 02:43:30 -04:00
Andrii Doroshenko (Xrayez)
a8404cf56c
Cross-reference GDScript `load` and `ResourceLoader.load` in classref
...
The GDScript `load` mention is moved from the class `ResourceLoader`
description to the `ResourceLoader.load` method description instead,
where it is more likely to be found.
2020-09-30 23:03:36 +03:00
Hugo Locurcio
00ade39389
Improve the `String.is_valid_ip_address()` documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4097 .
2020-09-30 19:26:14 +02:00
Hugo Locurcio
a2271ba3bd
Improve the String comparison methods' documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4096 .
2020-09-30 19:08:20 +02:00
Wilson E. Alvarez
b4e7edabf3
Make "function" a property of FuncRef
2020-09-30 06:57:59 -04:00
Rémi Verschelde
8c72b15e51
Merge pull request #38579 from Megamega53/edit
...
doc: Some improvements to KinematicBody docs
2020-09-29 11:13:10 +02:00
Rémi Verschelde
1bd2efdd46
Merge pull request #38683 from follower/patch-11
...
Improve doc clarity/detail for extra spacing properties
2020-09-29 10:57:19 +02:00
Rémi Verschelde
7f72d92cb0
Merge pull request #36067 from jsl118/distancefadefix
...
doc: Improve distance_fade documentation
2020-09-29 10:42:34 +02:00
Rémi Verschelde
bebf424c80
Merge pull request #42078 from Chaosus/vs_rename_type
...
Renames Type to OpType in VisualShaderNodeMultiplyAdd
2020-09-29 10:34:22 +02:00
Justin Lee
90d1eda90e
doc: Improve distance_fade documentation
...
Changed the documentation of distance_fade_max_distance and min
to be consistent with the behavior of the code as well as the user
documentation. Also noted the behavior of swapping max_distance and
min_distance (where max_distance < min_distance).
Fixes #36051 .
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-09-29 10:21:50 +02:00
Megamega53
ca5ae64525
doc: Some improvements to KinematicBody docs
...
Co-authored-by: Marcel Admiraal <madmiraal@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-09-29 10:14:56 +02:00
follower
2ef89e0b43
Doc clarity/detail for extra spacing properties
...
Re: Space spacing being in addition to character spacing see:
* <d7b85fbaa1/scene/resources/dynamic_font.cpp (L858-L859)
>
Re: Value being able to be negative see example here:
* <https://github.com/godotengine/godot/issues/38630 >
But also note that nodes other than `Label` may not currently render extra space spacing correctly.
2020-09-29 10:04:46 +02:00
Rémi Verschelde
2d14c7cb69
Merge pull request #42125 from andriyDev/inspector_only_option
...
Added inspector_only option to inspect_object in EditorInterface.
2020-09-29 08:45:38 +02:00
Aaron Franke
5fbcd8f9df
Rename the ".import" folder to ".godot/imported"
2020-09-28 05:23:45 -04:00
Rémi Verschelde
64d3827b19
Merge pull request #41579 from Calinou/doc-basematerial3d-billboard-mode
...
Document the BaseMaterial3D billboard mode not being suited for VR
2020-09-28 10:40:09 +02:00
Rémi Verschelde
1a8dfcd97b
Merge pull request #42304 from akien-mga/os-drop-get_splash_tick_msec
...
OS: Remove unused get_splash_tick_msec
2020-09-28 10:13:37 +02:00
Nathan Lovato
173b9e6be7
Remove link to step-by-step/animations
...
Required for godotengine/godot-docs#4074 to pass, we're removing that
page from the docs as part of the getting started section rewrite.
2020-09-27 10:20:27 -06:00
Rémi Verschelde
68e4454c31
Merge pull request #41960 from Calinou/doc-sprite3d
...
Update and complete the Sprite3D and SpriteBase3D class documentations
2020-09-27 08:44:25 +02:00
Rémi Verschelde
c844cc8251
Merge pull request #42016 from HaSa1002/docs-lang-2
...
Translate GDScript Code Examples to C# (Classes beginning with C)
2020-09-26 23:36:16 +02:00
HaSa1002
c5aded55df
Add C# code examples to the docs
...
Only existing GDScript code examples are converted and added to the
docs.
This is the first batch include classes beginning with A and B.
Included classes:
* AcceptDialog
* AESContext
* Animation
* AnimationNodeStateMachine
* AnimationNodeStateMachinePlayback
* AnimationNodeStateMachineTransition
* Array
* ArrayMesh
* AStar
* AStar2D
* Bool
* Button
2020-09-26 12:29:55 +02:00
HaSa1002
ae873ab822
Translate GDScript Code Examples to C# (C)
...
Translates Code Examples in classes beginning with `C`.
Includes:
* Callable
* CanvasItem
* CharFXTransform
* Color
* ColorRect
* ConfigFile
* ConfirmationDialog
* Control
* Crypto
2020-09-26 11:48:37 +02:00
Haoyu Qiu
aa7ce12bee
Surrounds boolean false with code tag
2020-09-25 00:00:22 +08:00
Rémi Verschelde
f21b32aa04
Merge pull request #41683 from skyace65/File
...
Move note about using ResourceLoader in the File documentation
2020-09-24 17:05:49 +02:00
skyace65
75c5a8b354
Move note about using Resource in the File documentation
2020-09-24 10:37:03 -04:00
Rémi Verschelde
819c3524a5
OS: Remove unused get_splash_tick_msec
...
It was added in 3e20391bf6
but it doesn't seem
particularly useful, and it was only implemented for the custom splash branch
and not the default one, so it could return an uninitialized int.
2020-09-24 15:40:30 +02:00
Rémi Verschelde
a5885d6987
Merge pull request #42089 from skyace65/ShelfFilters
...
Add documentation for shelf filters
2020-09-24 15:16:04 +02:00
Rémi Verschelde
079b6753c3
Merge pull request #42287 from Calinou/doc-color-constants-cheatsheet
...
Reference the Color constants cheatsheet in the class reference
2020-09-24 15:13:52 +02:00
Hugo Locurcio
de49085567
Reference the Color constants cheatsheet in the class reference
2020-09-23 23:48:37 +02:00
Hugo Locurcio
038baede5a
Reference the BaseButton class explicitly in button class documentations
...
Users are sometimes confused as to the `pressed` property not being
visible in the Button class documentation. This is because `pressed`
is defined in BaseButton.
2020-09-23 23:34:28 +02:00
andriyDev
45a1c6f278
Added inspector_only option to inspect_object in EditorInterface.
...
Updated docs to reflect change to inspect_object.
2020-09-23 13:56:44 -04:00
Rémi Verschelde
7b1de6deda
Merge pull request #42126 from Calinou/doc-videoplayer-formats
...
Improve documentation about VideoPlayer video formats
2020-09-23 15:40:50 +02:00
Hugo Locurcio
1efe57848a
Improve documentation about VideoPlayer video formats
...
This closes https://github.com/godotengine/godot-docs/issues/4021 .
2020-09-23 14:28:16 +02:00
Rémi Verschelde
c16ef5cb4f
Merge pull request #42181 from Leleat/document-open-open_script_create_dialog
...
Add description for ScriptEditor.open_script_create_dialog()
2020-09-23 09:31:00 +02:00
Rémi Verschelde
d21b3c2693
Merge pull request #42217 from Calinou/doc-richtextlabel-append-bbcode-no-close
...
Document `RichTextLabel.append_bbcode()` not closing previously open tags
2020-09-23 08:59:14 +02:00
Rémi Verschelde
94529d0e1e
Merge pull request #41912 from skyace65/NavigationMesh
...
Document some properties of NavigationMesh
2020-09-22 16:38:27 +02:00
Rémi Verschelde
17b047bd30
Merge pull request #42227 from Calinou/doc-array-fix-typo
...
Fix a typo in the Array class documentation
2020-09-21 18:43:49 +02:00
Hugo Locurcio
603eddce86
Fix a typo in the Array class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4049 .
2020-09-21 17:03:14 +02:00
Hugo Locurcio
e9eddb4f1f
Cross-reference AABB and Rect2 in the class reference
2020-09-21 14:27:50 +02:00
Hugo Locurcio
3e1457f517
Document `RichTextLabel.append_bbcode()` not closing previously open tags
...
This closes #42216 .
2020-09-20 18:21:19 +02:00
Hugo Locurcio
0422027f07
Document that the JavaScript singleton may be disabled at build-time
2020-09-20 16:40:16 +02:00
Leleat
adb205a150
add description for ScriptEditor.open_script_create_dialog()
2020-09-19 00:03:24 +02:00
Rémi Verschelde
3e78963bb9
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2020-09-18 13:44:25 +02:00
Marcel Admiraal
41209efa7f
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
2020-09-18 10:43:31 +01:00
bruvzg
6a14c72b12
Add window click-through support.
2020-09-17 12:36:18 +03:00
Hugo Locurcio
9712f8fd2d
Cross-reference AABB getter methods in the documentation
...
This also clarifies that `get_aabb()` returns the AABB in local space.
See https://github.com/godotengine/godot/issues/42095 .
2020-09-16 15:53:10 +02:00
skyace65
75adefd4b6
Add documentation for shelf filters
2020-09-15 09:34:12 -04:00
Rémi Verschelde
4450764479
Merge pull request #42086 from akien-mga/makerst-newline-eof
...
makerst: Add missing newline at EOF
2020-09-15 15:18:50 +02:00
Hugo Locurcio
f83249f224
Clarify that 2D cell sizes are defined in pixels
...
See https://github.com/godotengine/godot/issues/40577#issuecomment-662329021 .
2020-09-15 14:06:42 +02:00
Rémi Verschelde
d435537f7e
makerst: Add missing newline at EOF
2020-09-15 10:47:35 +02:00
Yuri Roubinsky
f137f14e1c
Renames Type to OpType in VisualShaderNodeMultiplyAdd
...
To prevent possible conflicts with C# and other languages.
2020-09-15 11:06:18 +03:00
Danil Alexeev
a4c5790350
Several documentation improvements
2020-09-14 20:02:19 +03:00
Rémi Verschelde
c5f7a581f7
Merge pull request #42036 from Calinou/doc-object-metadata-remove
...
Document how to remove metadata from an Object
2020-09-14 14:22:15 +02:00
Hugo Locurcio
cba4d73b71
Document how to remove metadata from an Object
...
This closes https://github.com/godotengine/godot-docs/issues/4010 .
2020-09-14 14:01:13 +02:00
Rémi Verschelde
8818a93a3c
Merge pull request #41987 from skyace65/Audio1
...
Improve AudioEffectDistortion and AudioEffectFilter documentation
2020-09-14 09:23:04 +02:00
Hugo Locurcio
52d77b6928
Update and complete the Sprite3D and SpriteBase3D class documentations
...
This removes an outdated notice about Sprite3D performance issues
which will most likely be fixed in the new implementation.
2020-09-12 15:43:01 +02:00
skyace65
959f2287f6
Improve AudioEffectDistortion and AudioEffectFilter documentation
2020-09-11 11:34:23 -04:00
Ebrahim Ebrahim
b9764b6109
Clarify get_data Image method
2020-09-11 11:10:18 -04:00
Rémi Verschelde
a2a78a8066
doc: Sync classref with current source
...
Bind missing enums.
2020-09-11 12:22:10 +02:00
Rémi Verschelde
d782405bcf
Merge pull request #41957 from skyace65/SpriteFrames
...
Improve SpriteFrames get_animation_loop description
2020-09-10 21:22:00 +02:00
skyace65
d311c48d6a
Improve SpriteFrames get_animation_loop description
2020-09-10 15:08:42 -04:00
Rémi Verschelde
0819657c3b
Merge pull request #41954 from Calinou/raycast-rename-cast-to
...
Rename RayCast's `cast_to` property to `target_position`
2020-09-10 19:19:59 +02:00
Hugo Locurcio
a706c22db7
Rename RayCast's `cast_to` property to `target_position`
...
`cast_to` is sometimes mistaken as a method rather than a property.
`target_position` makes it more obvious that it's a property.
2020-09-10 19:06:56 +02:00
Rémi Verschelde
1d70912080
Merge pull request #41890 from YeldhamDev/tabs_previous
...
Add 'get_previous_tab()' to 'Tabs'
2020-09-10 11:20:11 +02:00
Yuri Roubinsky
5ba8246cfb
Added Texture3D to visual shaders
2020-09-10 07:40:06 +03:00
Hugo Locurcio
3e0226515e
Rename ShortCut to Shortcut which is more grammatically correct
...
See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980 .
2020-09-09 21:54:54 +02:00
skyace65
496a2f17bd
Document some properties of NavigationMesh
2020-09-09 10:21:18 -04:00
Hugo Locurcio
263f620421
Improve documentation related to Array error handling
...
This closes https://github.com/godotengine/godot-docs/issues/3834 .
2020-09-09 14:57:02 +02:00
Michael Alexsander
2b319889cb
Add 'get_previous_tab()' to 'Tabs'
2020-09-08 17:35:49 -03:00
Rémi Verschelde
3c42d5789f
Merge pull request #38308 from bruvzg/sad_security_circus
...
Adds PCK encryption support (using script encryption key for export).
2020-09-07 17:12:01 +02:00
Fabio Alessandrelli
2cb6b2ac6f
Merge pull request #38944 from Wavesonics/http-gzip
...
HttpRequest now handles gzipping response bodies
2020-09-07 17:03:19 +02:00
Hugo Locurcio
40b5331d79
Clarify the required child node type in the GridContainer documentation
...
This closes #41822 .
2020-09-07 01:41:08 +02:00
Yuri Roubinsky
de097b9327
Removes redundant code & fix documentation for VisualShaderNodeCustom
2020-09-06 12:09:15 +03:00
bruvzg
f043eabdd8
Adds PCK encryption support (using script encryption key for export).
...
Change default encryption mode from ECB to CFB.
2020-09-05 14:53:39 +03:00
Rémi Verschelde
de284f931d
doc: Sync classref with current source
2020-09-04 10:43:11 +02:00
bruvzg
80b8eff6aa
[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.
2020-09-03 19:56:24 +03:00
Rémi Verschelde
0864f12f0d
Merge pull request #41044 from hoontee/master-4
...
Implement CollisionShape3D.make_convex_from_siblings()
2020-09-03 16:29:08 +02:00
Rémi Verschelde
fd51d022c1
Merge pull request #41714 from Yetizone/sub_viewport_clear_mode_doc
...
Mention SubViewport.render_target_clear_mode property is intended for 2D usage
2020-09-03 08:01:09 +02:00
Rémi Verschelde
4a5138bb99
Merge pull request #40400 from Arivval/load-resourcepack-with-offset
...
Added PCK file loading with offset feature
2020-09-03 07:33:19 +02:00
Yetizone
3866d237e5
Mention SubViewport.render_target_clear_mode property is intended for 2D usage.
2020-09-03 08:10:16 +03:00
Yilin Ma
c524d50444
added load resource pack with offset feature
...
updated variables to use size_t
removed line break to make code style more consistent
added conditional check to return an error if offset field is used when loading a ZIP package
fixed typo
formatted file
added commit regarding self contained exe files
handled error loging for load zip file with offset
spelling tweak
updated conditional statement for magic check
udpated error message when load Zip file with offset is called
fix CI
Trying to fix CI
fix CI done
Added error message for loading self-contained exe with offset.
Updated documentation.
Fix indent
final fix indent
Updated documentation.
fix indents
Updated doc based on suggestion
Final fix
fixed format
2020-09-02 17:57:01 -05:00
Adam Brown
6584db1538
HTTPRequest now accepts gzip
...
Added request_raw to HttpRequest
Added decompress_dynamic to Compression class
Added decompress_dynamic to BytePoolArray
Merge doc fix
revert
2020-09-02 12:59:59 -07:00
Eric M
926c282fd5
Updated PopupMenu documentation after merge of #41640 - PopupMenu rework
2020-09-02 10:19:57 +10:00
Rémi Verschelde
d70a17d5d3
Merge pull request #40408 from Calinou/doc-font-missing-character
...
Document missing character behavior when drawing text with fonts
2020-09-01 23:48:45 +02:00
Rémi Verschelde
23ce1dbfd5
Merge pull request #41668 from clayjohn/GLOW-HQ
...
Add high quality glow mode
2020-09-01 21:04:07 +02:00
Rémi Verschelde
c55df5c016
Merge pull request #41659 from umarcor/doc/FileDialog/warning-sandbox
...
doc/FileDialog: warn about access limitations in sandboxed apps
2020-09-01 20:55:19 +02:00
Rémi Verschelde
f8720c85ca
Merge pull request #41679 from Calinou/doc-projectsettings-name-user-data
...
Document how renaming the project affects the user data path
2020-09-01 20:25:45 +02:00
Rémi Verschelde
e143488d06
Merge pull request #41641 from skyace65/TextEdit
...
Document scroll horizontal and scroll vertical in text edit
2020-09-01 19:50:44 +02:00
Rémi Verschelde
52013cdee3
Merge pull request #41677 from Calinou/doc-rigidbody-sleeping
...
Document RigidBodies in character mode never sleeping automatically
2020-09-01 19:48:42 +02:00
Rémi Verschelde
cb5db91cf0
Merge pull request #40269 from Calinou/doc-animatedsprite2d-normal-specular
...
Document support for normal and specular maps in AnimatedSprite2D
2020-09-01 19:47:56 +02:00
Hugo Locurcio
386f86cddf
Document how renaming the project affects the user data path
2020-09-01 19:19:25 +02:00
Hugo Locurcio
5fbf709ca2
Document RigidBodies in character mode never sleeping automatically
...
See #7996 .
2020-09-01 18:54:13 +02:00
umarcor
1ddb0e56ac
doc/FileDialog: warn about access limitations in sandboxed apps
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-09-01 16:22:15 +02:00
skyace65
eb8fe8b084
Document scroll horizontal and scroll vertical in text edit
2020-09-01 10:13:54 -04:00
Hugo Locurcio
7735d8d0ce
Document missing character behavior when drawing text with fonts
...
See #40405 .
2020-09-01 14:36:16 +02:00
Rémi Verschelde
877246a78e
Merge pull request #41505 from SekoiaTree/neg-get-child
...
Made get_child support negative indexes
2020-09-01 12:35:55 +02:00
SekoiaTree
bdf614d3d7
Made get_child support negative indexes, with documentation
2020-09-01 11:34:36 +02:00
clayjohn
8da3c739bf
Add high quality glow mode
2020-08-31 23:16:41 -07:00
Aaron Franke
ecd6a893b4
Change Color HTML conversion from ARGB to RGBA
...
Also add support for 3 and 4 digit values in C#. Now it actually matches the HTML/CSS spec.
2020-09-01 02:07:35 -04:00
Rémi Verschelde
2cfc5b8680
Merge pull request #40993 from Calinou/doc-collision-layer-mask
...
Reference the online documentation in collision layer/mask properties
2020-08-31 15:32:44 +02:00
Rémi Verschelde
0b4a325ddc
Merge pull request #41048 from Calinou/doc-add-link-titles
...
Add link titles for all links in the class reference
2020-08-31 15:32:19 +02:00
Jonathan Vice
28326aec60
Reorder sprite h_frames & v_frames
2020-08-31 14:55:49 +02:00
Hugo Locurcio
ecc47ce235
Document the BaseMaterial3D billboard mode not being suited for VR
...
See #41567 .
2020-08-31 14:24:43 +02:00
Hugo Locurcio
c4903a603b
Add link titles for all links in the class reference
...
This makes them display in a nicer way in the editor help.
(The title will display instead of the full URL.)
2020-08-31 14:22:07 +02:00
Rémi Verschelde
bb724ffd02
Merge pull request #41602 from Andy0903/option-button-signal-word-order-fix
...
OptionButton.xml word order fix
2020-08-31 13:27:09 +02:00
Rémi Verschelde
fbb2e60783
Merge pull request #41457 from KoBeWi/ca
...
Explain editor usage of current_animation
2020-08-31 13:24:37 +02:00
Rémi Verschelde
df333bcc66
Merge pull request #41012 from mrushyendra/cursor_open
...
Updated cursor positioning description for File open()
2020-08-31 13:22:35 +02:00
Rémi Verschelde
6ebe68554c
Merge pull request #40998 from Calinou/doc-httprequest-get-request-data
...
Document HTTPRequest not supporting request data with GET method
2020-08-31 13:21:38 +02:00
Rémi Verschelde
9ae5f998e7
Merge pull request #41018 from Calinou/doc-theme-constants
...
Improve the documentation related to overriding GUI theme items
2020-08-31 13:13:32 +02:00
Rémi Verschelde
1137d2b5dc
Merge pull request #41645 from akien-mga/classref
...
doc: Sync classref with current source
2020-08-31 12:52:53 +02:00
Rémi Verschelde
ccf3c2d0e1
Merge pull request #41077 from Calinou/doc-find-node-find-parent
...
Mention performance caveats about `find_node()` and `find_parent()`
2020-08-31 12:52:36 +02:00
Rémi Verschelde
ee03e39da7
doc: Sync classref with current source
2020-08-31 11:25:11 +02:00
Rémi Verschelde
a0b95e5d9c
Merge pull request #41638 from skyace65/Texture
...
Clarify get_data texture method
2020-08-31 11:17:47 +02:00
Rémi Verschelde
a276e6fc36
Merge pull request #40955 from Calinou/test-add-expression
...
Add a test suite for Expression
2020-08-31 11:12:34 +02:00
skyace65
635c9761a0
Clarify get_data texture method
2020-08-30 21:47:28 -04:00
Hugo Locurcio
ab2f41f598
Mention performance caveats about `find_node()` and `find_parent()`
...
See https://github.com/godotengine/godot-proposals/issues/1303 .
2020-08-29 21:36:57 +02:00
Tomasz Chabora
70ce86ad29
Explain editor usage of current_animation
2020-08-29 19:27:03 +02:00
Andreas Gustafsson
8f082d63c6
OptionButton.xml word order fix
...
Change word order of 'Emitted the when...' into 'Emitted when the...'
2020-08-29 17:21:00 +02:00
Rémi Verschelde
6ae83b64ef
Merge pull request #41521 from Calinou/doc-accelerometer-platforms
...
Document supported platforms for `Input.get_accelerometer()` and related
2020-08-29 13:04:20 +02:00
Rémi Verschelde
7d6c5c90b5
Merge pull request #41350 from skyace65/tilemap
...
Add defaults to tilemap set_cell function example
2020-08-29 12:53:22 +02:00
Hugo Locurcio
dec20883c1
Document the GDScript debugger not supporting Thread yet
...
See https://github.com/godotengine/godot/issues/2446 .
2020-08-29 02:24:07 +02:00
Hugo Locurcio
eee704e6f6
Document supported platforms for `Input.get_accelerometer()` and related
...
This closes #41303 .
2020-08-29 02:16:43 +02:00
Rémi Verschelde
5abb53be68
Merge pull request #41441 from YeldhamDev/input_docs_mouse_capture
...
State how 'MOUSE_MODE_CAPTURED' actually works in the 'Input' docs
2020-08-28 23:30:08 +02:00
Rémi Verschelde
61e6cec02e
Merge pull request #41507 from skyace65/AudioListener
...
Mention listener node in AudioStreamPlayer3D description
2020-08-28 23:28:44 +02:00
Michael Alexsander
4f13a7f47f
State how 'MOUSE_MODE_CAPTURED' actually works in the 'Input' docs
2020-08-28 17:19:19 -03:00
Hugo Locurcio
359c95156a
Clarify that `KEY_BACK` is unrelated to the Back button on Android
...
This closes #19325 .
2020-08-28 17:10:08 +02:00
Rémi Verschelde
a258180723
Merge pull request #41573 from skyace65/Thread
...
Add information to get thread id
2020-08-28 10:46:16 +02:00
Rémi Verschelde
2b36a999fa
Merge pull request #41566 from skyace65/TouchScreenButton
...
Improve touch screen button description
2020-08-28 10:46:02 +02:00
skyace65
aa08023115
Add information to get thread id
2020-08-27 22:11:35 -04:00
skyace65
416cac96fa
Improve touch screen button description
2020-08-27 16:48:07 -04:00
skyace65
51367c1bcf
Mention listener node in AudioStreamPlayer3D description
2020-08-27 12:44:20 -04:00
skyace65
555f4f3e17
Document where the center of mass is for RigidBody nodes
2020-08-27 11:20:29 -04:00
Hugo Locurcio
d5ffa42cd2
Add a test suite for Expression
...
This also makes the first parameter of `Expression::execute()` optional
from C++. Previously, it was only optional in the scripting API.
2020-08-27 15:16:09 +02:00
simpu
ea2eaf8c27
Added debugger plugin support
...
Changes:
* EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it.
* EditorDebuggerPlugin is added which handles the editor side of communication.
2020-08-26 11:24:51 +05:30
Rémi Verschelde
9d8f3496e8
Merge pull request #40443 from SkyLucilfer/PluralsSupport
...
Added plurals and context support to Translation
2020-08-25 12:11:56 +02:00
Rémi Verschelde
8c4f556637
Merge pull request #41425 from Calinou/doc-2d-sprite-animation
...
Link to 2D Sprite animation tutorial in relevant class documentations
2020-08-21 15:54:15 +02:00
Hugo Locurcio
6d62e8b917
Link to 2D Sprite animation tutorial in relevant class documentations
2020-08-21 14:26:28 +02:00
Tomasz Chabora
255129a5d9
Mention that body_set_state is deferred
2020-08-21 13:31:33 +02:00
Rémi Verschelde
6790f111ae
Merge pull request #41387 from skyace65/CollisionShapeDoc
...
Update CollisionShape2D doc
2020-08-21 02:28:08 +02:00
skyace65
fe8d998858
Update CollisionShape2D doc
2020-08-20 20:13:51 -04:00
skyace65
3c9c541c59
Clarify points in Line2D doc
2020-08-21 02:00:14 +02:00
Rémi Verschelde
5f6368278f
Merge pull request #41080 from naithar/feature/ios-framework-import
...
[iOS] [4.0] Export: Add a method to embed a framework
2020-08-19 14:10:50 +02:00
Sergey Minakov
1661309d59
iOS Export: Add a method to embed a framework
...
By default 'add_ios_framework' would not embed a framework to save previous behavior.
New 'add_ios_embedded_framework' would embed framework on export.
2020-08-19 14:35:54 +03:00
Hugo Locurcio
95c2e43095
Document limitations related to centering text with RichTextLabel
...
This is a relatively common question on various community channels.
2020-08-19 10:42:00 +02:00
SkyJJ
ce3461dc88
Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.
2020-08-19 03:10:51 +02:00
SkyJJ
0ef758eaee
Updated Translation architecture to have TranslationPO, did some commit fixes and updated class Reference.
2020-08-19 03:01:53 +02:00
SkyJJ
396f2eee82
Update POT generation to handle context and plurals
2020-08-19 03:01:52 +02:00
skyace65
43ab91ca02
Add defaults to tilemap set_cell function example
2020-08-18 10:37:05 -04:00
Hugo Locurcio
a7ad7ce3bd
Make the lack of AtlasTexture support in AnimatedTexture more prominent
...
See https://github.com/godotengine/godot/issues/33855 .
2020-08-17 17:34:40 +02:00
Rémi Verschelde
789dab3fb2
Merge pull request #41105 from Calinou/doc-dynamicfont-no-kerning
...
Document the lack of kerning support in DynamicFont
2020-08-15 16:20:02 +02:00
Rémi Verschelde
51358bb546
Merge pull request #41121 from Calinou/doc-slider-range-signals
...
Reference Range signals in the Slider class documentations
2020-08-14 13:12:09 +02:00
Rémi Verschelde
d2d4c1c957
Update AUTHORS and DONORS list
...
New contributors added to AUTHORS:
@hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg
Thanks to all contributors and donors for making Godot possible!
---
Also changes to relevant code that parses the DONORS.md to match
the new tiers.
2020-08-14 00:06:51 +02:00
Rémi Verschelde
9a56f82495
Merge pull request #41216 from ThakeeNathees/doc-JSON.print
...
Documentation: clarify the indent parameter of JSON.print
2020-08-13 10:56:10 +02:00
Rémi Verschelde
0d815ed157
Merge pull request #41219 from akien-mga/gles2-takes-holidays
...
Remove obsolete GLES2 backend code
2020-08-13 10:52:38 +02:00
Rémi Verschelde
bf291b62e2
Merge pull request #41207 from KoBeWi/you_got_error
...
Mention that Array.front/back throw error if empty
2020-08-13 10:33:40 +02:00
Rémi Verschelde
334c4129a4
Merge pull request #41198 from hazarek/master
...
grow_mask() description added
2020-08-13 10:31:42 +02:00
Rémi Verschelde
33b2070d2e
Remove obsolete GLES2 backend code
...
This code currently isn't compiled (and cannot compile).
We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan
(probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite
different so it's not relevant to keep this old Godot 3.2 code.
The `drivers/gles2` code from the `3.2` branch can be used as a reference for
a potential new implementation.
2020-08-13 10:04:53 +02:00
Thakee Nathees
3609351788
Documentation: clarify the indent parameter of JSON.print
2020-08-13 11:35:33 +05:30
Tomasz Chabora
4ff1a34171
Mention that Array.front/back throw error if empty
2020-08-12 17:53:18 +02:00
Tomasz Chabora
677796a2c3
Expose NOTIFICATION_POST_ENTER_TREE
2020-08-12 13:31:32 +02:00
Hazar
1c61c8ab55
grow_mask() description added
...
Description;
> Applies morphological dilation to the bitmap. The first argument is the dilation amount, Rect2 is the area where the dilation will be applied.
2020-08-12 11:50:15 +03:00
Rémi Verschelde
d0d75f0627
Merge pull request #41008 from KoBeWi/∠
...
Improve Vector2.angle() description
2020-08-11 19:11:59 +02:00
Rémi Verschelde
e2f4510a27
i18n: Sync classref translations with Weblate (again)
...
Missed some uncommitted changes from Weblate in the previous sync.
2020-08-11 16:42:27 +02:00
Rémi Verschelde
33a3e78926
i18n: Sync classref translation template with current docs
2020-08-11 16:37:29 +02:00
Rémi Verschelde
0ccd5ad3c5
i18n: Sync classref translations with Weblate
2020-08-11 16:23:22 +02:00
bruvzg
f797e1c078
Improve `OS::get_locale()` on macOS and Windows, replace "-" with "_" and use system macros instead of bitwise AND. Add locale format info to the documentation.
2020-08-11 13:19:19 +03:00
PouleyKetchoupp
095331fae4
Add option to disable virtual keyboard for TextEdit
...
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.
It allows implementing a custom virtual keyboard.
2020-08-09 11:06:36 +02:00
Hugo Locurcio
eaa52cbb36
Reference Range signals in the Slider class documentations
...
See https://github.com/godotengine/godot-docs/issues/3837 .
2020-08-08 13:56:22 +02:00
Hugo Locurcio
e506479fce
Document the lack of kerning support in DynamicFont
2020-08-07 15:03:35 +02:00
hoontee
5f86aeffe2
Implement CollisionShape3D.make_convex_from_siblings()
2020-08-05 04:13:33 -05:00
Tomasz Chabora
a09078e64b
Improve Vector2.angle() description
2020-08-05 00:18:19 +02:00
Hugo Locurcio
2a8bbda2a7
Improve the documentation related to overriding GUI theme items
...
Overriding theme items is a common point of confusion.
Hopefully, these code samples should clear things up.
2020-08-04 12:57:53 +02:00
Maganty Rushyendra
5e77eea216
Updated cursor positioning description for File open()
...
Added more details about the cursor offsets for the different ModeFlags
in the `File` class.
2020-08-04 13:53:52 +08:00
Hugo Locurcio
2f577facc9
Document HTTPRequest not supporting request data with GET method
...
This also improves the HTTPClient class documentation to be easier
to read and more informative.
This closes #40564 .
2020-08-03 14:57:27 +02:00
Hugo Locurcio
c73c327bab
Reference the online documentation in collision layer/mask properties
...
See https://github.com/godotengine/godot-docs/pull/3863 .
2020-08-03 13:58:51 +02:00
Rémi Verschelde
5d880bf7db
Merge pull request #40613 from HaSa1002/multi-lang-docs
...
Add multiple programming language support to class reference
2020-07-31 14:51:33 +02:00
Rémi Verschelde
8b28553de8
Merge pull request #40816 from codetorex/master
...
Added missing information about File.open_encrypted function to docs
2020-07-31 13:07:42 +02:00
Rémi Verschelde
b1efa0f07f
Merge pull request #40418 from Calinou/doc-button-code-example
...
Add an example for creating a button in the Button class documentation
2020-07-31 13:05:48 +02:00
Rémi Verschelde
932a719f6e
Merge pull request #40540 from TheDuriel/patch-2
...
Clarify TreeItem return values
2020-07-31 13:04:13 +02:00
codetorex
3f6a7c74e3
Added missing information about File.open_encrypted function to docs.
2020-07-31 12:57:44 +02:00
Rémi Verschelde
ba853f86af
Merge pull request #40903 from Calinou/doc-json
...
Improve JSON-related documentation
2020-07-31 10:39:56 +02:00
Hugo Locurcio
930e10ffff
Improve JSON-related documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3848 .
2020-07-31 09:56:11 +02:00
Rémi Verschelde
bb6adf4ef9
Merge pull request #40872 from Calinou/makerst-generate-abbreviations
...
makerst: Add descriptions to method qualifiers
2020-07-30 22:46:01 +02:00
Hugo Locurcio
c162a39c7b
makerst: Add descriptions to method qualifiers
...
This closes https://github.com/godotengine/godot-docs/issues/1753 .
2020-07-30 22:11:02 +02:00
Rémi Verschelde
829039d8b1
Merge pull request #40874 from Calinou/doc-editorinterface-get_editor_viewport
...
Improve the `EditorInterface.get_editor_viewport()` description
2020-07-30 14:29:09 +02:00
Hugo Locurcio
60d40d8430
Improve the `EditorInterface.get_editor_viewport()` description
...
This closes https://github.com/godotengine/godot-docs/issues/1109 .
2020-07-30 12:21:49 +02:00
Hugo Locurcio
f50a4b8a3b
Link to Thread-safe APIs in the Thread class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2276 .
2020-07-30 12:18:00 +02:00
Hugo Locurcio
5f2b6bd476
Document how to perform advanced string splitting using RegEx
...
This closes https://github.com/godotengine/godot-docs/issues/3607 .
2020-07-29 12:12:01 +02:00
Rémi Verschelde
3890638d84
Merge pull request #40821 from Calinou/doc-canvasitem-draw_string-example
...
Add an example to the `CanvasItem.draw_string()` documentation
2020-07-29 11:32:05 +02:00
Hugo Locurcio
0c7735be5b
Add an example to the `CanvasItem.draw_string()` documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3374 .
2020-07-29 10:43:10 +02:00
Hugo Locurcio
4257aa5c5c
Fix incorrect key name in the Animation documentation code sample
...
This closes https://github.com/godotengine/godot-docs/issues/3841 .
2020-07-29 10:13:44 +02:00
Yuri Roubinsky
cf03f90fa8
Merge pull request #40785 from Chaosus/vs_uniform_ref
...
Added UniformRef visual shader node
2020-07-28 16:17:37 +03:00
Yuri Roubinsky
7ddaff47a3
Added UniformRef visual shader node
2020-07-28 14:44:53 +03:00
Rémi Verschelde
eb0a67c6b8
Merge pull request #40754 from Chaosus/vs_default_uniforms
...
Added default value for uniforms in visual shaders
2020-07-28 13:40:49 +02:00
Rémi Verschelde
932b75e247
doc: Sync classref with current source
2020-07-28 01:08:44 +02:00
Rémi Verschelde
c845e20add
Revert "Allow Area2D and 3D mouse events without a collision layer"
...
This reverts commit 7eebb06b55
.
2020-07-27 22:45:01 +02:00
Yuri Roubinsky
8fefdcf113
Added default value for uniforms in visual shaders
2020-07-27 15:44:22 +03:00
Rémi Verschelde
303515981b
Merge pull request #40750 from Calinou/doc-canvasitem-node3d-visible
...
Improve visibility documentation for CanvasItem and Node3D
2020-07-27 14:38:55 +02:00
Hugo Locurcio
27b09dfc44
Improve visibility documentation for CanvasItem and Node3D
...
This closes https://github.com/godotengine/godot-docs/issues/3840 .
2020-07-27 14:26:46 +02:00
Rémi Verschelde
bd9fc75768
Merge pull request #40706 from akien-mga/style-fix-file_format-macos
...
Fix code format scripts compat with non-GNU Unices
2020-07-27 13:27:56 +02:00
Rémi Verschelde
c71e189efd
Style: Fix code format scripts compat with non-GNU Unices
...
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.
And improve it to also remove trailing tabs, not just spaces.
2020-07-27 13:11:44 +02:00
Rémi Verschelde
08d3d06ed7
Merge pull request #40749 from madmiraal/fix-9097
...
Clarify the difference between contacts and collisions.
2020-07-27 12:04:55 +02:00
Marcel Admiraal
6f1c99e5b4
Clarify the difference between contacts and collisions.
2020-07-27 10:35:15 +01:00
Rémi Verschelde
4fdc3e683a
Merge pull request #40743 from Calinou/doc-object-vs-reference
...
Improve the Object, Reference and Resource class documentations
2020-07-27 10:38:56 +02:00
Hugo Locurcio
4275e6aad5
Improve the Object, Reference and Resource class documentations
2020-07-27 10:03:46 +02:00
PouleyKetchoupp
8c05dadcff
Fix Return key events in LineEdit & TextEdit on Android
...
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.
Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.
Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.
Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
2020-07-26 20:06:07 +02:00
Rémi Verschelde
da621ab0c5
Merge pull request #40442 from Calinou/doc-tile-get-shapes
...
Document an example dictionary returned by `TileSet.tile_get_shapes()`
2020-07-26 16:42:35 +02:00
Rémi Verschelde
6f292f906e
Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_vals
...
Docs: Ignore OS specific values (constants, project settings, properties)
2020-07-25 18:54:25 +02:00
HaSa1002
5b51ae1c5d
Add multiple programming language support to class reference
2020-07-23 15:19:09 +02:00
Rémi Verschelde
460a00619e
Merge pull request #40605 from QbieShay/spring-arm-doc-fix
...
fixed documentation for get_hit_length of spring arm 3D
2020-07-23 10:34:16 +02:00
QbieShay
d1bff73611
fixed documentation for get_hit_length of spring arm 3D
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-22 23:08:37 +02:00
follower
e38b63400c
Fix presumed copy/paste error: "Returns" -> "Sets"
...
I might be going out on a limb here... :D
2020-07-23 04:21:29 +12:00
Rémi Verschelde
e196b8127c
Merge pull request #40590 from Calinou/doc-inputeventmousemotion-polling-rate
...
Document polling rate limitations in InputEventMouseMotion
2020-07-22 13:17:03 +02:00
Hugo Locurcio
924b7ea2f5
Document polling rate limitations in InputEventMouseMotion
...
This closes #40579 .
2020-07-22 10:25:13 +02:00
Rémi Verschelde
d8c3fba1d4
Merge pull request #40588 from nekomatata/virtual-keyboard-disable
...
Add option to disable virtual keyboard for LineEdit
2020-07-22 09:33:47 +02:00
PouleyKetchoupp
0aa56e3ab8
Add option to disable virtual keyboard for LineEdit
...
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-07-22 08:19:05 +02:00
Ryan Roden-Corrent
c6919a13da
Fix bound return type on get_priority.
...
Also adds a description explaining gizmo priority.
Inferred from:
e4363d001a/editor/plugins/spatial_editor_plugin.cpp (L5867-L5880)
e4363d001a/editor/plugins/spatial_editor_plugin.cpp (L6462-L6470)
2020-07-21 18:18:33 -04:00
Rémi Verschelde
a5fb445121
Merge pull request #40450 from asmaloney/spelling
...
Fix spelling & grammar in comments, docs, and messages
2020-07-21 22:14:04 +02:00
Rémi Verschelde
bb2c0d3c3a
Merge pull request #40501 from aaronfranke/core-docs-cs
...
Update core documentation to match recent C# changes
2020-07-21 21:28:55 +02:00
Andy Maloney
4dda62f591
Fix spelling & grammar in comments, docs, and messages
2020-07-21 15:17:23 -04:00
Rémi Verschelde
e73de413db
Merge pull request #40457 from Calinou/doc-basebutton-pressed-toggled
...
Mention `toggled` signal for pressed state in BaseButton documentation
2020-07-21 21:05:58 +02:00
Aaron Franke
83e324d670
Update core documentation to match recent C# changes
...
Also a few minor API changes like adding AABB.abs()
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-21 14:44:53 -04:00
Rémi Verschelde
01fb1f189f
Merge pull request #40512 from yrk06/ExposeInertiaTensorMaster
...
Add Method get_inverse_inertia_tensor
2020-07-21 16:49:24 +02:00
Yerik
a91103ac89
Add Method get_inverse_inertia_tensor
2020-07-21 11:33:41 -03:00
Rémi Verschelde
15a97679bb
Merge pull request #40476 from Calinou/doc-visibilitynotifier
...
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
2020-07-20 23:50:08 +02:00
Rémi Verschelde
ca5033e8ab
Merge pull request #40463 from Calinou/doc-editorsettings
...
Complete the EditorSettings class documentation
2020-07-20 23:48:23 +02:00
Rémi Verschelde
2334a1cf19
Merge pull request #40493 from Calinou/doc-editor-plugins-interfaces
...
Document several editor-related classes to 100% completion
2020-07-20 23:47:50 +02:00
Rémi Verschelde
6746f8b890
Merge pull request #40477 from Calinou/doc-vector-dot
...
Document `Vector2.dot()` and `Vector3.dot()` more extensively
2020-07-20 23:46:28 +02:00
Rémi Verschelde
aada93afc0
Merge pull request #40491 from RandomShaper/font_avail_chars
...
Add DynamicFont::get_available_chars()
2020-07-20 19:18:53 +02:00
Pedro J. Estébanez
80a5df4821
Add DynamicFont::get_available_chars()
2020-07-20 17:44:39 +02:00
Hugo Locurcio
90db42d9db
Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
...
See https://github.com/godotengine/godot/issues/40247 .
2020-07-20 15:15:55 +02:00
Hugo Locurcio
fb2e4d77eb
Document several editor-related classes to 100% completion
2020-07-20 14:48:42 +02:00
TheDuriel
0ff1ca4655
Clarify TreeItem return values
2020-07-20 14:38:34 +02:00
Hugo Locurcio
1554fce23c
Document `Vector2.dot()` and `Vector3.dot()` more extensively
...
These methods are commonly used in games. It's time to make the
documentation more explicit about them :)
2020-07-20 14:20:17 +02:00
Rémi Verschelde
639252d0f8
Merge pull request #40409 from Calinou/doc-control-rect-scale
...
Document caveats related to Control scaling
2020-07-20 13:56:50 +02:00
Andrii Doroshenko (Xrayez)
df80e259cd
Document the process of parsing command-line arguments
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-20 12:09:46 +03:00
Hugo Locurcio
ce57cc43dd
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
2020-07-18 00:30:30 +02:00
Hugo Locurcio
708a0a43fb
Complete the EditorSettings class documentation
...
EditorSettings is now 100% documented.
2020-07-17 20:23:14 +02:00
Hugo Locurcio
43dae28e9d
Mention `toggled` signal for pressed state in BaseButton documentation
...
This closes #40455 .
2020-07-17 00:01:24 +02:00
Hugo Locurcio
60bb80505f
Document an example dictionary returned by `TileSet.tile_get_shapes()`
2020-07-16 09:42:24 +02:00
Hugo Locurcio
8836c7203b
Add an example for creating a button in the Button class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3798 .
2020-07-15 16:33:44 +02:00
Hugo Locurcio
d4085d6bfb
Mention the Data paths documentation in the File class
...
This closes https://github.com/godotengine/godot-docs/issues/3799 .
2020-07-15 16:10:06 +02:00
Rémi Verschelde
f131daf972
Merge pull request #40414 from rcorre/get-mesh-arrays-doc
...
Clarify how to convert PrimitiveMesh to ArrayMesh.
2020-07-15 15:30:27 +02:00
Rémi Verschelde
1cc5d35906
Merge pull request #40412 from Calinou/doc-string-c-unescape
...
Document which escape sequences are supported by `String.c_unescape()`
2020-07-15 14:19:50 +02:00
Ryan Roden-Corrent
933bf96523
Clarify how to convert PrimitiveMesh to ArrayMesh.
...
It took me a bit to figure this out, as I was initially doing something
more complicated like this before I realized I just had to pass
get_mesh_arrays directly to add_surface_from_arrays.
```
var arr_mesh = ArrayMesh.new()
var arrays = []
arrays.resize(ArrayMesh.ARRAY_MAX)
arrays[ArrayMesh.ARRAY_VERTEX] = c.get_mesh_arrays()
arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)
```
2020-07-15 08:09:27 -04:00
Rémi Verschelde
08dda79a9c
Merge pull request #37961 from Calinou/doc-csharp-dynamic-object-call
...
Mention C# gotchas in Object's dynamic call/set/connect methods
2020-07-15 12:33:41 +02:00
Hugo Locurcio
04b25108ac
Document which escape sequences are supported by `String.c_unescape()`
...
See https://github.com/godotengine/godot/issues/38716 .
2020-07-15 11:52:00 +02:00
bruvzg
0181c3dde1
Docs: Ignore OS specific values (constants, project settings, properties).
2020-07-15 12:24:59 +03:00
Hugo Locurcio
a36912b3cb
Document caveats related to Control scaling
...
This is a common topic of confusion. Clarifying its intended scope
should make things easier to understand.
2020-07-15 10:36:29 +02:00
Rémi Verschelde
dad21acebd
Merge pull request #40380 from Calinou/doc-vehiclebody-limitations
...
Document VehicleBody3D and VehicleWheel3D limitations
2020-07-15 09:28:19 +02:00
Rémi Verschelde
c8523038cc
Merge pull request #40268 from DanielZTing/master
...
Fix cancel/OK button order on macOS
2020-07-15 09:21:04 +02:00
Rémi Verschelde
b79aa89796
doc: Sync classref with current source
2020-07-15 08:43:21 +02:00
Hugo Locurcio
878f03d8e3
Mention C# gotchas in Object's dynamic call/set/connect methods
...
This closes #34015 .
2020-07-14 17:07:10 +02:00
Hugo Locurcio
0493e7c106
Document VehicleBody3D and VehicleWheel3D limitations
...
These classes have dozens of open bugs and missing features
which may not be fixed anytime soon.
It's probably better to document it upfront at this point.
2020-07-14 16:16:08 +02:00
Fabio Alessandrelli
839c7b1ba3
Document updated UDPServer interface.
2020-07-14 14:10:18 +02:00
Aaron Franke
9986439352
Commit other files changed by file_format.sh
2020-07-13 14:14:11 -04:00
Rémi Verschelde
9678a41b19
Merge pull request #40272 from clayjohn/VULKAN-time-slicing
...
Add incremental update mode to sky
2020-07-11 10:00:39 +02:00
clayjohn
a54f93c169
Add incremental update mode to sky
2020-07-11 00:10:15 -07:00
Rémi Verschelde
d0cea291d2
Merge pull request #40193 from KoBeWi/dem_pikks
...
Allow Area2D and 3D mouse events without collision layer
2020-07-11 00:26:56 +02:00
Daniel Ting
9605fc54c7
Fix cancel/OK button order on macOS
...
The macOS platform convention regarding button order is cancel on left,
OK on right.
2020-07-10 15:10:11 -05:00
Hugo Locurcio
8d0099f5fc
Document support for normal and specular maps in AnimatedSprite2D
...
This closes #38509 .
2020-07-10 21:52:16 +02:00
Yuri Roubinsky
ecb5f7ea23
Added 'fma' function to shader language
2020-07-10 19:58:03 +03:00
Tomasz Chabora
7eebb06b55
Allow Area2D and 3D mouse events without a collision layer
...
Co-authored-by: madmiraal <madmiraal@users.noreply.github.com>
2020-07-10 13:23:20 +02:00
Rémi Verschelde
aeccd1e287
Merge pull request #40121 from Calinou/enable-file-logging
...
Enable file logging by default on desktops to help with troubleshooting
2020-07-10 11:02:57 +02:00
Rémi Verschelde
1282b8201f
Merge pull request #40243 from nathanfranke/fix-regression-directory-open-check
...
Follow-Up Fix Directory Open
2020-07-10 10:21:03 +02:00
Rémi Verschelde
2638168da8
Merge pull request #40246 from Calinou/doc-httprequest-post-example
...
Add a POST request example to the HTTPRequest class documentation
2020-07-10 10:01:56 +02:00
Nathan Franke
6952458538
Follow-Up Fix Directory Open
2020-07-10 02:56:37 -05:00
Hugo Locurcio
54db59be67
Add a POST request example to the HTTPRequest class documentation
2020-07-10 09:13:46 +02:00
Rémi Verschelde
8894af3908
Merge pull request #40210 from RantingBob/patch-1
...
Update Resource.xml to explain behavior of duplicate when subresource…
2020-07-10 08:59:27 +02:00
Rémi Verschelde
de794bfa3c
Merge pull request #40240 from Calinou/doc-packedscene-example-instance
...
Document how to instance a PackedScene and add it as a child
2020-07-09 23:04:21 +02:00
Hugo Locurcio
23d929d540
Document how to instance a PackedScene and add it as a child
...
This information was already present in `@GDScript.preload()`,
but it's not easy to find.
This closes https://github.com/godotengine/godot-docs/issues/3338 .
2020-07-09 20:05:33 +02:00
Hugo Locurcio
1261f47c35
Mention `SceneTree.create_timer()` in the Timer class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2349
(as the linked method already contains an example).
2020-07-09 19:43:38 +02:00
Hugo Locurcio
20af28ec06
Enable file logging by default on desktops to help with troubleshooting
...
- Use the `.log` file extension (recognized on Windows out of the box)
to better hint that generated files are logs. Some editors provide
dedicated syntax highlighting for those files.
- Use an underscore to separate the basename from the date and
the date from the time in log filenames. This makes the filename
easier to read.
- Keep only 5 log files by default to decrease disk usage in case
messages are spammed.
2020-07-08 18:57:25 +02:00
Bob Gardner
660a780c3b
Update Resource.xml to explain behavior of duplicate when subresources is true and a subresource contains further nested resources.
...
Updated documentation for duplicate() on Resource to better explain the behavior. As per #30385 .
2020-07-08 09:51:51 -07:00
Aaron Franke
af80bcd2f8
Add sort and has methods to PackedArrays
2020-07-06 22:16:39 -04:00
Yuri Sizov
49f6dc5004
Expose methods to play scene from plugin code
2020-07-06 17:39:16 +03:00
Jummit
d4c4d2db4c
add root_node as property of MultiplayerAPI
2020-07-05 16:15:04 +02:00
SkyJJ
cae6f0bda2
Change translation parser plugin API to parse_file()
2020-07-05 12:14:56 +02:00
Rémi Verschelde
8ccb1cec91
Merge pull request #40084 from bruvzg/macos_seamless_scaling
...
[macOS] Implement seamless display scaling.
2020-07-04 10:51:09 +02:00
Rémi Verschelde
9cec315ec0
Merge pull request #40103 from Calinou/doc-fix-string-capitalize
...
Fix `String.capitalize()` description to follow camelCase changes
2020-07-04 09:57:46 +02:00
bruvzg
df968d577a
[macOS] Implement seamless display scaling.
2020-07-04 10:36:33 +03:00
Rémi Verschelde
c020eea184
Merge pull request #40092 from hinlopen/remove-find-last
...
Remove String::find_last (same as rfind)
2020-07-04 01:38:01 +02:00
Hugo Locurcio
887099680a
Fix `String.capitalize()` description to follow camelCase changes
...
This closes #40093 .
2020-07-03 20:36:27 +02:00
Rémi Verschelde
cf97137681
Merge pull request #40089 from slooths/doc-textedit-minimap
...
Add documentation for minimap_draw and minimap_width
2020-07-03 17:35:22 +02:00
Rémi Verschelde
96644d23a0
doc: Sync classref with current source
2020-07-03 16:09:12 +02:00
Rémi Verschelde
54ce2e9820
Merge pull request #40086 from slooths/doc-update-select-methods
...
Update TextEdit select and select_all method descriptions
2020-07-03 15:36:46 +02:00
Stijn Hinlopen
929b98d24b
Remove String::find_last (same as rfind)
2020-07-03 15:26:22 +02:00
Rémi Verschelde
eaf15fd5a2
Merge pull request #40085 from slooths/doc-selecting-enabled
...
Add documentation for selecting_enabled
2020-07-03 15:23:39 +02:00
Slooth
df8f0e6215
Add documentation for minimap_draw and minimap_width
2020-07-03 07:42:43 -05:00
Slooth
b2471edf45
Update TextEdit select and select_all methods
2020-07-03 06:44:34 -05:00
Slooth
bc1ea1cbad
Add documentation for selecting_enabled
2020-07-03 06:24:40 -05:00
Rémi Verschelde
b5fa2634d4
Merge pull request #40082 from slooths/doc-textedit-center-viewport-to-cursor
...
Add documentation for center_viewport_to_cursor method
2020-07-03 13:17:46 +02:00
Slooth
654d33866b
Add documentation for center_viewport_to_cursor method
2020-07-03 05:39:17 -05:00
Slooth
d838282191
Add documentation for shortcut_keys_enabled
2020-07-03 03:03:56 -05:00
Aaron Franke
299c3ec1c1
Fix incorrect documentation for Vector2.angle()
2020-07-02 22:52:37 -04:00
Rémi Verschelde
f9c2f35dd9
Merge pull request #39415 from SkyLucilfer/PotGeneration
...
Add POT generation feature in Editor
2020-07-02 22:22:46 +02:00
Rémi Verschelde
67e4082b1e
Merge pull request #37350 from aaronfranke/force-impulse
...
Refactor physics force and impulse code to use (force, position) order
2020-07-02 18:39:16 +02:00
SkyJJ
efb4609425
Add translation parser plugin support
2020-07-02 14:47:35 +02:00
Rémi Verschelde
f4aea93537
Merge pull request #38390 from Xrayez/doc-offset-poly-translate
...
Clarify `Geometry.offset_polygon_2d` regarding vertices translation
2020-07-02 14:28:49 +02:00
Rémi Verschelde
afe03e872b
Merge pull request #34926 from Xrayez/draw-transform-defaults
...
Provide `draw_set_transform` defaults for rotation and scale
2020-07-02 09:06:06 +02:00
Pawel Lampe
c36be14e3c
ItemList's add_(icon_)item method returns id of added item
...
- docs updated
2020-07-01 19:23:51 +02:00
Rémi Verschelde
0a8dbe7f75
Merge pull request #32516 from nekomatata/texture-button-flip
...
Added flip_h and flip_v properties in TextureButton
2020-07-01 19:07:59 +02:00
Andrii Doroshenko (Xrayez)
851c1050b2
Provide `draw_set_transform` defaults for rotation and scale
2020-07-01 18:09:11 +03:00
Andrii Doroshenko (Xrayez)
19b72da35d
Clarify `Geometry.offset_polygon_2d` regarding vertices translation
...
The method is used to either inflate or deflate a polygon.
For translating/transforming a polygon, use `Transform2D.xform`.
2020-07-01 17:10:21 +03:00
Rémi Verschelde
372136fe75
Environment: Refactor code for readability + more
...
- Makes all boolean setters/getters consistent.
- Fixes bug where `glow_hdr_bleed_scale` was not used.
- Split CameraEffects to their own source file.
- Reorder all Environment method and properties declarations,
definitions and bindings to be consistent with each other
and with the order of property bindings.
- Bind missing enum values added with SDFGI.
- Remove unused SDFGI enhance_ssr boolean.
- Sync doc changes after SDFGI merge and other misc changes.
2020-07-01 14:44:45 +02:00
PouleyKetchoupp
5f1d94bb7d
Added flip_h and flip_v properties in TextureButton
2020-07-01 11:31:27 +02:00
Rémi Verschelde
27605769c4
Merge pull request #35633 from Xrayez/physics-shape-property
...
Expose shape property for shape query parameters classes
2020-06-30 13:57:23 +02:00
simpu
bfadb882b1
Added Custom Performance Monitor and feature to read intermediate values of Monitor
...
Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor`
The value can be viewed in the `Monitor` tab of Debugger.
Text before `/` is used to categorize the custom monitor.
`EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger`
User can click on the graph of monitors to read the value at that point.
Graph includes intermediate base lines.
2020-06-29 17:20:29 +05:30
Hugo Locurcio
e6352d1daa
Keep the bottom panel visible when enabling the distraction-free mode
...
- Document the `EditorInterface.distraction_free_mode` property.
This closes https://github.com/godotengine/godot-proposals/issues/951 .
2020-06-26 22:09:08 +02:00
Andrii Doroshenko (Xrayez)
da3fbc0296
Expose shape property for shape query parameters classes
...
Co-authored-by: PouleyKetchoupp <pouleyketchoup@gmail.com>
2020-06-26 16:54:05 +03:00
Rémi Verschelde
ce5de2a3f4
i18n: Sync classref translation template with current docs
2020-06-25 11:00:39 +02:00
Rémi Verschelde
c88e5bfbcc
i18n: Sync classref translations with Weblate
2020-06-25 11:00:39 +02:00
Rémi Verschelde
2446dbfba1
doc: Sync classref with current source
2020-06-25 11:00:38 +02:00
Andreas Gustafsson
5181daaf9e
Tween.xml word order fix
...
Change the word order of '...the where...' into '...where the...'.
2020-06-23 18:42:11 +02:00
Meriipu
2643b8fa5e
Clarify what a string being empty means
...
Should close https://github.com/godotengine/godot-docs/issues/2432
2020-06-23 11:13:12 +02:00
Rémi Verschelde
42c4a701dd
Merge pull request #39755 from Faless/crypto/encryption_pr_4.0
...
Crypto enhancements, AESContext, RSA public key, signature, verification.
2020-06-22 23:31:58 +02:00
skyace65
a94ba7be59
Fix Joint2D doc
2020-06-21 22:55:16 -04:00
Hugo Locurcio
227f12478d
Document how Vector2, Vector3 and Color behave in a boolean context
...
See #39731 .
2020-06-21 17:16:10 +02:00
Rémi Verschelde
4af74c0d7c
Merge pull request #39712 from akien-mga/古池や蛙飛び込む水の音
...
Move Haiku platform port to external repository
2020-06-21 12:20:31 +02:00
Aaron Franke
08577fab14
Update bool documentation to be more clear
2020-06-21 03:08:28 -04:00
Rémi Verschelde
efcc508ee5
Move Haiku platform port to external repository
...
The Haiku port now resides at:
https://github.com/godotengine/godot-haiku-platform
While we're happy to support as many Free and Open Source platforms as we can,
we need to put the main focus on the platforms that we can reasonably maintain,
and for Haiku we have been lacking maintainers ever since the port was first
merged in 2015.
The Haiku code has not been compiling and much less working at least since the
release of Godot 3.0, and while some attempts have been made at fixing things,
it's still not functional today in the `3.2` branch (and much less in `master`,
understandably).
Having it in an external repository should hopefully enable Haiku contributors
to fix issues in their own time, and possibly tag versions compatible with
past Godot releases once they are ready.
2020-06-20 17:59:41 +02:00
Hugo Locurcio
31b7f02a29
Remove ToolButton in favor of Button
...
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.
Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.
This closes https://github.com/godotengine/godot-proposals/issues/1081 .
2020-06-19 20:49:49 +02:00
Yuri Roubinsky
cb9cbf840d
Added Texture2DArray support to visual shaders
2020-06-19 18:02:05 +03:00
Rémi Verschelde
3eab3c10b5
Merge pull request #39641 from akien-mga/mono-always-define-options
...
Mono: Always define options in main.cpp to keep them in docs
2020-06-19 12:53:33 +02:00
Rémi Verschelde
a8132b2fab
Merge pull request #33235 from nekomatata/rich-text-label-fit-height
...
Option in RichTextLabel for height to fit content
2020-06-19 12:52:25 +02:00
Fabio Alessandrelli
f055b86e65
Document AES and new Crypto/CryptoKey functions.
2020-06-18 17:06:16 +02:00
Rémi Verschelde
2b6bbf8dce
Mono: Always define options in main.cpp to keep them in docs
...
Otherwise generating docs with non-Mono builds removes them,
which is not so convenient for the documentation work.
2020-06-18 12:06:24 +02:00
Rémi Verschelde
dfa5f88c11
doc: Fix rebase error from #39589
2020-06-18 11:34:10 +02:00
Hugo Locurcio
24a8d43272
Document Mono-specific classes
...
This fully documents all Mono-specific classes.
2020-06-18 10:32:34 +02:00
Rémi Verschelde
ba0db95909
DocData: Skip language-specific ClassDoc without methods/constants
...
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-17 15:09:07 +02:00
Rémi Verschelde
93d79023ad
Merge pull request #39541 from Ev1lbl0w/feature/disable-rendering
...
Expose disable_render_loop property to GDScript
2020-06-16 20:48:41 +02:00
Ev1lbl0w
03879a564a
Expose disable_render_loop property to GDScript
2020-06-16 15:43:44 +01:00
Rémi Verschelde
78d09a4163
Merge pull request #37903 from Xrayez/shape-2d-draw-bind
...
Bind Shape2D draw method
2020-06-16 15:15:51 +02:00
Rémi Verschelde
8db8577f10
Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_Branch
...
Skeleton and Skeleton inspector low-level changes
2020-06-16 09:30:22 +02:00
Rémi Verschelde
4b5b60de85
Merge pull request #39189 from touilleMan/issue-38925
...
Unify OS.get_system_time_* and OS.get_unix_time
2020-06-15 23:57:16 +02:00
TwistedTwigleg
24905becb2
Made low level changes to the Skeleton3D class and Skeleton3D inspector. Changes listed below:
...
* Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa.
* Updated the Skeleton3D class reference.
* Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon.
* Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible.
* Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
2020-06-15 17:18:06 -04:00
Rémi Verschelde
09566a96b1
Merge pull request #39546 from vorblen/master
...
Add description for "absorbent" and "rough"
2020-06-15 20:45:53 +02:00
Rémi Verschelde
f61e4216b7
Merge pull request #39439 from Lefl1/rename_get_action_list
...
Renamed InputMap.get_action_list to InputMap.action_get_events
2020-06-15 19:59:07 +02:00
Lennard
f515071edc
Renamed InputMap.get_action_list to InputMap.get_action_events
2020-06-15 14:01:53 +02:00
Vorblen
8acdbaa4f2
Add description for "absorbent" and "rough"
2020-06-15 12:36:43 +01:00
Rémi Verschelde
1642effe5b
Merge pull request #39322 from dominiks/filedialog-title-doc
...
Add note about automatic window title to FileDialog documentation.
2020-06-15 13:22:25 +02:00
Rémi Verschelde
d3c10e8dd6
Merge pull request #39457 from bruvzg/kbd_layouts
...
Add keyboard layout enumeration / set / get functions.
2020-06-15 11:10:34 +02:00
Rémi Verschelde
2a96823cc7
Merge pull request #39490 from Calinou/doc-node-virtual-method-tree
...
Clarify Node virtual methdods not being called if node is orphan
2020-06-15 11:07:10 +02:00
Rémi Verschelde
808e0d3693
Merge pull request #39521 from 31/fix-image-createfromdata
...
Fix Image.create_from_data "use_mipmaps" class doc
2020-06-15 11:00:36 +02:00
Rémi Verschelde
0d1706c057
Merge pull request #39462 from Calinou/doc-in-operator
...
Document the `in` operator in String, Array and Dictionary classes
2020-06-15 09:30:23 +02:00
Rémi Verschelde
9d2ee682ef
Merge pull request #39520 from skyace65/label
...
Fix label percent visible doc description
2020-06-15 09:22:49 +02:00
skyace65
a09aeefa1d
Fix label percent visible doc description
2020-06-14 16:34:43 -04:00
Hugo Locurcio
f818a99d0b
Document how to resize a SubViewportContainer to avoid stretching
...
This closes #27534 .
2020-06-14 15:26:51 +02:00
Rémi Verschelde
79947dfef1
Merge pull request #39529 from ricardoprins/pr/39419
...
Add description to TileSet.is_tile_bound() method
2020-06-14 10:36:37 +02:00
Ricardo Prins
00398abf77
Add description to TileSet.is_tile_bound() method
2020-06-13 21:47:25 -06:00
31
608bc8f3dc
Fix Material.render_priority doc: no opaque sort
...
Opaque objects are rendered using the depth buffer, so the end result
appears sorted, but the opaque objects themselves are not sorted.
2020-06-13 17:35:09 -05:00
31
09b324b5b6
Fix Image.create_from_data use_mipmaps doc
...
The Image.create_from_data doc describes the "use_mipmaps" argument as a
way to generate mipmaps, but this method only allocates and loads data.
This can cause confusion, where this function reads more or less data
than expected. Update the doc to be more specific that create_from_data
is loading the mipmaps from the raw data.
2020-06-13 17:18:02 -05:00
bruvzg
92352b1c23
Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function.
2020-06-13 11:02:00 +03:00
Hugo Locurcio
b2ba78ff0f
Clarify Node virtual methdods not being called if node is orphan
...
This closes #39489 .
2020-06-12 23:43:34 +02:00
Hugo Locurcio
7f01f68226
Document the `in` operator in String, Array and Dictionary classes
...
This also clarifies the `in` operator behavior in Object.
2020-06-12 19:22:35 +02:00
Rémi Verschelde
fef49bff0b
doc: Sync classref with current source
2020-06-11 09:52:25 +02:00
Rémi Verschelde
2dae762e53
Merge pull request #39355 from SaviHex/better-docs-links
...
Added a "title" attribute for the link tag in the docs xml
2020-06-11 09:32:40 +02:00
Victoria Fisher
718221a2ff
Adds full description for AudioEffectRecord.xml
2020-06-11 02:32:51 -04:00
SaviHex
18c08f65d6
Added a "title" attribute for the link tag in the docs xml
2020-06-10 23:25:29 -03:00
Rémi Verschelde
cb3ca99b13
Merge pull request #39430 from Calinou/doc-3d-light-radius
...
Improve the 3D light documentations
2020-06-10 16:41:18 +02:00
Hugo Locurcio
f7e21d8e88
Improve the 3D light documentations
...
See https://github.com/godotengine/godot-docs/issues/3670 .
2020-06-10 11:19:11 +02:00
Rémi Verschelde
47f1faf512
Merge pull request #39409 from akien-mga/astar-get_closest_point-deterministic
...
AStar: Make get_closest_point() deterministic for equidistant points
2020-06-10 10:46:35 +02:00
Rémi Verschelde
a7d0ed9725
Merge pull request #39413 from akien-mga/doc-file-store-signed-ints
...
doc: Make File store/get integer methods clearer
2020-06-10 10:45:04 +02:00
Rémi Verschelde
60db9f906c
Merge pull request #39429 from Calinou/doc-dictionary-hash-order
...
Mention ordering caveats for `Dictionary.hash()`
2020-06-10 10:36:43 +02:00
Hugo Locurcio
77b89263dd
Mention ordering caveats for `Dictionary.hash()`
...
See https://github.com/godotengine/godot/issues/27615 .
2020-06-10 09:33:43 +02:00
Rémi Verschelde
cd25d184a5
doc: Make File store/get integer methods clearer
...
Add an example on how to store signed integers on less than 64 bits,
using one bit for the signedness.
2020-06-09 23:26:10 +02:00
Rémi Verschelde
3494270594
Merge pull request #39391 from YeldhamDev/filediag_file_icon
...
Add generic file icon and its modulation to the 'FileDialog'
2020-06-09 14:11:01 +02:00
Marcel Admiraal
1b738a77c1
Update Rigidbody 2D and 3D sleep documentation.
2020-06-09 12:10:11 +01:00
Rémi Verschelde
187ba4c5a8
AStar: Make get_closest_point() deterministic for equidistant points
...
Closes godotengine/godot-docs#3667.
Supersedes #39405 .
2020-06-09 11:04:12 +02:00
Michael Alexsander
637927f803
Add generic file icon and its modulation to the 'FileDialog'
2020-06-08 10:31:45 -03:00
dominiks
d2250a2320
Add note about automatic window title to FileDialog documentation.
2020-06-05 22:30:24 +02:00
Marcel Admiraal
b5e31b70dc
Correct misspellings of damped spring.
2020-06-04 18:07:24 +01:00
Rémi Verschelde
4ac78e6a5f
doc: Sync classref with current source
2020-06-04 10:07:56 +02:00
Rémi Verschelde
dc67d0737b
Merge pull request #39257 from Chaosus/fix_integer_vectors_doc
...
Fix docs generation for Vector2i/Vector3i/Rect2i
2020-06-03 15:12:39 +02:00
Yuri Roubinsky
d7cf1b5c73
Fix docs generation for Vector2i/Vector3i/Rect2i
2020-06-03 15:22:26 +03:00
Rémi Verschelde
901832e21c
Merge pull request #39113 from nekomatata/bbcode-image-color
...
Add color option for img bbcode tag in RichTextLabel to tint images
2020-06-03 13:16:13 +02:00
Rémi Verschelde
7460bc36dd
Merge pull request #39130 from Calinou/dynamicfont-disable-outline-antialiasing
...
Disable antialiasing on the DynamicFont outline as well when requested
2020-06-03 12:59:15 +02:00
Aaron Franke
ba27deef06
Refactor physics force and impulse code
2020-06-02 23:18:59 -04:00
Rémi Verschelde
030a26206f
Merge pull request #39210 from Calinou/directional-light-performance-hint
...
Add performance hints to the DirectionalLight shadow mode property hint
2020-06-02 11:39:06 +02:00
Maganty Rushyendra
0451248ff1
Clarify usage of AnimationPlayer with AnimationTree and fill in empty method descriptions
...
Add clarification to docs to explain that when an `AnimationPlayer`
object is paired with an `AnimationTree`, several properties and
methods exposed by the `AnimationPlayer` class may not work as expected.
The issues occur because an `AnimationTree` runs independently, and
uses its member `AnimationPlayer* player` primarily for its
`Map<StringName, AnimationData> animation_set`.
Added descriptions for `root_motion_track` and `get_root_motion_transform`.
2020-06-02 12:19:33 +08:00
Hugo Locurcio
b46756c723
Add performance hints to the DirectionalLight shadow mode property hint
...
This also clarifies some parts in the DirectionalLight documentation.
2020-06-01 01:20:35 +02:00
Emmanuel Leblond
c6de3872f9
Remove OS.get_system_time_secs/get_system_time_msecs and change OS.get_unix_time return type to double
2020-05-31 14:19:31 +02:00
PouleyKetchoupp
7b7d4ef079
Add color option for img bbcode tag in RichTextLabel to tint images
2020-05-30 19:13:16 +02:00
Rémi Verschelde
d19257eb2b
Merge pull request #39010 from gvekan/fix-documentation
...
Fix ProjectSettings.save_custom documentation
2020-05-29 12:11:19 +02:00
Rémi Verschelde
1620669f4e
Merge pull request #39051 from Xrayez/geometry-split
...
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-29 12:10:37 +02:00
Hugo Locurcio
2919fc7317
Disable antialiasing on the DynamicFont outline as well when requested
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/943 .
2020-05-28 22:30:38 +02:00
Hugo Locurcio
9065b7ed4e
makerst: Print status messages to make the CI output clearer
...
This also removes an unused method.
2020-05-27 22:24:33 +02:00
Andrii Doroshenko (Xrayez)
69d5de632e
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
...
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27 14:28:34 +03:00
Maganty Rushyendra
a4413710f9
Expose `get_char_size()` from Font instead of BitmapFont
...
`get_char_size()` is a public virtual function defined in the `Font`
class. Implementations exist for both `BitmapFont` and `Dynamic Font`.
However, it was only exposed to the GDScript API through the Bitmap
Font, and not for Dynamic Font.
This commit exposes the function through `Font` instead.
Fixes #23967
2020-05-27 17:28:23 +08:00
Gustav
728c0c1e14
Fix ProjectSettings.save_custom documentation
2020-05-26 09:13:37 +02:00
PouleyKetchoupp
ad8081216c
Option in RichTextLabel for height to fit content
2020-05-22 09:20:49 +02:00
Dominik 'dreamsComeTrue' Jasiński
08377b3f04
Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')
...
Fixes : #38911
2020-05-21 21:53:17 +02:00
Rémi Verschelde
0b8cb945cf
doc: Sync classref with current source
2020-05-20 15:29:37 +02:00
Rémi Verschelde
1d573969c0
Merge pull request #38874 from bruvzg/tab_drv_sel_40
...
[Windows] Add tablet driver selection.
2020-05-20 13:58:20 +02:00
Rémi Verschelde
d3612d04c7
Merge pull request #38794 from nekomatata/text-edit-search-result
...
TextEdit search returns Dictionary instead of Vector
2020-05-20 13:28:29 +02:00
bruvzg
d0b5174b6a
[Windows] Add tablet driver selection.
2020-05-20 09:37:32 +03:00
Rémi Verschelde
8896425ee4
Merge pull request #38791 from clayjohn/physical-sky-update
...
Add night sky to PhysicalSkyMaterial
2020-05-18 16:33:50 +02:00
Remi Rampin
55bad66447
Update description of Object.free() method
...
Clarify that variables pointing to an object don't become `null` when that object is freed, it just makes them invalid.
(cherry picked from commit ccf5703568
)
2020-05-18 09:11:22 +02:00
Max Hilbrunner
ea8d9c5288
Merge pull request #38795 from Calinou/doc-array-dictionary-reference
...
Document that Dictionary is always passed as reference
2020-05-17 20:30:42 +02:00
Rémi Verschelde
4c8832701b
Merge pull request #38695 from dreamsComeTrue/node-swap-order-arguments
...
Replace 'add_child_below_node' with 'add_sibling' in Node
2020-05-17 11:36:05 +02:00
Hugo Locurcio
675fea1648
Document that Dictionary is always passed as reference
...
See #38792 .
2020-05-16 23:52:40 +02:00
PouleyKetchoupp
242b94af1a
TextEdit search returns a dictionary instead of Vector
...
Easier to use than accessing elements in a Vector using indices given by an enum.
Breaks compatibility on existing scripts using this functionality.
2020-05-16 23:46:14 +02:00
clayjohn
4408efade3
Add night sky to PhysicalSkyMaterial
2020-05-16 12:59:55 -07:00
Hugo Locurcio
d935a4348d
Remove HQ2X and the `Image.expand_2x_hq2x()` method
...
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme
and icons on hiDPI displays, which limited its effective uses.
HQ2X was also used to upscale the project theme when the "Use Hidpi"
project setting was enabled, but results were often less than ideal.
The new StyleBoxFlat and SVG support also make HQ2X less important
to have as a core feature.
This decreases binary sizes slightly (-150 KB on most platforms,
-212 KB on WebAssembly release).
This partially addresses #12419 .
2020-05-16 16:10:50 +02:00
Dominik 'dreamsComeTrue' Jasiński
7f5c81c32f
Replace 'add_child_below_node' with 'add_sibling' in Node
...
Fixes : #19642
2020-05-15 22:02:00 +02:00
Rémi Verschelde
2800c8f43d
doc: Sync classref with current source
2020-05-15 18:25:09 +02:00
Rémi Verschelde
0bdd1d46dd
Merge pull request #38754 from Calinou/doc-canvasitem-texture-filter-repeat
...
Document CanvasItem's texture filtering and repeating modes
2020-05-15 18:03:25 +02:00
Hugo Locurcio
3a79f98be7
Document CanvasItem's texture filtering and repeating modes
...
This makes the CanvasItem documentation 100% complete.
2020-05-15 14:49:43 +02:00
Hugo Locurcio
9e9410bd3d
Document the Camera3D's `effects` property
...
This makes the Camera3D documentation 100% complete.
2020-05-15 14:38:26 +02:00
Marcel Admiraal
e7fee711b3
Update game controller enums.
2020-05-13 10:33:32 +01:00
Marcel Admiraal
bb9c104695
Make it clear that PhysicsDirectSpaceState is only available from
...
within _physics_process().
2020-05-12 12:55:59 +01:00
Rémi Verschelde
02bcaa7a46
Merge pull request #38689 from Calinou/rename-ssl-certificate-setting
...
Rename SSL certificate bundle setting to clarify the "overriding" aspect
2020-05-12 11:37:46 +02:00
Hugo Locurcio
c6fbbdf15d
Rename SSL certificate bundle setting to clarify the "overriding" aspect
...
This closes https://github.com/godotengine/godot-docs/issues/2531 .
2020-05-12 10:13:27 +02:00
Rémi Verschelde
d3bd219362
doc: Sync classref with current source
...
Adds API changes from the new GPU lightmapper.
2020-05-12 10:10:50 +02:00
Rémi Verschelde
66b0b0c153
Merge pull request #38635 from Calinou/tilemap-rename-ysort-index
...
Rename various TileMap methods/properties for clarity and consistency
2020-05-11 23:05:15 +02:00
Rémi Verschelde
bbdfc7353c
doc: Sync classref with current source
2020-05-11 13:23:39 +02:00
Hugo Locurcio
c64c45ccaf
Rename various TileMap methods/properties for clarity and consistency
...
The YSort renames were tracked in https://github.com/godotengine/godot/issues/16863 .
This closes https://github.com/godotengine/godot-proposals/issues/814 .
2020-05-10 19:16:38 +02:00
Rémi Verschelde
6a0473bcc2
Merge pull request #38548 from kuruk-mm/add_string_join_to_gdscript
...
GDScript: Add join method on String
2020-05-10 16:54:45 +02:00
Rémi Verschelde
94721f5ab8
Revert "Renamed plane's d to distance"
...
This reverts commit ec7b481170
.
This was wrong, `d` is not a distance but the `d` constant in the
parametric equation `ax + by + cz = d` describing the plane.
2020-05-10 16:47:11 +02:00
Rémi Verschelde
a95e2ec5ac
Merge pull request #38505 from KoBeWi/ms_visual_docs
...
Add documentation for the VisualShader nodes
2020-05-10 13:07:56 +02:00
Rémi Verschelde
9cc67b19b8
Merge pull request #38613 from MCrafterzz/plane
...
Renamed plane's d to distance
2020-05-10 13:06:55 +02:00
Marcus Elg
ec7b481170
Renamed plane's d to distance
2020-05-10 12:12:51 +02:00
Chris Bradfield
975ed93794
[DOCS] minor description changes
2020-05-09 18:56:14 -07:00
Mateo Kuruk Miccino
8c2dc177b6
GDScript: Add join method on String
...
Docs: Add join on String.xml
2020-05-09 12:16:21 -03:00
Marcus Elg
9a7e515d50
Rename Lineshapes d to distance
2020-05-09 15:10:00 +02:00
Phischermen
72d1d7e948
Add info about how gizmos affect transform notifications
2020-05-08 13:34:57 -07:00
Hugo Locurcio
3a11baaeac
Turn the anisotropic filtering setting into an enum
...
Since it only accepts power-of-two values, exposing it as an enum
makes more sense. This also allows for adding property hints to indicate
the performance cost of each value.
This also improves property hints for MSAA and FXAA.
2020-05-08 12:07:35 +02:00
Tomasz Chabora
fecf79f287
Add documentation for the VisualShader nodes
2020-05-08 00:36:01 +02:00
Rémi Verschelde
ae33cf5f45
Merge pull request #36379 from aaronfranke/color-constructors
...
Add a Color constructor for Color with alpha
2020-05-07 21:16:51 +02:00
Rémi Verschelde
bef52957d0
Merge pull request #38226 from Calinou/increase-camera3d-fov
...
Increase the default Camera3D field of view to 75
2020-05-07 21:16:21 +02:00
Rémi Verschelde
b62218bbac
Merge pull request #38385 from ThakeeNathees/method-bind-text_edit-set_line
...
method bind TextEdit::set_line() added
2020-05-07 13:43:34 +02:00
Marcel Admiraal
da13b74cc8
Make 2D and 3D KinematicBody stop_on_slope documentation the same.
2020-05-07 08:18:23 +01:00
Rémi Verschelde
b9594b2c10
doc: Sync classref with current source
2020-05-06 10:27:02 +02:00
follower
ae067413a5
Fix suffix property doc typo: "prefix" -> "suffix"
2020-05-06 05:00:12 +12:00
bruvzg
d978658f81
[Windows] Add support for the WinTab API for pen input.
2020-05-05 14:16:02 +03:00
Hugo Locurcio
d8808fba85
Document the expected normal map coordinate system where relevant
2020-05-04 22:46:47 +02:00
Rémi Verschelde
f7ca1c805b
doc: Sync classref with current source
2020-05-04 16:55:01 +02:00
Rémi Verschelde
cf398b8ee0
Merge pull request #38392 from Enhex/patch-1
...
fix typo
2020-05-03 18:17:30 +02:00
Bastiaan Olij
45d1f41837
Added missing spring enums for generic_6dof_joint
2020-05-02 21:49:56 +10:00
Hugo Locurcio
e8a2fa6b7d
Tweak Tween cheatsheet link formatting to avoid rST conversion bug
...
reStructuredText doesn't allow embedding links in bold/italic text.
2020-05-01 18:43:55 +02:00
Enhex
aaf5a58b44
fix typo
2020-05-01 18:52:08 +03:00
Thakee Nathees
b9acf1cedf
method bind TextEdit::set_line() added
2020-05-01 18:37:12 +05:30
Hugo Locurcio
ccc4f3899c
Increase the default Camera3D field of view to 75
...
A vertical FOV of 75 degrees is roughly equivalent to a 91 degree
horizontal FOV on a 4:3 display (~107.51 degrees on 16:9),
which is close to the typical default FOV used in PC games.
Note that this doesn't apply to the in-editor camera which keeps its
FOV to 70. This is because it doesn't display in fullscreen;
its viewport only displays in the center of the editor (roughly).
This means the viewport won't cover the viewer's eyes as much. Therefore,
the editor camera FOV should be slightly lower to account for this.
Since this changes the default value, this may break existing projects
slightly.
For the record, this was already done in
https://github.com/godotengine/godot-demo-projects/pull/260
for the official demo projects.
2020-05-01 14:03:27 +02:00
Rémi Verschelde
7cd43c17e9
i18n: Sync translate template for class reference
2020-05-01 12:46:46 +02:00
Rémi Verschelde
b0c0d506b6
doc: Sync classref with current source
2020-05-01 12:46:05 +02:00
Rémi Verschelde
161400b30c
Merge pull request #38330 from Calinou/doc-image-load-formats
...
Document the formats supported by `Image.load()`
2020-04-30 10:04:07 +02:00
Aaron Franke
90df1d67cb
Color with alpha constructor
2020-04-29 14:41:12 -04:00
Hugo Locurcio
a26649de42
Document the formats supported by `Image.load()`
...
This partially addresses #32166 .
2020-04-29 17:58:38 +02:00
Rémi Verschelde
b99b212855
Merge pull request #38307 from Calinou/shell-open-res-user-warning
...
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
2020-04-29 16:07:34 +02:00
Rémi Verschelde
58435b0c91
Merge pull request #20371 from aaronfranke/vector-lerp
...
[Core] [Mono] [GDNative] Rename "linear_interpolate" methods to "lerp"
2020-04-29 15:50:00 +02:00
Rémi Verschelde
b3da429423
Merge pull request #36498 from Avantir-Chaosfire/patch-1
...
doc: Improve Node2D to_local/to_global description
2020-04-29 13:04:19 +02:00
Aaron Franke
540156b387
[Core] Rename linear_interpolate to lerp
2020-04-29 04:02:49 -04:00
Avantir-Chaosfire
5c6f824e71
doc: Improve Node2D to_local/to_global description
2020-04-29 09:44:51 +02:00
Rémi Verschelde
41af228b76
Merge pull request #36960 from pycbouh/docs-improve-shortcuts
...
Improve shortcut formatting in docs
2020-04-29 09:40:52 +02:00
Rémi Verschelde
105b4f89b9
Merge pull request #37776 from Sauermann/transform-scale-origin
...
Clarify Transform scaled Method description
2020-04-29 09:17:47 +02:00
Rémi Verschelde
dfe38fbf8a
Merge pull request #38287 from JiRuifanCR/animatedtexture-oneshot-pause-set-frame
...
Add set_frame, pause, and oneshot to AnimatedTexture
2020-04-29 09:14:37 +02:00
Rémi Verschelde
a17bdb10a9
Merge pull request #38074 from KoBeWi/tfree
...
Mention how to remove TreeItem from a Tree
2020-04-29 09:07:24 +02:00
Hugo Locurcio
d46e411b44
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
...
`OS.shell_open()` will pass on the path directly to the OS' shell
handler (which can handle file paths or URLs). It can't handle
Godot-specific paths, so these need to be converted with
`ProjectSettings.globalize_path()` first.
2020-04-28 19:37:09 +02:00
Revan Ji
f5029e18ca
Add set_frame, pause, and oneshot to AnimatedTexture
...
Add API documentation for said changes.
2020-04-29 00:26:37 +08:00
Rémi Verschelde
abf5132a32
doc: Sync classref with current source
2020-04-28 16:33:44 +02:00
Rémi Verschelde
fdf58a5858
Rename InputFilter back to Input
...
It changed name as part of the DisplayServer and input refactoring
in #37317 , with the rationale that input no longer goes through the
main loop, so the previous Input singleton now only does filtering.
But the gains in consistency are quite limited in the renaming, and
it breaks compatibility for all scripts and tutorials that access
the Input singleton via the scripting language. A temporary option
was suggested to keep the scripting singleton named `Input` even if
its type is `InputFilter`, but that adds inconsistency and breaks C#.
Fixes godotengine/godot-proposals#639 .
Fixes #37319 .
Fixes #37690 .
2020-04-28 15:19:49 +02:00
Rémi Verschelde
d8066aa6a4
Merge pull request #38286 from bojidar-bg/x-expose-cell-size
...
Expose the cell_size affecting VisibilityNotifier2D precision
2020-04-28 11:19:16 +02:00
Bojidar Marinov
d49ff7aff7
Expose the cell_size affecting VisibilityNotifier2D precision
...
Refs: #4803
2020-04-28 10:33:45 +03:00
Rémi Verschelde
6285899831
Merge pull request #38252 from Calinou/doc-improve-compression-projectsettings
...
Improve the compression project settings documentation
2020-04-27 18:48:37 +02:00
Rémi Verschelde
7f384e703b
Merge pull request #38230 from Calinou/doc-audiostreamplayer-improve-pitch-scale
...
Improve `pitch_scale` descriptions in AudioStreamPlayer documentation
2020-04-27 10:00:02 +02:00
Hugo Locurcio
b2b8db7897
Improve the compression project settings documentation
2020-04-27 09:58:23 +02:00
Max Hilbrunner
e68012f4c9
Merge pull request #37973 from Calinou/doc-tween-add-easing-cheatsheet
...
Add an easing/transition type cheatsheet to the Tween documentation
2020-04-26 18:06:23 +02:00
Hugo Locurcio
4751dee7f4
Improve `pitch_scale` descriptions in AudioStreamPlayer documentation
...
This closes #29439 .
Co-authored-by: Cheeseness <contact@jbushproductions.com>
2020-04-26 16:37:57 +02:00
Rémi Verschelde
d567c15aed
doc: Fix parsing typed arrays in makerst.py
...
`Type[]` typed arrays will link to `Type`, as it's likely the most
interesting information for the user.
And sync classref with current source.
2020-04-24 17:50:20 +02:00
Rémi Verschelde
a247e1035c
Merge pull request #38025 from Calinou/doc-procedural-geometry
...
Improve the procedural geometry class documentations
2020-04-24 17:28:20 +02:00
Rémi Verschelde
43f0767390
Merge pull request #38050 from Calinou/doc-cameraeffects
...
Document the CameraEffects class
2020-04-23 12:42:56 +02:00
Rémi Verschelde
ffe07d9332
Merge pull request #37888 from Calinou/doc-editor-only-singletons
...
Document how some editor classes should be accessed as singletons only
2020-04-23 12:06:06 +02:00
Hugo Locurcio
a225265b0a
Document how some editor classes should be accessed as singletons only
...
This closes #37687 .
2020-04-22 11:39:59 +02:00
Hugo Locurcio
3566fe1e66
Document the CameraEffects class
2020-04-22 11:23:50 +02:00
Tomasz Chabora
f6aec99d27
Mention how to remove TreeItem from a Tree
2020-04-21 15:31:21 +02:00
Juan Linietsky
ae09b55a19
Exposed RenderingDevice to script API
...
Also added an easier way to load native GLSL shaders.
Extras:
Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.
Note:
The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde
52b27da7a6
Merge pull request #37974 from Calinou/doc-backbuffercopy-anchors
...
Document how to workaround UI anchor issues when using BackBufferCopy
2020-04-20 23:51:47 +02:00
Rémi Verschelde
b372227f06
Merge pull request #37972 from Calinou/doc-improve-resourcesaver-example
...
Check for errors when saving in the ResourceSaver example documentation
2020-04-20 23:51:04 +02:00
Rémi Verschelde
ae92d149a3
Merge pull request #37971 from Calinou/doc-improve-visibility-enabler-notifier
...
Improve the VisibilityEnabler and VisibilityNotifier documentations
2020-04-20 23:50:21 +02:00
Rémi Verschelde
2cd952bd84
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
...
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde
9cf48b3e99
Merge pull request #38039 from akien-mga/docdata-skip-unexposed
...
DocData: Skip unexposed classes
2020-04-20 15:21:49 +02:00
Rémi Verschelde
f8218c76ef
Merge pull request #38036 from akien-mga/doc-update
...
doc: Sync classref with current source
2020-04-20 14:36:29 +02:00
Rémi Verschelde
83b21cd302
Merge pull request #38035 from akien-mga/revert-35261-pck-destination
...
Revert "Made possible to specify where to dump the contents when load…
2020-04-20 13:47:25 +02:00
Rémi Verschelde
0ef8bcac4d
DocData: Skip unexposed classes
...
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Rémi Verschelde
b7b46093d8
doc: Sync classref with current source
...
Add missing enum bindings.
2020-04-20 11:48:00 +02:00
Rémi Verschelde
088c2a0870
Merge pull request #37947 from clayjohn/DOCS-rendering-update
...
Update many docs with recent rendering changes
2020-04-20 11:16:12 +02:00
Rémi Verschelde
6272acd465
Merge pull request #38027 from dreamsComeTrue/override_selected_font_color-docs
...
Update TextEdit docs - explaining 'override_selected_font_color' role
2020-04-20 11:02:13 +02:00