Interface IAudio
- Namespace
- OmegaEngine
- Assembly
- OmegaEngine.dll
Represents an asset that can playback audio.
public interface IAudio
- Extension Methods
Properties
Looping
Is this sound set to loop?
bool Looping { get; }
Property Value
Playing
Is this sound currently being played?
bool Playing { get; }
Property Value
Volume
The playback volume for the asset.
int Volume { get; set; }
Property Value
Methods
StartPlayback(bool)
Starts the asset playback.
void StartPlayback(bool looping)
Parameters
looping
bool
StopPlayback()
Stops the asset playback.
void StopPlayback()