add SetLoopPoints
parent
9b853731e8
commit
6e66dd748c
|
@ -145,6 +145,22 @@ Jumps to a fixed position in the sound instance's audio asset. This is useful fo
|
|||
|
||||
|
||||
|
||||
## `~_SoundInstance_SetLoopPoints(soundInstanceID, loopStartInMilliseconds, loopEndInMilliseconds)`
|
||||
|
||||
**Returns:** N/A (`undefined`)
|
||||
|
||||
|Argument |Datatype|Description |
|
||||
|------------------------|--------|--------------------------------------------------------|
|
||||
|`soundInstanceID` |number |Sound instance to target |
|
||||
|`loopStartInMilliseconds` |number |Start of the loop, in milliseconds |
|
||||
|`loopEndInMilliseconds` |number |End of the loop, in milliseconds |
|
||||
|
||||
Loops over a specific region of the sound instance. This is useful for dynamic audio.
|
||||
|
||||
!> This function must be called BEFORE calling `FAudioGMS_SoundInstance_Play` or it will not behave as you expect.
|
||||
|
||||
|
||||
|
||||
## `~_SoundInstance_SetVolumeOverTime(soundInstanceID, volume, milliseconds)`
|
||||
|
||||
**Returns:** N/A (`undefined`)
|
||||
|
|
Loading…
Reference in New Issue