Table of Contents

Class SourceConfiguration

Namespace
Bonsai.Audio.Configuration
Assembly
Bonsai.Audio.dll

Provides configuration and loading functionality for audio sources.

public class SourceConfiguration : ResourceConfiguration<AudioSource>, IResourceConfiguration
Inheritance
SourceConfiguration
Implements
Inherited Members

Properties

BufferName

Gets or sets the optional name of a buffer to play when creating the source.

Direction

Gets or sets the direction vector of the audio source.

Gain

Gets or sets the volume amplification applied to the audio source.

Looping

Gets or sets a value indicating whether the audio source is looping.

Pitch

Gets or sets the pitch to be applied to the audio source.

Position

Gets or sets the location of the audio source in three-dimensional space.

Relative

Gets or sets a value indicating whether the audio source uses coordinates relative to the listener.

State

Gets or sets a value specifying the state to which the source should be set after creation.

Velocity

Gets or sets the velocity of the audio source in three-dimensional space.

Methods

CreateResource(ResourceManager)

Creates a new source of spatialized audio.