OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
OmegaEngine.IAudio Interface Reference

Represents an asset that can playback audio. More...

Inheritance diagram for OmegaEngine.IAudio:
OmegaEngine.Audio.Song OmegaEngine.Audio.Sound OmegaEngine.Audio.Sound3D

Public Member Functions

void StartPlayback (bool looping)
 Starts the asset playback. More...
 
void StopPlayback ()
 Stops the asset playback. More...
 

Properties

bool Playing [get]
 Is this sound currently being played? More...
 
bool Looping [get]
 Is this sound set to loop? More...
 
int Volume [get, set]
 The playback volume for the asset. More...
 

Detailed Description

Represents an asset that can playback audio.

Member Function Documentation

void OmegaEngine.IAudio.StartPlayback ( bool  looping)

Starts the asset playback.

Implemented in OmegaEngine.Audio.Sound3D, OmegaEngine.Audio.Song, and OmegaEngine.Audio.Sound.

void OmegaEngine.IAudio.StopPlayback ( )

Stops the asset playback.

Implemented in OmegaEngine.Audio.Sound3D, OmegaEngine.Audio.Song, and OmegaEngine.Audio.Sound.

Property Documentation

bool OmegaEngine.IAudio.Looping
get

Is this sound set to loop?

bool OmegaEngine.IAudio.Playing
get

Is this sound currently being played?

int OmegaEngine.IAudio.Volume
getset

The playback volume for the asset.


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