Difference between revisions of "Noise:setSeed"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 8: Line 8:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Noise:setSeed(seed)
 
Noise:setSeed(seed)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Sets seed used for all noise types.
Default: 1337

Noise:setSeed(seed)

Parameters

seed: (number) integer seed value