FAudioGMS-Docs/docs/latest/Fuctions-(Essentials).md

32 lines
1.0 KiB
Markdown

## `FAudioGMS_Init(spatialDistanceScale, timestep)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|----------------------|--------|------------------------------------------------------|
|`spatialDistanceScale`|number | |
|`timestep` |number | |
!> `FAudioGMS_Init()` must be called once at the very start of your game.
 
## `FAudioGMS_Update()`
**Returns:** N/A (`undefined`)
|Argument|Datatype|Description|
|--------|--------|-----------|
|None | | |
!> `FAudioGMS_Init()` must be called once every frame, usually in the Step event of a persistent instance. Ensure that this instance doesn't get deactivated if you're using instance deactivation for e.g. a pause screen.
 
## `FAudioGMS_Destroy()`
**Returns:** N/A (`undefined`)
|Argument|Datatype|Description|
|--------|--------|-----------|
|None | | |