Difference between revisions of "Noise:setCellularNoiseLookup"

From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === N...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:
 
Noise used to calculate a cell value if cellular return type is '''NoiseLookup'''.<br/>
 
Noise used to calculate a cell value if cellular return type is '''NoiseLookup'''.<br/>
 
The lookup value is acquired through GetNoise() so ensure you SetNoiseType() on the noise lookup value (Perlin or Simplex is recommended).<br/>
 
The lookup value is acquired through GetNoise() so ensure you SetNoiseType() on the noise lookup value (Perlin or Simplex is recommended).<br/>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Noise:setCellularNoiseLookup(noiselookup)
 
Noise:setCellularNoiseLookup(noiselookup)
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Noise used to calculate a cell value if cellular return type is NoiseLookup.
The lookup value is acquired through GetNoise() so ensure you SetNoiseType() on the noise lookup value (Perlin or Simplex is recommended).
<syntaxhighlight lang="lua"> Noise:setCellularNoiseLookup(noiselookup) </source>

Parameters

noiselookup: (constant) noise lookup