hytopia 0.5.3 → 0.5.5
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/bun.lock +2 -1
- package/docs/server.modelregistry.getanimationnames.md +55 -0
- package/docs/server.modelregistry.md +14 -0
- package/examples/entity-animations/README.md +3 -0
- package/examples/entity-animations/assets/map.json +2623 -0
- package/examples/entity-animations/bun.lock +599 -0
- package/examples/entity-animations/index.ts +65 -0
- package/examples/entity-animations/package.json +20 -0
- package/package.json +3 -2
- package/server.api.json +48 -0
- package/server.d.ts +7 -0
- package/server.js +86 -86
package/bun.lock
CHANGED
@@ -0,0 +1,55 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ModelRegistry](./server.modelregistry.md) > [getAnimationNames](./server.modelregistry.getanimationnames.md)
|
4
|
+
|
5
|
+
## ModelRegistry.getAnimationNames() method
|
6
|
+
|
7
|
+
Retrieves an array of all known animation names for a model.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
getAnimationNames(modelUri: string): string[];
|
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 animation names for.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
string\[\]
|
53
|
+
|
54
|
+
An array of all known animation names for the model.
|
55
|
+
|
@@ -134,6 +134,20 @@ Description
|
|
134
134
|
</th></tr></thead>
|
135
135
|
<tbody><tr><td>
|
136
136
|
|
137
|
+
[getAnimationNames(modelUri)](./server.modelregistry.getanimationnames.md)
|
138
|
+
|
139
|
+
|
140
|
+
</td><td>
|
141
|
+
|
142
|
+
|
143
|
+
</td><td>
|
144
|
+
|
145
|
+
Retrieves an array of all known animation names for a model.
|
146
|
+
|
147
|
+
|
148
|
+
</td></tr>
|
149
|
+
<tr><td>
|
150
|
+
|
137
151
|
[getBoundingBox(modelUri)](./server.modelregistry.getboundingbox.md)
|
138
152
|
|
139
153
|
|