Difference between revisions of "Noise:setFractalOctaves"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 11: Line 11:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Noise:setFractalOctaves(octaves)
 
Noise:setFractalOctaves(octaves)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''octaves''': (number) <translate>'''integer''' amount of layers</translate> <br/>
 
'''octaves''': (number) <translate>'''integer''' amount of layers</translate> <br/>
  
 
{{Noise}}
 
{{Noise}}

Latest revision as of 14:32, 13 July 2023


Available since: Gideros 2019.12
Class: Noise

Description


The amount of noise layers used to create the fractal.
Used in all fractal noise generation.
Default: 3

Noise:setFractalOctaves(octaves)

Parameters

octaves: (number) integer amount of layers