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>")
 
(One intermediate revision by the same user not shown)
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>
+
</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