hytopia 0.1.47 → 0.1.48
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.md +0 -33
- package/docs/server.player.md +1 -1
- package/docs/server.simulation.enabledebugraycasting.md +53 -0
- package/docs/server.simulation.enabledebugrendering.md +1 -1
- package/docs/server.simulation.isdebugraycastingenabled.md +13 -0
- package/docs/server.simulation.md +36 -1
- package/package.json +1 -1
- package/server.api.json +80 -407
- package/server.d.ts +12 -20
- package/server.js +80 -80
- package/docs/server.playerui.load.md +0 -53
- package/docs/server.playerui.md +0 -132
- package/docs/server.playerui.ondata.md +0 -18
- package/docs/server.playerui.player.md +0 -13
- package/docs/server.playerui.senddata.md +0 -53
- package/docs/server.playeruieventpayload.load.htmluri.md +0 -11
- package/docs/server.playeruieventpayload.load.md +0 -70
- package/docs/server.playeruieventpayload.load.playerui.md +0 -11
- package/docs/server.playeruieventpayload.md +0 -46
- package/docs/server.playeruieventpayload.senddata.data.md +0 -11
- package/docs/server.playeruieventpayload.senddata.md +0 -70
- package/docs/server.playeruieventpayload.senddata.playerui.md +0 -11
- package/docs/server.playeruieventtype.md +0 -61
package/docs/server.md
CHANGED
@@ -225,17 +225,6 @@ Represents an entity controlled by a player in a world.
|
|
225
225
|
Manages all connected players in a game server.
|
226
226
|
|
227
227
|
|
228
|
-
</td></tr>
|
229
|
-
<tr><td>
|
230
|
-
|
231
|
-
[PlayerUI](./server.playerui.md)
|
232
|
-
|
233
|
-
|
234
|
-
</td><td>
|
235
|
-
|
236
|
-
The UI for a player.
|
237
|
-
|
238
|
-
|
239
228
|
</td></tr>
|
240
229
|
<tr><td>
|
241
230
|
|
@@ -484,17 +473,6 @@ Event types a PlayerCamera can emit.
|
|
484
473
|
Event types a Player can emit.
|
485
474
|
|
486
475
|
|
487
|
-
</td></tr>
|
488
|
-
<tr><td>
|
489
|
-
|
490
|
-
[PlayerUIEventType](./server.playeruieventtype.md)
|
491
|
-
|
492
|
-
|
493
|
-
</td><td>
|
494
|
-
|
495
|
-
Event types a
|
496
|
-
|
497
|
-
|
498
476
|
</td></tr>
|
499
477
|
<tr><td>
|
500
478
|
|
@@ -826,17 +804,6 @@ Payloads for events a PlayerCamera can emit.
|
|
826
804
|
Payloads for events a Player can emit.
|
827
805
|
|
828
806
|
|
829
|
-
</td></tr>
|
830
|
-
<tr><td>
|
831
|
-
|
832
|
-
[PlayerUIEventPayload](./server.playeruieventpayload.md)
|
833
|
-
|
834
|
-
|
835
|
-
</td><td>
|
836
|
-
|
837
|
-
Payloads for events a PlayerUI instance can emit.
|
838
|
-
|
839
|
-
|
840
807
|
</td></tr>
|
841
808
|
<tr><td>
|
842
809
|
|
package/docs/server.player.md
CHANGED
@@ -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) > [Simulation](./server.simulation.md) > [enableDebugRaycasting](./server.simulation.enabledebugraycasting.md)
|
4
|
+
|
5
|
+
## Simulation.enableDebugRaycasting() method
|
6
|
+
|
7
|
+
Enables or disables debug raycasting for the simulation. This will render lines for the raycast that disappear after a few seconds.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
enableDebugRaycasting(enabled: boolean): 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
|
+
enabled
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
boolean
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
Whether to enable debug raycasting.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## Simulation.enableDebugRendering() method
|
6
6
|
|
7
|
-
Enables or disables debug rendering for the simulation. When enabled, all colliders
|
7
|
+
Enables or disables debug rendering for the simulation. When enabled, all colliders and rigid body outlines will be rendered in the world. Do not enable this in production. In large worlds enabling this can cause noticable lag and RTT spikes.
|
8
8
|
|
9
9
|
**Signature:**
|
10
10
|
|
@@ -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) > [Simulation](./server.simulation.md) > [isDebugRaycastingEnabled](./server.simulation.isdebugraycastingenabled.md)
|
4
|
+
|
5
|
+
## Simulation.isDebugRaycastingEnabled property
|
6
|
+
|
7
|
+
Whether the simulation has debug raycasting enabled
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get isDebugRaycastingEnabled(): boolean;
|
13
|
+
```
|
@@ -61,6 +61,27 @@ RAPIER.Vector3
|
|
61
61
|
The gravity vector for the simulation.
|
62
62
|
|
63
63
|
|
64
|
+
</td></tr>
|
65
|
+
<tr><td>
|
66
|
+
|
67
|
+
[isDebugRaycastingEnabled](./server.simulation.isdebugraycastingenabled.md)
|
68
|
+
|
69
|
+
|
70
|
+
</td><td>
|
71
|
+
|
72
|
+
`readonly`
|
73
|
+
|
74
|
+
|
75
|
+
</td><td>
|
76
|
+
|
77
|
+
boolean
|
78
|
+
|
79
|
+
|
80
|
+
</td><td>
|
81
|
+
|
82
|
+
Whether the simulation has debug raycasting enabled
|
83
|
+
|
84
|
+
|
64
85
|
</td></tr>
|
65
86
|
<tr><td>
|
66
87
|
|
@@ -158,6 +179,20 @@ Description
|
|
158
179
|
Casts a ray through the simulation.
|
159
180
|
|
160
181
|
|
182
|
+
</td></tr>
|
183
|
+
<tr><td>
|
184
|
+
|
185
|
+
[enableDebugRaycasting(enabled)](./server.simulation.enabledebugraycasting.md)
|
186
|
+
|
187
|
+
|
188
|
+
</td><td>
|
189
|
+
|
190
|
+
|
191
|
+
</td><td>
|
192
|
+
|
193
|
+
Enables or disables debug raycasting for the simulation. This will render lines for the raycast that disappear after a few seconds.
|
194
|
+
|
195
|
+
|
161
196
|
</td></tr>
|
162
197
|
<tr><td>
|
163
198
|
|
@@ -169,7 +204,7 @@ Casts a ray through the simulation.
|
|
169
204
|
|
170
205
|
</td><td>
|
171
206
|
|
172
|
-
Enables or disables debug rendering for the simulation. When enabled, all colliders
|
207
|
+
Enables or disables debug rendering for the simulation. When enabled, all colliders and rigid body outlines will be rendered in the world. Do not enable this in production. In large worlds enabling this can cause noticable lag and RTT spikes.
|
173
208
|
|
174
209
|
|
175
210
|
</td></tr>
|