Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Audio.CustomSoundStyle Class Reference

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 ()
 
float GetRandomPitch ()
 

Properties

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

Private Attributes

readonly SoundEffect[] _soundEffects
 
float _volume
 
float _pitchVariance
 
SoundType _type
 

Static Private Attributes

static readonly UnifiedRandom Random = new UnifiedRandom()
 
static UnifiedRandom _random = new UnifiedRandom()
 

Detailed Description

Definition at line 6 of file CustomSoundStyle.cs.


The documentation for this class was generated from the following file: