hytopia 0.1.69 → 0.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/server.chatmanager.md +46 -2
- package/docs/server.chatmanager.onbroadcastmessage.md +13 -0
- package/docs/server.chatmanager.sendbroadcastmessage.md +1 -1
- package/docs/server.chatmanager.sendplayermessage.md +1 -1
- package/docs/server.light._constructor_.md +49 -0
- package/docs/server.light.angle.md +13 -0
- package/docs/server.light.attachedtoentity.md +13 -0
- package/docs/server.light.color.md +13 -0
- package/docs/server.light.despawn.md +17 -0
- package/docs/server.light.distance.md +13 -0
- package/docs/server.light.id.md +13 -0
- package/docs/server.light.intensity.md +13 -0
- package/docs/server.light.isspawned.md +13 -0
- package/docs/server.light.md +573 -0
- package/docs/server.light.offset.md +13 -0
- package/docs/server.light.penumbra.md +13 -0
- package/docs/server.light.position.md +13 -0
- package/docs/server.light.setangle.md +53 -0
- package/docs/server.light.setattachedtoentity.md +53 -0
- package/docs/server.light.setcolor.md +53 -0
- package/docs/server.light.setdistance.md +53 -0
- package/docs/server.light.setintensity.md +53 -0
- package/docs/server.light.setoffset.md +53 -0
- package/docs/server.light.setpenumbra.md +53 -0
- package/docs/server.light.setposition.md +53 -0
- package/docs/server.light.settrackedentity.md +53 -0
- package/docs/server.light.settrackedposition.md +53 -0
- package/docs/server.light.spawn.md +53 -0
- package/docs/server.light.trackedentity.md +13 -0
- package/docs/server.light.trackedposition.md +13 -0
- package/docs/server.light.type.md +13 -0
- package/docs/server.light.world.md +13 -0
- package/docs/server.lighteventpayload.despawn.light.md +11 -0
- package/docs/server.lighteventpayload.despawn.md +53 -0
- package/docs/server.lighteventpayload.md +136 -0
- package/docs/server.lighteventpayload.setangle.angle.md +11 -0
- package/docs/server.lighteventpayload.setangle.light.md +11 -0
- package/docs/server.lighteventpayload.setangle.md +70 -0
- package/docs/server.lighteventpayload.setattachedtoentity.entity.md +11 -0
- package/docs/server.lighteventpayload.setattachedtoentity.light.md +11 -0
- package/docs/server.lighteventpayload.setattachedtoentity.md +70 -0
- package/docs/server.lighteventpayload.setcolor.color.md +11 -0
- package/docs/server.lighteventpayload.setcolor.light.md +11 -0
- package/docs/server.lighteventpayload.setcolor.md +70 -0
- package/docs/server.lighteventpayload.setdistance.distance.md +11 -0
- package/docs/server.lighteventpayload.setdistance.light.md +11 -0
- package/docs/server.lighteventpayload.setdistance.md +70 -0
- package/docs/server.lighteventpayload.setintensity.intensity.md +11 -0
- package/docs/server.lighteventpayload.setintensity.light.md +11 -0
- package/docs/server.lighteventpayload.setintensity.md +70 -0
- package/docs/server.lighteventpayload.setoffset.light.md +11 -0
- package/docs/server.lighteventpayload.setoffset.md +70 -0
- package/docs/server.lighteventpayload.setoffset.offset.md +11 -0
- package/docs/server.lighteventpayload.setpenumbra.light.md +11 -0
- package/docs/server.lighteventpayload.setpenumbra.md +70 -0
- package/docs/server.lighteventpayload.setpenumbra.penumbra.md +11 -0
- package/docs/server.lighteventpayload.setposition.light.md +11 -0
- package/docs/server.lighteventpayload.setposition.md +70 -0
- package/docs/server.lighteventpayload.setposition.position.md +11 -0
- package/docs/server.lighteventpayload.settrackedentity.entity.md +11 -0
- package/docs/server.lighteventpayload.settrackedentity.light.md +11 -0
- package/docs/server.lighteventpayload.settrackedentity.md +70 -0
- package/docs/server.lighteventpayload.settrackedposition.light.md +11 -0
- package/docs/server.lighteventpayload.settrackedposition.md +70 -0
- package/docs/server.lighteventpayload.settrackedposition.position.md +11 -0
- package/docs/server.lighteventpayload.spawn.light.md +11 -0
- package/docs/server.lighteventpayload.spawn.md +53 -0
- package/docs/server.lighteventtype.md +215 -0
- package/docs/server.lightmanager.getallentityattachedlights.md +55 -0
- package/docs/server.lightmanager.getalllights.md +19 -0
- package/docs/server.lightmanager.md +113 -0
- package/docs/server.lightmanager.world.md +13 -0
- package/docs/server.lightoptions.angle.md +13 -0
- package/docs/server.lightoptions.attachedtoentity.md +13 -0
- package/docs/server.lightoptions.color.md +13 -0
- package/docs/server.lightoptions.distance.md +13 -0
- package/docs/server.lightoptions.intensity.md +13 -0
- package/docs/server.lightoptions.md +247 -0
- package/docs/server.lightoptions.offset.md +13 -0
- package/docs/server.lightoptions.penumbra.md +13 -0
- package/docs/server.lightoptions.position.md +13 -0
- package/docs/server.lightoptions.trackedentity.md +13 -0
- package/docs/server.lightoptions.trackedposition.md +13 -0
- package/docs/server.lightoptions.type.md +13 -0
- package/docs/server.lighttype.md +61 -0
- package/docs/server.md +66 -0
- package/docs/server.sceneui.attachedtoentity.md +2 -0
- package/docs/server.sceneui.id.md +2 -0
- package/docs/server.sceneui.isloaded.md +2 -0
- package/docs/server.sceneui.md +18 -0
- package/docs/server.sceneui.offset.md +2 -0
- package/docs/server.sceneui.position.md +2 -0
- package/docs/server.sceneui.state.md +2 -0
- package/docs/server.sceneui.templateid.md +2 -0
- package/docs/server.sceneui.viewdistance.md +2 -0
- package/docs/server.sceneui.world.md +2 -0
- package/docs/server.world.lightmanager.md +13 -0
- package/docs/server.world.md +26 -5
- package/docs/server.world.setambientlightcolor.md +1 -1
- package/docs/server.world.setambientlightintensity.md +1 -1
- package/docs/server.world.setdirectionallightcolor.md +1 -1
- package/docs/server.world.setdirectionallightintensity.md +1 -1
- package/docs/server.world.setdirectionallightposition.md +1 -1
- package/docs/server.worldoptions.ambientlightcolor.md +1 -1
- package/docs/server.worldoptions.ambientlightintensity.md +1 -1
- package/docs/server.worldoptions.directionallightcolor.md +1 -1
- package/docs/server.worldoptions.directionallightintensity.md +1 -1
- package/docs/server.worldoptions.directionallightposition.md +1 -1
- package/docs/server.worldoptions.md +5 -5
- package/examples/lighting/README.md +3 -0
- package/examples/lighting/assets/map.json +13153 -0
- package/examples/lighting/index.ts +120 -0
- package/examples/lighting/package.json +16 -0
- package/package.json +1 -1
- package/server.api.json +2991 -193
- package/server.d.ts +311 -13
- package/server.js +87 -87
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setColor](./server.light.setcolor.md)
|
4
|
+
|
5
|
+
## Light.setColor() method
|
6
|
+
|
7
|
+
Sets the color of the light.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setColor(color: RgbColor): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
color
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[RgbColor](./server.rgbcolor.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The color of the light.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setDistance](./server.light.setdistance.md)
|
4
|
+
|
5
|
+
## Light.setDistance() method
|
6
|
+
|
7
|
+
Sets the maximum distance the light will illuminate.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setDistance(distance: number): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
distance
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
number
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The maximum distance the light will illuminate.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setIntensity](./server.light.setintensity.md)
|
4
|
+
|
5
|
+
## Light.setIntensity() method
|
6
|
+
|
7
|
+
Sets the intensity of the light.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setIntensity(intensity: number): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
intensity
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
number
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The intensity of the light.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setOffset](./server.light.setoffset.md)
|
4
|
+
|
5
|
+
## Light.setOffset() method
|
6
|
+
|
7
|
+
Sets the offset of the light from the attached entity or position.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setOffset(offset: Vector3Like): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
offset
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The offset of the light.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setPenumbra](./server.light.setpenumbra.md)
|
4
|
+
|
5
|
+
## Light.setPenumbra() method
|
6
|
+
|
7
|
+
Sets the penumbra of the spotlight if the light type is spotlight.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setPenumbra(penumbra: number): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
penumbra
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
number
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The penumbra of the spotlight.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setPosition](./server.light.setposition.md)
|
4
|
+
|
5
|
+
## Light.setPosition() method
|
6
|
+
|
7
|
+
Sets the position of the light.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setPosition(position: Vector3Like): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
position
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The position of the light.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setTrackedEntity](./server.light.settrackedentity.md)
|
4
|
+
|
5
|
+
## Light.setTrackedEntity() method
|
6
|
+
|
7
|
+
Sets the entity the spotlight will constantly point at if the light type is spotlight.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setTrackedEntity(entity: Entity): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
entity
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Entity](./server.entity.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The entity the spotlight will constantly point at.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [setTrackedPosition](./server.light.settrackedposition.md)
|
4
|
+
|
5
|
+
## Light.setTrackedPosition() method
|
6
|
+
|
7
|
+
Sets the position the spotlight will constantly point at if the light type is spotlight.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setTrackedPosition(position: Vector3Like): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
position
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The position the spotlight will constantly point at.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [spawn](./server.light.spawn.md)
|
4
|
+
|
5
|
+
## Light.spawn() method
|
6
|
+
|
7
|
+
Spawns the Light into the world.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
spawn(world: World): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
world
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[World](./server.world.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The world to spawn the Light into.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [trackedEntity](./server.light.trackedentity.md)
|
4
|
+
|
5
|
+
## Light.trackedEntity property
|
6
|
+
|
7
|
+
If type is spotlight, the entity the spotlight will constantly point at.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get trackedEntity(): Entity | undefined;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [trackedPosition](./server.light.trackedposition.md)
|
4
|
+
|
5
|
+
## Light.trackedPosition property
|
6
|
+
|
7
|
+
If type is spotlight, the position the spotlight will constantly point at.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get trackedPosition(): Vector3Like | undefined;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [type](./server.light.type.md)
|
4
|
+
|
5
|
+
## Light.type property
|
6
|
+
|
7
|
+
The type of light. Defaults to point light.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get type(): LightType;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Light](./server.light.md) > [world](./server.light.world.md)
|
4
|
+
|
5
|
+
## Light.world property
|
6
|
+
|
7
|
+
The world the Light is spawned into.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get world(): World | undefined;
|
13
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [LightEventPayload](./server.lighteventpayload.md) > [Despawn](./server.lighteventpayload.despawn.md) > [light](./server.lighteventpayload.despawn.light.md)
|
4
|
+
|
5
|
+
## LightEventPayload.Despawn.light property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
light: Light;
|
11
|
+
```
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [LightEventPayload](./server.lighteventpayload.md) > [Despawn](./server.lighteventpayload.despawn.md)
|
4
|
+
|
5
|
+
## LightEventPayload.Despawn interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface Despawn
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[light](./server.lighteventpayload.despawn.light.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
[Light](./server.light.md)
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
</tbody></table>
|