hytopia 0.8.5 → 0.8.6-dev1
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-server.mjs +160 -160
- package/docs/server.audiomanager.getallaudios.md +1 -38
- package/docs/server.audiomanager.getallentityattachedaudios.md +2 -18
- package/docs/server.audiomanager.getallloopedaudios.md +1 -38
- package/docs/server.audiomanager.getalloneshotaudios.md +1 -38
- package/docs/server.audiomanager.md +4 -4
- package/docs/server.blocktype._constructor_.md +1 -15
- package/docs/server.blocktype.md +1 -22
- package/docs/server.blocktyperegistry.getallblocktypes.md +1 -38
- package/docs/server.blocktyperegistry.md +1 -1
- package/docs/server.chunk._constructor_.md +1 -15
- package/docs/server.chunk.md +1 -22
- package/docs/server.chunklattice.getallchunks.md +1 -38
- package/docs/server.chunklattice.md +1 -22
- package/docs/server.entitymanager.getallentities.md +1 -38
- package/docs/server.entitymanager.md +1 -1
- package/docs/server.lightmanager.getalllights.md +1 -38
- package/docs/server.lightmanager.md +1 -1
- package/docs/server.md +0 -33
- package/docs/server.particleemittermanager.getallparticleemitters.md +1 -38
- package/docs/server.particleemittermanager.md +1 -1
- package/docs/server.sceneuimanager.getallsceneuis.md +1 -38
- package/docs/server.sceneuimanager.md +1 -1
- package/docs/server.telemetryspanoperation.md +0 -14
- package/docs/server.world.md +0 -21
- package/node-server.mjs +163 -163
- package/package.json +1 -1
- package/server.api.json +52 -1091
- package/server.d.ts +30 -181
- package/docs/server.array3number.md +0 -13
- package/docs/server.array4number.md +0 -13
- package/docs/server.blocktype.blocktyperegistry.md +0 -13
- package/docs/server.chunk.chunklattice.md +0 -13
- package/docs/server.chunklattice.world.md +0 -13
- package/docs/server.tickallocator.filter.md +0 -72
- package/docs/server.tickallocator.getarray.md +0 -72
- package/docs/server.tickallocator.getarray3number.md +0 -56
- package/docs/server.tickallocator.getarray4number.md +0 -56
- package/docs/server.tickallocator.getobject.md +0 -72
- package/docs/server.tickallocator.getset.md +0 -72
- package/docs/server.tickallocator.map.md +0 -72
- package/docs/server.tickallocator.md +0 -163
- package/docs/server.tickallocator.reset.md +0 -17
- package/docs/server.world.tickallocator.md +0 -13
|
@@ -9,45 +9,8 @@ Retrieves all loaded audio instances for the world.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllAudios(
|
|
12
|
+
getAllAudios(): Audio[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[Audio](./server.audio.md)<!-- -->\[\]
|
|
@@ -9,7 +9,7 @@ Retrieves all loaded audio instances attached to a specific entity.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllEntityAttachedAudios(entity: Entity
|
|
12
|
+
getAllEntityAttachedAudios(entity: Entity): Audio[];
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -42,23 +42,7 @@ entity
|
|
|
42
42
|
|
|
43
43
|
</td><td>
|
|
44
44
|
|
|
45
|
-
The entity to get attached audio instances for.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
tickAllocated
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
boolean
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
_(Optional)_ If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.
|
|
45
|
+
The entity to get attached audio instances for. the allocated array at the end of the current tick. false by default.
|
|
62
46
|
|
|
63
47
|
|
|
64
48
|
</td></tr>
|
|
@@ -9,45 +9,8 @@ Retrieves all looped audio instances for the world.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllLoopedAudios(
|
|
12
|
+
getAllLoopedAudios(): Audio[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[Audio](./server.audio.md)<!-- -->\[\]
|
|
@@ -9,45 +9,8 @@ Retrieves all oneshot (non-looped) audio instances for the world.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllOneshotAudios(
|
|
12
|
+
getAllOneshotAudios(): Audio[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[Audio](./server.audio.md)<!-- -->\[\]
|
|
@@ -93,7 +93,7 @@ Description
|
|
|
93
93
|
</th></tr></thead>
|
|
94
94
|
<tbody><tr><td>
|
|
95
95
|
|
|
96
|
-
[getAllAudios(
|
|
96
|
+
[getAllAudios()](./server.audiomanager.getallaudios.md)
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
</td><td>
|
|
@@ -107,7 +107,7 @@ Retrieves all loaded audio instances for the world.
|
|
|
107
107
|
</td></tr>
|
|
108
108
|
<tr><td>
|
|
109
109
|
|
|
110
|
-
[getAllEntityAttachedAudios(entity
|
|
110
|
+
[getAllEntityAttachedAudios(entity)](./server.audiomanager.getallentityattachedaudios.md)
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
</td><td>
|
|
@@ -121,7 +121,7 @@ Retrieves all loaded audio instances attached to a specific entity.
|
|
|
121
121
|
</td></tr>
|
|
122
122
|
<tr><td>
|
|
123
123
|
|
|
124
|
-
[getAllLoopedAudios(
|
|
124
|
+
[getAllLoopedAudios()](./server.audiomanager.getallloopedaudios.md)
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
</td><td>
|
|
@@ -135,7 +135,7 @@ Retrieves all looped audio instances for the world.
|
|
|
135
135
|
</td></tr>
|
|
136
136
|
<tr><td>
|
|
137
137
|
|
|
138
|
-
[getAllOneshotAudios(
|
|
138
|
+
[getAllOneshotAudios()](./server.audiomanager.getalloneshotaudios.md)
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
</td><td>
|
|
@@ -9,7 +9,7 @@ Creates a new block type instance.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(options?: BlockTypeOptions);
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -32,20 +32,6 @@ Description
|
|
|
32
32
|
</th></tr></thead>
|
|
33
33
|
<tbody><tr><td>
|
|
34
34
|
|
|
35
|
-
blockTypeRegistry
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[BlockTypeRegistry](./server.blocktyperegistry.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
35
|
options
|
|
50
36
|
|
|
51
37
|
|
package/docs/server.blocktype.md
CHANGED
|
@@ -58,7 +58,7 @@ Description
|
|
|
58
58
|
</th></tr></thead>
|
|
59
59
|
<tbody><tr><td>
|
|
60
60
|
|
|
61
|
-
[(constructor)(
|
|
61
|
+
[(constructor)(options)](./server.blocktype._constructor_.md)
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
</td><td>
|
|
@@ -97,27 +97,6 @@ Description
|
|
|
97
97
|
</th></tr></thead>
|
|
98
98
|
<tbody><tr><td>
|
|
99
99
|
|
|
100
|
-
[blockTypeRegistry](./server.blocktype.blocktyperegistry.md)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
`readonly`
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</td><td>
|
|
109
|
-
|
|
110
|
-
[BlockTypeRegistry](./server.blocktyperegistry.md)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</td><td>
|
|
114
|
-
|
|
115
|
-
The block type registry that the block type belongs to.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
</td></tr>
|
|
119
|
-
<tr><td>
|
|
120
|
-
|
|
121
100
|
[colliderOptions](./server.blocktype.collideroptions.md)
|
|
122
101
|
|
|
123
102
|
|
|
@@ -9,45 +9,8 @@ Get all registered block types.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllBlockTypes(
|
|
12
|
+
getAllBlockTypes(): BlockType[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Whether to use the tick allocator to allocate the returned array of BlockType instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[BlockType](./server.blocktype.md)<!-- -->\[\]
|
|
@@ -9,7 +9,7 @@ Creates a new chunk instance.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(originCoordinate: Vector3Like);
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -32,20 +32,6 @@ Description
|
|
|
32
32
|
</th></tr></thead>
|
|
33
33
|
<tbody><tr><td>
|
|
34
34
|
|
|
35
|
-
chunkLattice
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[ChunkLattice](./server.chunklattice.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
35
|
originCoordinate
|
|
50
36
|
|
|
51
37
|
|
package/docs/server.chunk.md
CHANGED
|
@@ -37,7 +37,7 @@ Description
|
|
|
37
37
|
</th></tr></thead>
|
|
38
38
|
<tbody><tr><td>
|
|
39
39
|
|
|
40
|
-
[(constructor)(
|
|
40
|
+
[(constructor)(originCoordinate)](./server.chunk._constructor_.md)
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
</td><td>
|
|
@@ -94,27 +94,6 @@ Readonly<Uint8Array>
|
|
|
94
94
|
The blocks in the chunk as a flat Uint8Array\[4096\], each index as 0 or a block type id.
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
</td></tr>
|
|
98
|
-
<tr><td>
|
|
99
|
-
|
|
100
|
-
[chunkLattice](./server.chunk.chunklattice.md)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
`readonly`
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</td><td>
|
|
109
|
-
|
|
110
|
-
[ChunkLattice](./server.chunklattice.md)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</td><td>
|
|
114
|
-
|
|
115
|
-
The chunk lattice that the chunk belongs to.
|
|
116
|
-
|
|
117
|
-
|
|
118
97
|
</td></tr>
|
|
119
98
|
<tr><td>
|
|
120
99
|
|
|
@@ -9,45 +9,8 @@ Get all chunks in the lattice.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllChunks(
|
|
12
|
+
getAllChunks(): Chunk[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Whether to use the tick allocator to allocate the returned array of Chunk instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[Chunk](./server.chunk.md)<!-- -->\[\]
|
|
@@ -94,27 +94,6 @@ number
|
|
|
94
94
|
The number of chunks in the lattice.
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
</td></tr>
|
|
98
|
-
<tr><td>
|
|
99
|
-
|
|
100
|
-
[world](./server.chunklattice.world.md)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
`readonly`
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</td><td>
|
|
109
|
-
|
|
110
|
-
[World](./server.world.md)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</td><td>
|
|
114
|
-
|
|
115
|
-
The world that the chunk lattice belongs to.
|
|
116
|
-
|
|
117
|
-
|
|
118
97
|
</td></tr>
|
|
119
98
|
</tbody></table>
|
|
120
99
|
|
|
@@ -152,7 +131,7 @@ Removes and clears all chunks and their blocks from the lattice.
|
|
|
152
131
|
</td></tr>
|
|
153
132
|
<tr><td>
|
|
154
133
|
|
|
155
|
-
[getAllChunks(
|
|
134
|
+
[getAllChunks()](./server.chunklattice.getallchunks.md)
|
|
156
135
|
|
|
157
136
|
|
|
158
137
|
</td><td>
|
|
@@ -9,45 +9,8 @@ Gets all spawned entities in the world.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllEntities(
|
|
12
|
+
getAllEntities(): Entity[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Whether to use the tick allocator to allocate the returned array of Entity instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[Entity](./server.entity.md)<!-- -->\[\]
|
|
@@ -9,45 +9,8 @@ Retrieves all spawned Light instances for the world.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllLights(
|
|
12
|
+
getAllLights(): Light[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Whether to use the tick allocator to allocate the returned array of Light instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[Light](./server.light.md)<!-- -->\[\]
|
package/docs/server.md
CHANGED
|
@@ -456,17 +456,6 @@ Represents the physics simulation for a world.
|
|
|
456
456
|
Manages performance telemetry and error tracking through your Sentry.io account.
|
|
457
457
|
|
|
458
458
|
|
|
459
|
-
</td></tr>
|
|
460
|
-
<tr><td>
|
|
461
|
-
|
|
462
|
-
[TickAllocator](./server.tickallocator.md)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
</td><td>
|
|
466
|
-
|
|
467
|
-
High-performance tick-scoped allocator for temporary objects, arrays, and buffers. All allocations are automatically bulk-released when reset() is called.
|
|
468
|
-
|
|
469
|
-
|
|
470
459
|
</td></tr>
|
|
471
460
|
<tr><td>
|
|
472
461
|
|
|
@@ -1550,28 +1539,6 @@ Description
|
|
|
1550
1539
|
</th></tr></thead>
|
|
1551
1540
|
<tbody><tr><td>
|
|
1552
1541
|
|
|
1553
|
-
[Array3Number](./server.array3number.md)
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
</td><td>
|
|
1557
|
-
|
|
1558
|
-
A 3-element number array.
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
</td></tr>
|
|
1562
|
-
<tr><td>
|
|
1563
|
-
|
|
1564
|
-
[Array4Number](./server.array4number.md)
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
</td><td>
|
|
1568
|
-
|
|
1569
|
-
A 4-element number array.
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
</td></tr>
|
|
1573
|
-
<tr><td>
|
|
1574
|
-
|
|
1575
1542
|
[ColliderOptions](./server.collideroptions.md)
|
|
1576
1543
|
|
|
1577
1544
|
|
|
@@ -9,45 +9,8 @@ Retrieves all spawned ParticleEmitter instances for the world.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
getAllParticleEmitters(
|
|
12
|
+
getAllParticleEmitters(): ParticleEmitter[];
|
|
13
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
|
-
tickAllocated
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Whether to use the tick allocator to allocate the returned array of ParticleEmitter instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
14
|
**Returns:**
|
|
52
15
|
|
|
53
16
|
[ParticleEmitter](./server.particleemitter.md)<!-- -->\[\]
|
|
@@ -98,7 +98,7 @@ Retrieves all spawned ParticleEmitter instances attached to a specific entity.
|
|
|
98
98
|
</td></tr>
|
|
99
99
|
<tr><td>
|
|
100
100
|
|
|
101
|
-
[getAllParticleEmitters(
|
|
101
|
+
[getAllParticleEmitters()](./server.particleemittermanager.getallparticleemitters.md)
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
</td><td>
|