Update Functions-(Sound-Instances).md

main
Juju Adams 2021-11-02 21:20:20 +00:00
parent 3b65b1f648
commit 34ce4c82fb
1 changed files with 40 additions and 0 deletions

View File

@ -178,3 +178,43 @@
|`Q` |number | |
 
## `FAudioGMS_SoundInstance_GetPitch(soundInstanceID)`
**Returns:** Number, the pitch of the sound instance, with `1` being no pitch shift
|Argument |Datatype|Description |
|-----------------|--------|--------------------------------------------------------|
|`soundInstanceID`|number | |
 
## `FAudioGMS_SoundInstance_GetVolume(soundInstanceID)`
**Returns:** Number, the volume of the sound instance, from `0` (inaudible) to `1` (full volume)
|Argument |Datatype|Description |
|-----------------|--------|--------------------------------------------------------|
|`soundInstanceID`|number | |
 
## `FAudioGMS_SoundInstance_GetTrackLengthInSeconds(soundInstanceID)`
**Returns:** Number, the track length (in seconds)
|Argument |Datatype|Description |
|-----------------|--------|--------------------------------------------------------|
|`soundInstanceID`|number | |
 
## `FAudioGMS_SoundInstance_GetTrackPositionInSeconds(soundInstanceID)`
**Returns:** Number, the track position (in seconds)
|Argument |Datatype|Description |
|-----------------|--------|--------------------------------------------------------|
|`soundInstanceID`|number | |