Hugo Locurcio
c60bf051e0
Add an XML schema for documentation
...
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.
2022-02-15 00:03:31 +01:00
Silc 'Tokage' Renew
1cc952bc43
Implement cubic_interpolate() as MathFunc for refactoring
2022-02-12 18:11:17 +09:00
kobewi
5376803cb6
Fix usage of "Return" in the docs
2022-01-02 21:09:18 +01:00
Yuri Roubinsky
1dca7ea720
Expose randfn to global scope
2021-11-17 14:29:19 +03:00
Silc 'Tokage' Renew
1da316233b
reimplement ping-pong
2021-11-03 13:39:33 +09:00
Juan Linietsky
0837a9115d
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
2021-10-11 19:27:50 -03:00
Tokage
b19f39d0a2
implement ping-pong loop in animation
...
Co-authored-by: Chaosus <chaosus89@gmail.com >
2021-10-09 18:08:43 +09:00
Rémi Verschelde
87125310ec
Merge pull request #52877 from Calinou/add-print-verbose
...
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21 17:00:58 +02:00
Hugo Locurcio
e126128b49
Add print_verbose() built-in function to print in verbose mode only
...
This can be used as a shorthand for:
if OS.is_stdout_verbose():
print("...")
Unlike `print_debug()`, this works in release builds too and can
be toggled off in debug builds.
2021-09-21 15:59:49 +02:00
Aaron Franke
d20cff9207
Don't generate empty doc sections and reduce code duplication
2021-09-20 20:59:33 -05:00
kobewi
faa6be529c
Remove cartesian2polar and polar2cartesian
2021-08-31 01:41:41 +02:00
Aaron Franke
b7131d531e
Remove obsolete "dectime" method
...
Replaced by "move_toward"
2021-07-30 16:41:28 -05:00
Aaron Franke
f593488534
Replace ColorN and from HTML with a string constructor
2021-02-01 17:27:19 -05:00
Rémi Verschelde
a6ce1b6bba
doc: Sync classref with current source
2021-01-04 14:33:44 +01:00
Rémi Verschelde
be85892c04
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
Yuri Roubinsky
daa8361a91
Exposed randi_range to global funcs + renamed rand_range to randf_range
2020-11-06 17:06:26 +03:00
Rémi Verschelde
f8cabf372b
doc: Sync classref with current source
...
Handle removal of Pool*Array types and other recent changes.
2020-02-18 14:02:02 +01:00
Rémi Verschelde
25cdea3653
Remove deprecated decimals builtin
...
Replaced by 'step_decimals' in 3.2 via #21425 .
2020-02-12 13:39:39 +01:00
clayjohn
7e07e45db6
Update docs to version 4.0
2020-01-31 17:15:41 -08:00
Rémi Verschelde
87d6172967
doc: Drop unused 'category' property from header
...
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.
2020-01-26 16:02:39 +01:00
Rémi Verschelde
4128510769
doc: Misc updates for AnimationNode* and others
...
- Add some missing descriptions.
- Add links to tutorials for ARVR and AnimationTree.
- Style fixes.
- Engine changes:
* Make `AnimationNodeTransition.input_<number>` properties internal
so that they don't appear in the docs. They still appear in the
inspector based on the actual number of inputs requested.
* Drop unimplemented `CPUParticles.flatness`. It's only used for 3D
particles in `ParticlesMaterial`, and thus only relevant for
`CPUParticles3D`.
2020-01-23 12:37:33 +01:00
Rémi Verschelde
839df54085
doc: Sync classref with current source
...
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde
e4f1b32c85
doc: Sync classref with current source
2019-07-22 12:27:52 +02:00
Chaosus
add37970b3
Added lerp_angles built-in function
...
Co-authored-by: Xrayez <https://github.com/Xrayez >
Co-authored-by: DleanJeans <https://github.com/DleanJeans >
2019-07-20 12:59:41 +03:00
Rémi Verschelde
feade426af
doc: Add default values to all properties
...
Thanks to @bojidar-bg's impressive work in #29380 .
2019-06-30 13:58:07 +02:00
Hugo Locurcio
23af85f606
Proofread and improve the whole class reference
...
- 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
2019-06-27 22:30:19 +02:00
Rémi Verschelde
9798e341c3
doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinks
2019-06-27 13:49:36 +02:00
Rémi Verschelde
be74f53090
doc: Complete and harmonize all _MAX constant descriptions
2019-06-27 11:10:53 +02:00
Giacom
959a4f59e6
Added move_toward functions for float, Vector2 and Vector3
2019-05-28 11:39:35 +01:00
Rémi Verschelde
946e3039b9
doc: Drop unused <demos> tag
2019-04-19 11:03:46 +02:00
Rémi Verschelde
e2e90aa566
Merge pull request #27231 from Chaosus/smoothstep
...
Added smoothstep built-in function
2019-04-08 10:03:42 +02:00
Chaosus
dd9357d41c
Added smoothstep built-in function
2019-04-07 14:11:26 +03:00
Rémi Verschelde
e742fe2f23
doc: Bump version to 3.2
2019-04-01 12:33:56 +02:00
Rémi Verschelde
55afdd1433
doc: Fix wrong references found by new makerst.py
...
Thanks @PJB3005
2019-01-07 10:06:12 +01:00
Rémi Verschelde
f0decb2459
doc: Sync classref with current source
...
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Will Vincent
24b151a48c
Remove incorrect & potentially confusing references to Euler
...
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-15 11:40:31 -05:00
Rémi Verschelde
9639987678
doc: Remove status from hardcoded version string
...
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-27 13:40:49 +01:00
Rémi Verschelde
d2244b063a
doc: Update version string in header
2018-02-19 10:46:33 +01:00
Rémi Verschelde
0ddacdab12
doc: Sync with current source
...
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).
2018-01-25 08:50:56 +01:00
Rémi Verschelde
9cb8f46319
doc: Update version string in XML
2018-01-13 11:43:42 +01:00
Rémi Verschelde
c41de73651
doc: Fix enum tags thanks to 2bc6db6
2017-11-24 23:16:30 +01:00
Rémi Verschelde
08b4da4ef8
doc: Remove setters and getters now exposed via properties/members
2017-11-24 18:10:32 +01:00
Rémi Verschelde
bc6b6c43d4
doc: Update header version for 3.0-beta
2017-11-24 09:16:52 +01:00
Rémi Verschelde
e2fe479af6
doc: Sync classref with current source
2017-11-24 09:16:27 +01:00
pablotato
5b8a95b1e8
Add cartesian to polar conversion functions
2017-11-20 23:34:40 +01:00
Rémi Verschelde
55e453ed89
doc: Make all module docs self-contained
2017-11-15 21:29:33 +01:00