@ignifx/editor-host 0.15.0 → 0.17.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"`, `"gameViewOnDemand"`, `"gameViewSize"`, `"gameView2d"`, `"thumbnails"`,
305
+ * `"grid"`, `"tilemapCells"`, `"editorLines"` and `"spriteAnimation"` it supports; every
306
+ * `SceneMethod` not tied to one of them is required of a 0.3 scene host.
306
307
  *
307
308
  * @public
308
309
  */
@@ -363,6 +364,24 @@ export declare const HostCapability: {
363
364
  * 0.3); without it, the host answers both with `RpcErrorCode.methodNotFound`.
364
365
  */
365
366
  readonly gameView: "gameView";
367
+ /**
368
+ * The scene host's `gameViewFrame` renders on demand: it does not wait for an animation frame,
369
+ * which a hidden host (a `visibility: hidden` iframe, a background tab) never gets, so it answers
370
+ * at full rate while hidden. Additive in 0.3; without it, a hidden host answers slowly or not
371
+ * at all.
372
+ */
373
+ readonly gameViewOnDemand: "gameViewOnDemand";
374
+ /**
375
+ * The scene host's `gameViewFrame` takes `width` and `height`, resizing the view first. Additive
376
+ * in 0.3; without it, send `setGameView` to resize.
377
+ */
378
+ readonly gameViewSize: "gameViewSize";
379
+ /**
380
+ * The scene host's `gameViewFrame` renders a document whose main camera is a `Camera2D`
381
+ * (`@ignifx/2d`): its sprites through that camera, at the view's size. Additive in 0.3; without
382
+ * it, such a document answers `dataUrl: null`.
383
+ */
384
+ readonly gameView2d: "gameView2d";
366
385
  /**
367
386
  * The scene host answers `renderThumbnail`: a model or prefab asset rendered on its own
368
387
  * (`RenderViewMethod`). From engine ask E8 (additive in 0.3); without it, the host answers it with
@@ -376,6 +395,26 @@ export declare const HostCapability: {
376
395
  * `RpcErrorCode.methodNotFound`.
377
396
  */
378
397
  readonly grid: "grid";
398
+ /**
399
+ * The scene host answers `setTilemapCells`: it writes cells into the open scene's live tilemaps,
400
+ * so a tilemap editor's painting shows without a save. Additive in 0.3; without it, the scene
401
+ * host answers `setTilemapCells` with `RpcErrorCode.methodNotFound`.
402
+ */
403
+ readonly tilemapCells: "tilemapCells";
404
+ /**
405
+ * The scene host answers `setEditorLines` and `clearEditorLines`: it draws the editor's own line
406
+ * segments (collider outlines, handles) over the view in both view modes, never in a game view or
407
+ * the play view. Additive in 0.3; without it, the scene host answers both with
408
+ * `RpcErrorCode.methodNotFound`.
409
+ */
410
+ readonly editorLines: "editorLines";
411
+ /**
412
+ * The scene host answers `sampleSpriteAnimation`: one frame of a clip on an entity's
413
+ * `SpriteAnimator` (`@ignifx/2d`), for the editor's sprite animation panel. From engine ask E51
414
+ * (additive in 0.3); without it, the scene host answers `sampleSpriteAnimation` with
415
+ * `RpcErrorCode.methodNotFound`.
416
+ */
417
+ readonly spriteAnimation: "spriteAnimation";
379
418
  };
380
419
  /**
381
420
  * The union of the names in `HostCapability`.
@@ -1117,11 +1156,34 @@ export declare const SceneMethod: {
1117
1156
  * `RpcErrorCode.methodNotFound`. Additive in 0.3.
1118
1157
  */
1119
1158
  readonly sampleAnimation: "sampleAnimation";
1159
+ /**
1160
+ * Shows one frame of a clip on an entity's `SpriteAnimator` without playing it (engine ask E51).
1161
+ * Needs `HostCapability.spriteAnimation`. Answers {@link SampleSpriteAnimationResult}. A host from
1162
+ * before it answers `RpcErrorCode.methodNotFound`. Additive in 0.3.
1163
+ */
1164
+ readonly sampleSpriteAnimation: "sampleSpriteAnimation";
1120
1165
  /**
1121
1166
  * Shows or hides the view's grid and sets its spacing (engine ask E31). Needs
1122
1167
  * `HostCapability.grid`. Answers `null`. Additive in 0.3.
1123
1168
  */
