char[] filename | Path of the file to open |
byte[] data | Pointer to the file data in memory |
sizeInBytes | Size of the data to load, in bytes |
bool loop | True to play in loop, false to play once |
float pitch | New pitch |
float volume | Volume (in range [0, 100]) |
float x | X position of the sound in the world |
float y | Y position of the sound in the world |
float z | Z position of the sound in the world |
Vector3!(float) position | new position |
float minDistance | new minimum distance for the sound |
float attenuation | new attenuation factor for the sound |