Difference between revisions of "Noise:setFractalGain"

From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === S...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:
 
Sets the octave gain for all fractal noise types.<br/>
 
Sets the octave gain for all fractal noise types.<br/>
 
Default: '''0.5'''
 
Default: '''0.5'''
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Noise:setFractalGain(fracgain)
 
Noise:setFractalGain(fracgain)
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Sets the octave gain for all fractal noise types.
Default: 0.5 <syntaxhighlight lang="lua"> Noise:setFractalGain(fracgain) </source>

Parameters

fracgain: (number) decimal fractal gain value