hytopia 0.6.26 → 0.6.28

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.
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [fogColor](./server.world.fogcolor.md)
4
+
5
+ ## World.fogColor property
6
+
7
+ The color of the fog, if not explicitly set, defaults to ambient light color.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get fogColor(): RgbColor | undefined;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [fogFar](./server.world.fogfar.md)
4
+
5
+ ## World.fogFar property
6
+
7
+ The maximum distance from the camera at which fog stops being applied.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get fogFar(): number;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [fogNear](./server.world.fognear.md)
4
+
5
+ ## World.fogNear property
6
+
7
+ The minimum distance from the camera to start applying fog.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get fogNear(): number;
13
+ ```
@@ -300,6 +300,69 @@ The position the directional light originates from.
300
300
  The entity manager for the world.
301
301
 
302
302
 
303
+ </td></tr>
304
+ <tr><td>
305
+
306
+ [fogColor](./server.world.fogcolor.md)
307
+
308
+
309
+ </td><td>
310
+
311
+ `readonly`
312
+
313
+
314
+ </td><td>
315
+
316
+ [RgbColor](./server.rgbcolor.md) \| undefined
317
+
318
+
319
+ </td><td>
320
+
321
+ The color of the fog, if not explicitly set, defaults to ambient light color.
322
+
323
+
324
+ </td></tr>
325
+ <tr><td>
326
+
327
+ [fogFar](./server.world.fogfar.md)
328
+
329
+
330
+ </td><td>
331
+
332
+ `readonly`
333
+
334
+
335
+ </td><td>
336
+
337
+ number
338
+
339
+
340
+ </td><td>
341
+
342
+ The maximum distance from the camera at which fog stops being applied.
343
+
344
+
345
+ </td></tr>
346
+ <tr><td>
347
+
348
+ [fogNear](./server.world.fognear.md)
349
+
350
+
351
+ </td><td>
352
+
353
+ `readonly`
354
+
355
+
356
+ </td><td>
357
+
358
+ number
359
+
360
+
361
+ </td><td>
362
+
363
+ The minimum distance from the camera to start applying fog.
364
+
365
+
303
366
  </td></tr>
304
367
  <tr><td>
305
368
 
@@ -593,6 +656,48 @@ Sets the intensity of the world's directional light.
593
656
  Sets the position the world's directional light originates from.
594
657
 
595
658
 
659
+ </td></tr>
660
+ <tr><td>
661
+
662
+ [setFogColor(color)](./server.world.setfogcolor.md)
663
+
664
+
665
+ </td><td>
666
+
667
+
668
+ </td><td>
669
+
670
+ Sets the color of the world's fog.
671
+
672
+
673
+ </td></tr>
674
+ <tr><td>
675
+
676
+ [setFogFar(far)](./server.world.setfogfar.md)
677
+
678
+
679
+ </td><td>
680
+
681
+
682
+ </td><td>
683
+
684
+ Sets the maximum distance from the camera at which fog stops being applied.
685
+
686
+
687
+ </td></tr>
688
+ <tr><td>
689
+
690
+ [setFogNear(near)](./server.world.setfognear.md)
691
+
692
+
693
+ </td><td>
694
+
695
+
696
+ </td><td>
697
+
698
+ Sets the minimum distance from the camera to start applying fog.
699
+
700
+
596
701
  </td></tr>
597
702
  <tr><td>
598
703
 
@@ -0,0 +1,53 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [setFogColor](./server.world.setfogcolor.md)
4
+
5
+ ## World.setFogColor() method
6
+
7
+ Sets the color of the world's fog.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setFogColor(color: RgbColor | undefined): 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) \| undefined
41
+
42
+
43
+ </td><td>
44
+
45
+ The color of the fog, or undefined to reset to ambient light color.
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) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [setFogFar](./server.world.setfogfar.md)
4
+
5
+ ## World.setFogFar() method
6
+
7
+ Sets the maximum distance from the camera at which fog stops being applied.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setFogFar(far: 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
+ far
36
+
37
+
38
+ </td><td>
39
+
40
+ number
41
+
42
+
43
+ </td><td>
44
+
45
+ The far distance.
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) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [setFogNear](./server.world.setfognear.md)
4
+
5
+ ## World.setFogNear() method
6
+
7
+ Sets the minimum distance from the camera to start applying fog.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setFogNear(near: 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
+ near
36
+
37
+
38
+ </td><td>
39
+
40
+ number
41
+
42
+
43
+ </td><td>
44
+
45
+ The near distance.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ void
53
+
@@ -99,6 +99,48 @@ SET\_DIRECTIONAL\_LIGHT\_POSITION
99
99
  </td><td>
100
100
 
101
101
 
102
+ </td></tr>
103
+ <tr><td>
104
+
105
+ SET\_FOG\_COLOR
106
+
107
+
108
+ </td><td>
109
+
110
+ `"WORLD.SET_FOG_COLOR"`
111
+
112
+
113
+ </td><td>
114
+
115
+
116
+ </td></tr>
117
+ <tr><td>
118
+
119
+ SET\_FOG\_FAR
120
+
121
+
122
+ </td><td>
123
+
124
+ `"WORLD.SET_FOG_FAR"`
125
+
126
+
127
+ </td><td>
128
+
129
+
130
+ </td></tr>
131
+ <tr><td>
132
+
133
+ SET\_FOG\_NEAR
134
+
135
+
136
+ </td><td>
137
+
138
+ `"WORLD.SET_FOG_NEAR"`
139
+
140
+
141
+ </td><td>
142
+
143
+
102
144
  </td></tr>
103
145
  <tr><td>
104
146
 
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [WorldEventPayloads](./server.worldeventpayloads.md) &gt; ["WORLD.SET\_FOG\_COLOR"](./server.worldeventpayloads._world.set_fog_color_.md)
4
+
5
+ ## WorldEventPayloads."WORLD.SET\_FOG\_COLOR" property
6
+
7
+ Emitted when the color of the world's fog is set.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ [WorldEvent.SET_FOG_COLOR]: {
13
+ world: World;
14
+ color: RgbColor;
15
+ };
16
+ ```
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [WorldEventPayloads](./server.worldeventpayloads.md) &gt; ["WORLD.SET\_FOG\_FAR"](./server.worldeventpayloads._world.set_fog_far_.md)
4
+
5
+ ## WorldEventPayloads."WORLD.SET\_FOG\_FAR" property
6
+
7
+ Emitted when the density of the world's fog is set.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ [WorldEvent.SET_FOG_FAR]: {
13
+ world: World;
14
+ far: number;
15
+ };
16
+ ```
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [WorldEventPayloads](./server.worldeventpayloads.md) &gt; ["WORLD.SET\_FOG\_NEAR"](./server.worldeventpayloads._world.set_fog_near_.md)
4
+
5
+ ## WorldEventPayloads."WORLD.SET\_FOG\_NEAR" property
6
+
7
+ Emitted when the density of the world's fog is set.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ [WorldEvent.SET_FOG_NEAR]: {
13
+ world: World;
14
+ near: number;
15
+ };
16
+ ```
@@ -129,6 +129,63 @@ Emitted when the intensity of the world's directional light is set.
129
129
  Emitted when the position of the world's directional light is set.
