Noise:getGradientPerturbAmp: Difference between revisions

From GiderosMobile
Created page with "'''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === Returns the maximum warp distance fr..."
 
m Text replacement - "<source" to "<syntaxhighlight"
Line 4: Line 4:
=== Description ===
=== Description ===
Returns the maximum warp distance from original location when using GradientPerturb{Fractal}(...).
Returns the maximum warp distance from original location when using GradientPerturb{Fractal}(...).
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = Noise:getGradientPerturbAmp()
(number) = Noise:getGradientPerturbAmp()
</source>
</source>

Revision as of 13:28, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Returns the maximum warp distance from original location when using GradientPerturb{Fractal}(...). <syntaxhighlight lang="lua"> (number) = Noise:getGradientPerturbAmp() </source>

Return values

Returns (number) decimal maximum noise warp distance

Template:Noise