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...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2019.12<br/>
+
'''Available since:''' Gideros 2019.12<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Noise|Noise]]<br/>
+
'''Class:''' [[FastNoise]]<br/>
  
 
=== Description ===
 
=== Description ===
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}(...). Default = 1.0.
Default: '''1.0'''
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
Noise:setGradientPerturbAmp(gradientPerturbAmp)
 
Noise:setGradientPerturbAmp(gradientPerturbAmp)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
 
'''gradientPerturbAmp''': (number) '''decimal''' maximum warp distance<br/>
 
'''gradientPerturbAmp''': (number) '''decimal''' maximum warp distance<br/>
  
{{Noise}}
+
{{FastNoise}}

Latest revision as of 00:13, 29 July 2025