OpenBve.Sounds.PathOrigin.GetSound C# (CSharp) Méthode

GetSound() private méthode

Gets the sound from this origin.
private GetSound ( OpenBveApi &sound ) : bool
sound OpenBveApi Receives the sound.
Résultat bool
			internal override bool GetSound(out OpenBveApi.Sounds.Sound sound)
			{
			    if (!Program.CurrentHost.LoadSound(this.Path, out sound)) {
					sound = null;
					return false;
				}
			    return true;
			}