1124
1169
  readonly setGrid: "setGrid";
1170
+ /**
1171
+ * Writes cells of a tilemap asset into every live `Tilemap` of the open scene that shows it, so
1172
+ * painting is seen at once, without a save or a reopen. The file on disk is not touched. Needs
1173
+ * `HostCapability.tilemapCells`. Answers {@link SetTilemapCellsResult}. Additive in 0.3.
1174
+ */
1175
+ readonly setTilemapCells: "setTilemapCells";
1176
+ /**
1177
+ * Draws a set of world-space line segments over the view, such as collider outlines or handles,
1178
+ * replacing the set of the same id. Needs `HostCapability.editorLines`. Answers `null`. Additive
1179
+ * in 0.3.
1180
+ */
1181
+ readonly setEditorLines: "setEditorLines";
1182
+ /**
1183
+ * Removes one set of lines `setEditorLines` drew, or every set. Needs `HostCapability.editorLines`.
1184
+ * Answers `null`. Additive in 0.3.
1185
+ */
1186
+ readonly clearEditorLines: "clearEditorLines";
1125
1187
  };
1126
1188
  /**
1127
1189
  * The union of the names in `SceneMethod`.
@@ -1799,6 +1861,93 @@ interface SetGridParams {
1799
1861
  */
1800
1862
  readonly size?: number;
1801
1863
  }
1864
+ /**
1865
+ * The most numbers the `cells` of one `setTilemapCells` request may hold: a million cells. A request
1866
+ * with more fails with `invalidParams`.
1867
+ *
1868
+ * @public
1869
+ */
1870
+ export declare const TILEMAP_CELLS_MAX_NUMBERS = 2e6;
1871
+ /**
1872
+ * The parameters of `setTilemapCells`.
1873
+ *
1874
+ * @public
1875
+ */
1876
+ interface SetTilemapCellsParams {
1877
+ /**
1878
+ * The tilemap document's asset address, as a `Tilemap`'s `map` reference names it
1879
+ * (`"levels/level-1.tilemap.json"`). Every `Tilemap` of the open scene loaded from it is written.
1880
+ * At most 256 code units.
1881
+ */
1882
+ readonly asset: string;
1883
+ /** The layer: its name in the document (at most 256 code units), or its index (`0` at the back). */
1884
+ readonly layer: string | number;
1885
+ /**
1886
+ * Flat `[index, tile, index, tile, …]` pairs, in the file's order: `index` is row-major with the
1887
+ * **top** row first, as the document's `tiles` array, and `tile` a global tile id, `0` to clear.
1888
+ * Applied in order, so a cell named twice ends with the later tile. At most
1889
+ * {@link TILEMAP_CELLS_MAX_NUMBERS} numbers.
1890
+ */
1891
+ readonly cells: readonly number[];
1892
+ }
1893
+ /**
1894
+ * The answer to `setTilemapCells`.
1895
+ *
1896
+ * @public
1897
+ */
1898
+ interface SetTilemapCellsResult {
1899
+ /**
1900
+ * How many live `Tilemap`s were written: those of the open scene whose `map` is the asset and has
1901
+ * loaded. `0` when none shows it yet, which is not an error.
1902
+ */
1903
+ readonly tilemaps: number;
1904
+ /** How many cell writes changed a tile, summed over those tilemaps. */
1905
+ readonly changed: number;
1906
+ }
1907
+ /**
1908
+ * The most numbers the `lines` of one `setEditorLines` request may hold: 100 000 segments.
1909
+ *
1910
+ * @public
1911
+ */
1912
+ export declare const EDITOR_LINES_MAX_NUMBERS = 6e5;
1913
+ /**
1914
+ * The most line sets the view draws at once; a `setEditorLines` for a new id past it fails with
1915
+ * `invalidParams`.
1916
+ *
1917
+ * @public
1918
+ */
1919
+ export declare const EDITOR_LINES_MAX_SETS = 64;
1920
+ /**
1921
+ * The longest line set id, in UTF-16 code units.
1922
+ *
1923
+ * @public
1924
+ */
1925
+ export declare const EDITOR_LINES_MAX_ID_LENGTH = 256;
1926
+ /**
1927
+ * The parameters of `setEditorLines`.
1928
+ *
1929
+ * @public
1930
+ */
1931
+ interface SetEditorLinesParams {
1932
+ /** The set's id, chosen by the editor (`"collider-outlines"`); a later call with it replaces the set. */
1933
+ readonly id: string;
1934
+ /**
1935
+ * World-space segments in metres: every six numbers are one segment, the `x, y, z` of its two
1936
+ * ends, as `getColliderOutlines` answers them. Empty draws nothing but keeps the id.
1937
+ */
1938
+ readonly lines: readonly number[];
1939
+ /** The colour, `[r, g, b]` or `[r, g, b, a]` from 0 to 1. Defaults to a light green. */
1940
+ readonly color?: readonly number[];
1941
+ }
1942
+ /**
1943
+ * The parameters of `clearEditorLines`.
1944
+ *
1945
+ * @public
1946
+ */
1947
+ interface ClearEditorLinesParams {
1948
+ /** The set to remove; left out, every set is removed. An unknown id is not an error. */
1949
+ readonly id?: string;
1950
+ }
1802
1951
  /**
1803
1952
  * One collider's outline in the answer to `getColliderOutlines`.
1804
1953
  *
@@ -1877,6 +2026,44 @@ interface SampleAnimationResult {
1877
2026
  */
1878
2027
  readonly posed: boolean;
1879
2028
  }
2029
+ /**
2030
+ * The parameters of `sampleSpriteAnimation`.
2031
+ *
2032
+ * @remarks
2033
+ * The host calls `@ignifx/2d`'s `SpriteAnimator.sample(clip, frame)` or
2034
+ * `SpriteAnimator.sampleTime(clip, time)` on the entity's `SpriteAnimator`, which writes the frame
2035
+ * onto the entity's `SpriteRenderer` and stops playback there. Exactly one of `frame` and `time` is
2036
+ * given. A frame outside the clip is clamped to it; a time past the clip's end wraps a looping clip
2037
+ * and holds a one-shot clip on its last frame, at the animator's `speed`. In an edit-mode scene view
2038
+ * the frame stays until the next sample or document change. The clip name is at most
2039
+ * {@link SAMPLE_ANIMATION_MAX_NAME_LENGTH} long. An entity the open scene lacks, or one without a
2040
+ * `SpriteAnimator`, is refused with `RpcErrorCode.invalidParams`, and so is a clip the document does
2041
+ * not declare, with the engine's code (`IGX-1108`) as `data.code`.
2042
+ *
2043
+ * @public
2044
+ */
2045
+ interface SampleSpriteAnimationParams {
2046
+ /** The uid of the document entity whose `SpriteAnimator` is posed. */
2047
+ readonly entity: string;
2048
+ /** The clip's name in the `.spriteanim.json` document. */
2049
+ readonly clip: string;
2050
+ /** The frame within the clip, counting from `0`. Give this or `time`. */
2051
+ readonly frame?: number;
2052
+ /** How far into the clip, in seconds. Give this or `frame`. */
2053
+ readonly time?: number;
2054
+ }
2055
+ /**
2056
+ * The answer to `sampleSpriteAnimation`.
2057
+ *
2058
+ * @public
2059
+ */
2060
+ interface SampleSpriteAnimationResult {
2061
+ /**
2062
+ * Whether the frame was written. `false` while the animation document or the sprite's atlas is
2063
+ * still loading, or when the clip has no frames; the editor may send the request again later.
2064
+ */
2065
+ readonly posed: boolean;
2066
+ }
1880
2067
  /**
1881
2068
  * The parameters of `sceneOpened`.
1882
2069
  *
@@ -2093,10 +2280,10 @@ interface RpcNotificationWithParams<M extends string, P> extends RpcNotification
2093
2280
  *
2094
2281
  * @public
2095
2282
  */
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>;
2283
+ 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
2284
  /**
2098
2285
  * The success answer of the `SceneMethod`s that return nothing: `closeScene`, `setGizmo`, `frame`,
2099
- * `setViewMode`, `setAnimateMaterials` and `setGrid`.
2286
+ * `setViewMode`, `setAnimateMaterials`, `setGrid`, `setEditorLines` and `clearEditorLines`.
2100
2287
  *
2101
2288
  * @public
2102
2289
  */
@@ -2161,6 +2348,18 @@ type ColliderOutlinesResponse = RpcSuccessResponse<ColliderOutlineSet>;
2161
2348
  * @public
2162
2349
  */
2163
2350
  type SampleAnimationResponse = RpcSuccessResponse<SampleAnimationResult>;
2351
+ /**
2352
+ * The success answer to `setTilemapCells`.
2353
+ *
2354
+ * @public
2355
+ */
2356
+ type SetTilemapCellsResponse = RpcSuccessResponse<SetTilemapCellsResult>;
2357
+ /**
2358
+ * The success answer to `sampleSpriteAnimation`.
2359
+ *
2360
+ * @public
2361
+ */
2362
+ type SampleSpriteAnimationResponse = RpcSuccessResponse<SampleSpriteAnimationResult>;
2164
2363
  /**
2165
2364
  * Scene host → editor: one of the `SceneNotification`s.
2166
2365
  *
@@ -2353,6 +2552,44 @@ export declare function isSetAnimateMaterialsParams(value: unknown): value is Se
2353
2552
  * @public
2354
2553
  */
2355
2554
  export declare function isSetGridParams(value: unknown): value is SetGridParams;
2555
+ /**
2556
+ * Checks the parameters of `setTilemapCells`.
2557
+ *
2558
+ * @param value - The received `params`.
2559
+ * @returns True for a non-empty `asset` and a layer name or index, each name at most 256 code
2560
+ * units, and an even-length list of at most {@link TILEMAP_CELLS_MAX_NUMBERS} non-negative integers.
2561
+ *
2562
+ * @public
2563
+ */
2564
+ export declare function isSetTilemapCellsParams(value: unknown): value is SetTilemapCellsParams;
2565
+ /**
2566
+ * Checks the result of `setTilemapCells`.
2567
+ *
2568
+ * @param value - The received `result`.
2569
+ * @returns True for two counts.
2570
+ *
2571
+ * @public
2572
+ */
2573
+ export declare function isSetTilemapCellsResult(value: unknown): value is SetTilemapCellsResult;
2574
+ /**
2575
+ * Checks the parameters of `setEditorLines`.
2576
+ *
2577
+ * @param value - The received `params`.
2578
+ * @returns True for an id, a list of finite numbers whose length is a multiple of six and at most
2579
+ * {@link EDITOR_LINES_MAX_NUMBERS}, and an optional colour of three or four numbers from 0 to 1.
2580
+ *
2581
+ * @public
2582
+ */
2583
+ export declare function isSetEditorLinesParams(value: unknown): value is SetEditorLinesParams;
2584
+ /**
2585
+ * Checks the parameters of `clearEditorLines`.
2586
+ *
2587
+ * @param value - The received `params`.
2588
+ * @returns True for an object whose `id`, if present, is a line set id.
2589
+ *
2590
+ * @public
2591
+ */
2592
+ export declare function isClearEditorLinesParams(value: unknown): value is ClearEditorLinesParams;
2356
2593
  /**
2357
2594
  * Checks one record of `getColliderOutlines`.
2358
2595
  *
@@ -2392,6 +2629,25 @@ export declare function isSampleAnimationParams(value: unknown): value is Sample
2392
2629
  * @public
2393
2630
  */
2394
2631
  export declare function isSampleAnimationResult(value: unknown): value is SampleAnimationResult;
2632
+ /**
2633
+ * Checks the parameters of `sampleSpriteAnimation`.
2634
+ *
2635
+ * @param value - The received `params`.
2636
+ * @returns True for a uid, a clip name within {@link SAMPLE_ANIMATION_MAX_NAME_LENGTH}, and exactly
2637
+ * one of a finite `frame` and a finite `time`.
2638
+ *
2639
+ * @public
2640
+ */
2641
+ export declare function isSampleSpriteAnimationParams(value: unknown): value is SampleSpriteAnimationParams;
2642
+ /**
2643
+ * Checks the result of `sampleSpriteAnimation`.
2644
+ *
2645
+ * @param value - The received `result`.
2646
+ * @returns True for `{ posed: boolean }`.
2647
+ *
2648
+ * @public
2649
+ */
2650
+ export declare function isSampleSpriteAnimationResult(value: unknown): value is SampleSpriteAnimationResult;
2395
2651
  /**
2396
2652
  * Checks the parameters of `sceneOpened`.
2397
2653
  *
@@ -2936,7 +3192,9 @@ export declare function isSendInputResult(value: unknown): value is SendInputRes
2936
3192
  * @remarks
2937
3193
  * A host lists `HostCapability.gameView` when it answers the first two and
2938
3194
  * `HostCapability.thumbnails` when it answers the third; one that does not answers
2939
- * `RpcErrorCode.methodNotFound`. Additive in 0.3.
3195
+ * `RpcErrorCode.methodNotFound`. Additive in 0.3. `HostCapability.gameViewOnDemand`,
3196
+ * `HostCapability.gameViewSize` and `HostCapability.gameView2d` mark what a newer host's
3197
+ * `gameViewFrame` does beyond that.
2940
3198
  *
2941
3199
  * @public
2942
3200
  */
@@ -2947,6 +3205,10 @@ export declare const RenderViewMethod: {
2947
3205
  * Renders the open scene through its own main camera, the one the game would use, and answers
2948
3206
  * the image: {@link GameViewFrameResult}. Fails with `RpcErrorCode.noScene` while no scene is
2949
3207
  * open and `RpcErrorCode.invalidRequest` while the game view is off.
3208
+ *
3209
+ * A host with `HostCapability.gameViewOnDemand` answers without waiting for an animation frame
3210
+ * (a hidden host gets none); one with `HostCapability.gameViewSize` takes the image size in the
3211
+ * request; one with `HostCapability.gameView2d` renders a `Camera2D` document camera too.
2950
3212
  */
2951
3213
  readonly gameViewFrame: "gameViewFrame";
2952
3214
  /** Renders one model or prefab asset on its own and answers the image: {@link ThumbnailResult}. */
@@ -3021,6 +3283,14 @@ interface GameViewFrameParams {
3021
3283
  readonly format: ScreenshotFormat;
3022
3284
  /** The JPEG quality, from 0 to 1; the host's default (0.9) when absent. Ignored for PNG. */
3023
3285
  readonly quality?: number;
3286
+ /**
3287
+ * The image width in pixels, 1 to {@link GAME_VIEW_MAX_SIZE}: the view resizes to it first, as
3288
+ * `setGameView` would, so the frame has the Game panel's aspect. Absent to keep the current one.
3289
+ * Needs `HostCapability.gameViewSize`; an older host ignores it and answers its own size.
3290
+ */
3291
+ readonly width?: number;
3292
+ /** The image height in pixels, as {@link GameViewFrameParams.width}. */
3293
+ readonly height?: number;
3024
3294
  }
3025
3295
  /**
3026
3296
  * The answer to `gameViewFrame`.
@@ -3118,7 +3388,7 @@ export declare function isGameViewState(value: unknown): value is GameViewState;
3118
3388
  * Checks the parameters of `gameViewFrame`.
3119
3389
  *
3120
3390
  * @param value - The received `params`.
3121
- * @returns True for a known format and a quality from 0 to 1 when given.
3391
+ * @returns True for a known format, a quality from 0 to 1 and sizes in range when given.
3122
3392
  *
3123
3393
  * @public
3124
3394
  */
@@ -3428,5 +3698,5 @@ export declare function startEditorPlayControls(app: App, options: EditorPlayCon
3428
3698
  */
3429
3699
  export declare function listenForEditorPlayControls(options: EditorPlayControlsOptions): EditorPlayConnector;
3430
3700
  //#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 };
3701
+ 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
3702
  //# 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;;WAEN;;WAEA;;;;;;;;;;UAWM,WAAW,2BAA2B;;WAE5C,gBAAgB;;WAEhB,IAAI;;WAEJ,QAAQ;;WAER,SAAS;;;;;;;;;;UAWH,gBAAgB,2BAA2B;;WAEjD,gBAAgB;;WAEhB,QAAQ;;WAER,SAAS;;;;;;;;;UAUH,mBAAm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;;;;;;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":";;;;;;;;;;;;;;;;;;;;;qBA0Ba;;;;;;;UAQI;;WAEN,aAAa;;;;;;;;;;;wBAYR,uBAAuB,iBAAiB,SAAS;;;;;;;;;;;;qBCpCpD;;;;;;KAOD;;;;;;;;;;qBAWC;;WAEX;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;;;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