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/README.md +1 -1
- package/dist/Entity.d.ts +19 -9
- package/dist/Entity.js +13 -3
- package/dist/Projection.d.ts +7 -8
- package/dist/Runner.d.ts +560 -484
- package/dist/particles/ParticleField.d.ts +36 -36
- package/package.json +58 -58
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:
|
|
162
|
-
readonly _tag:
|
|
163
|
-
readonly position:
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
readonly
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
readonly x:
|
|
195
|
-
readonly y:
|
|
196
|
-
readonly z:
|
|
197
|
-
}
|
|
198
|
-
readonly
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
readonly
|
|
206
|
-
readonly
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
readonly
|
|
212
|
-
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
readonly
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
readonly
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
readonly
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
readonly
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
readonly x:
|
|
242
|
-
readonly y:
|
|
243
|
-
readonly z:
|
|
244
|
-
}
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
readonly
|
|
253
|
-
readonly
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
readonly
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
readonly
|
|
272
|
-
readonly
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
readonly x:
|
|
277
|
-
readonly y:
|
|
278
|
-
readonly z:
|
|
279
|
-
}
|
|
280
|
-
readonly
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
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:
|
|
361
|
-
readonly _tag:
|
|
362
|
-
readonly x:
|
|
363
|
-
readonly y:
|
|
364
|
-
readonly z:
|
|
365
|
-
}
|
|
366
|
-
readonly rotation:
|
|
367
|
-
readonly _tag:
|
|
368
|
-
readonly x:
|
|
369
|
-
readonly y:
|
|
370
|
-
readonly z:
|
|
371
|
-
}
|
|
372
|
-
readonly scale:
|
|
373
|
-
readonly _tag:
|
|
374
|
-
readonly x:
|
|
375
|
-
readonly y:
|
|
376
|
-
readonly z:
|
|
377
|
-
}
|
|
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:
|
|
381
|
-
readonly _tag:
|
|
382
|
-
readonly id:
|
|
383
|
-
}
|
|
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:
|
|
389
|
-
readonly _tag:
|
|
390
|
-
readonly x:
|
|
391
|
-
readonly y:
|
|
392
|
-
readonly z:
|
|
393
|
-
}
|
|
394
|
-
readonly rotation:
|
|
395
|
-
readonly _tag:
|
|
396
|
-
readonly x:
|
|
397
|
-
readonly y:
|
|
398
|
-
readonly z:
|
|
399
|
-
}
|
|
400
|
-
readonly scale:
|
|
401
|
-
readonly _tag:
|
|
402
|
-
readonly x:
|
|
403
|
-
readonly y:
|
|
404
|
-
readonly z:
|
|
405
|
-
}
|
|
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:
|
|
412
|
-
readonly _tag:
|
|
413
|
-
readonly id:
|
|
414
|
-
}
|
|
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:
|
|
475
|
-
readonly _tag:
|
|
476
|
-
readonly position:
|
|
477
|
-
readonly
|
|
478
|
-
readonly
|
|
479
|
-
readonly
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
readonly
|
|
489
|
-
readonly
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
readonly
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
readonly
|
|
503
|
-
readonly
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
readonly x:
|
|
508
|
-
readonly y:
|
|
509
|
-
readonly z:
|
|
510
|
-
}
|
|
511
|
-
readonly
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
readonly
|
|
519
|
-
readonly
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
readonly
|
|
525
|
-
|
|
526
|
-
readonly
|
|
527
|
-
readonly
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
readonly
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
readonly
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
readonly
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
readonly
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
readonly x:
|
|
555
|
-
readonly y:
|
|
556
|
-
readonly z:
|
|
557
|
-
}
|
|
558
|
-
readonly
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
readonly
|
|
566
|
-
readonly
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
readonly
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
readonly
|
|
585
|
-
readonly
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
readonly x:
|
|
590
|
-
readonly y:
|
|
591
|
-
readonly z:
|
|
592
|
-
}
|
|
593
|
-
readonly
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
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:
|
|
674
|
-
readonly _tag:
|
|
675
|
-
readonly x:
|
|
676
|
-
readonly y:
|
|
677
|
-
readonly z:
|
|
678
|
-
}
|
|
679
|
-
readonly rotation:
|
|
680
|
-
readonly _tag:
|
|
681
|
-
readonly x:
|
|
682
|
-
readonly y:
|
|
683
|
-
readonly z:
|
|
684
|
-
}
|
|
685
|
-
readonly scale:
|
|
686
|
-
readonly _tag:
|
|
687
|
-
readonly x:
|
|
688
|
-
readonly y:
|
|
689
|
-
readonly z:
|
|
690
|
-
}
|
|
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:
|
|
694
|
-
readonly _tag:
|
|
695
|
-
readonly id:
|
|
696
|
-
}
|
|
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:
|
|
702
|
-
readonly _tag:
|
|
703
|
-
readonly x:
|
|
704
|
-
readonly y:
|
|
705
|
-
readonly z:
|
|
706
|
-
}
|
|
707
|
-
readonly rotation:
|
|
708
|
-
readonly _tag:
|
|
709
|
-
readonly x:
|
|
710
|
-
readonly y:
|
|
711
|
-
readonly z:
|
|
712
|
-
}
|
|
713
|
-
readonly scale:
|
|
714
|
-
readonly _tag:
|
|
715
|
-
readonly x:
|
|
716
|
-
readonly y:
|
|
717
|
-
readonly z:
|
|
718
|
-
}
|
|
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:
|
|
725
|
-
readonly _tag:
|
|
726
|
-
readonly id:
|
|
727
|
-
}
|
|
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>;
|