AudioSource
Plays a sound on the object: the procedural tone at Frequency, or (after setting ClipPath) an asset clip.
Kolpa.Engine.AudioSource
public sealed class AudioSource : Component{ public AudioSource(); public float Frequency; public bool Loop; public bool PlayOnStart; public string Bus { set; } public string ClipPath { set; } public float CustomRolloffExponent { get; set; } public float DopplerLevel { get; set; } public bool IsPlaying { get; } public float MaxDistance { get; set; } public float MaxPitch { get; set; } public float MaxVolume { get; set; } public float MinDistance { get; set; } public float MinPitch { get; set; } public float MinVolume { get; set; } public float Pan { get; set; } public float Pitch { get; set; } public int Priority { get; set; } public bool RandomizePitch { get; set; } public bool RandomizeVolume { get; set; } public RolloffMode RolloffMode { get; set; } public float SpatialBlend { get; set; } public VelocityUpdateMode VelocityUpdateMode { get; set; } public float Volume { get; set; } public void Play(); public void Stop();}