Noise:setCellularDistanceFunction

From GiderosMobile
Revision as of 15:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2019.12
Class: Noise

Description

Sets the distance function used in cellular noise calculations.
Default: Euclidean <syntaxhighlight lang="lua"> Noise:setCellularDistanceFunction(distance) </source>

Parameters

distance: (constant) distance function