Difference between revisions of "Noise:setFrequency"

From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === S...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
Sets the frequency for all noise types.<br/>
 
Sets the frequency for all noise types.<br/>
 
Default: '''0.01'''
 
Default: '''0.01'''
<source 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