Difference between revisions of "Noise:setCellularNoiseLookup"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 8: Line 8:
 
<syntaxhighlight 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