effect-motion 0.5.0 → 0.6.0

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/dist/Runner.d.ts CHANGED
@@ -158,260 +158,298 @@ declare const Runner_base: Context.ServiceClass<Runner, "Runner", {
158
158
  * ambient parent like any instance. Delete with the particles
159
159
  * rewrite; see `particlesEscapeInstantiate`.
160
160
  */
161
- instantiateEscape: (state: import("effect/Schema").Struct.ReadonlySide<{
162
- readonly _tag: import("effect/Schema").tag<"Camera">;
163
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
164
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
165
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
166
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
167
- }>>;
168
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
169
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
170
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
171
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
172
- }>>;
173
- readonly focalLength: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
174
- readonly focusDistance: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
175
- readonly aperture: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
176
- readonly poi: import("effect/Schema").withConstructorDefault<import("effect/Schema").NullOr<import("effect/Schema").TaggedStruct<"Vec3", {
177
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
178
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
179
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
180
- }>>>;
181
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
182
- readonly _tag: import("effect/Schema").tag<"Circle">;
183
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
184
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
185
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
186
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
187
- }>>;
188
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
189
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
190
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
191
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
192
- }>>;
193
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
194
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
195
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
196
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
197
- }>>;
198
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
199
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
200
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
201
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
202
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
203
- readonly radius: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
204
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
205
- readonly _tag: import("effect/Schema").tag<"Ellipse">;
206
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
207
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
208
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
209
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
210
- }>>;
211
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
212
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
213
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
214
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
215
- }>>;
216
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
217
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
218
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
219
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
220
- }>>;
221
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
222
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
223
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
224
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
225
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
226
- readonly radiusX: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
227
- readonly radiusY: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
228
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
229
- readonly _tag: import("effect/Schema").tag<"Group">;
230
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
231
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
232
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
233
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
234
- }>>;
235
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
236
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
237
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
238
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
239
- }>>;
240
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
241
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
242
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
243
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
244
- }>>;
245
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
246
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
247
- readonly children: import("effect/Schema").withConstructorDefault<import("effect/Schema").$Array<import("effect/Schema").String>>;
248
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
249
- readonly _tag: import("effect/Schema").tag<"Hud">;
250
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
251
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
252
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
253
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
254
- }>>;
255
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
256
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
257
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
258
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
259
- }>>;
260
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
261
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
262
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
263
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
264
- }>>;
265
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
266
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
267
- readonly children: import("effect/Schema").withConstructorDefault<import("effect/Schema").$Array<import("effect/Schema").String>>;
268
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
269
- readonly _tag: import("effect/Schema").tag<"Line">;
270
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
271
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
272
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
273
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
274
- }>>;
275
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
276
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
277
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
278
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
279
- }>>;
280
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
281
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
282
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
283
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
284
- }>>;
285
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
286
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
287
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
288
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
289
- readonly start: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
290
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
291
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
292
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
293
- }>>;
294
- readonly end: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
295
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
296
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
297
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
298
- }>>;
299
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
300
- readonly _tag: import("effect/Schema").tag<"Path">;
301
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
302
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
303
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
304
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
305
- }>>;
306
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
307
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
308
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
309
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
310
- }>>;
311
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
312
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
313
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
314
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
315
- }>>;
316
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
317
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
318
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
319
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
320
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
321
- readonly commands: import("effect/Schema").NonEmptyArray<import("effect/Schema").TaggedUnion<{
322
- readonly L: import("effect/Schema").TaggedStruct<"L", {
323
- x: import("effect/Schema").Number;
324
- y: import("effect/Schema").Number;
325
- z: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
326
- }>;
327
- readonly M: import("effect/Schema").TaggedStruct<"M", {
328
- x: import("effect/Schema").Number;
329
- y: import("effect/Schema").Number;
330
- z: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
331
- }>;
332
- readonly Z: import("effect/Schema").TaggedStruct<"Z", {}>;
333
- }>>;
334
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
335
- readonly _tag: import("effect/Schema").tag<"Rect">;
336
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
337
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
338
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
339
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
340
- }>>;
341
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
342
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
343
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
344
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
345
- }>>;
346
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
347
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
348
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
349
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
350
- }>>;
351
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
352
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
353
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
354
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
355
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
356
- readonly width: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
357
- readonly height: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
358
- }, "Type"> | {
161
+ instantiateEscape: (state: {
162
+ readonly _tag: "Camera";
163
+ readonly position: {
164
+ readonly _tag: "Vec3";
165
+ readonly x: number;
166
+ readonly y: number;
167
+ readonly z: number;
168
+ };
169
+ readonly rotation: {
170
+ readonly _tag: "Vec3";
171
+ readonly x: number;
172
+ readonly y: number;
173
+ readonly z: number;
174
+ };
175
+ readonly focalLength: number;
176
+ readonly focusDistance: number;
177
+ readonly aperture: number;
178
+ readonly poi: {
179
+ readonly _tag: "Vec3";
180
+ readonly x: number;
181
+ readonly y: number;
182
+ readonly z: number;
183
+ } | null;
184
+ } | {
185
+ readonly _tag: "Circle";
186
+ readonly position: {
187
+ readonly _tag: "Vec3";
188
+ readonly x: number;
189
+ readonly y: number;
190
+ readonly z: number;
191
+ };
192
+ readonly rotation: {
193
+ readonly _tag: "Vec3";
194
+ readonly x: number;
195
+ readonly y: number;
196
+ readonly z: number;
197
+ };
198
+ readonly scale: {
199
+ readonly _tag: "Vec3";
200
+ readonly x: number;
201
+ readonly y: number;
202
+ readonly z: number;
203
+ };
204
+ readonly opacity: number;
205
+ readonly visible: boolean;
206
+ readonly strokeWidth: number;
207
+ readonly strokeColor: Color.Color;
208
+ readonly fillColor: Color.Color;
209
+ readonly radius: number;
210
+ } | {
211
+ readonly _tag: "Ellipse";
212
+ readonly position: {
213
+ readonly _tag: "Vec3";
214
+ readonly x: number;
215
+ readonly y: number;
216
+ readonly z: number;
217
+ };
218
+ readonly rotation: {
219
+ readonly _tag: "Vec3";
220
+ readonly x: number;
221
+ readonly y: number;
222
+ readonly z: number;
223
+ };
224
+ readonly scale: {
225
+ readonly _tag: "Vec3";
226
+ readonly x: number;
227
+ readonly y: number;
228
+ readonly z: number;
229
+ };
230
+ readonly opacity: number;
231
+ readonly visible: boolean;
232
+ readonly strokeWidth: number;
233
+ readonly strokeColor: Color.Color;
234
+ readonly fillColor: Color.Color;
235
+ readonly radiusX: number;
236
+ readonly radiusY: number;
237
+ } | {
238
+ readonly _tag: "Group";
239
+ readonly position: {
240
+ readonly _tag: "Vec3";
241
+ readonly x: number;
242
+ readonly y: number;
243
+ readonly z: number;
244
+ };
245
+ readonly rotation: {
246
+ readonly _tag: "Vec3";
247
+ readonly x: number;
248
+ readonly y: number;
249
+ readonly z: number;
250
+ };
251
+ readonly scale: {
252
+ readonly _tag: "Vec3";
253
+ readonly x: number;
254
+ readonly y: number;
255
+ readonly z: number;
256
+ };
257
+ readonly opacity: number;
258
+ readonly visible: boolean;
259
+ readonly children: readonly string[];
260
+ } | {
261
+ readonly _tag: "Hud";
262
+ readonly position: {
263
+ readonly _tag: "Vec3";
264
+ readonly x: number;
265
+ readonly y: number;
266
+ readonly z: number;
267
+ };
268
+ readonly rotation: {
269
+ readonly _tag: "Vec3";
270
+ readonly x: number;
271
+ readonly y: number;
272
+ readonly z: number;
273
+ };
274
+ readonly scale: {
275
+ readonly _tag: "Vec3";
276
+ readonly x: number;
277
+ readonly y: number;
278
+ readonly z: number;
279
+ };
280
+ readonly opacity: number;
281
+ readonly visible: boolean;
282
+ readonly children: readonly string[];
283
+ } | {
359
284
  readonly _tag: "Image";
360
- readonly position: import("effect/Schema").Struct.ReadonlySide<{
361
- readonly _tag: import("effect/Schema").tag<"Vec3">;
362
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
363
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
364
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
365
- }, "Type">;
366
- readonly rotation: import("effect/Schema").Struct.ReadonlySide<{
367
- readonly _tag: import("effect/Schema").tag<"Vec3">;
368
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
369
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
370
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
371
- }, "Type">;
372
- readonly scale: import("effect/Schema").Struct.ReadonlySide<{
373
- readonly _tag: import("effect/Schema").tag<"Vec3">;
374
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
375
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
376
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
377
- }, "Type">;
285
+ readonly position: {
286
+ readonly _tag: "Vec3";
287
+ readonly x: number;
288
+ readonly y: number;
289
+ readonly z: number;
290
+ };
291
+ readonly rotation: {
292
+ readonly _tag: "Vec3";
293
+ readonly x: number;
294
+ readonly y: number;
295
+ readonly z: number;
296
+ };
297
+ readonly scale: {
298
+ readonly _tag: "Vec3";
299
+ readonly x: number;
300
+ readonly y: number;
301
+ readonly z: number;
302
+ };
378
303
  readonly opacity: number;
379
304
  readonly visible: boolean;
380
- readonly image: import("effect/Schema").Struct.ReadonlySide<{
381
- readonly _tag: import("effect/Schema").tag<"effect-motion/Resources/Image">;
382
- readonly id: import("effect/Schema").String;
383
- }, "Type">;
305
+ readonly image: {
306
+ readonly _tag: "effect-motion/Resources/Image";
307
+ readonly id: string;
308
+ };
384
309
  readonly width?: number;
385
310
  readonly height?: number;
311
+ } | {
312
+ readonly _tag: "Line";
313
+ readonly position: {
314
+ readonly _tag: "Vec3";
315
+ readonly x: number;
316
+ readonly y: number;
317
+ readonly z: number;
318
+ };
319
+ readonly rotation: {
320
+ readonly _tag: "Vec3";
321
+ readonly x: number;
322
+ readonly y: number;
323
+ readonly z: number;
324
+ };
325
+ readonly scale: {
326
+ readonly _tag: "Vec3";
327
+ readonly x: number;
328
+ readonly y: number;
329
+ readonly z: number;
330
+ };
331
+ readonly opacity: number;
332
+ readonly visible: boolean;
333
+ readonly strokeWidth: number;
334
+ readonly strokeColor: Color.Color;
335
+ readonly start: {
336
+ readonly _tag: "Vec3";
337
+ readonly x: number;
338
+ readonly y: number;
339
+ readonly z: number;
340
+ };
341
+ readonly end: {
342
+ readonly _tag: "Vec3";
343
+ readonly x: number;
344
+ readonly y: number;
345
+ readonly z: number;
346
+ };
347
+ } | {
348
+ readonly _tag: "Path";
349
+ readonly position: {
350
+ readonly _tag: "Vec3";
351
+ readonly x: number;
352
+ readonly y: number;
353
+ readonly z: number;
354
+ };
355
+ readonly rotation: {
356
+ readonly _tag: "Vec3";
357
+ readonly x: number;
358
+ readonly y: number;
359
+ readonly z: number;
360
+ };
361
+ readonly scale: {
362
+ readonly _tag: "Vec3";
363
+ readonly x: number;
364
+ readonly y: number;
365
+ readonly z: number;
366
+ };
367
+ readonly opacity: number;
368
+ readonly visible: boolean;
369
+ readonly strokeWidth: number;
370
+ readonly strokeColor: Color.Color;
371
+ readonly fillColor: Color.Color;
372
+ readonly commands: readonly [{
373
+ readonly _tag: "L";
374
+ readonly x: number;
375
+ readonly y: number;
376
+ readonly z?: number;
377
+ } | {
378
+ readonly _tag: "M";
379
+ readonly x: number;
380
+ readonly y: number;
381
+ readonly z?: number;
382
+ } | {
383
+ readonly _tag: "Z";
384
+ }, ...({
385
+ readonly _tag: "L";
386
+ readonly x: number;
387
+ readonly y: number;
388
+ readonly z?: number;
389
+ } | {
390
+ readonly _tag: "M";
391
+ readonly x: number;
392
+ readonly y: number;
393
+ readonly z?: number;
394
+ } | {
395
+ readonly _tag: "Z";
396
+ })[]];
397
+ } | {
398
+ readonly _tag: "Rect";
399
+ readonly position: {
400
+ readonly _tag: "Vec3";
401
+ readonly x: number;
402
+ readonly y: number;
403
+ readonly z: number;
404
+ };
405
+ readonly rotation: {
406
+ readonly _tag: "Vec3";
407
+ readonly x: number;
408
+ readonly y: number;
409
+ readonly z: number;
410
+ };
411
+ readonly scale: {
412
+ readonly _tag: "Vec3";
413
+ readonly x: number;
414
+ readonly y: number;
415
+ readonly z: number;
416
+ };
417
+ readonly opacity: number;
418
+ readonly visible: boolean;
419
+ readonly strokeWidth: number;
420
+ readonly strokeColor: Color.Color;
421
+ readonly fillColor: Color.Color;
422
+ readonly width: number;
423
+ readonly height: number;
386
424
  } | {
387
425
  readonly _tag: "Text";
388
- readonly position: import("effect/Schema").Struct.ReadonlySide<{
389
- readonly _tag: import("effect/Schema").tag<"Vec3">;
390
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
391
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
392
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
393
- }, "Type">;
394
- readonly rotation: import("effect/Schema").Struct.ReadonlySide<{
395
- readonly _tag: import("effect/Schema").tag<"Vec3">;
396
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
397
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
398
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
399
- }, "Type">;
400
- readonly scale: import("effect/Schema").Struct.ReadonlySide<{
401
- readonly _tag: import("effect/Schema").tag<"Vec3">;
402
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
403
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
404
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
405
- }, "Type">;
426
+ readonly position: {
427
+ readonly _tag: "Vec3";
428
+ readonly x: number;
429
+ readonly y: number;
430
+ readonly z: number;
431
+ };
432
+ readonly rotation: {
433
+ readonly _tag: "Vec3";
434
+ readonly x: number;
435
+ readonly y: number;
436
+ readonly z: number;
437
+ };
438
+ readonly scale: {
439
+ readonly _tag: "Vec3";
440
+ readonly x: number;
441
+ readonly y: number;
442
+ readonly z: number;
443
+ };
406
444
  readonly opacity: number;
407
445
  readonly visible: boolean;
408
446
  readonly fillColor: Color.Color;
409
447
  readonly text: string;
410
448
  readonly fontSize: number;
411
- readonly fontFamily: import("effect/Schema").Struct.ReadonlySide<{
412
- readonly _tag: import("effect/Schema").tag<"effect-motion/Resources/Font">;
413
- readonly id: import("effect/Schema").String;
414
- }, "Type">;
449
+ readonly fontFamily: {
450
+ readonly _tag: "effect-motion/Resources/Font";
451
+ readonly id: string;
452
+ };
415
453
  readonly textAnchor?: "end" | "middle" | "start";
416
454
  readonly baseline?: "auto" | "hanging" | "middle";
417
455
  }) => Effect.Effect<Instance.Instance<"Camera" | "Circle" | "Ellipse" | "Group" | "Hud" | "Image" | "Line" | "Path" | "Rect" | "Text">, never, never>;
@@ -471,260 +509,298 @@ declare const Runner_base: Context.ServiceClass<Runner, "Runner", {
471
509
  * ambient parent like any instance. Delete with the particles
472
510
  * rewrite; see `particlesEscapeInstantiate`.
473
511
  */
474
- instantiateEscape: (state: import("effect/Schema").Struct.ReadonlySide<{
475
- readonly _tag: import("effect/Schema").tag<"Camera">;
476
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
477
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
478
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
479
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
480
- }>>;
481
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
482
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
483
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
484
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
485
- }>>;
486
- readonly focalLength: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
487
- readonly focusDistance: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
488
- readonly aperture: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
489
- readonly poi: import("effect/Schema").withConstructorDefault<import("effect/Schema").NullOr<import("effect/Schema").TaggedStruct<"Vec3", {
490
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
491
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
492
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
493
- }>>>;
494
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
495
- readonly _tag: import("effect/Schema").tag<"Circle">;
496
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
497
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
498
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
499
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
500
- }>>;
501
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
502
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
503
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
504
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
505
- }>>;
506
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
507
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
508
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
509
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
510
- }>>;
511
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
512
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
513
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
514
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
515
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
516
- readonly radius: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
517
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
518
- readonly _tag: import("effect/Schema").tag<"Ellipse">;
519
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
520
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
521
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
522
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
523
- }>>;
524
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
525
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
526
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
527
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
528
- }>>;
529
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
530
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
531
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
532
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
533
- }>>;
534
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
535
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
536
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
537
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
538
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
539
- readonly radiusX: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
540
- readonly radiusY: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
541
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
542
- readonly _tag: import("effect/Schema").tag<"Group">;
543
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
544
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
545
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
546
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
547
- }>>;
548
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
549
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
550
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
551
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
552
- }>>;
553
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
554
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
555
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
556
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
557
- }>>;
558
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
559
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
560
- readonly children: import("effect/Schema").withConstructorDefault<import("effect/Schema").$Array<import("effect/Schema").String>>;
561
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
562
- readonly _tag: import("effect/Schema").tag<"Hud">;
563
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
564
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
565
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
566
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
567
- }>>;
568
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
569
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
570
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
571
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
572
- }>>;
573
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
574
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
575
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
576
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
577
- }>>;
578
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
579
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
580
- readonly children: import("effect/Schema").withConstructorDefault<import("effect/Schema").$Array<import("effect/Schema").String>>;
581
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
582
- readonly _tag: import("effect/Schema").tag<"Line">;
583
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
584
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
585
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
586
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
587
- }>>;
588
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
589
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
590
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
591
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
592
- }>>;
593
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
594
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
595
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
596
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
597
- }>>;
598
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
599
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
600
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
601
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
602
- readonly start: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
603
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
604
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
605
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
606
- }>>;
607
- readonly end: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
608
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
609
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
610
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
611
- }>>;
612
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
613
- readonly _tag: import("effect/Schema").tag<"Path">;
614
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
615
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
616
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
617
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
618
- }>>;
619
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
620
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
621
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
622
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
623
- }>>;
624
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
625
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
626
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
627
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
628
- }>>;
629
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
630
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
631
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
632
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
633
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
634
- readonly commands: import("effect/Schema").NonEmptyArray<import("effect/Schema").TaggedUnion<{
635
- readonly L: import("effect/Schema").TaggedStruct<"L", {
636
- x: import("effect/Schema").Number;
637
- y: import("effect/Schema").Number;
638
- z: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
639
- }>;
640
- readonly M: import("effect/Schema").TaggedStruct<"M", {
641
- x: import("effect/Schema").Number;
642
- y: import("effect/Schema").Number;
643
- z: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
644
- }>;
645
- readonly Z: import("effect/Schema").TaggedStruct<"Z", {}>;
646
- }>>;
647
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
648
- readonly _tag: import("effect/Schema").tag<"Rect">;
649
- readonly position: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
650
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
651
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
652
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
653
- }>>;
654
- readonly rotation: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
655
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
656
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
657
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
658
- }>>;
659
- readonly scale: import("effect/Schema").withConstructorDefault<import("effect/Schema").TaggedStruct<"Vec3", {
660
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
661
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
662
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
663
- }>>;
664
- readonly opacity: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
665
- readonly visible: import("effect/Schema").withConstructorDefault<import("effect/Schema").Boolean>;
666
- readonly strokeWidth: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
667
- readonly strokeColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
668
- readonly fillColor: import("effect/Schema").withConstructorDefault<typeof Color.Color>;
669
- readonly width: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
670
- readonly height: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
671
- }, "Type"> | {
512
+ instantiateEscape: (state: {
513
+ readonly _tag: "Camera";
514
+ readonly position: {
515
+ readonly _tag: "Vec3";
516
+ readonly x: number;
517
+ readonly y: number;
518
+ readonly z: number;
519
+ };
520
+ readonly rotation: {
521
+ readonly _tag: "Vec3";
522
+ readonly x: number;
523
+ readonly y: number;
524
+ readonly z: number;
525
+ };
526
+ readonly focalLength: number;
527
+ readonly focusDistance: number;
528
+ readonly aperture: number;
529
+ readonly poi: {
530
+ readonly _tag: "Vec3";
531
+ readonly x: number;
532
+ readonly y: number;
533
+ readonly z: number;
534
+ } | null;
535
+ } | {
536
+ readonly _tag: "Circle";
537
+ readonly position: {
538
+ readonly _tag: "Vec3";
539
+ readonly x: number;
540
+ readonly y: number;
541
+ readonly z: number;
542
+ };
543
+ readonly rotation: {
544
+ readonly _tag: "Vec3";
545
+ readonly x: number;
546
+ readonly y: number;
547
+ readonly z: number;
548
+ };
549
+ readonly scale: {
550
+ readonly _tag: "Vec3";
551
+ readonly x: number;
552
+ readonly y: number;
553
+ readonly z: number;
554
+ };
555
+ readonly opacity: number;
556
+ readonly visible: boolean;
557
+ readonly strokeWidth: number;
558
+ readonly strokeColor: Color.Color;
559
+ readonly fillColor: Color.Color;
560
+ readonly radius: number;
561
+ } | {
562
+ readonly _tag: "Ellipse";
563
+ readonly position: {
564
+ readonly _tag: "Vec3";
565
+ readonly x: number;
566
+ readonly y: number;
567
+ readonly z: number;
568
+ };
569
+ readonly rotation: {
570
+ readonly _tag: "Vec3";
571
+ readonly x: number;
572
+ readonly y: number;
573
+ readonly z: number;
574
+ };
575
+ readonly scale: {
576
+ readonly _tag: "Vec3";
577
+ readonly x: number;
578
+ readonly y: number;
579
+ readonly z: number;
580
+ };
581
+ readonly opacity: number;
582
+ readonly visible: boolean;
583
+ readonly strokeWidth: number;
584
+ readonly strokeColor: Color.Color;
585
+ readonly fillColor: Color.Color;
586
+ readonly radiusX: number;
587
+ readonly radiusY: number;
588
+ } | {
589
+ readonly _tag: "Group";
590
+ readonly position: {
591
+ readonly _tag: "Vec3";
592
+ readonly x: number;
593
+ readonly y: number;
594
+ readonly z: number;
595
+ };
596
+ readonly rotation: {
597
+ readonly _tag: "Vec3";
598
+ readonly x: number;
599
+ readonly y: number;
600
+ readonly z: number;
601
+ };
602
+ readonly scale: {
603
+ readonly _tag: "Vec3";
604
+ readonly x: number;
605
+ readonly y: number;
606
+ readonly z: number;
607
+ };
608
+ readonly opacity: number;
609
+ readonly visible: boolean;
610
+ readonly children: readonly string[];
611
+ } | {
612
+ readonly _tag: "Hud";
613
+ readonly position: {
614
+ readonly _tag: "Vec3";
615
+ readonly x: number;
616
+ readonly y: number;
617
+ readonly z: number;
618
+ };
619
+ readonly rotation: {
620
+ readonly _tag: "Vec3";
621
+ readonly x: number;
622
+ readonly y: number;
623
+ readonly z: number;
624
+ };
625
+ readonly scale: {
626
+ readonly _tag: "Vec3";
627
+ readonly x: number;
628
+ readonly y: number;
629
+ readonly z: number;
630
+ };
631
+ readonly opacity: number;
632
+ readonly visible: boolean;
633
+ readonly children: readonly string[];
634
+ } | {
672
635
  readonly _tag: "Image";
673
- readonly position: import("effect/Schema").Struct.ReadonlySide<{
674
- readonly _tag: import("effect/Schema").tag<"Vec3">;
675
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
676
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
677
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
678
- }, "Type">;
679
- readonly rotation: import("effect/Schema").Struct.ReadonlySide<{
680
- readonly _tag: import("effect/Schema").tag<"Vec3">;
681
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
682
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
683
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
684
- }, "Type">;
685
- readonly scale: import("effect/Schema").Struct.ReadonlySide<{
686
- readonly _tag: import("effect/Schema").tag<"Vec3">;
687
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
688
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
689
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
690
- }, "Type">;
636
+ readonly position: {
637
+ readonly _tag: "Vec3";
638
+ readonly x: number;
639
+ readonly y: number;
640
+ readonly z: number;
641
+ };
642
+ readonly rotation: {
643
+ readonly _tag: "Vec3";
644
+ readonly x: number;
645
+ readonly y: number;
646
+ readonly z: number;
647
+ };
648
+ readonly scale: {
649
+ readonly _tag: "Vec3";
650
+ readonly x: number;
651
+ readonly y: number;
652
+ readonly z: number;
653
+ };
691
654
  readonly opacity: number;
692
655
  readonly visible: boolean;
693
- readonly image: import("effect/Schema").Struct.ReadonlySide<{
694
- readonly _tag: import("effect/Schema").tag<"effect-motion/Resources/Image">;
695
- readonly id: import("effect/Schema").String;
696
- }, "Type">;
656
+ readonly image: {
657
+ readonly _tag: "effect-motion/Resources/Image";
658
+ readonly id: string;
659
+ };
697
660
  readonly width?: number;
698
661
  readonly height?: number;
662
+ } | {
663
+ readonly _tag: "Line";
664
+ readonly position: {
665
+ readonly _tag: "Vec3";
666
+ readonly x: number;
667
+ readonly y: number;
668
+ readonly z: number;
669
+ };
670
+ readonly rotation: {
671
+ readonly _tag: "Vec3";
672
+ readonly x: number;
673
+ readonly y: number;
674
+ readonly z: number;
675
+ };
676
+ readonly scale: {
677
+ readonly _tag: "Vec3";
678
+ readonly x: number;
679
+ readonly y: number;
680
+ readonly z: number;
681
+ };
682
+ readonly opacity: number;
683
+ readonly visible: boolean;
684
+ readonly strokeWidth: number;
685
+ readonly strokeColor: Color.Color;
686
+ readonly start: {
687
+ readonly _tag: "Vec3";
688
+ readonly x: number;
689
+ readonly y: number;
690
+ readonly z: number;
691
+ };
692
+ readonly end: {
693
+ readonly _tag: "Vec3";
694
+ readonly x: number;
695
+ readonly y: number;
696
+ readonly z: number;
697
+ };
698
+ } | {
699
+ readonly _tag: "Path";
700
+ readonly position: {
701
+ readonly _tag: "Vec3";
702
+ readonly x: number;
703
+ readonly y: number;
704
+ readonly z: number;
705
+ };
706
+ readonly rotation: {
707
+ readonly _tag: "Vec3";
708
+ readonly x: number;
709
+ readonly y: number;
710
+ readonly z: number;
711
+ };
712
+ readonly scale: {
713
+ readonly _tag: "Vec3";
714
+ readonly x: number;
715
+ readonly y: number;
716
+ readonly z: number;
717
+ };
718
+ readonly opacity: number;
719
+ readonly visible: boolean;
720
+ readonly strokeWidth: number;
721
+ readonly strokeColor: Color.Color;
722
+ readonly fillColor: Color.Color;
723
+ readonly commands: readonly [{
724
+ readonly _tag: "L";
725
+ readonly x: number;
726
+ readonly y: number;
727
+ readonly z?: number;
728
+ } | {
729
+ readonly _tag: "M";
730
+ readonly x: number;
731
+ readonly y: number;
732
+ readonly z?: number;
733
+ } | {
734
+ readonly _tag: "Z";
735
+ }, ...({
736
+ readonly _tag: "L";
737
+ readonly x: number;
738
+ readonly y: number;
739
+ readonly z?: number;
740
+ } | {
741
+ readonly _tag: "M";
742
+ readonly x: number;
743
+ readonly y: number;
744
+ readonly z?: number;
745
+ } | {
746
+ readonly _tag: "Z";
747
+ })[]];
748
+ } | {
749
+ readonly _tag: "Rect";
750
+ readonly position: {
751
+ readonly _tag: "Vec3";
752
+ readonly x: number;
753
+ readonly y: number;
754
+ readonly z: number;
755
+ };
756
+ readonly rotation: {
757
+ readonly _tag: "Vec3";
758
+ readonly x: number;
759
+ readonly y: number;
760
+ readonly z: number;
761
+ };
762
+ readonly scale: {
763
+ readonly _tag: "Vec3";
764
+ readonly x: number;
765
+ readonly y: number;
766
+ readonly z: number;
767
+ };
768
+ readonly opacity: number;
769
+ readonly visible: boolean;
770
+ readonly strokeWidth: number;
771
+ readonly strokeColor: Color.Color;
772
+ readonly fillColor: Color.Color;
773
+ readonly width: number;
774
+ readonly height: number;
699
775
  } | {
700
776
  readonly _tag: "Text";
701
- readonly position: import("effect/Schema").Struct.ReadonlySide<{
702
- readonly _tag: import("effect/Schema").tag<"Vec3">;
703
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
704
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
705
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
706
- }, "Type">;
707
- readonly rotation: import("effect/Schema").Struct.ReadonlySide<{
708
- readonly _tag: import("effect/Schema").tag<"Vec3">;
709
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
710
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
711
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
712
- }, "Type">;
713
- readonly scale: import("effect/Schema").Struct.ReadonlySide<{
714
- readonly _tag: import("effect/Schema").tag<"Vec3">;
715
- readonly x: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
716
- readonly y: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
717
- readonly z: import("effect/Schema").withConstructorDefault<import("effect/Schema").Number>;
718
- }, "Type">;
777
+ readonly position: {
778
+ readonly _tag: "Vec3";
779
+ readonly x: number;
780
+ readonly y: number;
781
+ readonly z: number;
782
+ };
783
+ readonly rotation: {
784
+ readonly _tag: "Vec3";
785
+ readonly x: number;
786
+ readonly y: number;
787
+ readonly z: number;
788
+ };
789
+ readonly scale: {
790
+ readonly _tag: "Vec3";
791
+ readonly x: number;
792
+ readonly y: number;
793
+ readonly z: number;
794
+ };
719
795
  readonly opacity: number;
720
796
  readonly visible: boolean;
721
797
  readonly fillColor: Color.Color;
722
798
  readonly text: string;
723
799
  readonly fontSize: number;
724
- readonly fontFamily: import("effect/Schema").Struct.ReadonlySide<{
725
- readonly _tag: import("effect/Schema").tag<"effect-motion/Resources/Font">;
726
- readonly id: import("effect/Schema").String;
727
- }, "Type">;
800
+ readonly fontFamily: {
801
+ readonly _tag: "effect-motion/Resources/Font";
802
+ readonly id: string;
803
+ };
728
804
  readonly textAnchor?: "end" | "middle" | "start";
729
805
  readonly baseline?: "auto" | "hanging" | "middle";
730
806
  }) => Effect.Effect<Instance.Instance<"Camera" | "Circle" | "Ellipse" | "Group" | "Hud" | "Image" | "Line" | "Path" | "Rect" | "Text">, never, never>;