Binding of Isaac - Afterbirth+ Lua Reference/Guide

Public Member Functions | List of all members
SFXManager Class Reference

## Public Member Functions
| Play (SoundEffect ID, float Volume, integer FrameDelay, boolean Loop, float Pitch)
| AdjustVolume (SoundEffect ID, float Volume)
| mostly useful for repeating sounds More...
| AdjustPitch (SoundEffect ID, float Pitch)
| mostly useful for repeating sounds More...
| Stop (SoundEffect ID)
| StopLoopingSounds ()
| Preload (SoundEffect ID)
boolean | IsPlaying (SoundEffect ID)
| SetAmbientSound (SoundEffect ID, float Volume, float Pitch)
float | GetAmbientSoundVolume (SoundEffect ID)

## Member Function Documentation

## ◆ AdjustPitch()

SFXManager::AdjustPitch | ( | SoundEffect | ID,
|  | float | Pitch
| ) |  |

mostly useful for repeating sounds

## ◆ AdjustVolume()

SFXManager::AdjustVolume | ( | SoundEffect | ID,
|  | float | Volume
| ) |  |

mostly useful for repeating sounds

## ◆ GetAmbientSoundVolume()

float SFXManager::GetAmbientSoundVolume | ( | SoundEffect | ID | ) |

## ◆ IsPlaying()

boolean SFXManager::IsPlaying | ( | SoundEffect | ID | ) |

## ◆ Play()

SFXManager::Play | ( | SoundEffect | ID,
|  | float | Volume,
|  | integer | FrameDelay,
|  | boolean | Loop,
|  | float | Pitch
| ) |  |

## ◆ Preload()

SFXManager::Preload | ( | SoundEffect | ID | ) |

## ◆ SetAmbientSound()

SFXManager::SetAmbientSound | ( | SoundEffect | ID,
|  | float | Volume,
|  | float | Pitch
| ) |  |

## ◆ Stop()

SFXManager::Stop | ( | SoundEffect | ID | ) |

## ◆ StopLoopingSounds()

SFXManager::StopLoopingSounds | ( |  | ) |