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

Latest revision as of 14:32, 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).

Noise:setCellularNoiseLookup(noiselookup)

Parameters

noiselookup: (constant) noise lookup