hytopia 0.6.14 → 0.6.16

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; [Entity](./server.entity.md) &gt; [depth](./server.entity.depth.md)
4
+
5
+ ## Entity.depth property
6
+
7
+ The depth (z-axis) of the entity's model with scale consideration or block entity's y\*2 half extents.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get depth(): number;
13
+ ```
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Entity.height property
6
6
 
7
- The height of the entity's model or block entity's y\*2 half extents.
7
+ The height (y-axis) of the entity's model with scale consideration or block entity's y\*2 half extents.
8
8
 
9
9
  **Signature:**
10
10
 
@@ -168,6 +168,27 @@ The URI or path to the texture to be used, if this is set, the entity is a block
168
168
  The controller for the entity.
169
169
 
170
170
 
171
+ </td></tr>
172
+ <tr><td>
173
+
174
+ [depth](./server.entity.depth.md)
175
+
176
+
177
+ </td><td>
178
+
179
+ `readonly`
180
+
181
+
182
+ </td><td>
183
+
184
+ number
185
+
186
+
187
+ </td><td>
188
+
189
+ The depth (z-axis) of the entity's model with scale consideration or block entity's y\*2 half extents.
190
+
191
+
171
192
  </td></tr>
172
193
  <tr><td>
173
194
 
@@ -186,7 +207,7 @@ number
186
207
 
187
208
  </td><td>
188
209
 
189
- The height of the entity's model or block entity's y\*2 half extents.
210
+ The height (y-axis) of the entity's model with scale consideration or block entity's y\*2 half extents.
190
211
 
191
212
 
192
213
  </td></tr>
@@ -588,6 +609,27 @@ An arbitrary identifier tag of the entity. Useful for your own logic.
588
609
  The tint color of the entity.
589
610
 
590
611
 
612
+ </td></tr>
613
+ <tr><td>
614
+
615
+ [width](./server.entity.width.md)
616
+
617
+
618
+ </td><td>
619
+
620
+ `readonly`
621
+
622
+
623
+ </td><td>
624
+
625
+ number
626
+
627
+
628
+ </td><td>
629
+
630
+ The width (x-axis) of the entity's model with scale consideration or block entity's x\*2 half extents.
631
+
632
+
591
633
  </td></tr>
592
634
  <tr><td>
593
635
 
@@ -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; [Entity](./server.entity.md) &gt; [width](./server.entity.width.md)
4
+
5
+ ## Entity.width property
6
+
7
+ The width (x-axis) of the entity's model with scale consideration or block entity's x\*2 half extents.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get width(): number;
13
+ ```
@@ -0,0 +1,55 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ModelRegistry](./server.modelregistry.md) &gt; [getDepth](./server.modelregistry.getdepth.md)
4
+
5
+ ## ModelRegistry.getDepth() method
6
+
7
+ Retrieves the Z-axis depth of a model for a scale of 1.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getDepth(modelUri: string): number;
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
+ modelUri
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ The URI of the model to retrieve the depth for.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ number
53
+
54
+ The depth of the model.
55
+
@@ -0,0 +1,55 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ModelRegistry](./server.modelregistry.md) &gt; [getWidth](./server.modelregistry.getwidth.md)
4
+
5
+ ## ModelRegistry.getWidth() method
6
+
7
+ Retrieves the X-axis width of a model for a scale of 1.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getWidth(modelUri: string): number;
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
+ modelUri
36
+
37
+
38
+ </td><td>
39
+
40
+ string
41
+
42
+
43
+ </td><td>
44
+
45
+ The URI of the model to retrieve the width for.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ number
53
+
54
+ The width of the model.
55
+
@@ -159,6 +159,20 @@ Retrieves an array of all known animation names for a model.
159
159
  Retrieves the bounding box of a model.
160
160
 
161
161
 
162
+ </td></tr>
163
+ <tr><td>
164
+
165
+ [getDepth(modelUri)](./server.modelregistry.getdepth.md)
166
+
167
+
168
+ </td><td>
169
+
170
+
171
+ </td><td>
172
+
173
+ Retrieves the Z-axis depth of a model for a scale of 1.
174
+
175
+
162
176
  </td></tr>
163
177
  <tr><td>
164
178
 
@@ -201,6 +215,20 @@ Retrieves the names of all nodes in a model.
201
215
  Retrieves the trimesh of a model.
202
216
 
203
217
 
218
+ </td></tr>
219
+ <tr><td>
220
+
221
+ [getWidth(modelUri)](./server.modelregistry.getwidth.md)
222
+
223
+
224
+ </td><td>
225
+
226
+
227
+ </td><td>
228
+
229
+ Retrieves the X-axis width of a model for a scale of 1.
230
+
231
+
204
232
  </td></tr>
205
233
  <tr><td>
206
234
 
@@ -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; [WorldLoop](./server.worldloop.md) &gt; [isStarted](./server.worldloop.isstarted.md)
4
+
5
+ ## WorldLoop.isStarted property
6
+
7
+ Whether the world loop is started.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get isStarted(): boolean;
13
+ ```
@@ -78,6 +78,27 @@ number
78
78
  The current tick of the world loop.
79
79
 
80
80
 
81
+ </td></tr>
82
+ <tr><td>
83
+
84
+ [isStarted](./server.worldloop.isstarted.md)
85
+
86
+
87
+ </td><td>
88
+
89
+ `readonly`
90
+
91
+
92
+ </td><td>
93
+
94
+ boolean
95
+
96
+
97
+ </td><td>
98
+
99
+ Whether the world loop is started.
100
+
101
+
81
102
  </td></tr>
82
103
  <tr><td>
83
104