Difference between revisions of "Noise:whiteNoise2DInt"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === <tra...")
 
Line 8: Line 8:
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
Noise:whiteNoise2DInt(x, y)
+
(number) = Noise:whiteNoise2DInt(x, y)
 
</source>
 
</source>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''x''': (number) <translate>x value</translate> <br/>
 
'''x''': (number) <translate>x value</translate> <br/>
 
'''y''': (number) <translate>y value</translate> <br/>
 
'''y''': (number) <translate>y value</translate> <br/>
 +
=== <translate>Return values</translate> ===
 +
'''<translate>Returns</translate>''' <translate>noise value from -1.0 to 1.0</translate><br/>
  
 
{{Noise}}
 
{{Noise}}

Revision as of 05:01, 9 January 2020


Available since: Gideros 2019.12
Class: Noise

Description


Get integer 2D white noise

(number) = Noise:whiteNoise2DInt(x, y)

Parameters

x: (number) x value
y: (number) y value

Return values

Returns noise value from -1.0 to 1.0