Class Sound
- Namespace
- Lime
- Assembly
- Lime.dll
- Inheritance
-
Sound
- Inherited Members
-
Constructors
Sound()
Fields
StopChecker
public Func<bool> StopChecker
Field Value
- Func<bool>
Properties
Channel
public IAudioChannel Channel { get; }
Property Value
- IAudioChannel
IsLoading
public bool IsLoading { get; }
Property Value
- bool
IsPaused
public bool IsPaused { get; }
Property Value
- bool
IsStopped
public bool IsStopped { get; }
Property Value
- bool
Pan
public float Pan { get; set; }
Property Value
- float
Pitch
public float Pitch { get; set; }
Property Value
- float
Volume
public float Volume { get; set; }
Property Value
- float
Methods
Pause(float)
public void Pause(float fadeOutTime = 0)
Parameters
fadeOutTime
float
Resume(float)
public void Resume(float fadeInTime = 0)
Parameters
fadeInTime
float
Stop(float)
public void Stop(float fadeOutTime = 0)
Parameters
fadeOutTime
float
Suspend(float)
public PlayParameters Suspend(float fadeOutTime = 0)
Parameters
fadeOutTime
float
Returns
- PlayParameters