hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
50 lines (24 loc) • 678 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [(constructor)](./server.light._constructor_.md)
## Light.(constructor)
Constructs a new instance of the `Light` class
**Signature:**
```typescript
constructor(options: LightOptions);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
[LightOptions](./server.lightoptions.md)
</td><td>
The options for the Light instance.
</td></tr>
</tbody></table>