Difference between revisions of "Noise:setFractalOctaves"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === <tra...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 9: Line 9:
 
Default: 3<br />
 
Default: 3<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Noise:setFractalOctaves(octaves)
 
Noise:setFractalOctaves(octaves)
 
</source>
 
</source>

Revision as of 14:30, 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

<syntaxhighlight lang="lua"> Noise:setFractalOctaves(octaves) </source>

Parameters

octaves: (number) integer amount of layers