Open Rails

SoundProcess.AddSoundSources Method

[This is preliminary documentation and subject to change.]

Adds the collection of SoundSourceBase for a particular owner to the playable sounds.

public void AddSoundSources(
   object owner,
   List<SoundSourceBasesources
);

Parameters

owner
The object to which the sound sources are attached.
sources
The sound sources to add.

See Also

SoundProcess Class | ORTS Namespace