Difference between revisions of "EffectWaveform"

(Created page with "{{newin|11.0|110|type=enum}} The different types of waveforms that can be used with the '''ringmodulator''' EffectType. == Constants == ;sawtooth: A sawtooth wave, al...")
 
m
 
Line 14: Line 14:
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Types of waveforms for '''ringmodulator''' effect.}}
 
{{#set:Description=Types of waveforms for '''ringmodulator''' effect.}}
 +
 +
== Other Languages ==
 +
{{i18n|EffectWaveform}}

Latest revision as of 23:40, 30 November 2018

Available since LÖVE 11.0
This enum is not supported in earlier versions.

The different types of waveforms that can be used with the ringmodulator EffectType.

Constants

sawtooth
A sawtooth wave, also known as a ramp wave. Named for its linear rise, and (near-)instantaneous fall along time.
sine
A sine wave. Follows a trigonometric sine function.
square
A square wave. Switches between high and low states (near-)instantaneously.
triangle
A triangle wave. Follows a linear rise and fall that repeats periodically.

See Also


Other Languages