130
130
 
131
131
 
132
+ </td></tr>
133
+ <tr><td>
134
+
135
+ ["WORLD.SET\_FOG\_COLOR"](./server.worldeventpayloads._world.set_fog_color_.md)
136
+
137
+
138
+ </td><td>
139
+
140
+
141
+ </td><td>
142
+
143
+ { world: [World](./server.world.md)<!-- -->; color: [RgbColor](./server.rgbcolor.md)<!-- -->; }
144
+
145
+
146
+ </td><td>
147
+
148
+ Emitted when the color of the world's fog is set.
149
+
150
+
151
+ </td></tr>
152
+ <tr><td>
153
+
154
+ ["WORLD.SET\_FOG\_FAR"](./server.worldeventpayloads._world.set_fog_far_.md)
155
+
156
+
157
+ </td><td>
158
+
159
+
160
+ </td><td>
161
+
162
+ { world: [World](./server.world.md)<!-- -->; far: number; }
163
+
164
+
165
+ </td><td>
166
+
167
+ Emitted when the density of the world's fog is set.
168
+
169
+
170
+ </td></tr>
171
+ <tr><td>
172
+
173
+ ["WORLD.SET\_FOG\_NEAR"](./server.worldeventpayloads._world.set_fog_near_.md)
174
+
175
+
176
+ </td><td>
177
+
178
+
179
+ </td><td>
180
+
181
+ { world: [World](./server.world.md)<!-- -->; near: number; }
182
+
183
+
184
+ </td><td>
185
+
186
+ Emitted when the density of the world's fog is set.
187
+
188
+
132
189
  </td></tr>
133
190
  <tr><td>
134
191
 
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [WorldOptions](./server.worldoptions.md) &gt; [fogColor](./server.worldoptions.fogcolor.md)
4
+
5
+ ## WorldOptions.fogColor property
6
+
7
+ The color of the fog for the world. Defaults to ambient light color.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fogColor?: RgbColor;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [WorldOptions](./server.worldoptions.md) &gt; [fogFar](./server.worldoptions.fogfar.md)
4
+
5
+ ## WorldOptions.fogFar property
6
+
7
+ The maximum distance from the camera at which fog stops being applied.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fogFar?: number;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [WorldOptions](./server.worldoptions.md) &gt; [fogNear](./server.worldoptions.fognear.md)
4
+
5
+ ## WorldOptions.fogNear property
6
+
7
+ The minimum distance from the camera to start applying fog.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fogNear?: number;
13
+ ```
@@ -129,6 +129,63 @@ _(Optional)_ The intensity of the directional light for the world. 0 to 1+
129
129
  _(Optional)_ The position the directional light originates from for the world.
130
130
 
131
131
 
132
+ </td></tr>
133
+ <tr><td>
134
+
135
+ [fogColor?](./server.worldoptions.fogcolor.md)
136
+
137
+
138
+ </td><td>
139
+
140
+
141
+ </td><td>
142
+
143
+ [RgbColor](./server.rgbcolor.md)
144
+
145
+
146
+ </td><td>
147
+
148
+ _(Optional)_ The color of the fog for the world. Defaults to ambient light color.
149
+
150
+
151
+ </td></tr>
152
+ <tr><td>
153
+
154
+ [fogFar?](./server.worldoptions.fogfar.md)
155
+
156
+
157
+ </td><td>
158
+
159
+
160
+ </td><td>
161
+
162
+ number
163
+
164
+
165
+ </td><td>
166
+
167
+ _(Optional)_ The maximum distance from the camera at which fog stops being applied.
168
+
169
+
170
+ </td></tr>
171
+ <tr><td>
172
+
173
+ [fogNear?](./server.worldoptions.fognear.md)
174
+
175
+
176
+ </td><td>
177
+
178
+
179
+ </td><td>
180
+
181
+ number
182
+
183
+
184
+ </td><td>
185
+
186
+ _(Optional)_ The minimum distance from the camera to start applying fog.
187
+
188
+
132
189
  </td></tr>
133
190
  <tr><td>
134
191