Difference between revisions of "Noise:setFractalOctaves"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2019.12<br/> | |
| − | ''' | + | '''Class:''' [[Noise]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | The amount of noise layers used to create the fractal. Used in all fractal noise generation. Default: 3. | |
| − | The amount of noise layers used to create the fractal. | ||
| − | Used in all fractal noise generation. | ||
| − | Default: 3 | ||
| − | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Noise:setFractalOctaves(octaves) | Noise:setFractalOctaves(octaves) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | === | + | |
| − | '''octaves''': (number) | + | === Parameters === |
| + | '''octaves''': (number) '''integer''' amount of layers<br/> | ||
{{Noise}} | {{Noise}} | ||
Revision as of 14:40, 28 July 2025
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