Commit Graph

40 Commits

Author SHA1 Message Date
Marites Hendrix
5e6880717d Add Rectangle Example to ArrayMesh (#11247)
* add rectangle arraymesh example

* make webp image

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

* spelling

---------

Co-authored-by: Marites Hendrix <github_username@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-10-09 13:46:51 +02:00
Cyril B.
ab70e6097f Fix code-tab 2025-07-30 16:23:22 +02:00
pseidemann
cfadb9de49 improve documentation of SurfaceTool (#6405)
* improve documentation of SurfaceTool

* add suggestion from @clayjohn
2025-07-27 14:10:22 -04:00
tetrapod00
c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
Raul Santos
cea78730d0 [.NET] Use collection expressions
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 03:38:42 +01:00
A Thousand Ships
36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
Sr3qt
3844fba41d Updated function call
The function "surface_clear" does not exist as of 4.2.2. "clear_surfaces" does however.
2024-06-04 13:43:43 +02:00
Zi Ye
15a0a4f4bd Fix ImmediateMesh being referred to as a node when it is not 2024-04-20 09:39:03 -05:00
Tim Clark
892d39e5fa Remove incorrect "we won't use the index array" 2024-01-26 16:12:26 -05:00
Hugo Locurcio
95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
David C. Drake
4d68d50be4 Fix typo: 'generated' -> 'generate'
Minor typo fix: "used to generated" -> "used to generate"
2024-01-09 14:57:42 -07:00
yunusey
4d3f82e955 Fix UV mapping in ArrayMesh tutorial 2023-12-17 15:36:04 -05:00
HDLcincDragon
73441678ef Added C# code tabs to SurfaceTool.rst (#8192)
* Added C# code tabs

* Update tutorials/3d/procedural_geometry/surfacetool.rst

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-11-25 19:23:40 +01:00
clayjohn
f23d6b0e71 Update references to the ImmediateMesh in the Procedural Geometry tutorial 2023-10-19 01:04:50 +02:00
Clay John
0ee95aa57d Document more array formats that can be used in vertex arrays 2023-08-11 11:45:18 +02:00
Max Hilbrunner
485116d8a3 Character and typo fixes 2023-05-31 18:07:27 +02:00
Mateus Elias
8e7ed802b0 fix(tutorials/3d/procedural_geometry): ImmediateMesh tutorial adjusted 2023-04-08 09:34:53 -03:00
Derek Enlow
642282bcb8 Update rename changes to SurfaceTool
Updated tutorial to reflect the rename from add_* to set_*
2023-03-11 22:07:30 -07:00
RedstoneMedia
acd5f92b88 Fixed generating a sphere example 2023-03-05 23:02:46 +01:00
markawilson
b7c5dfdfcc Add C# Examples for ArrayMesh Tutorial (#6778)
* Create C# Examples for ArrayMesh Tutorial

Shows array types for generating meshes. Provides equivalent C# to existing GDScript examples.

Removes locals that don't need to be locals, and better matches GDScript example.
2023-02-22 22:25:01 +01:00
Hugo Locurcio
81908bf0f4 Document tangents being required for normal maps in Using the SurfaceTool 2022-11-30 16:33:06 +01:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Evanaellio
bc35550dc5 Swap arguments of ResourceSaver.save() 2022-09-21 22:30:25 +02:00
snailrhymer
819aac60d7 Fix typo in Using the ArrayMesh (#6005) 2022-07-29 21:39:30 +02:00
SnailRhymer
4ed027c4a5 Update and improve clarity in procedural geometry tutorials
Update arraymesh.rst, index.rst and meshdatatool.rst to 4.0 class names.
Make some changes to improve the flow and clarity of the tutorials.
2022-07-24 10:42:04 +01:00
Max Hilbrunner
d94140e877 Merge pull request #5442 from Luk3M/patch-1
Documents ARRAY_BONES and ARRAY_WEIGHTS
2022-03-21 00:16:01 +01:00
Denis NICOLAS
481fdb3a46 Fix another typo in Using the SurfaceTool (#5612) 2022-02-15 19:39:46 +01:00
Denis NICOLAS
95b2fafb71 Fix a typo in Using the MeshDataTool (#5611) 2022-02-15 19:39:32 +01:00
Denis NICOLAS
47d3ee2a16 Fix typo in Procedural geometry (#5608) 2022-02-14 16:47:37 +01:00
Markus Sauermann
1e6a033a8f Update tutorials: VisualServer to RenderingServer 2022-02-09 20:20:13 +01:00
Luk3
bee0264fae Documents ARRAY_BONES and ARRAY_WEIGHTS
This PR gives a little more details on how ARRAY_BONES and ARRAY_WEIGHTS are used on an ArrayMesh. This is based on @pycbouh 's explanation in #5434, and fixes that issue.
2021-12-11 22:51:30 -03:00
Attila Oláh
c21af8c94b Fix a typo. 2021-11-11 12:45:06 +01:00
Max Hilbrunner
a32aa64120 Merge pull request #5136 from Dathide/patch-2
Add extra info from SurfaceTool class page
2021-08-01 20:30:29 +02:00
Dathide
54ddd6b506 Fix 3 typos in index.rst (#5135)
* Fix typos in index.rst
2021-08-01 20:27:39 +02:00
Dathide
42d2ae5e7e Add extra info from SurfaceTool class page
Added a few sentences about generate_normals() and generate_tangents() taken from the SurfaceTool class page in the docs.
2021-07-30 14:51:33 -07:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Hugo Locurcio
f5c656f43f Fix "SurfaceTool" link pointing to itself in Using the SurfaceTool (#4832) 2021-04-11 22:18:49 +02:00
Nathan Lovato
f19083670a Move pages out of the tutorials/content section
Remove the section
2020-10-10 22:20:46 -06:00