SFML.Net
Sound Methods |
The Sound type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Destroy |
Handle the destruction of the object
(Overrides ObjectBaseDestroy(Boolean).) |
![]() |
Dispose |
Explicitely dispose the object
(Inherited from ObjectBase.) |
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() |
Finalize |
Dispose the object
(Inherited from ObjectBase.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
Pause |
Pause the sound.
This function pauses the sound if it was playing,
otherwise (sound already paused or stopped) it has no effect.
|
![]() |
Play |
Start or resume playing the sound.
This function starts the stream if it was stopped, resumes
it if it was paused, and restarts it from beginning if it
was it already playing.
This function uses its own thread so that it doesn't block
the rest of the program while the sound is played.
|
![]() |
Stop |
Stop playing the sound.
This function stops the sound if it was playing or paused,
and does nothing if it was already stopped.
It also resets the playing position (unlike pause()).
|
![]() |
ToString |
Provide a string describing the object
(Overrides ObjectToString.) |
