hytopia 0.14.50 → 0.14.52
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.baseentityoptions.md +19 -0
- package/docs/server.baseentityoptions.outline.md +13 -0
- package/docs/server.entity.md +35 -0
- package/docs/server.entity.outline.md +13 -0
- package/docs/server.entity.setoutline.md +69 -0
- package/docs/server.entityevent.md +14 -0
- package/docs/server.entityeventpayloads._entity.set_outline_.md +17 -0
- package/docs/server.entityeventpayloads.md +19 -0
- package/docs/server.md +22 -0
- package/docs/server.outline.color.md +13 -0
- package/docs/server.outline.colorintensity.md +13 -0
- package/docs/server.outline.md +133 -0
- package/docs/server.outline.occluded.md +13 -0
- package/docs/server.outline.opacity.md +13 -0
- package/docs/server.outline.thickness.md +13 -0
- package/docs/server.particleemitter.locktoemitter.md +13 -0
- package/docs/server.particleemitter.md +91 -0
- package/docs/server.particleemitter.orientation.md +13 -0
- package/docs/server.particleemitter.orientationfixedrotation.md +13 -0
- package/docs/server.particleemitter.setorientation.md +53 -0
- package/docs/server.particleemitter.setorientationfixedrotation.md +53 -0
- package/docs/server.particleemitterevent.md +28 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_orientation_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_orientation_fixed_rotation_.md +16 -0
- package/docs/server.particleemittereventpayloads.md +38 -0
- package/docs/server.particleemitteroptions.locktoemitter.md +13 -0
- package/docs/server.particleemitteroptions.md +57 -0
- package/docs/server.particleemitteroptions.orientation.md +13 -0
- package/docs/server.particleemitteroptions.orientationfixedrotation.md +13 -0
- package/docs/server.particleemitterorientation.md +13 -0
- package/package.json +1 -1
- package/server.api.json +907 -79
- package/server.d.ts +74 -0
- package/server.mjs +94 -94
|
@@ -148,6 +148,25 @@ number
|
|
|
148
148
|
_(Optional)_ The opacity of the entity between 0 and 1. 0 is fully transparent, 1 is fully opaque.
|
|
149
149
|
|
|
150
150
|
|
|
151
|
+
</td></tr>
|
|
152
|
+
<tr><td>
|
|
153
|
+
|
|
154
|
+
[outline?](./server.baseentityoptions.outline.md)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
</td><td>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
</td><td>
|
|
161
|
+
|
|
162
|
+
[Outline](./server.outline.md)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</td><td>
|
|
166
|
+
|
|
167
|
+
_(Optional)_ The outline rendering options for the entity.
|
|
168
|
+
|
|
169
|
+
|
|
151
170
|
</td></tr>
|
|
152
171
|
<tr><td>
|
|
153
172
|
|
|
@@ -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) > [BaseEntityOptions](./server.baseentityoptions.md) > [outline](./server.baseentityoptions.outline.md)
|
|
4
|
+
|
|
5
|
+
## BaseEntityOptions.outline property
|
|
6
|
+
|
|
7
|
+
The outline rendering options for the entity.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
outline?: Outline;
|
|
13
|
+
```
|
package/docs/server.entity.md
CHANGED
|
@@ -594,6 +594,27 @@ number
|
|
|
594
594
|
The opacity of the entity between 0 and 1. 0 is fully transparent, 1 is fully opaque.
|
|
595
595
|
|
|
596
596
|
|
|
597
|
+
</td></tr>
|
|
598
|
+
<tr><td>
|
|
599
|
+
|
|
600
|
+
[outline](./server.entity.outline.md)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</td><td>
|
|
604
|
+
|
|
605
|
+
`readonly`
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
</td><td>
|
|
609
|
+
|
|
610
|
+
[Outline](./server.outline.md) \| undefined
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
</td><td>
|
|
614
|
+
|
|
615
|
+
The outline rendering options for the entity.
|
|
616
|
+
|
|
617
|
+
|
|
597
618
|
</td></tr>
|
|
598
619
|
<tr><td>
|
|
599
620
|
|
|
@@ -922,6 +943,20 @@ Sets the texture uri of the entity's model. Setting this overrides the model's d
|
|
|
922
943
|
Sets the opacity of the entity.
|
|
923
944
|
|
|
924
945
|
|
|
946
|
+
</td></tr>
|
|
947
|
+
<tr><td>
|
|
948
|
+
|
|
949
|
+
[setOutline(outline, forPlayer)](./server.entity.setoutline.md)
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
</td><td>
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
</td><td>
|
|
956
|
+
|
|
957
|
+
Sets the outline rendering options for the entity.
|
|
958
|
+
|
|
959
|
+
|
|
925
960
|
</td></tr>
|
|
926
961
|
<tr><td>
|
|
927
962
|
|
|
@@ -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) > [Entity](./server.entity.md) > [outline](./server.entity.outline.md)
|
|
4
|
+
|
|
5
|
+
## Entity.outline property
|
|
6
|
+
|
|
7
|
+
The outline rendering options for the entity.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get outline(): Outline | undefined;
|
|
13
|
+
```
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Entity](./server.entity.md) > [setOutline](./server.entity.setoutline.md)
|
|
4
|
+
|
|
5
|
+
## Entity.setOutline() method
|
|
6
|
+
|
|
7
|
+
Sets the outline rendering options for the entity.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setOutline(outline: Outline | undefined, forPlayer?: Player): 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
|
+
outline
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[Outline](./server.outline.md) \| undefined
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The outline options, or undefined to remove the outline.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
<tr><td>
|
|
50
|
+
|
|
51
|
+
forPlayer
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td><td>
|
|
55
|
+
|
|
56
|
+
[Player](./server.player.md)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
</td><td>
|
|
60
|
+
|
|
61
|
+
_(Optional)_ The player to set the outline for, if undefined the outline will be set for all players.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</td></tr>
|
|
65
|
+
</tbody></table>
|
|
66
|
+
**Returns:**
|
|
67
|
+
|
|
68
|
+
void
|
|
69
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [EntityEventPayloads](./server.entityeventpayloads.md) > ["ENTITY.SET\_OUTLINE"](./server.entityeventpayloads._entity.set_outline_.md)
|
|
4
|
+
|
|
5
|
+
## EntityEventPayloads."ENTITY.SET\_OUTLINE" property
|
|
6
|
+
|
|
7
|
+
Emitted when the outline of the entity is set.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[EntityEvent.SET_OUTLINE]: {
|
|
13
|
+
entity: Entity;
|
|
14
|
+
outline: Outline | undefined;
|
|
15
|
+
forPlayer?: Player;
|
|
16
|
+
};
|
|
17
|
+
```
|
|
@@ -319,6 +319,25 @@ Emitted when the texture uri of the entity's model is set.
|
|
|
319
319
|
Emitted when the opacity of the entity is set.
|
|
320
320
|
|
|
321
321
|
|
|
322
|
+
</td></tr>
|
|
323
|
+
<tr><td>
|
|
324
|
+
|
|
325
|
+
["ENTITY.SET\_OUTLINE"](./server.entityeventpayloads._entity.set_outline_.md)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
</td><td>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
</td><td>
|
|
332
|
+
|
|
333
|
+
{ entity: [Entity](./server.entity.md)<!-- -->; outline: [Outline](./server.outline.md) \| undefined; forPlayer?: [Player](./server.player.md)<!-- -->; }
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
</td><td>
|
|
337
|
+
|
|
338
|
+
Emitted when the outline of the entity is set.
|
|
339
|
+
|
|
340
|
+
|
|
322
341
|
</td></tr>
|
|
323
342
|
<tr><td>
|
|
324
343
|
|
package/docs/server.md
CHANGED
|
@@ -1165,6 +1165,17 @@ The options for creating a model entity.
|
|
|
1165
1165
|
The options for an error type "none" collider.
|
|
1166
1166
|
|
|
1167
1167
|
|
|
1168
|
+
</td></tr>
|
|
1169
|
+
<tr><td>
|
|
1170
|
+
|
|
1171
|
+
[Outline](./server.outline.md)
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
</td><td>
|
|
1175
|
+
|
|
1176
|
+
The options for rendering an outline.
|
|
1177
|
+
|
|
1178
|
+
|
|
1168
1179
|
</td></tr>
|
|
1169
1180
|
<tr><td>
|
|
1170
1181
|
|
|
@@ -1743,6 +1754,17 @@ A callback function called when the entity associated with the SimpleEntityContr
|
|
|
1743
1754
|
Options for the [SimpleEntityController.move()](./server.simpleentitycontroller.move.md) method.
|
|
1744
1755
|
|
|
1745
1756
|
|
|
1757
|
+
</td></tr>
|
|
1758
|
+
<tr><td>
|
|
1759
|
+
|
|
1760
|
+
[ParticleEmitterOrientation](./server.particleemitterorientation.md)
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
</td><td>
|
|
1764
|
+
|
|
1765
|
+
The orientation mode for particles.
|
|
1766
|
+
|
|
1767
|
+
|
|
1746
1768
|
</td></tr>
|
|
1747
1769
|
<tr><td>
|
|
1748
1770
|
|
|
@@ -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) > [Outline](./server.outline.md) > [color](./server.outline.color.md)
|
|
4
|
+
|
|
5
|
+
## Outline.color property
|
|
6
|
+
|
|
7
|
+
The color of the outline. Defaults to black.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
color?: RgbColor;
|
|
13
|
+
```
|
|
@@ -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) > [Outline](./server.outline.md) > [colorIntensity](./server.outline.colorintensity.md)
|
|
4
|
+
|
|
5
|
+
## Outline.colorIntensity property
|
|
6
|
+
|
|
7
|
+
The intensity multiplier for the outline color. Use values over 1 for brighter/glowing outlines. Defaults to 1.0.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
colorIntensity?: number;
|
|
13
|
+
```
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Outline](./server.outline.md)
|
|
4
|
+
|
|
5
|
+
## Outline interface
|
|
6
|
+
|
|
7
|
+
The options for rendering an outline.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
interface Outline
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[color?](./server.outline.color.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
[RgbColor](./server.rgbcolor.md)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
_(Optional)_ The color of the outline. Defaults to black.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
59
|
+
[colorIntensity?](./server.outline.colorintensity.md)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
</td><td>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
number
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
_(Optional)_ The intensity multiplier for the outline color. Use values over 1 for brighter/glowing outlines. Defaults to 1.0.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
</td></tr>
|
|
76
|
+
<tr><td>
|
|
77
|
+
|
|
78
|
+
[occluded?](./server.outline.occluded.md)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
</td><td>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
</td><td>
|
|
85
|
+
|
|
86
|
+
boolean
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</td><td>
|
|
90
|
+
|
|
91
|
+
_(Optional)_ Whether the outline should be visible when the entity is occluded by other objects. Defaults to true.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</td></tr>
|
|
95
|
+
<tr><td>
|
|
96
|
+
|
|
97
|
+
[opacity?](./server.outline.opacity.md)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
</td><td>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
</td><td>
|
|
104
|
+
|
|
105
|
+
number
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</td><td>
|
|
109
|
+
|
|
110
|
+
_(Optional)_ The opacity of the outline between 0 and 1. Defaults to 1.0.
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td></tr>
|
|
114
|
+
<tr><td>
|
|
115
|
+
|
|
116
|
+
[thickness?](./server.outline.thickness.md)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
</td><td>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
</td><td>
|
|
123
|
+
|
|
124
|
+
number
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
</td><td>
|
|
128
|
+
|
|
129
|
+
_(Optional)_ The thickness of the outline in world units. Defaults to 0.05.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
</td></tr>
|
|
133
|
+
</tbody></table>
|
|
@@ -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) > [Outline](./server.outline.md) > [occluded](./server.outline.occluded.md)
|
|
4
|
+
|
|
5
|
+
## Outline.occluded property
|
|
6
|
+
|
|
7
|
+
Whether the outline should be visible when the entity is occluded by other objects. Defaults to true.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
occluded?: boolean;
|
|
13
|
+
```
|
|
@@ -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) > [Outline](./server.outline.md) > [opacity](./server.outline.opacity.md)
|
|
4
|
+
|
|
5
|
+
## Outline.opacity property
|
|
6
|
+
|
|
7
|
+
The opacity of the outline between 0 and 1. Defaults to 1.0.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
opacity?: number;
|
|
13
|
+
```
|
|
@@ -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) > [Outline](./server.outline.md) > [thickness](./server.outline.thickness.md)
|
|
4
|
+
|
|
5
|
+
## Outline.thickness property
|
|
6
|
+
|
|
7
|
+
The thickness of the outline in world units. Defaults to 0.05.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
thickness?: number;
|
|
13
|
+
```
|
|
@@ -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) > [ParticleEmitter](./server.particleemitter.md) > [lockToEmitter](./server.particleemitter.locktoemitter.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.lockToEmitter property
|
|
6
|
+
|
|
7
|
+
Whether emitted particles follow the emitter's world position. Cannot be changed after construction.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get lockToEmitter(): boolean;
|
|
13
|
+
```
|
|
@@ -426,6 +426,27 @@ number \| undefined
|
|
|
426
426
|
The lifetime variance of an emitted particle in seconds.
|
|
427
427
|
|
|
428
428
|
|
|
429
|
+
</td></tr>
|
|
430
|
+
<tr><td>
|
|
431
|
+
|
|
432
|
+
[lockToEmitter](./server.particleemitter.locktoemitter.md)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
</td><td>
|
|
436
|
+
|
|
437
|
+
`readonly`
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
</td><td>
|
|
441
|
+
|
|
442
|
+
boolean
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
</td><td>
|
|
446
|
+
|
|
447
|
+
Whether emitted particles follow the emitter's world position. Cannot be changed after construction.
|
|
448
|
+
|
|
449
|
+
|
|
429
450
|
</td></tr>
|
|
430
451
|
<tr><td>
|
|
431
452
|
|
|
@@ -552,6 +573,48 @@ number \| undefined
|
|
|
552
573
|
The opacity variance of an emitted particle at the start of its lifetime.
|
|
553
574
|
|
|
554
575
|
|
|
576
|
+
</td></tr>
|
|
577
|
+
<tr><td>
|
|
578
|
+
|
|
579
|
+
[orientation](./server.particleemitter.orientation.md)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
</td><td>
|
|
583
|
+
|
|
584
|
+
`readonly`
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
</td><td>
|
|
588
|
+
|
|
589
|
+
[ParticleEmitterOrientation](./server.particleemitterorientation.md) \| undefined
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
</td><td>
|
|
593
|
+
|
|
594
|
+
The orientation mode of emitted particles.
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
</td></tr>
|
|
598
|
+
<tr><td>
|
|
599
|
+
|
|
600
|
+
[orientationFixedRotation](./server.particleemitter.orientationfixedrotation.md)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</td><td>
|
|
604
|
+
|
|
605
|
+
`readonly`
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
</td><td>
|
|
609
|
+
|
|
610
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
</td><td>
|
|
614
|
+
|
|
615
|
+
The fixed rotation of emitted particles in degrees when orientation is 'fixed'.
|
|
616
|
+
|
|
617
|
+
|
|
555
618
|
</td></tr>
|
|
556
619
|
<tr><td>
|
|
557
620
|
|
|
@@ -1209,6 +1272,34 @@ Sets the opacity of an emitted particle at the start of its lifetime.
|
|
|
1209
1272
|
Sets the opacity variance of an emitted particle at the start of its lifetime.
|
|
1210
1273
|
|
|
1211
1274
|
|
|
1275
|
+
</td></tr>
|
|
1276
|
+
<tr><td>
|
|
1277
|
+
|
|
1278
|
+
[setOrientation(orientation)](./server.particleemitter.setorientation.md)
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
</td><td>
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
</td><td>
|
|
1285
|
+
|
|
1286
|
+
Sets the orientation mode of emitted particles.
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
</td></tr>
|
|
1290
|
+
<tr><td>
|
|
1291
|
+
|
|
1292
|
+
[setOrientationFixedRotation(orientationFixedRotation)](./server.particleemitter.setorientationfixedrotation.md)
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
</td><td>
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
</td><td>
|
|
1299
|
+
|
|
1300
|
+
Sets the fixed rotation of emitted particles when orientation is 'fixed'.
|
|
1301
|
+
|
|
1302
|
+
|
|
1212
1303
|
</td></tr>
|
|
1213
1304
|
<tr><td>
|
|
1214
1305
|
|
|
@@ -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) > [ParticleEmitter](./server.particleemitter.md) > [orientation](./server.particleemitter.orientation.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.orientation property
|
|
6
|
+
|
|
7
|
+
The orientation mode of emitted particles.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get orientation(): ParticleEmitterOrientation | undefined;
|
|
13
|
+
```
|
|
@@ -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) > [ParticleEmitter](./server.particleemitter.md) > [orientationFixedRotation](./server.particleemitter.orientationfixedrotation.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.orientationFixedRotation property
|
|
6
|
+
|
|
7
|
+
The fixed rotation of emitted particles in degrees when orientation is 'fixed'.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get orientationFixedRotation(): Vector3Like | undefined;
|
|
13
|
+
```
|
|
@@ -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) > [ParticleEmitter](./server.particleemitter.md) > [setOrientation](./server.particleemitter.setorientation.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.setOrientation() method
|
|
6
|
+
|
|
7
|
+
Sets the orientation mode of emitted particles.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setOrientation(orientation: ParticleEmitterOrientation): 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
|
+
orientation
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[ParticleEmitterOrientation](./server.particleemitterorientation.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The orientation mode. 'billboard' faces the camera, 'billboardY' faces the camera but keeps Y-axis upward, 'fixed' uses a fixed rotation.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
</tbody></table>
|
|
50
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
void
|
|
53
|
+
|