Table of Contents

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

bool

Playing

Is this sound currently being played?

bool Playing { get; }

Property Value

bool

Volume

The playback volume for the asset.

int Volume { get; set; }

Property Value

int

Methods

StartPlayback(bool)

Starts the asset playback.

void StartPlayback(bool looping)

Parameters

looping bool

StopPlayback()

Stops the asset playback.

void StopPlayback()