Commit graph

3002 commits

Author SHA1 Message Date
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
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
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
Rémi Verschelde
515fe0f29b Revert "Made possible to specify where to dump the contents when loading a ".pck" file"
This reverts commit 3c261e0dfa.

This was not so useful as is due to the way dependency paths are stored
in scenes and resources.
2020-04-20 10:57:05 +02:00
Hugo Locurcio
ed7347d73d Improve the procedural geometry class documentations
This references Godot's winding order at the top of every
procedural geometry class, as well as referencing other classes
within a given geometry class.

A warning about ImmediateGeometry3D performance was also added.
2020-04-20 09:05:50 +02:00
Dominik 'dreamsComeTrue' Jasiński
6a0e6c2852 Update TextEdit docs - explaining 'override_selected_font_color' role 2020-04-19 23:33:01 +02:00
Marcel Admiraal
4d41535fa3 Correct the addition of a key and the duplication of a variable name
in Dictionary class documentation.
2020-04-19 09:52:54 +01:00
Hugo Locurcio
5972a9138e
Add an easing/transition type cheatsheet to the Tween documentation
Related to https://github.com/godotengine/godot-docs/pull/3403.
2020-04-17 23:20:59 +02:00
Hugo Locurcio
f8a413bb1f
Document how to workaround UI anchor issues when using BackBufferCopy
This closes #6880.
2020-04-17 23:17:31 +02:00
Hugo Locurcio
2f46f1e7b1
Check for errors when saving in the ResourceSaver example documentation
This also replaces a non-breaking space that was accidentally added in
the EditorFeatureProfile documentation.

This closes #31393.
2020-04-17 22:29:05 +02:00
Hugo Locurcio
7f2d602106
Improve the VisibilityEnabler and VisibilityNotifier documentations
This closes #4803.
2020-04-17 22:04:19 +02:00
clayjohn
b50d954cb0 Update many docs with recent rendering changes 2020-04-17 09:47:59 -07:00
Rémi Verschelde
d817be92c2
Merge pull request #37963 from Calinou/doc-dynamicfont-limitations
Document DynamicFont limitations and a possible workaround
2020-04-17 18:43:05 +02:00
Rémi Verschelde
cfda0e3770
Merge pull request #37953 from clayjohn/VULKAN-sky-sun-size
Add light size to Sky Shaders
2020-04-17 18:35:45 +02:00
Rémi Verschelde
364cb2ce92
Merge pull request #37962 from Calinou/doc-image-size-limits
Document image size limits
2020-04-17 18:35:27 +02:00
clayjohn
7cd2ff309c Add light size to Sky Shaders 2020-04-17 09:32:24 -07:00