Difference between revisions of "Noise:setGradientPerturbAmp"
From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === S...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 6: | Line 6: | ||
Sets the maximum warp distance from original location when using GradientPerturb{Fractal}(...).<br/> | Sets the maximum warp distance from original location when using GradientPerturb{Fractal}(...).<br/> | ||
Default: '''1.0''' | Default: '''1.0''' | ||
− | < | + | <syntaxhighlight lang="lua"> |
Noise:setGradientPerturbAmp(gradientPerturbAmp) | Noise:setGradientPerturbAmp(gradientPerturbAmp) | ||
</source> | </source> |
Revision as of 15:30, 13 July 2023
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