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

32 lines
1.0 KiB
Markdown
Raw Normal View History

2021-11-02 20:39:21 +00:00
## `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 | | |