Noise:setFractalType: Difference between revisions
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 method for combining octaves in all fractal noise types.<br/> | Sets the method for combining octaves in all fractal noise types.<br/> | ||
Default: '''FBM''' | Default: '''FBM''' | ||
< | <syntaxhighlight lang="lua"> | ||
Noise:setFractalType(type) | Noise:setFractalType(type) | ||
</source> | </source> | ||
Revision as of 13:30, 13 July 2023
Available since: Gideros 2019.12
Class: Noise
Description
Sets the method for combining octaves in all fractal noise types.
Default: FBM
<syntaxhighlight lang="lua">
Noise:setFractalType(type)
</source>
Parameters
type: (constant) fractal type