Skip to content

Class AudioOptions

Namespace: Apogee.Audio
Assembly: Apogee.Audio.dll

How an is made.

public sealed class AudioOptions

Inheritance

object ← AudioOptions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

DistanceFactor

Game units per meter. The world is in meters, so one.

public float DistanceFactor { get; init; }

Property Value

float

DopplerScale

Scales the Doppler effect (1 is physical).

public float DopplerScale { get; init; }

Property Value

float

Output

public AudioOutput Output { get; init; }

Property Value

AudioOutput

RolloffScale

Scales how fast sound fades with distance (1 is the inverse-distance rolloff).

public float RolloffScale { get; init; }

Property Value

float

SampleRate

The mixing rate. A device that cannot do it mixes at its own.

public int SampleRate { get; init; }

Property Value

int

WavPath

The WAV file for .

public string? WavPath { get; init; }

Property Value

string?