terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SoundInstance Class Reference

Public Member Functions

 SoundInstance (SoundChannel channel, SoundDefinition definition, float volume=1f, float pan=0f, float pitch=1f, bool loop=false)
 
void Restart ()
 
void SetVolume (float volume)
 
void SetPan (float pan)
 
void SetPitch (float pitch)
 
void Stop ()
 
void StartFade (float fadeTarget, DateTime fadeStart, DateTime targetTime)
 
bool UpdateFade ()
 

Public Attributes

readonly AudioClip Clip
 
readonly SoundDefinition Definition
 
DateTime FinishTime
 

Properties

float CurrentPosition [get, set]
 
SoundChannel Channel [get, set]
 

Private Attributes

bool _fading
 
DateTime _fadeStart
 
DateTime _fadeEnd
 
float _fadeStartVol
 
float _fadeEndVol
 
SoundChannel _channel
 

Detailed Description

Definition at line 6 of file SoundInstance.cs.


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