hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
14 lines (8 loc) • 537 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [AudioOptions](./server.audiooptions.md) > [cutoffDistance](./server.audiooptions.cutoffdistance.md)
## AudioOptions.cutoffDistance property
The cutoff distance between the audio source and the listener where the audio will be reduced to 0 volume. Must be greater than reference distance. Defaults to reference distance + 10.
**Signature:**
```typescript
cutoffDistance?: number;
```