Difference between revisions of "Noise:setFrequency"

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:setFrequency(frequency)
 
Noise:setFrequency(frequency)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:31, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Sets the frequency for all noise types.
Default: 0.01

Noise:setFrequency(frequency)

Parameters

frequency: (number) decimal frequency value