Difference between revisions of "Noise:setCellularDistanceFunction"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2019.12<br/>
+
'''Available since:''' Gideros 2019.12<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Noise|Noise]]<br/>
+
'''Class:''' [[FastNoise]]<br/>
  
 
=== Description ===
 
=== Description ===
Sets the distance function used in cellular noise calculations.<br/>
+
Sets the distance function used in cellular noise calculations. Default = Euclidean.
Default: '''Euclidean'''
 
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Noise:setCellularDistanceFunction(distance)
 
Noise:setCellularDistanceFunction(distance)
Line 13: Line 12:
 
'''distance''': (constant) distance function<br/>
 
'''distance''': (constant) distance function<br/>
  
{{Noise}}
+
{{FastNoise}}

Revision as of 00:02, 29 July 2025