Difference between revisions of "Noise:getCellularDistanceFunction"

From GiderosMobile
(Created page with "'''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === Returns the distance function used i...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''<translate>Available since</translate>:''' Gideros 2019.12<br/>
+
'''Available since:''' Gideros 2019.12<br/>
'''<translate>Class</translate>:''' [[Noise]]<br/>
+
'''Class:''' [[Noise]]<br/>
  
 
=== Description ===
 
=== Description ===
 
Returns the distance function used in cellular noise calculations.
 
Returns the distance function used in cellular noise calculations.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(constant) = Noise:getCellularDistanceFunction()
 
(constant) = Noise:getCellularDistanceFunction()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:31, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Returns the distance function used in cellular noise calculations.

(constant) = Noise:getCellularDistanceFunction()

Return values

Returns (constant) noise distance function