SoundInst

This represents a play instance of a Sound! You can get one when you call Sound.Play(). This allows you to do things like cancel a piece of audio early, or change the volume and position of it as it’s playing.

Instance Methods

   
Stop This stops the sound early if it’s still playing.

Static Fields and Properties

   
bool IsPlaying Is this Sound instance currently playing? For streaming assets, this will be true even if they don’t have any new data in them, and they’re just idling at the end of their data.
Vec3 Position The 3D position in world space this sound instance is currently playing at. If this instance is no longer valid, the position will be at zero.
float Volume The volume multiplier of this Sound instance! A number between 0 and 1, where 0 is silent, and 1 is full volume.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!