tModLoader v2024.09
A mod to make and play Terraria mods
ActiveSound Class Reference

Public Member Functions

 ActiveSound (SoundStyle style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
 
void Pause ()
 
void Resume ()
 
void Stop ()
 
void Update ()
 

Public Attributes

SoundUpdateCallback? Callback
 
float Pitch
 
Vector2? Position
 
float Volume
 

Properties

bool IsPlaying [get]
 
SoundEffectInstance? Sound [get]
 
SoundStyle Style [get]