Difference between revisions of "Noise:getCellularDistanceFunction"

From GiderosMobile
(removed language stuff)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
=== 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 15: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