Noise:setGradientPerturbAmp

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

Available since: Gideros 2019.12
Class: Noise

Description

Sets the maximum warp distance from original location when using GradientPerturb{Fractal}(...).
Default: 1.0 <syntaxhighlight lang="lua"> Noise:setGradientPerturbAmp(gradientPerturbAmp) </source>

Parameters

gradientPerturbAmp: (number) decimal maximum warp distance