hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
58 lines (28 loc) • 765 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [World](./server.world.md) > [setSkyboxUri](./server.world.setskyboxuri.md)
## World.setSkyboxUri() method
Sets the cubemap URI of the world's skybox.
**Signature:**
```typescript
setSkyboxUri(skyboxUri: string): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
skyboxUri
</td><td>
string
</td><td>
The cubemap URI of the skybox.
\*\*Side effects:\*\* Emits `WorldEvent.SET_SKYBOX_URI`<!-- -->.
\*\*Category:\*\* Core
</td></tr>
</tbody></table>
**Returns:**
void