hytopia 0.6.27 → 0.6.29
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 +116 -116
- package/docs/server.collider.md +12 -0
- package/docs/server.collider.scale.md +49 -0
- package/docs/server.entity.md +14 -0
- package/docs/server.entity.setmodelscale.md +53 -0
- package/docs/server.entityevent.md +14 -0
- package/docs/server.entityeventpayloads._entity.set_model_scale_.md +16 -0
- package/docs/server.entityeventpayloads.md +19 -0
- package/docs/server.world.fogcolor.md +13 -0
- package/docs/server.world.fogfar.md +13 -0
- package/docs/server.world.fognear.md +13 -0
- package/docs/server.world.md +105 -0
- package/docs/server.world.setfogcolor.md +53 -0
- package/docs/server.world.setfogfar.md +53 -0
- package/docs/server.world.setfognear.md +53 -0
- package/docs/server.worldevent.md +42 -0
- package/docs/server.worldeventpayloads._world.set_fog_color_.md +16 -0
- package/docs/server.worldeventpayloads._world.set_fog_far_.md +16 -0
- package/docs/server.worldeventpayloads._world.set_fog_near_.md +16 -0
- package/docs/server.worldeventpayloads.md +57 -0
- package/docs/server.worldoptions.fogcolor.md +13 -0
- package/docs/server.worldoptions.fogfar.md +13 -0
- package/docs/server.worldoptions.fognear.md +13 -0
- package/docs/server.worldoptions.md +57 -0
- package/node-server.mjs +39 -39
- package/package.json +1 -1
- package/server.api.json +790 -95
- package/server.d.ts +63 -0
|
@@ -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) > [WorldOptions](./server.worldoptions.md) > [fogColor](./server.worldoptions.fogcolor.md)
|
|
4
|
+
|
|
5
|
+
## WorldOptions.fogColor property
|
|
6
|
+
|
|
7
|
+
The color of the fog for the world. Defaults to ambient light color.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
fogColor?: 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) > [WorldOptions](./server.worldoptions.md) > [fogFar](./server.worldoptions.fogfar.md)
|
|
4
|
+
|
|
5
|
+
## WorldOptions.fogFar property
|
|
6
|
+
|
|
7
|
+
The maximum distance from the camera at which fog stops being applied.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
fogFar?: 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) > [WorldOptions](./server.worldoptions.md) > [fogNear](./server.worldoptions.fognear.md)
|
|
4
|
+
|
|
5
|
+
## WorldOptions.fogNear property
|
|
6
|
+
|
|
7
|
+
The minimum distance from the camera to start applying fog.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
fogNear?: number;
|
|
13
|
+
```
|
|
@@ -129,6 +129,63 @@ _(Optional)_ The intensity of the directional light for the world. 0 to 1+
|
|
|
129
129
|
_(Optional)_ The position the directional light originates from for the world.
|
|
130
130
|
|
|
131
131
|
|
|
132
|
+
</td></tr>
|
|
133
|
+
<tr><td>
|
|
134
|
+
|
|
135
|
+
[fogColor?](./server.worldoptions.fogcolor.md)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
</td><td>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</td><td>
|
|
142
|
+
|
|
143
|
+
[RgbColor](./server.rgbcolor.md)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
</td><td>
|
|
147
|
+
|
|
148
|
+
_(Optional)_ The color of the fog for the world. Defaults to ambient light color.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</td></tr>
|
|
152
|
+
<tr><td>
|
|
153
|
+
|
|
154
|
+
[fogFar?](./server.worldoptions.fogfar.md)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
</td><td>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
</td><td>
|
|
161
|
+
|
|
162
|
+
number
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</td><td>
|
|
166
|
+
|
|
167
|
+
_(Optional)_ The maximum distance from the camera at which fog stops being applied.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</td></tr>
|
|
171
|
+
<tr><td>
|
|
172
|
+
|
|
173
|
+
[fogNear?](./server.worldoptions.fognear.md)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
</td><td>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
</td><td>
|
|
180
|
+
|
|
181
|
+
number
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
</td><td>
|
|
185
|
+
|
|
186
|
+
_(Optional)_ The minimum distance from the camera to start applying fog.
|
|
187
|
+
|
|
188
|
+
|
|
132
189
|
</td></tr>
|
|
133
190
|
<tr><td>
|
|
134
191
|
|