Open Rails

SoundProcess.AddSoundSource Method

[This is preliminary documentation and subject to change.]

Adds a single SoundSourceBase to the playable sounds.

public void AddSoundSource(
   object owner,
   SoundSourceBase source
);

Parameters

owner
The object to which the sound is attached.
source
The sound source to add.

See Also

SoundProcess Class | ORTS Namespace