natiny_audio_source_set_spatial
void natiny_audio_source_set_spatial(NatinyAudioSource source, bool spatial);
Sets whether a source is positioned in the 3D world.
Parameters
| Name | Type | Description |
|---|---|---|
source |
NatinyAudioSource |
Source handle |
spatial |
bool |
Whether to use spatial rendering |
Example
natiny_audio_source_set_spatial(source, false);