C# Class OpenBveApi.Runtime.SoundHandle

Represents the handle to a sound.
Mostra file Open project: leezer3/OpenBVE Class Usage Examples

Protected Properties

Property Type Description
MyPitch double
MyValid bool
MyVolume double

Public Methods

Method Description
Stop ( ) : void

Stops the sound and invalidates the handle.

Method Details

Stop() public method

Stops the sound and invalidates the handle.
public Stop ( ) : void
return void

Property Details

MyPitch protected_oe property

The pitch. A value of 1.0 represents nominal pitch.
protected double MyPitch
return double

MyValid protected_oe property

Whether the handle to the sound is valid.
protected bool MyValid
return bool

MyVolume protected_oe property

The volume. A value of 1.0 represents nominal volume.
protected double MyVolume
return double