Difference between revisions of "Noise:getSeed"

From GiderosMobile
(Created page with "'''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === Returns seed used for all noise type...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
Returns seed used for all noise types.
 
Returns seed used for all noise types.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Noise:getSeed()
 
(number) = Noise:getSeed()
 
</source>
 
</source>

Revision as of 14:28, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Returns seed used for all noise types. <syntaxhighlight lang="lua"> (number) = Noise:getSeed() </source>

Return values

Returns (number) integer noise seed