Difference between revisions of "Noise:setGradientPerturbAmp"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 8: Line 8:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Noise:setGradientPerturbAmp(gradientPerturbAmp)
 
Noise:setGradientPerturbAmp(gradientPerturbAmp)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:32, 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

Noise:setGradientPerturbAmp(gradientPerturbAmp)

Parameters

gradientPerturbAmp: (number) decimal maximum warp distance