REVO / API version 0.0.10
IAudioOptions
Properties
Section titled “Properties”| Property | Type | Details |
|---|---|---|
category? |
string |
Name of a GTA category or one created by a client script. Playback waits for the category to become available. An empty or omitted name uses the default category. |
loop? |
boolean |
Defaults to false. Live URLs cannot loop. |
pos? |
IVector3 |
Sets the position for spatial audio. Omit for frontend (2D) playback. |
streamDistance? |
number |
Positive streaming radius in metres. Defaults to 200. |
volume? |
number |
Volume in dB, from -100 to 12. Defaults to 0. GTA categories and settings also affect playback. |