hytopia 0.6.7 → 0.6.9

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.
@@ -378,6 +378,27 @@ number
378
378
  The scale of the entity's model.
379
379
 
380
380
 
381
+ </td></tr>
382
+ <tr><td>
383
+
384
+ [modelTextureUri](./server.entity.modeltextureuri.md)
385
+
386
+
387
+ </td><td>
388
+
389
+ `readonly`
390
+
391
+
392
+ </td><td>
393
+
394
+ string \| undefined
395
+
396
+
397
+ </td><td>
398
+
399
+ The URI or path to the texture that overrides the model entity's default texture.
400
+
401
+
381
402
  </td></tr>
382
403
  <tr><td>
383
404
 
@@ -622,6 +643,20 @@ Sets the playback rate of all animations on the entity's model.
622
643
  Sets the nodes to hide on the entity's model. Matched nodes will be hidden for all players. Uses case insensitive substring matching.
623
644
 
624
645
 
646
+ </td></tr>
647
+ <tr><td>
648
+
649
+ [setModelTextureUri(modelTextureUri)](./server.entity.setmodeltextureuri.md)
650
+
651
+
652
+ </td><td>
653
+
654
+
655
+ </td><td>
656
+
657
+ Sets the texture uri of the entity's model. Setting this overrides the model's default texture.
658
+
659
+
625
660
  </td></tr>
626
661
  <tr><td>
627
662
 
@@ -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; [modelTextureUri](./server.entity.modeltextureuri.md)
4
+
5
+ ## Entity.modelTextureUri property
6
+
7
+ The URI or path to the texture that overrides the model entity's default texture.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get modelTextureUri(): string | undefined;
13
+ ```
@@ -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; [Entity](./server.entity.md) &gt; [setModelTextureUri](./server.entity.setmodeltextureuri.md)
4
+
5
+ ## Entity.setModelTextureUri() method
6
+
7
+ Sets the texture uri of the entity's model. Setting this overrides the model's default texture.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setModelTextureUri(modelTextureUri: string | 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
+ modelTextureUri
36
+
37
+
38
+ </td><td>
39
+
40
+ string \| undefined
41
+
42
+
43
+ </td><td>
44
+
45
+ The texture uri of the entity's model.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ void
53
+
@@ -127,6 +127,20 @@ SET\_MODEL\_HIDDEN\_NODES
127
127
  </td><td>
128
128
 
129
129
 
130
+ </td></tr>
131
+ <tr><td>
132
+
133
+ SET\_MODEL\_TEXTURE\_URI
134
+
135
+
136
+ </td><td>
137
+
138
+ `"ENTITY.SET_MODEL_TEXTURE_URI"`
139
+
140
+
141
+ </td><td>
142
+
143
+
130
144
  </td></tr>
131
145
  <tr><td>
132
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; [EntityEventPayloads](./server.entityeventpayloads.md) &gt; ["ENTITY.SET\_MODEL\_TEXTURE\_URI"](./server.entityeventpayloads._entity.set_model_texture_uri_.md)
4
+
5
+ ## EntityEventPayloads."ENTITY.SET\_MODEL\_TEXTURE\_URI" property
6
+
7
+ Emitted when the texture uri of the entity's model is set.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ [EntityEvent.SET_MODEL_TEXTURE_URI]: {
13
+ entity: Entity;
14
+ modelTextureUri: string | undefined;
15
+ };
16
+ ```
@@ -167,6 +167,25 @@ Emitted when the playback rate of the entity's model animations is set.
167
167
  Emitted when the nodes of the entity's model are set to be hidden.
168
168
 
169
169
 
170
+ </td></tr>
171
+ <tr><td>
172
+
173
+ ["ENTITY.SET\_MODEL\_TEXTURE\_URI"](./server.entityeventpayloads._entity.set_model_texture_uri_.md)
174
+
175
+
176
+ </td><td>
177
+
178
+
179
+ </td><td>
180
+
181
+ { entity: [Entity](./server.entity.md)<!-- -->; modelTextureUri: string \| undefined; }
182
+
183
+
184
+ </td><td>
185
+
186
+ Emitted when the texture uri of the entity's model is set.
187
+
188
+
170
189
  </td></tr>
171
190
  <tr><td>
172
191
 
@@ -130,6 +130,25 @@ number
130
130
  _(Optional)_ The scale of the entity's model.
131
131
 
132
132
 
133
+ </td></tr>
134
+ <tr><td>
135
+
136
+ [modelTextureUri?](./server.modelentityoptions.modeltextureuri.md)
137
+
138
+
139
+ </td><td>
140
+
141
+
142
+ </td><td>
143
+
144
+ string
145
+
146
+
147
+ </td><td>
148
+
149
+ _(Optional)_ The texture uri of the entity's model. Setting this overrides the model's default texture.
150
+
151
+
133
152
  </td></tr>
134
153
  <tr><td>
135
154
 
@@ -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; [ModelEntityOptions](./server.modelentityoptions.md) &gt; [modelTextureUri](./server.modelentityoptions.modeltextureuri.md)
4
+
5
+ ## ModelEntityOptions.modelTextureUri property
6
+
7
+ The texture uri of the entity's model. Setting this overrides the model's default texture.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ modelTextureUri?: string;
13
+ ```