Noise:setGradientPerturbAmp: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''Available since:''' Gideros 2019.12<br/> | ||
''' | '''Class:''' [[Noise]]<br/> | ||
=== Description === | === Description === | ||
Sets the maximum warp distance from original location when using GradientPerturb{Fractal}(...). | Sets the maximum warp distance from original location when using GradientPerturb{Fractal}(...). Default: '''1.0''' | ||
Default: '''1.0''' | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Noise:setGradientPerturbAmp(gradientPerturbAmp) | Noise:setGradientPerturbAmp(gradientPerturbAmp) | ||
Revision as of 17:17, 27 July 2025
Available since: Gideros 2019.12
Class: Noise
Description
Sets the maximum warp distance from original location when using GradientPerturb{Fractal}(...). Default: 1.0
Noise:setGradientPerturbAmp(gradientPerturbAmp)
Parameters
gradientPerturbAmp: (number) decimal maximum warp distance