Difference between revisions of "Noise.new"

From GiderosMobile
(removed language stuff)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Creates a new noise object.
 
Creates a new noise object.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Noise.new(seed)
 
Noise.new(seed)
</source>
+
</syntaxhighlight>
  
 
Default seed value: '''1337'''
 
Default seed value: '''1337'''

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