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

32 lines
1.0 KiB
Markdown
Raw Normal View History

2021-11-02 21:49:53 +00:00
## `~_Init(spatialDistanceScale, timestep)`
2021-11-02 20:39:21 +00:00
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|----------------------|--------|------------------------------------------------------|
|`spatialDistanceScale`|number | |
|`timestep` |number | |
!> `FAudioGMS_Init()` must be called once at the very start of your game.
 
2021-11-02 21:49:53 +00:00
## `~_Update()`
2021-11-02 20:39:21 +00:00
**Returns:** N/A (`undefined`)
|Argument|Datatype|Description|
|--------|--------|-----------|
|None | | |
2021-11-02 21:03:03 +00:00
!> `FAudioGMS_Update()` 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.
2021-11-02 20:39:21 +00:00
 
2021-11-02 21:49:53 +00:00
## `~_Destroy()`
2021-11-02 20:39:21 +00:00
**Returns:** N/A (`undefined`)
|Argument|Datatype|Description|
|--------|--------|-----------|
|None | | |