Difference between revisions of "Noise:setCellularReturnType"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 11: Line 11:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Noise:setCellularReturnType(type)
 
Noise:setCellularReturnType(type)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15:31, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Sets the return type from cellular noise calculations.

note: NoiseLookup requires another FastNoise object to be set with SetCellularNoiseLookup() to function.

Default: CellValue

Noise:setCellularReturnType(type)

Parameters

type: (constant) return type