summaryrefslogtreecommitdiff
path: root/doc/classes/RandomNumberGenerator.xml
AgeCommit message (Collapse)Author
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
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.
2021-07-02Improve and clarify documentation for RandomNumberGeneratorHugo Locurcio
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2020-12-07Add ability to restore `RandomNumberGenerator` stateAndrii Doroshenko (Xrayez)
- 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-11-05doc: Override default value for RandomNumberGenerator.seedRémi Verschelde
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-10-14Link the Random number generation tutorial in the class referenceHugo Locurcio
2020-01-31Update docs to version 4.0clayjohn
2020-01-26doc: Drop unused 'category' property from headerRémi Verschelde
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.
2019-06-30Added example on how to use RandomNumberGeneratortree786
2019-06-30doc: Add default values to all propertiesRémi Verschelde
Thanks to @bojidar-bg's impressive work in #29380.
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- 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-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-09Merge pull request #27591 from toasteater/doc/rng-impl-notesRémi Verschelde
Improve RandomNumberGenerator docs.
2019-04-07Merge pull request #27043 from Chaosus/randfnYuri Roubinsky
Added gaussian distribution function to RNG
2019-04-02Improve RandomNumberGenerator docs.toasteater
Clarified behavior of a few methods. Added implementation notes so that developers not familiar with RNGs are alerted to common pitfalls.
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-03-17Added normally distributed generation function to RNGChaosus
2019-02-18doc: Fix style issuesRémi Verschelde
2018-12-13doc: Sync classref with current sourceRémi Verschelde
2018-12-06Added integer number generation function to RNG classChaosus
2018-11-13doc: Sync classref with current sourceRémi Verschelde
2018-11-13Implement random number generatorChaosus
Co-authored-by: Zirak <zirakertan@gmail.com>