SoundEffect

A sound effect which is persistent in memory.

Constructors

this
this(Audio audio, AudioRenderFormats format)

Creates a new sound effect from an audio stream

this
this(string file)

Creates a new sound effect from a file.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

IsPlaying
bool IsPlaying()
Undocumented in source. Be warned that the author may not have intended to support it.
Pause
void Pause()
Undocumented in source. Be warned that the author may not have intended to support it.
Play
void Play(bool looping)
Undocumented in source. Be warned that the author may not have intended to support it.
Rewind
void Rewind()
Undocumented in source. Be warned that the author may not have intended to support it.
Stop
void Stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

ByteOffset
int ByteOffset [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ConeInnerAngle
float ConeInnerAngle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ConeInnerAngle
float ConeInnerAngle [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ConeOuterAngle
float ConeOuterAngle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ConeOuterAngle
float ConeOuterAngle [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ConeOuterGain
float ConeOuterGain [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ConeOuterGain
float ConeOuterGain [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Direction
Vector3 Direction [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Direction
Vector3 Direction [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Effect
AudioEffect Effect [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Effect
AudioEffect Effect [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Filter
AudioFilter Filter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Filter
AudioFilter Filter [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Gain
float Gain [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Gain
float Gain [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Looping
bool Looping [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Looping
bool Looping [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
MaxDistance
float MaxDistance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
MaxDistance
float MaxDistance [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
MaxGain
float MaxGain [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
MaxGain
float MaxGain [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
MinGain
float MinGain [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
MinGain
float MinGain [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Pitch
float Pitch [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Pitch
float Pitch [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Position
Vector3 Position [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Position
Vector3 Position [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ReferenceDistance
float ReferenceDistance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ReferenceDistance
float ReferenceDistance [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
RolloffFactor
float RolloffFactor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
RolloffFactor
float RolloffFactor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
SampleOffset
int SampleOffset [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
SecondOffset
int SecondOffset [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Velocity
Vector3 Velocity [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Velocity
Vector3 Velocity [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta