@ignifx/editor-host 0.15.0 → 0.16.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.
@@ -0,0 +1,77 @@
1
+ import { EDITOR_ONLY_METADATA_KEY } from "@ignifx/core";
2
+ import { addToScene, createLineSystem, disposeMeshGpu, removeFromScene } from "@babylonjs/lite";
3
+ //#region src/lite/editor-lines.ts
4
+ /**
5
+ * The editor's own lines over the scene view (`setEditorLines`): collider outlines, 2D collider
6
+ * handles. Each set is one Lite line system in core's render overlay, so it draws over the frame in
7
+ * both view modes. Every Lite claim here was read from the pinned `@babylonjs/lite` 1.34
8
+ * `index.d.ts` (`createLineSystem`, `LineSystemOptions`).
9
+ *
10
+ * The host loads this module with `import()` once a scene view has a canvas, so it stays out of the
11
+ * host's first chunk (`CONSTITUTION.md` §2.5).
12
+ */
13
+ /**
14
+ * Builds the line sets of one scene view, in the render overlay.
15
+ *
16
+ * @remarks
17
+ * No mesh is pickable or belongs to an entity, so no pick, selection or `readBack` reaches it, and
18
+ * each carries core's `EDITOR_ONLY_METADATA_KEY`, so no render texture (the game view) draws it.
19
+ *
20
+ * @param handles - The app's Lite engine (`app.lite`).
21
+ * @param overlay - The view's open render overlay; the lines do not own it.
22
+ * @returns The line sets, empty.
23
+ */
24
+ function createEditorLines(handles, overlay) {
25
+ const { engine } = handles;
26
+ const scene = overlay.lite.scene;
27
+ const meshes = /* @__PURE__ */ new Map();
28
+ const remove = (id) => {
29
+ const mesh = meshes.get(id);
30
+ if (mesh !== void 0) {
31
+ removeFromScene(scene, mesh);
32
+ disposeMeshGpu(mesh);
33
+ meshes.delete(id);
34
+ }
35
+ };
36
+ const clear = (id) => {
37
+ for (const key of id === null ? [...meshes.keys()] : [id]) remove(key);
38
+ };
39
+ return {
40
+ set(id, lines, color) {
41
+ remove(id);
42
+ const segments = [];
43
+ for (let at = 0; at + 5 < lines.length; at += 6) segments.push([{
44
+ x: lines[at] ?? 0,
45
+ y: lines[at + 1] ?? 0,
46
+ z: lines[at + 2] ?? 0
47
+ }, {
48
+ x: lines[at + 3] ?? 0,
49
+ y: lines[at + 4] ?? 0,
50
+ z: lines[at + 5] ?? 0
51
+ }]);
52
+ if (segments.length === 0) return;
53
+ const mesh = createLineSystem(engine, {
54
+ name: `ignifx-editor-lines:${id}`,
55
+ lines: segments,
56
+ color,
57
+ useVertexAlpha: color.a < 1
58
+ });
59
+ mesh.pickable = false;
60
+ mesh.receiveShadows = false;
61
+ mesh.metadata = {
62
+ ...mesh.metadata,
63
+ [EDITOR_ONLY_METADATA_KEY]: true
64
+ };
65
+ addToScene(scene, mesh);
66
+ meshes.set(id, mesh);
67
+ },
68
+ clear,
69
+ dispose() {
70
+ clear(null);
71
+ }
72
+ };
73
+ }
74
+ //#endregion
75
+ export { createEditorLines };
76
+
77
+ //# sourceMappingURL=editor-lines.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-lines.js","names":[],"sources":["../src/lite/editor-lines.ts"],"sourcesContent":["/**\n * The editor's own lines over the scene view (`setEditorLines`): collider outlines, 2D collider\n * handles. Each set is one Lite line system in core's render overlay, so it draws over the frame in\n * both view modes. Every Lite claim here was read from the pinned `@babylonjs/lite` 1.34\n * `index.d.ts` (`createLineSystem`, `LineSystemOptions`).\n *\n * The host loads this module with `import()` once a scene view has a canvas, so it stays out of the\n * host's first chunk (`CONSTITUTION.md` §2.5).\n */\n\nimport { addToScene, createLineSystem, disposeMeshGpu, removeFromScene } from \"@babylonjs/lite\";\nimport { EDITOR_ONLY_METADATA_KEY } from \"@ignifx/core\";\nimport type { Mesh, SceneContext, Vec3 } from \"@babylonjs/lite\";\nimport type { AppLiteHandles, RenderOverlay } from \"@ignifx/core\";\n\n/** A colour, each channel `0..1`. */\nexport interface LineColor {\n /** Red. */\n readonly r: number;\n /** Green. */\n readonly g: number;\n /** Blue. */\n readonly b: number;\n /** Opacity. */\n readonly a: number;\n}\n\n/** The editor's line sets of one scene view. */\nexport interface EditorLinesView {\n /**\n * Draws a set, replacing the one of the same id.\n *\n * @param id - The set's id.\n * @param lines - Six numbers a segment: the `x, y, z` of both ends, in world metres.\n * @param color - The set's colour.\n */\n set(id: string, lines: readonly number[], color: LineColor): void;\n /**\n * Removes a set, or every set.\n *\n * @param id - The set's id, or `null` for all.\n */\n clear(id: string | null): void;\n /** Removes every set's mesh and releases its GPU resources. */\n dispose(): void;\n}\n\n/**\n * Builds the line sets of one scene view, in the render overlay.\n *\n * @remarks\n * No mesh is pickable or belongs to an entity, so no pick, selection or `readBack` reaches it, and\n * each carries core's `EDITOR_ONLY_METADATA_KEY`, so no render texture (the game view) draws it.\n *\n * @param handles - The app's Lite engine (`app.lite`).\n * @param overlay - The view's open render overlay; the lines do not own it.\n * @returns The line sets, empty.\n */\nexport function createEditorLines(handles: AppLiteHandles, overlay: RenderOverlay): EditorLinesView {\n const { engine } = handles;\n const scene: SceneContext = overlay.lite.scene;\n const meshes = new Map<string, Mesh>();\n\n const remove = (id: string): void => {\n const mesh = meshes.get(id);\n if (mesh !== undefined) {\n removeFromScene(scene, mesh);\n disposeMeshGpu(mesh);\n meshes.delete(id);\n }\n };\n\n const clear = (id: string | null): void => {\n for (const key of id === null ? [...meshes.keys()] : [id]) {\n remove(key);\n }\n };\n\n return {\n set(id: string, lines: readonly number[], color: LineColor): void {\n remove(id);\n const segments: (readonly Vec3[])[] = [];\n for (let at = 0; at + 5 < lines.length; at += 6) {\n segments.push([\n { x: lines[at] ?? 0, y: lines[at + 1] ?? 0, z: lines[at + 2] ?? 0 },\n { x: lines[at + 3] ?? 0, y: lines[at + 4] ?? 0, z: lines[at + 5] ?? 0 },\n ]);\n }\n if (segments.length === 0) {\n return;\n }\n const mesh = createLineSystem(engine, {\n name: `ignifx-editor-lines:${id}`,\n lines: segments,\n color,\n useVertexAlpha: color.a < 1,\n });\n mesh.pickable = false;\n mesh.receiveShadows = false;\n // Drawn in the scene view only, never in a render texture such as the Game panel's view.\n mesh.metadata = { ...mesh.metadata, [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,IAAI;EACrB;EACA;EACA,UAAgB;GACd,MAAM,IAAI;EACZ;CACF;AACF"}
package/dist/index.d.ts CHANGED
@@ -301,8 +301,9 @@ export type HostKind = (typeof HostKind)[keyof typeof HostKind];
301
301
  * The play controls send `"heartbeat"`, `"playControls"`, `"logRelay"` and `"queryRuntime"`, plus
302
302
  * `"screenshot"` when the game has a canvas and `"sendInput"` when it has `app.input`. The scene
303
303
  * host sends `"heartbeat"` and whichever of `"gizmos"`, `"screenshot"`, `"viewMode2d"`,
304
- * `"pick2d"`, `"gameView"`, `"thumbnails"` and `"grid"` it supports; every `SceneMethod` not tied
305
- * to one of them is required of a 0.3 scene host.
304
+ * `"pick2d"`, `"gameView"`, `"thumbnails"`, `"grid"`, `"tilemapCells"`, `"editorLines"` and
305
+ * `"spriteAnimation"` it supports; every `SceneMethod` not tied to one of them is required of a
306
+ * 0.3 scene host.
306
307
  *
307
308
  * @public
308
309
  */
@@ -376,6 +377,26 @@ export declare const HostCapability: {
376
377
  * `RpcErrorCode.methodNotFound`.
377
378
  */
378
379
  readonly grid: "grid";
380
+ /**
381
+ * The scene host answers `setTilemapCells`: it writes cells into the open scene's live tilemaps,
382
+ * so a tilemap editor's painting shows without a save. Additive in 0.3; without it, the scene
383
+ * host answers `setTilemapCells` with `RpcErrorCode.methodNotFound`.
384
+ */
385
+ readonly tilemapCells: "tilemapCells";
386
+ /**
387
+ * The scene host answers `setEditorLines` and `clearEditorLines`: it draws the editor's own line
388
+ * segments (collider outlines, handles) over the view in both view modes, never in a game view or
389
+ * the play view. Additive in 0.3; without it, the scene host answers both with
390
+ * `RpcErrorCode.methodNotFound`.
391
+ */
392
+ readonly editorLines: "editorLines";
393
+ /**
394
+ * The scene host answers `sampleSpriteAnimation`: one frame of a clip on an entity's
395
+ * `SpriteAnimator` (`@ignifx/2d`), for the editor's sprite animation panel. From engine ask E51
396
+ * (additive in 0.3); without it, the scene host answers `sampleSpriteAnimation` with
397
+ * `RpcErrorCode.methodNotFound`.
398
+ */
399
+ readonly spriteAnimation: "spriteAnimation";
379
400
  };
380
401
  /**
381
402
  * The union of the names in `HostCapability`.
@@ -1117,11 +1138,34 @@ export declare const SceneMethod: {
1117
1138
  * `RpcErrorCode.methodNotFound`. Additive in 0.3.
1118
1139
  */
1119
1140
  readonly sampleAnimation: "sampleAnimation";
1141
+ /**
1142
+ * Shows one frame of a clip on an entity's `SpriteAnimator` without playing it (engine ask E51).
1143
+ * Needs `HostCapability.spriteAnimation`. Answers {@link SampleSpriteAnimationResult}. A host from
1144
+ * before it answers `RpcErrorCode.methodNotFound`. Additive in 0.3.
1145
+ */
1146
+ readonly sampleSpriteAnimation: "sampleSpriteAnimation";
1120
1147
  /**
1121
1148
  * Shows or hides the view's grid and sets its spacing (engine ask E31). Needs
1122
1149
  * `HostCapability.grid`. Answers `null`. Additive in 0.3.
1123
1150
  */
1124
1151
  readonly setGrid: "setGrid";
1152
+ /**
1153
+ * Writes cells of a tilemap asset into every live `Tilemap` of the open scene that shows it, so
1154
+ * painting is seen at once, without a save or a reopen. The file on disk is not touched. Needs
1155
+ * `HostCapability.tilemapCells`. Answers {@link SetTilemapCellsResult}. Additive in 0.3.
1156
+ */
1157
+ readonly setTilemapCells: "setTilemapCells";
1158
+ /**
1159
+ * Draws a set of world-space line segments over the view, such as collider outlines or handles,
1160
+ * replacing the set of the same id. Needs `HostCapability.editorLines`. Answers `null`. Additive
1161
+ * in 0.3.
1162
+ */
1163
+ readonly setEditorLines: "setEditorLines";
1164
+ /**
1165
+ * Removes one set of lines `setEditorLines` drew, or every set. Needs `HostCapability.editorLines`.
1166
+ * Answers `null`. Additive in 0.3.
1167
+ */
1168
+ readonly clearEditorLines: "clearEditorLines";
1125
1169
  };
1126
1170
  /**
1127
1171
  * The union of the names in `SceneMethod`.
@@ -1799,6 +1843,92 @@ interface SetGridParams {
1799
1843
  */
1800
1844
  readonly size?: number;
1801
1845
  }
1846
+ /**
1847
+ * The most numbers the `cells` of one `setTilemapCells` request may hold: a million cells. A request
1848
+ * with more fails with `invalidParams`.
1849
+ *
1850
+ * @public
1851
+ */
1852
+ export declare const TILEMAP_CELLS_MAX_NUMBERS = 2e6;
1853
+ /**
1854
+ * The parameters of `setTilemapCells`.
1855
+ *
1856
+ * @public
1857
+ */
1858
+ interface SetTilemapCellsParams {
1859
+ /**
1860
+ * The tilemap document's asset address, as a `Tilemap`'s `map` reference names it
1861
+ * (`"levels/level-1.tilemap.json"`). Every `Tilemap` of the open scene loaded from it is written.
1862
+ */
1863
+ readonly asset: string;
1864
+ /** The layer: its name in the document, or its index (`0` at the back). */
1865
+ readonly layer: string | number;
1866
+ /**
1867
+ * Flat `[index, tile, index, tile, …]` pairs, in the file's order: `index` is row-major with the
1868
+ * **top** row first, as the document's `tiles` array, and `tile` a global tile id, `0` to clear.
1869
+ * Applied in order, so a cell named twice ends with the later tile. At most
1870
+ * {@link TILEMAP_CELLS_MAX_NUMBERS} numbers.
1871
+ */
1872
+ readonly cells: readonly number[];
1873
+ }
1874
+ /**
1875
+ * The answer to `setTilemapCells`.
1876
+ *
1877
+ * @public
1878
+ */
1879
+ interface SetTilemapCellsResult {
1880
+ /**
1881
+ * How many live `Tilemap`s were written: those of the open scene whose `map` is the asset and has
1882
+ * loaded. `0` when none shows it yet, which is not an error.
1883
+ */
1884
+ readonly tilemaps: number;
1885
+ /** How many cell writes changed a tile, summed over those tilemaps. */
1886
+ readonly changed: number;
1887
+ }
1888
+ /**
1889
+ * The most numbers the `lines` of one `setEditorLines` request may hold: 100 000 segments.
1890
+ *
1891
+ * @public
1892
+ */
1893
+ export declare const EDITOR_LINES_MAX_NUMBERS = 6e5;
1894
+ /**
1895
+ * The most line sets the view draws at once; a `setEditorLines` for a new id past it fails with
1896
+ * `invalidParams`.
1897
+ *
1898
+ * @public
1899
+ */
1900
+ export declare const EDITOR_LINES_MAX_SETS = 64;
1901
+ /**
1902
+ * The longest line set id, in UTF-16 code units.
1903
+ *
1904
+ * @public
1905
+ */
1906
+ export declare const EDITOR_LINES_MAX_ID_LENGTH = 256;
1907
+ /**
1908
+ * The parameters of `setEditorLines`.
1909
+ *
1910
+ * @public
1911
+ */
1912
+ interface SetEditorLinesParams {
1913
+ /** The set's id, chosen by the editor (`"collider-outlines"`); a later call with it replaces the set. */
1914
+ readonly id: string;
1915
+ /**
1916
+ * World-space segments in metres: every six numbers are one segment, the `x, y, z` of its two
1917
+ * ends, as `getColliderOutlines` answers them. Empty draws nothing but keeps the id.
1918
+ */
1919
+ readonly lines: readonly number[];
1920
+ /** The colour, `[r, g, b]` or `[r, g, b, a]` from 0 to 1. Defaults to a light green. */
1921
+ readonly color?: readonly number[];
1922
+ }
1923
+ /**
1924
+ * The parameters of `clearEditorLines`.
1925
+ *
1926
+ * @public
1927
+ */
1928
+ interface ClearEditorLinesParams {
1929
+ /** The set to remove; left out, every set is removed. An unknown id is not an error. */
1930
+ readonly id?: string;
1931
+ }
1802
1932
  /**
1803
1933
  * One collider's outline in the answer to `getColliderOutlines`.
1804
1934
  *
@@ -1877,6 +2007,44 @@ interface SampleAnimationResult {
1877
2007
  */
1878
2008
  readonly posed: boolean;
1879
2009
  }
2010
+ /**
2011
+ * The parameters of `sampleSpriteAnimation`.
2012
+ *
2013
+ * @remarks
2014
+ * The host calls `@ignifx/2d`'s `SpriteAnimator.sample(clip, frame)` or
2015
+ * `SpriteAnimator.sampleTime(clip, time)` on the entity's `SpriteAnimator`, which writes the frame
2016
+ * onto the entity's `SpriteRenderer` and stops playback there. Exactly one of `frame` and `time` is
2017
+ * given. A frame outside the clip is clamped to it; a time past the clip's end wraps a looping clip
2018
+ * and holds a one-shot clip on its last frame, at the animator's `speed`. In an edit-mode scene view
2019
+ * the frame stays until the next sample or document change. The clip name is at most
2020
+ * {@link SAMPLE_ANIMATION_MAX_NAME_LENGTH} long. An entity the open scene lacks, or one without a
2021
+ * `SpriteAnimator`, is refused with `RpcErrorCode.invalidParams`, and so is a clip the document does
2022
+ * not declare, with the engine's code (`IGX-1108`) as `data.code`.
2023
+ *
2024
+ * @public
2025
+ */
2026
+ interface SampleSpriteAnimationParams {
2027
+ /** The uid of the document entity whose `SpriteAnimator` is posed. */
2028
+ readonly entity: string;
2029
+ /** The clip's name in the `.spriteanim.json` document. */
2030
+ readonly clip: string;
2031
+ /** The frame within the clip, counting from `0`. Give this or `time`. */
2032
+ readonly frame?: number;
2033
+ /** How far into the clip, in seconds. Give this or `frame`. */
2034
+ readonly time?: number;
2035
+ }
2036
+ /**
2037
+ * The answer to `sampleSpriteAnimation`.
2038
+ *
2039
+ * @public
2040
+ */
2041
+ interface SampleSpriteAnimationResult {
2042
+ /**
2043
+ * Whether the frame was written. `false` while the animation document or the sprite's atlas is
2044
+ * still loading, or when the clip has no frames; the editor may send the request again later.
2045
+ */
2046
+ readonly posed: boolean;
2047
+ }
1880
2048
  /**
1881
2049
  * The parameters of `sceneOpened`.
1882
2050
  *
@@ -2093,10 +2261,10 @@ interface RpcNotificationWithParams<M extends string, P> extends RpcNotification
2093
2261
  *
2094
2262
  * @public
2095
2263
  */
2096
- type SceneRequest = RpcRequestWithParams<typeof SceneMethod.openScene, OpenSceneParams> | RpcRequest<typeof SceneMethod.closeScene, never> | RpcRequestWithParams<typeof SceneMethod.applyOps, ApplyOpsParams> | RpcRequestWithParams<typeof SceneMethod.readBack, ReadBackParams> | RpcRequestWithParams<typeof SceneMethod.select, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.setGizmo, SetGizmoParams> | RpcRequestWithParams<typeof SceneMethod.frame, FrameParams> | RpcRequestWithParams<typeof SceneMethod.pick, PickParams> | RpcRequestWithParams<typeof SceneMethod.screenshot, ScreenshotParams> | RpcRequest<typeof SceneMethod.getSchemas, never> | RpcRequest<typeof SceneMethod.describeSettings, never> | RpcRequestWithParams<typeof SceneMethod.setViewMode, SetViewModeParams> | RpcRequestWithParams<typeof SceneMethod.setAnimateMaterials, SetAnimateMaterialsParams> | RpcRequestWithParams<typeof SceneMethod.getColliderOutlines, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.sampleAnimation, SampleAnimationParams> | RpcRequestWithParams<typeof SceneMethod.setGrid, SetGridParams>;
2264
+ type SceneRequest = RpcRequestWithParams<typeof SceneMethod.openScene, OpenSceneParams> | RpcRequest<typeof SceneMethod.closeScene, never> | RpcRequestWithParams<typeof SceneMethod.applyOps, ApplyOpsParams> | RpcRequestWithParams<typeof SceneMethod.readBack, ReadBackParams> | RpcRequestWithParams<typeof SceneMethod.select, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.setGizmo, SetGizmoParams> | RpcRequestWithParams<typeof SceneMethod.frame, FrameParams> | RpcRequestWithParams<typeof SceneMethod.pick, PickParams> | RpcRequestWithParams<typeof SceneMethod.screenshot, ScreenshotParams> | RpcRequest<typeof SceneMethod.getSchemas, never> | RpcRequest<typeof SceneMethod.describeSettings, never> | RpcRequestWithParams<typeof SceneMethod.setViewMode, SetViewModeParams> | RpcRequestWithParams<typeof SceneMethod.setAnimateMaterials, SetAnimateMaterialsParams> | RpcRequestWithParams<typeof SceneMethod.getColliderOutlines, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.sampleAnimation, SampleAnimationParams> | RpcRequestWithParams<typeof SceneMethod.sampleSpriteAnimation, SampleSpriteAnimationParams> | RpcRequestWithParams<typeof SceneMethod.setGrid, SetGridParams> | RpcRequestWithParams<typeof SceneMethod.setTilemapCells, SetTilemapCellsParams> | RpcRequestWithParams<typeof SceneMethod.setEditorLines, SetEditorLinesParams> | RpcRequestWithParams<typeof SceneMethod.clearEditorLines, ClearEditorLinesParams>;
2097
2265
  /**
2098
2266
  * The success answer of the `SceneMethod`s that return nothing: `closeScene`, `setGizmo`, `frame`,
2099
- * `setViewMode`, `setAnimateMaterials` and `setGrid`.
2267
+ * `setViewMode`, `setAnimateMaterials`, `setGrid`, `setEditorLines` and `clearEditorLines`.
2100
2268
  *
2101
2269
  * @public
2102
2270
  */
@@ -2161,6 +2329,18 @@ type ColliderOutlinesResponse = RpcSuccessResponse<ColliderOutlineSet>;
2161
2329
  * @public
2162
2330
  */
2163
2331
  type SampleAnimationResponse = RpcSuccessResponse<SampleAnimationResult>;
2332
+ /**
2333
+ * The success answer to `setTilemapCells`.
2334
+ *
2335
+ * @public
2336
+ */
2337
+ type SetTilemapCellsResponse = RpcSuccessResponse<SetTilemapCellsResult>;
2338
+ /**
2339
+ * The success answer to `sampleSpriteAnimation`.
2340
+ *
2341
+ * @public
2342
+ */
2343
+ type SampleSpriteAnimationResponse = RpcSuccessResponse<SampleSpriteAnimationResult>;
2164
2344
  /**
2165
2345
  * Scene host → editor: one of the `SceneNotification`s.
2166
2346
  *
@@ -2353,6 +2533,44 @@ export declare function isSetAnimateMaterialsParams(value: unknown): value is Se
2353
2533
  * @public
2354
2534
  */
2355
2535
  export declare function isSetGridParams(value: unknown): value is SetGridParams;
2536
+ /**
2537
+ * Checks the parameters of `setTilemapCells`.
2538
+ *
2539
+ * @param value - The received `params`.
2540
+ * @returns True for a non-empty `asset`, a layer name or index, and an even-length list of at most
2541
+ * {@link TILEMAP_CELLS_MAX_NUMBERS} non-negative integers.
2542
+ *
2543
+ * @public
2544
+ */
2545
+ export declare function isSetTilemapCellsParams(value: unknown): value is SetTilemapCellsParams;
2546
+ /**
2547
+ * Checks the result of `setTilemapCells`.
2548
+ *
2549
+ * @param value - The received `result`.
2550
+ * @returns True for two counts.
2551
+ *
2552
+ * @public
2553
+ */
2554
+ export declare function isSetTilemapCellsResult(value: unknown): value is SetTilemapCellsResult;
2555
+ /**
2556
+ * Checks the parameters of `setEditorLines`.
2557
+ *
2558
+ * @param value - The received `params`.
2559
+ * @returns True for an id, a list of finite numbers whose length is a multiple of six and at most
2560
+ * {@link EDITOR_LINES_MAX_NUMBERS}, and an optional colour of three or four numbers from 0 to 1.
2561
+ *
2562
+ * @public
2563
+ */
2564
+ export declare function isSetEditorLinesParams(value: unknown): value is SetEditorLinesParams;
2565
+ /**
2566
+ * Checks the parameters of `clearEditorLines`.
2567
+ *
2568
+ * @param value - The received `params`.
2569
+ * @returns True for an object whose `id`, if present, is a line set id.
2570
+ *
2571
+ * @public
2572
+ */
2573
+ export declare function isClearEditorLinesParams(value: unknown): value is ClearEditorLinesParams;
2356
2574
  /**
2357
2575
  * Checks one record of `getColliderOutlines`.
2358
2576
  *
@@ -2392,6 +2610,25 @@ export declare function isSampleAnimationParams(value: unknown): value is Sample
2392
2610
  * @public
2393
2611
  */
2394
2612
  export declare function isSampleAnimationResult(value: unknown): value is SampleAnimationResult;
2613
+ /**
2614
+ * Checks the parameters of `sampleSpriteAnimation`.
2615
+ *
2616
+ * @param value - The received `params`.
2617
+ * @returns True for a uid, a clip name within {@link SAMPLE_ANIMATION_MAX_NAME_LENGTH}, and exactly
2618
+ * one of a finite `frame` and a finite `time`.
2619
+ *
2620
+ * @public
2621
+ */
2622
+ export declare function isSampleSpriteAnimationParams(value: unknown): value is SampleSpriteAnimationParams;
2623
+ /**
2624
+ * Checks the result of `sampleSpriteAnimation`.
2625
+ *
2626
+ * @param value - The received `result`.
2627
+ * @returns True for `{ posed: boolean }`.
2628
+ *
2629
+ * @public
2630
+ */
2631
+ export declare function isSampleSpriteAnimationResult(value: unknown): value is SampleSpriteAnimationResult;
2395
2632
  /**
2396
2633
  * Checks the parameters of `sceneOpened`.
2397
2634
  *
@@ -3428,5 +3665,5 @@ export declare function startEditorPlayControls(app: App, options: EditorPlayCon
3428
3665
  */
3429
3666
  export declare function listenForEditorPlayControls(options: EditorPlayControlsOptions): EditorPlayConnector;
3430
3667
  //#endregion
3431
- export { type AddComponentOp, type AppErrorData, type ApplyOpFailure, type ApplyOpsParams, type ApplyOpsResponse, type ApplyOpsResult, type AssetReloadedParams, type ColliderOutlineRecord, type ColliderOutlineSet, type ColliderOutlinesResponse, type CreateEntityOp, type DescribeSettingsResponse, type DestroyEntityOp, type EditorAssetChange, type EditorConnectMessage, type EditorHost, EditorHostErrorCode, type EditorHostOptions, type EditorMessageTarget, type EditorPlayConnector, type EditorPlayControls, type EditorPlayControlsOptions, type EntityField, type EntityFieldValues, type EntitySelection, type FrameParams, type GameViewFrameParams, type GameViewFrameResponse, type GameViewFrameResult, type GameViewState, type GetSchemasResponse, type GizmoDragMode, type GizmoSnap, type HeartbeatNotification, type HelloParams, type HelloRequest, type HostErrorParams, type HotReloadError, type HotReloadReport, type HotReloadedParams, type IncompatibleProtocolData, type InstantiateOp, type InvalidSceneFileData, type JsonArray, type JsonObject, type JsonPath, type JsonValue, type LogLevel, type LogParams, type LoggedError, type NullResponse, type OpenSceneParams, type OpenSceneResponse, type OpenSceneResult, type PickParams, type PickRay, type PickResponse, type PickResult, type PingRequest, type PlayRequest, type PlayResponse, type PlayState, type PlayStateChangedNotification, type PlayStateReport, type PlayStateResponse, type PlayStats, type PlayStatsResponse, type PongResponse, type ProtocolVersion, type QueryRuntimeParams, type QueryRuntimeResponse, type QueryRuntimeResult, type ReadBackParams, type ReadBackResponse, type ReadBackResult, type ReadyResponse, type ReadyResult, type RemoveComponentOp, type RemoveOverrideOp, type RenderThumbnailParams, type RenderViewRequest, type ReorderOp, type ReparentOp, type RpcError, type RpcErrorResponse, type RpcId, type RpcMessage, type RpcNotification, type RpcNotificationWithParams, type RpcRequest, type RpcRequestWithParams, type RpcResponse, type RpcSuccessResponse, type SampleAnimationParams, type SampleAnimationResponse, type SampleAnimationResult, type SceneFile, type SceneFileAssetRef, type SceneFileComponent, type SceneFileEntity, type SceneFileInstance, type SceneFileIssue, type SceneFileOverride, type SceneFileTransform, type SceneHostNotification, type SceneIssue, type SceneOp, type SceneOpenedParams, type SceneRequest, type SchemaDescription, type SchemaFieldDescription, type SchemaSet, type ScreenshotParams, type ScreenshotResponse, type ScreenshotResult, type SelectResponse, type SendInputEvent, type SendInputKeyEvent, type SendInputParams, type SendInputPointerEvent, type SendInputResponse, type SendInputResult, type SetAnimateMaterialsParams, type SetEntityFieldOp, type SetGameViewParams, type SetGameViewResponse, type SetGizmoParams, type SetGridParams, type SetOverrideOp, type SetPropOp, type SetSceneSettingOp, type SetTransformOp, type SetViewModeParams, type SettingsSet, type StepParams, type ThumbnailResponse, type ThumbnailResult, type TransformDraggedParams, type TransformDraggingParams, type Vec3, isEditorOrigin };
3668
+ export { type AddComponentOp, type AppErrorData, type ApplyOpFailure, type ApplyOpsParams, type ApplyOpsResponse, type ApplyOpsResult, type AssetReloadedParams, type ClearEditorLinesParams, type ColliderOutlineRecord, type ColliderOutlineSet, type ColliderOutlinesResponse, type CreateEntityOp, type DescribeSettingsResponse, type DestroyEntityOp, type EditorAssetChange, type EditorConnectMessage, type EditorHost, EditorHostErrorCode, type EditorHostOptions, type EditorMessageTarget, type EditorPlayConnector, type EditorPlayControls, type EditorPlayControlsOptions, type EntityField, type EntityFieldValues, type EntitySelection, type FrameParams, type GameViewFrameParams, type GameViewFrameResponse, type GameViewFrameResult, type GameViewState, type GetSchemasResponse, type GizmoDragMode, type GizmoSnap, type HeartbeatNotification, type HelloParams, type HelloRequest, type HostErrorParams, type HotReloadError, type HotReloadReport, type HotReloadedParams, type IncompatibleProtocolData, type InstantiateOp, type InvalidSceneFileData, type JsonArray, type JsonObject, type JsonPath, type JsonValue, type LogLevel, type LogParams, type LoggedError, type NullResponse, type OpenSceneParams, type OpenSceneResponse, type OpenSceneResult, type PickParams, type PickRay, type PickResponse, type PickResult, type PingRequest, type PlayRequest, type PlayResponse, type PlayState, type PlayStateChangedNotification, type PlayStateReport, type PlayStateResponse, type PlayStats, type PlayStatsResponse, type PongResponse, type ProtocolVersion, type QueryRuntimeParams, type QueryRuntimeResponse, type QueryRuntimeResult, type ReadBackParams, type ReadBackResponse, type ReadBackResult, type ReadyResponse, type ReadyResult, type RemoveComponentOp, type RemoveOverrideOp, type RenderThumbnailParams, type RenderViewRequest, type ReorderOp, type ReparentOp, type RpcError, type RpcErrorResponse, type RpcId, type RpcMessage, type RpcNotification, type RpcNotificationWithParams, type RpcRequest, type RpcRequestWithParams, type RpcResponse, type RpcSuccessResponse, type SampleAnimationParams, type SampleAnimationResponse, type SampleAnimationResult, type SampleSpriteAnimationParams, type SampleSpriteAnimationResponse, type SampleSpriteAnimationResult, type SceneFile, type SceneFileAssetRef, type SceneFileComponent, type SceneFileEntity, type SceneFileInstance, type SceneFileIssue, type SceneFileOverride, type SceneFileTransform, type SceneHostNotification, type SceneIssue, type SceneOp, type SceneOpenedParams, type SceneRequest, type SchemaDescription, type SchemaFieldDescription, type SchemaSet, type ScreenshotParams, type ScreenshotResponse, type ScreenshotResult, type SelectResponse, type SendInputEvent, type SendInputKeyEvent, type SendInputParams, type SendInputPointerEvent, type SendInputResponse, type SendInputResult, type SetAnimateMaterialsParams, type SetEditorLinesParams, type SetEntityFieldOp, type SetGameViewParams, type SetGameViewResponse, type SetGizmoParams, type SetGridParams, type SetOverrideOp, type SetPropOp, type SetSceneSettingOp, type SetTilemapCellsParams, type SetTilemapCellsResponse, type SetTilemapCellsResult, type SetTransformOp, type SetViewModeParams, type SettingsSet, type StepParams, type ThumbnailResponse, type ThumbnailResult, type TransformDraggedParams, type TransformDraggingParams, type Vec3, isEditorOrigin };
3432
3669
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/protocol/connect.ts","../src/protocol/rpc.ts","../src/protocol/version.ts","../src/protocol/handshake.ts","../src/protocol/heartbeat.ts","../src/protocol/scene-file.ts","../src/protocol/scene-ops.ts","../src/protocol/scene.ts","../src/protocol/play.ts","../src/protocol/render-views.ts","../src/channel.ts","../src/scene/asset-reload.ts","../src/host.ts","../src/play-controls.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;qBA0Ba;;;;;;;UAQI;;WAEN,aAAa;;;;;;;;;;;wBAYR,uBAAuB,iBAAiB,SAAS;;;;;;;;;;;;qBCpCpD;;;;;;KAOD;;;;;;;;;;qBAWC;;WAEX;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;;;;WAKA;;WAEA;;;;;;;;WAQA;;;;;WAKA;;;;;;;YAQU,uBAAuB,2BAA2B;;;;;;UAO7C;;WAEN,MAAM;;W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iB,SAAS;;;;;;;;;wBAiBhD,wBAAwB,iBAAiB,SAAS;;;;;;;;;wBAmBlD,kBAAkB,iBAAiB,SAAS;;;;;;;;;;UCrS3C;;;;;;;EAOf,iBAAiB,iBAAiB,WAAW,OAAO;;;;;;;EAOpD,oBAAoB,iBAAiB,WAAW,OAAO;;;;;;;;;;UC5BxC;;WAEN;;WAEA;;;;;;;;;;UCSM;;;;;WAKN;;WAEA,kBAAkB,SAAS;;WAE3B,SAAS;;WAET;;;;;;;WAOA;;WAEA,sBAAsB;;;;;;;WAOtB,kCAAkC;;WAElC,mBAAmB;;WAEnB,WAAW;;WAEX,SAAS;;WAET;;;;;;WAMA;;WAEA;;WAEA,gBAAgB;;;;;;;UAQV;;WAEN,KAAK;;WAEL,WAAW;;;;;WAKX,aAAa;;WAEb;;WAEA;;;;;;;;;;;;;;;;;;EAkBT,aAAa,QAAQ,oBAAoB;;EAEzC;;GAEC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAqDY,gBAAgB,SAAS,oBAAoB,QAAQ;;;;;;;;UC5H1D;;WAEN;;WAEA;;WAEA;;WAEA,gBAAgB;;;;;;;UAQV;;WAEN;;EAET;;GAEC,OAAO;;;;;;;;UASO;;WAEN;;;;;;;;;EAST,OAAO,KAAK,MAAM;;EAElB;;GAEC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2XM,wBAAwB,KAAK,KAAK,SAAS,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgCvE,4BAA4B,SAAS,4BAA4B"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/protocol/connect.ts","../src/protocol/rpc.ts","../src/protocol/version.ts","../src/protocol/handshake.ts","../src/protocol/heartbeat.ts","../src/protocol/scene-file.ts","../src/protocol/scene-ops.ts","../src/protocol/scene.ts","../src/protocol/play.ts","../src/protocol/render-views.ts","../src/channel.ts","../src/scene/asset-reload.ts","../src/host.ts","../src/play-controls.ts"],"mappings":";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