tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Audio.SoundStyle Class Referenceabstract

Inherited by Terraria.Audio.CustomSoundStyle, and Terraria.Audio.LegacySoundStyle.

Public Member Functions

 SoundStyle (float volume, float pitchVariance, SoundType type=SoundType.Sound)
 
 SoundStyle (SoundType type=SoundType.Sound)
 
float GetRandomPitch ()
 
abstract SoundEffect GetRandomSound ()
 

Properties

abstract bool IsTrackable [get]
 
float PitchVariance [get]
 
SoundType Type [get]
 
float Volume [get]