terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
SoundInstance Class Reference
+ Collaboration diagram for SoundInstance:

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 9 of file SoundInstance.cs.


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