tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Audio.CustomSoundStyle Class Reference

Inherits Terraria.Audio.SoundStyle.

Public Member Functions

 CustomSoundStyle (SoundEffect soundEffect, SoundType type=SoundType.Sound, float volume=1f, float pitchVariance=0f)
 
 CustomSoundStyle (SoundEffect[] soundEffects, SoundType type=SoundType.Sound, float volume=1f, float pitchVariance=0f)
 
override SoundEffect GetRandomSound ()
 
- Public Member Functions inherited from Terraria.Audio.SoundStyle
 SoundStyle (float volume, float pitchVariance, SoundType type=SoundType.Sound)
 
 SoundStyle (SoundType type=SoundType.Sound)
 
float GetRandomPitch ()
 

Properties

override bool IsTrackable [get]
 
- Properties inherited from Terraria.Audio.SoundStyle
abstract bool IsTrackable [get]
 
float PitchVariance [get]
 
SoundType Type [get]
 
float Volume [get]