UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

14 lines (8 loc) 418 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [LightOptions](./server.lightoptions.md) &gt; [distance](./server.lightoptions.distance.md) ## LightOptions.distance property The maximum distance the light will illuminate. 0 does not limit distance. Defaults to 0. **Signature:** ```typescript distance?: number; ```