C# Class Project290.Audio.AudioManager.MusicFadeEffect

Show file Open project: scastle/Solitude

Public Properties

Property Type Description
SourceVolume float
TargetVolume float

Public Methods

Method Description
GetVolume ( ) : float
MusicFadeEffect ( float sourceVolume, float targetVolume, System.TimeSpan duration ) : System
Update ( System.TimeSpan time ) : bool

Method Details

GetVolume() public method

public GetVolume ( ) : float
return float

MusicFadeEffect() public method

public MusicFadeEffect ( float sourceVolume, float targetVolume, System.TimeSpan duration ) : System
sourceVolume float
targetVolume float
duration System.TimeSpan
return System

Update() public method

public Update ( System.TimeSpan time ) : bool
time System.TimeSpan
return bool

Property Details

SourceVolume public property

public float SourceVolume
return float

TargetVolume public property

public float TargetVolume
return float