Difference between revisions of "Noise.new"

From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === C...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2019.12<br/>
+
'''Available since:''' Gideros 2019.12<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Noise|Noise]]<br/>
+
'''Class:''' [[Noise]]<br/>
  
 
=== Description ===
 
=== Description ===
Creates a new noise object.<br/>
+
Creates a new noise object.
Default: '''1337'''
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
Noise.new(seed)
 
Noise.new(seed)
</source>
+
</syntaxhighlight>
 +
 
 +
Default seed value: '''1337'''
  
 
=== Parameters ===
 
=== Parameters ===
'''seed''': (number) '''optional''' seed value<br/>
+
'''seed''': (number) seed value '''optional'''<br/>
  
 
{{Noise}}
 
{{Noise}}

Latest revision as of 14:30, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Creates a new noise object.

Noise.new(seed)

Default seed value: 1337

Parameters

seed: (number) seed value optional