Difference between revisions of "Noise:setFractalGain"

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:setFractalGain(fracgain)
 
Noise:setFractalGain(fracgain)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:31, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Sets the octave gain for all fractal noise types.
Default: 0.5

Noise:setFractalGain(fracgain)

Parameters

fracgain: (number) decimal fractal gain value