Difference between revisions of "Noise:setCellularDistanceFunction"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 8: | Line 8: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Noise:setCellularDistanceFunction(distance) | Noise:setCellularDistanceFunction(distance) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
Revision as of 15:31, 13 July 2023
Available since: Gideros 2019.12
Class: Noise
Description
Sets the distance function used in cellular noise calculations.
Default: Euclidean
Noise:setCellularDistanceFunction(distance)
Parameters
distance: (constant) distance function