An audio clip.
public void SetVolume(float volume)
(Client) Set the volume of the clip.
Arguments
public float GetVolume()
(Client) Get the volume of the clip.
Returns: (float) The volume ranging from 0 to 1.
public void SetPitch(float pitch)
(Client) Set the pitch of the clip.
Arguments
public float GetPitch()
(Client) Get the pitch of the clip.
Returns: (float) The pitch.
public void PlayOnce(LuaVector3 pos)
(Client) Plays this audio resource at a specified position in 3d space.
Arguments
public void PlayOnce2D()
(Client) Plays this audio resource.