<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [WorldEventPayloads](./server.worldeventpayloads.md)

## WorldEventPayloads interface

Event payloads for World emitted events.

**Signature:**

```typescript
export interface WorldEventPayloads 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

["WORLD.SET\_AMBIENT\_LIGHT\_COLOR"](./server.worldeventpayloads._world.set_ambient_light_color_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; color: [RgbColor](./server.rgbcolor.md)<!-- -->; }


</td><td>

Emitted when the color of the world's ambient light is set.


</td></tr>
<tr><td>

["WORLD.SET\_AMBIENT\_LIGHT\_INTENSITY"](./server.worldeventpayloads._world.set_ambient_light_intensity_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; intensity: number; }


</td><td>

Emitted when the intensity of the world's ambient light is set.


</td></tr>
<tr><td>

["WORLD.SET\_DIRECTIONAL\_LIGHT\_COLOR"](./server.worldeventpayloads._world.set_directional_light_color_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; color: [RgbColor](./server.rgbcolor.md)<!-- -->; }


</td><td>

Emitted when the color of the world's directional light is set.


</td></tr>
<tr><td>

["WORLD.SET\_DIRECTIONAL\_LIGHT\_INTENSITY"](./server.worldeventpayloads._world.set_directional_light_intensity_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; intensity: number; }


</td><td>

Emitted when the intensity of the world's directional light is set.


</td></tr>
<tr><td>

["WORLD.SET\_DIRECTIONAL\_LIGHT\_POSITION"](./server.worldeventpayloads._world.set_directional_light_position_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; position: [Vector3Like](./server.vector3like.md)<!-- -->; }


</td><td>

Emitted when the position of the world's directional light is set.


</td></tr>
<tr><td>

["WORLD.START"](./server.worldeventpayloads._world.start_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; startedAtMs: number; }


</td><td>

Emitted when the world starts.


</td></tr>
<tr><td>

["WORLD.STOP"](./server.worldeventpayloads._world.stop_.md)


</td><td>


</td><td>

{ world: [World](./server.world.md)<!-- -->; stoppedAtMs: number; }


</td><td>

Emitted when the world stops.


</td></tr>
</tbody></table>
