hytopia 0.6.34 → 0.7.2
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 +169 -169
- package/docs/server.blocktype.collideroptions.md +1 -1
- package/docs/server.blocktype.halfextents.md +13 -0
- package/docs/server.blocktype.md +43 -1
- package/docs/server.blocktype.size.md +13 -0
- package/docs/server.blocktypeoptions.customcollideroptions.md +1 -1
- package/docs/server.blocktypeoptions.halfextents.md +13 -0
- package/docs/server.blocktypeoptions.md +20 -1
- package/docs/server.chunk._constructor_.md +35 -1
- package/docs/server.chunk.md +4 -147
- package/docs/server.chunk.origincoordinate.md +1 -1
- package/docs/server.chunklattice.clear.md +1 -1
- package/docs/server.chunklattice.getblocktypecount.md +55 -0
- package/docs/server.chunklattice.getchunk.md +5 -5
- package/docs/server.chunklattice.getorcreatechunk.md +55 -0
- package/docs/server.chunklattice.haschunk.md +4 -4
- package/docs/server.chunklattice.md +36 -7
- package/docs/server.chunklattice.setblock.md +1 -1
- package/docs/server.chunklatticeevent.md +61 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.remove_chunk_.md +16 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.set_block_.md +19 -0
- package/docs/server.chunklatticeeventpayloads.md +76 -0
- package/docs/server.collider.md +16 -0
- package/docs/server.collider.scale.md +4 -0
- package/docs/server.collider.setvoxel.md +69 -0
- package/docs/server.collideroptions.md +2 -2
- package/docs/server.collidershape.md +14 -0
- package/docs/server.eventpayloads.md +2 -2
- package/docs/server.md +17 -4
- package/docs/server.particleemitter.md +120 -29
- package/docs/server.particleemitter.paused.md +13 -0
- package/docs/server.particleemitter.restart.md +1 -1
- package/docs/{server.particleemitter.setsize.md → server.particleemitter.setsizeend.md} +6 -6
- package/docs/server.particleemitter.setsizeendvariance.md +53 -0
- package/docs/{server.particleemitter.setsizevariance.md → server.particleemitter.setsizestart.md} +6 -6
- package/docs/server.particleemitter.setsizestartvariance.md +53 -0
- package/docs/server.particleemitter.sizeend.md +13 -0
- package/docs/server.particleemitter.sizeendvariance.md +13 -0
- package/docs/server.particleemitter.sizestart.md +13 -0
- package/docs/server.particleemitter.sizestartvariance.md +13 -0
- package/docs/server.particleemitter.stop.md +1 -1
- package/docs/server.particleemitterevent.md +46 -4
- package/docs/server.particleemittereventpayloads._particle_emitter.set_paused_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads.md +63 -6
- package/docs/server.particleemitteroptions.md +44 -4
- package/docs/server.particleemitteroptions.sizeend.md +13 -0
- package/docs/server.particleemitteroptions.sizeendvariance.md +13 -0
- package/docs/server.particleemitteroptions.sizestart.md +13 -0
- package/docs/server.particleemitteroptions.sizestartvariance.md +13 -0
- package/docs/server.voxelscollideroptions.coordinates.md +13 -0
- package/docs/server.voxelscollideroptions.md +94 -0
- package/docs/server.voxelscollideroptions.shape.md +11 -0
- package/docs/server.voxelscollideroptions.size.md +13 -0
- package/docs/server.world.md +1 -1
- package/docs/server.world.setdirectionallightposition.md +2 -2
- package/node-server.mjs +165 -165
- package/package.json +1 -1
- package/server.api.json +1368 -867
- package/server.d.ts +166 -138
- package/docs/server.chunk.despawn.md +0 -17
- package/docs/server.chunk.issimulated.md +0 -13
- package/docs/server.chunk.isspawned.md +0 -13
- package/docs/server.chunk.isvalidorigincoordinate.md +0 -55
- package/docs/server.chunk.setblock.md +0 -69
- package/docs/server.chunk.spawn.md +0 -69
- package/docs/server.chunk.world.md +0 -13
- package/docs/server.chunkevent.md +0 -75
- package/docs/server.chunkeventpayloads._chunk.despawn_.md +0 -15
- package/docs/server.chunkeventpayloads._chunk.set_block_.md +0 -18
- package/docs/server.chunkeventpayloads._chunk.spawn_.md +0 -15
- package/docs/server.chunkeventpayloads.md +0 -95
- package/docs/server.particleemitter.isstopped.md +0 -13
- package/docs/server.particleemitter.size.md +0 -13
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_.md +0 -16
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_variance_.md +0 -16
- package/docs/server.particleemitteroptions.size.md +0 -13
- package/docs/server.particleemitteroptions.sizevariance.md +0 -13
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [Chunk](./server.chunk.md) > [setBlock](./server.chunk.setblock.md)
|
|
4
|
-
|
|
5
|
-
## Chunk.setBlock() method
|
|
6
|
-
|
|
7
|
-
Set the block at a specific local coordinate by block type id.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
setBlock(localCoordinate: Vector3Like, blockTypeId: number): 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
|
-
localCoordinate
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[Vector3Like](./server.vector3like.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The local coordinate of the block to set.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
blockTypeId
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
number
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The block type id to set.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
**Returns:**
|
|
67
|
-
|
|
68
|
-
void
|
|
69
|
-
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [Chunk](./server.chunk.md) > [spawn](./server.chunk.spawn.md)
|
|
4
|
-
|
|
5
|
-
## Chunk.spawn() method
|
|
6
|
-
|
|
7
|
-
Spawn the chunk in the world.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
spawn(world: World, originCoordinate: Vector3Like): 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
|
-
world
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[World](./server.world.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The world to spawn the chunk in.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
originCoordinate
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[Vector3Like](./server.vector3like.md)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The origin coordinate of the chunk.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
**Returns:**
|
|
67
|
-
|
|
68
|
-
void
|
|
69
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [Chunk](./server.chunk.md) > [world](./server.chunk.world.md)
|
|
4
|
-
|
|
5
|
-
## Chunk.world property
|
|
6
|
-
|
|
7
|
-
The world the chunk belongs to.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
get world(): World | undefined;
|
|
13
|
-
```
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ChunkEvent](./server.chunkevent.md)
|
|
4
|
-
|
|
5
|
-
## ChunkEvent enum
|
|
6
|
-
|
|
7
|
-
Event types a Chunk instance can emit. See [ChunkEventPayloads](./server.chunkeventpayloads.md) for the payloads.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare enum ChunkEvent
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Enumeration Members
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Member
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Value
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
DESPAWN
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
`"CHUNK.DESPAWN"`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
SET\_BLOCK
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
`"CHUNK.SET_BLOCK"`
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
<tr><td>
|
|
62
|
-
|
|
63
|
-
SPAWN
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
`"CHUNK.SPAWN"`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td><td>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
</tbody></table>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ChunkEventPayloads](./server.chunkeventpayloads.md) > ["CHUNK.DESPAWN"](./server.chunkeventpayloads._chunk.despawn_.md)
|
|
4
|
-
|
|
5
|
-
## ChunkEventPayloads."CHUNK.DESPAWN" property
|
|
6
|
-
|
|
7
|
-
Emitted when a chunk is despawned.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
[ChunkEvent.DESPAWN]: {
|
|
13
|
-
chunk: Chunk;
|
|
14
|
-
};
|
|
15
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ChunkEventPayloads](./server.chunkeventpayloads.md) > ["CHUNK.SET\_BLOCK"](./server.chunkeventpayloads._chunk.set_block_.md)
|
|
4
|
-
|
|
5
|
-
## ChunkEventPayloads."CHUNK.SET\_BLOCK" property
|
|
6
|
-
|
|
7
|
-
Emitted when a block is set in a chunk.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
[ChunkEvent.SET_BLOCK]: {
|
|
13
|
-
chunk: Chunk;
|
|
14
|
-
globalCoordinate: Vector3Like;
|
|
15
|
-
localCoordinate: Vector3Like;
|
|
16
|
-
blockTypeId: number;
|
|
17
|
-
};
|
|
18
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ChunkEventPayloads](./server.chunkeventpayloads.md) > ["CHUNK.SPAWN"](./server.chunkeventpayloads._chunk.spawn_.md)
|
|
4
|
-
|
|
5
|
-
## ChunkEventPayloads."CHUNK.SPAWN" property
|
|
6
|
-
|
|
7
|
-
Emitted when a chunk is spawned.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
[ChunkEvent.SPAWN]: {
|
|
13
|
-
chunk: Chunk;
|
|
14
|
-
};
|
|
15
|
-
```
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ChunkEventPayloads](./server.chunkeventpayloads.md)
|
|
4
|
-
|
|
5
|
-
## ChunkEventPayloads interface
|
|
6
|
-
|
|
7
|
-
Event payloads for Chunk emitted events.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface ChunkEventPayloads
|
|
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
|
-
["CHUNK.DESPAWN"](./server.chunkeventpayloads._chunk.despawn_.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
{ chunk: [Chunk](./server.chunk.md)<!-- -->; }
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td><td>
|
|
52
|
-
|
|
53
|
-
Emitted when a chunk is despawned.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td></tr>
|
|
57
|
-
<tr><td>
|
|
58
|
-
|
|
59
|
-
["CHUNK.SET\_BLOCK"](./server.chunkeventpayloads._chunk.set_block_.md)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td><td>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
{ chunk: [Chunk](./server.chunk.md)<!-- -->; globalCoordinate: [Vector3Like](./server.vector3like.md)<!-- -->; localCoordinate: [Vector3Like](./server.vector3like.md)<!-- -->; blockTypeId: number; }
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</td><td>
|
|
71
|
-
|
|
72
|
-
Emitted when a block is set in a chunk.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</td></tr>
|
|
76
|
-
<tr><td>
|
|
77
|
-
|
|
78
|
-
["CHUNK.SPAWN"](./server.chunkeventpayloads._chunk.spawn_.md)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</td><td>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
{ chunk: [Chunk](./server.chunk.md)<!-- -->; }
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td><td>
|
|
90
|
-
|
|
91
|
-
Emitted when a chunk is spawned.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</td></tr>
|
|
95
|
-
</tbody></table>
|
|
@@ -1,13 +0,0 @@
|
|
|
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) > [isStopped](./server.particleemitter.isstopped.md)
|
|
4
|
-
|
|
5
|
-
## ParticleEmitter.isStopped property
|
|
6
|
-
|
|
7
|
-
Whether the ParticleEmitter is stopped.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
get isStopped(): boolean;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
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) > [size](./server.particleemitter.size.md)
|
|
4
|
-
|
|
5
|
-
## ParticleEmitter.size property
|
|
6
|
-
|
|
7
|
-
The size of an emitted particle.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
get size(): number | undefined;
|
|
13
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md) > ["PARTICLE\_EMITTER.SET\_SIZE"](./server.particleemittereventpayloads._particle_emitter.set_size_.md)
|
|
4
|
-
|
|
5
|
-
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.SET\_SIZE" property
|
|
6
|
-
|
|
7
|
-
Emitted when the size of an emitted particle is set.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
[ParticleEmitterEvent.SET_SIZE]: {
|
|
13
|
-
particleEmitter: ParticleEmitter;
|
|
14
|
-
size: number;
|
|
15
|
-
};
|
|
16
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md) > ["PARTICLE\_EMITTER.SET\_SIZE\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_size_variance_.md)
|
|
4
|
-
|
|
5
|
-
## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.SET\_SIZE\_VARIANCE" property
|
|
6
|
-
|
|
7
|
-
Emitted when the size variance of an emitted particle is set.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
[ParticleEmitterEvent.SET_SIZE_VARIANCE]: {
|
|
13
|
-
particleEmitter: ParticleEmitter;
|
|
14
|
-
sizeVariance: number;
|
|
15
|
-
};
|
|
16
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [size](./server.particleemitteroptions.size.md)
|
|
4
|
-
|
|
5
|
-
## ParticleEmitterOptions.size property
|
|
6
|
-
|
|
7
|
-
The size of an emitted particle.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
size?: number;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ParticleEmitterOptions](./server.particleemitteroptions.md) > [sizeVariance](./server.particleemitteroptions.sizevariance.md)
|
|
4
|
-
|
|
5
|
-
## ParticleEmitterOptions.sizeVariance property
|
|
6
|
-
|
|
7
|
-
The size variance of an emitted particle.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
sizeVariance?: number;
|
|
13
|
-
```
|