summaryrefslogtreecommitdiffstats
path: root/doc/classes/Curve2D.xml
Commit message (Collapse)AuthorAgeFilesLines
* Changed the way the rotation of a curve at a point is evaluated to match ↵Andrés Botero2023-10-281-6/+4
| | | | PathFollow2D
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Clarify the return value of `Curve2D.sample_baked_with_rotation`Ninni Pipping2023-06-221-4/+9
| | | | | The return value is a broken `Transform2D`, this clarifies how to use it.
* Validate code tags in documentation for potential paramsYuri Sizov2023-04-261-1/+1
| | | | | | | Adds a check to make_rst to look for matches between the text inside of the [code][/code] tag and known param identifiers. Fixes most of what was revealed.
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Add Curve2D/tessellate_even_length description class-referenceaXu-AP2023-01-231-0/+2
| | | | Copied from Curve3D's corresponding method.
* Refactor baking code for Curve2DYaohua Xiong2022-12-051-6/+10
| | | | | | | | | The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem.
* Move rotation sampling from Path2D to Curve2DYaohua Xiong2022-11-011-0/+16
| | | | | The rotation sampling code is moved from Path2D to a new method `sample_baked_with_rotation` on Curve2D.
* Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio2022-08-301-12/+12
| | | | | "sampling" is a more accurate term than "interpolating" for what's happening when using that function.
* Clarify the Line2D, Curve2D/3D documentation and fix parameter namesYuri Sizov2022-08-151-3/+3
|
* [doc] Use "param" instead of "code" to refer to parameters (7)Andy Maloney2022-08-121-20/+20
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-23/+23
|
* Expose Curve points in the inspectorRaul Santos2022-05-171-6/+3
| | | | Exposes the Curve, Curve2D and Curve3D points as an array property.
* Clarify the position of points in `Curve{2D,3D}.add_point()`Hugo Locurcio2022-03-111-1/+1
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-82/+41
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-2/+2
|
* Clarify Curve.get_closest_point uses baked points.Ryan Roden-Corrent2021-02-281-1/+1
| | | | | | | Based on the doc, I wasn't sure if get_closest_point would return the closest baked point or the closest "source" point. It seems to use baked: https://github.com/godotengine/godot/blob/8faecd6a470aeef41084a32d74f4a131a5ef42b6/scene/resources/curve.cpp#L809
* Clarify Curve3D.get_point_{in,out} position in doc.Ryan Roden-Corrent2020-11-161-4/+4
| | | | | | | | | | | 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) ```
* doc: Sync classref with current sourceRémi Verschelde2020-02-181-3/+3
| | | | Handle removal of Pool*Array types and other recent changes.
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-261-1/+1
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* doc: Add default values to all propertiesRémi Verschelde2019-06-301-1/+1
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* Proofread and improve the whole class referenceHugo Locurcio2019-06-271-4/+4
| | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Merge pull request #28125 from KoBeWi/code_true_codeRémi Verschelde2019-04-221-1/+1
|\ | | | | Consistently wrap booleans in [code]
| * Consistently wrap booleans in [code]Tomasz Chabora2019-04-171-1/+1
| |
* | doc: Drop unused <demos> tagRémi Verschelde2019-04-191-2/+0
|/
* doc: Bump version to 3.2Rémi Verschelde2019-04-011-1/+1
|
* doc: Fix references to setters and misc formattingRémi Verschelde2018-12-291-17/+17
|
* [Docs] Remove double-spaces from descriptions, as well a couple other small ↵LikeLakers22018-09-231-1/+1
| | | | fixes
* Up vector implementation and OrientedPathFollow.danilo22052018-05-201-0/+4
|
* Sync classref with current sourceRémi Verschelde2018-05-121-0/+16
|
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-271-1/+1
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* doc: Update version string in headerRémi Verschelde2018-02-191-1/+1
|
* doc: Sync with current sourceRémi Verschelde2018-01-251-1/+1
| | | | | | Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
* doc: Update version string in XMLRémi Verschelde2018-01-131-1/+1
|
* doc: Sync classref after a496dd4d, removing NOEDITOR properties from docRémi Verschelde2017-12-071-3/+0
|
* doc: Remove setters and getters now exposed via properties/membersRémi Verschelde2017-11-241-16/+0
|
* doc: Update header version for 3.0-betaRémi Verschelde2017-11-241-1/+1
|
* doc: Remove revision.module_config from version stringRémi Verschelde2017-11-151-1/+1
| | | | | It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}", limits unnecessary diffs.
* Added various docs, mostly mathematical basicsGrosskopf2017-10-231-0/+3
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-9/+9
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* doc: Sync classref with current sourceRémi Verschelde2017-09-131-2/+2
| | | | [ci skip]
* Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky2017-09-121-0/+200
possible to save module files in module directories and the build system will recognize them.