OmegaEngine API  1.0.3
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

◆ StartPlayback()

void OmegaEngine.IAudio.StartPlayback ( bool  looping)

Starts the asset playback.

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

◆ StopPlayback()

void OmegaEngine.IAudio.StopPlayback ( )

Stops the asset playback.

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

Property Documentation

◆ Looping

bool OmegaEngine.IAudio.Looping
get

Is this sound set to loop?

◆ Playing

bool OmegaEngine.IAudio.Playing
get

Is this sound currently being played?

◆ Volume

int OmegaEngine.IAudio.Volume
getset

The playback volume for the asset.


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