Difference between revisions of "Noise:noise"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === <tra...")
 
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Reset noise parameters to default.<br />
+
Get noise value.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
Noise:reset()
+
Noise:noise([x, y, z])
 
</source>
 
</source>
 +
=== <translate>Parameters</translate> ===
 +
'''x''': (number, default = 0) <translate>x value</translate> <br/>
 +
'''y''': (number, default = 0) <translate>y value</translate> <br/>
 +
'''z''': (number, default = 0) <translate>z value</translate> <br/>
  
 
{{Noise}}
 
{{Noise}}

Revision as of 10:11, 14 December 2019


Available since: Gideros 2019.12
Class: Noise

Description


Get noise value.

 Noise:noise([x, y, z])

Parameters

x: (number, default = 0) x value
y: (number, default = 0) y value
z: (number, default = 0) z value