Spec-Zone.ru › LÖVE

EffectWaveform

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

  • love.audio
  • EffectType


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/EffectWaveform

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API