@ignifx/editor-host 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/grid.js +170 -0
- package/dist/grid.js.map +1 -0
- package/dist/index.d.ts +296 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +921 -94
- package/dist/index.js.map +1 -1
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +1 -0
- package/dist/vite.js.map +1 -1
- package/package.json +10 -10
- package/skills/editor-host/SKILL.md +12 -4
package/dist/grid.js
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { EDITOR_ONLY_METADATA_KEY } from "@ignifx/core";
|
|
2
|
+
import { addToScene, createGridMaterial, createGround, createPlane, createTexture2DFromPixels, disposeMeshGpu, releaseTexture, removeFromScene, setShaderUniform } from "@babylonjs/lite";
|
|
3
|
+
//#region src/lite/grid.ts
|
|
4
|
+
/**
|
|
5
|
+
* The scene view's grid (engine ask E31), drawn with Babylon Lite's `createGridMaterial`. Every Lite
|
|
6
|
+
* claim here was read from the pinned `@babylonjs/lite` 1.34 `index.d.ts` and
|
|
7
|
+
* `lib/material/grid/grid-material.js`.
|
|
8
|
+
*
|
|
9
|
+
* The host loads this module with `import()` once a scene view has a canvas, so the grid's shader
|
|
10
|
+
* code stays out of the host's first chunk (`CONSTITUTION.md` §2.5).
|
|
11
|
+
*/
|
|
12
|
+
/** The name of the 3D grid's mesh in the render scene. */
|
|
13
|
+
const GRID_MESH_NAME = "ignifx-editor-grid";
|
|
14
|
+
/** The name of the 2D grid's mesh in the render overlay. */
|
|
15
|
+
const SCREEN_GRID_MESH_NAME = "ignifx-editor-grid-2d";
|
|
16
|
+
/** How visible the minor lines are next to the major ones, `0..1`. */
|
|
17
|
+
const MINOR_VISIBILITY = .4;
|
|
18
|
+
/** The 3D grid's line opacity; below 1, Lite's grid material leaves the space between lines clear. */
|
|
19
|
+
const GROUND_OPACITY = .8;
|
|
20
|
+
/** The 2D grid's line opacity: it draws over the sprites, so it stays faint. */
|
|
21
|
+
const SCREEN_OPACITY = .35;
|
|
22
|
+
/** The fade texture's side, in texels. */
|
|
23
|
+
const FADE_SIZE = 64;
|
|
24
|
+
/** The fade starts this far from the centre, as a fraction of the side. */
|
|
25
|
+
const FADE_START = .12;
|
|
26
|
+
/**
|
|
27
|
+
* Builds the grid of one scene view: a ground plane in the render scene, depth-tested against the
|
|
28
|
+
* document's meshes, and a screen plane in the render overlay, over the 2D view's sprites.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Lite's grid material works in object space, so each plane is a unit square scaled to the
|
|
32
|
+
* placement's extent, with `gridRatio = step / extent` and `gridOffset = centre / extent`: the lines
|
|
33
|
+
* stay on world multiples of the step wherever the square moves. Neither mesh is pickable, casts
|
|
34
|
+
* shadows or belongs to an entity, so no pick, selection or `readBack` reaches it, and both carry
|
|
35
|
+
* core's `EDITOR_ONLY_METADATA_KEY`, so no render texture (the game view) draws them.
|
|
36
|
+
*
|
|
37
|
+
* @param handles - The app's Lite engine and render scene (`app.lite`).
|
|
38
|
+
* @param overlay - The view's open render overlay; the grid does not own it.
|
|
39
|
+
* @returns The grid, hidden until the first {@link EditorGridView.place}.
|
|
40
|
+
*/
|
|
41
|
+
function createEditorGrid(handles, overlay) {
|
|
42
|
+
const { engine } = handles;
|
|
43
|
+
const fade = createTexture2DFromPixels(engine, radialFade(), FADE_SIZE, FADE_SIZE, {
|
|
44
|
+
minFilter: "linear",
|
|
45
|
+
magFilter: "linear"
|
|
46
|
+
});
|
|
47
|
+
const ground = makePlane(createGround(engine, {
|
|
48
|
+
width: 1,
|
|
49
|
+
height: 1,
|
|
50
|
+
subdivisions: 1
|
|
51
|
+
}), GRID_MESH_NAME, createGridMaterial({
|
|
52
|
+
name: GRID_MESH_NAME,
|
|
53
|
+
lineColor: [
|
|
54
|
+
.6,
|
|
55
|
+
.6,
|
|
56
|
+
.6
|
|
57
|
+
],
|
|
58
|
+
minorUnitVisibility: MINOR_VISIBILITY,
|
|
59
|
+
opacity: GROUND_OPACITY,
|
|
60
|
+
opacityTexture: fade,
|
|
61
|
+
backFaceCulling: false
|
|
62
|
+
}), handles.scene, GROUND_OPACITY);
|
|
63
|
+
const screen = makePlane(createPlane(engine, { size: 1 }), SCREEN_GRID_MESH_NAME, createGridMaterial({
|
|
64
|
+
name: SCREEN_GRID_MESH_NAME,
|
|
65
|
+
lineColor: [
|
|
66
|
+
.75,
|
|
67
|
+
.75,
|
|
68
|
+
.75
|
|
69
|
+
],
|
|
70
|
+
minorUnitVisibility: MINOR_VISIBILITY,
|
|
71
|
+
opacity: SCREEN_OPACITY,
|
|
72
|
+
backFaceCulling: false
|
|
73
|
+
}), overlay.lite.scene, SCREEN_OPACITY);
|
|
74
|
+
let isDisposed = false;
|
|
75
|
+
return {
|
|
76
|
+
place(placement) {
|
|
77
|
+
if (isDisposed) return;
|
|
78
|
+
ground.mesh.visible = placement?.plane === "ground";
|
|
79
|
+
screen.mesh.visible = placement?.plane === "screen";
|
|
80
|
+
if (placement === null) return;
|
|
81
|
+
const { centerX, centerY, extent } = placement;
|
|
82
|
+
const target = placement.plane === "ground" ? ground : screen;
|
|
83
|
+
if (placement.plane === "ground") {
|
|
84
|
+
target.mesh.position.set(centerX, 0, centerY);
|
|
85
|
+
target.mesh.scaling.set(extent, 1, extent);
|
|
86
|
+
setShaderUniform(target.material, "gridOffset", [
|
|
87
|
+
centerX / extent,
|
|
88
|
+
0,
|
|
89
|
+
centerY / extent
|
|
90
|
+
]);
|
|
91
|
+
} else {
|
|
92
|
+
target.mesh.position.set(centerX, centerY, 0);
|
|
93
|
+
target.mesh.scaling.set(extent, extent, 1);
|
|
94
|
+
setShaderUniform(target.material, "gridOffset", [
|
|
95
|
+
centerX / extent,
|
|
96
|
+
centerY / extent,
|
|
97
|
+
0
|
|
98
|
+
]);
|
|
99
|
+
}
|
|
100
|
+
setShaderUniform(target.material, "gridControl", [
|
|
101
|
+
placement.step / extent,
|
|
102
|
+
placement.majorEvery,
|
|
103
|
+
MINOR_VISIBILITY,
|
|
104
|
+
target.opacity
|
|
105
|
+
]);
|
|
106
|
+
},
|
|
107
|
+
dispose() {
|
|
108
|
+
if (isDisposed) return;
|
|
109
|
+
isDisposed = true;
|
|
110
|
+
for (const plane of [ground, screen]) {
|
|
111
|
+
removeFromScene(plane.scene, plane.mesh);
|
|
112
|
+
disposeMeshGpu(plane.mesh);
|
|
113
|
+
}
|
|
114
|
+
releaseTexture(fade);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Names a grid mesh, gives it its material, keeps it out of picks and shadows, and adds it hidden.
|
|
120
|
+
*
|
|
121
|
+
* @param mesh - The unit square.
|
|
122
|
+
* @param name - The mesh's name.
|
|
123
|
+
* @param material - Its grid material.
|
|
124
|
+
* @param scene - The scene that draws it.
|
|
125
|
+
* @param opacity - The material's line opacity, written back with every placement.
|
|
126
|
+
* @returns The plane.
|
|
127
|
+
*/
|
|
128
|
+
function makePlane(mesh, name, material, scene, opacity) {
|
|
129
|
+
mesh.name = name;
|
|
130
|
+
mesh.material = material;
|
|
131
|
+
mesh.pickable = false;
|
|
132
|
+
mesh.receiveShadows = false;
|
|
133
|
+
mesh.visible = false;
|
|
134
|
+
mesh.metadata = {
|
|
135
|
+
...mesh.metadata,
|
|
136
|
+
[EDITOR_ONLY_METADATA_KEY]: true
|
|
137
|
+
};
|
|
138
|
+
addToScene(scene, mesh);
|
|
139
|
+
return {
|
|
140
|
+
mesh,
|
|
141
|
+
material,
|
|
142
|
+
scene,
|
|
143
|
+
opacity
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* A square of white texels whose alpha is 1 near the centre and falls smoothly to 0 before the
|
|
148
|
+
* edge, for the grid material's `opacityTexture`.
|
|
149
|
+
*
|
|
150
|
+
* @returns `FADE_SIZE²` RGBA texels.
|
|
151
|
+
*/
|
|
152
|
+
function radialFade() {
|
|
153
|
+
const data = /* @__PURE__ */ new Uint8Array(16384);
|
|
154
|
+
for (let row = 0; row < FADE_SIZE; row += 1) for (let col = 0; col < FADE_SIZE; col += 1) {
|
|
155
|
+
const u = (col + .5) / FADE_SIZE - .5;
|
|
156
|
+
const v = (row + .5) / FADE_SIZE - .5;
|
|
157
|
+
const t = Math.min(1, Math.max(0, (Math.hypot(u, v) - FADE_START) / .36));
|
|
158
|
+
const alpha = 1 - t * t * (3 - 2 * t);
|
|
159
|
+
const index = (row * FADE_SIZE + col) * 4;
|
|
160
|
+
data[index] = 255;
|
|
161
|
+
data[index + 1] = 255;
|
|
162
|
+
data[index + 2] = 255;
|
|
163
|
+
data[index + 3] = Math.round(alpha * 255);
|
|
164
|
+
}
|
|
165
|
+
return data;
|
|
166
|
+
}
|
|
167
|
+
//#endregion
|
|
168
|
+
export { createEditorGrid };
|
|
169
|
+
|
|
170
|
+
//# sourceMappingURL=grid.js.map
|
package/dist/grid.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.js","names":[],"sources":["../src/lite/grid.ts"],"sourcesContent":["/**\n * The scene view's grid (engine ask E31), drawn with Babylon Lite's `createGridMaterial`. Every Lite\n * claim here was read from the pinned `@babylonjs/lite` 1.34 `index.d.ts` and\n * `lib/material/grid/grid-material.js`.\n *\n * The host loads this module with `import()` once a scene view has a canvas, so the grid's shader\n * code stays out of the host's first chunk (`CONSTITUTION.md` §2.5).\n */\n\nimport {\n addToScene,\n createGridMaterial,\n createGround,\n createPlane,\n createTexture2DFromPixels,\n disposeMeshGpu,\n releaseTexture,\n removeFromScene,\n setShaderUniform,\n} from \"@babylonjs/lite\";\nimport { EDITOR_ONLY_METADATA_KEY } from \"@ignifx/core\";\nimport type { GridPlacement } from \"../scene/grid.js\";\nimport type { Mesh, SceneContext, ShaderMaterial } from \"@babylonjs/lite\";\nimport type { AppLiteHandles, RenderOverlay } from \"@ignifx/core\";\n\n/** The name of the 3D grid's mesh in the render scene. */\nexport const GRID_MESH_NAME = \"ignifx-editor-grid\";\n\n/** The name of the 2D grid's mesh in the render overlay. */\nexport const SCREEN_GRID_MESH_NAME = \"ignifx-editor-grid-2d\";\n\n/** How visible the minor lines are next to the major ones, `0..1`. */\nconst MINOR_VISIBILITY = 0.4;\n\n/** The 3D grid's line opacity; below 1, Lite's grid material leaves the space between lines clear. */\nconst GROUND_OPACITY = 0.8;\n\n/** The 2D grid's line opacity: it draws over the sprites, so it stays faint. */\nconst SCREEN_OPACITY = 0.35;\n\n/** The fade texture's side, in texels. */\nconst FADE_SIZE = 64;\n\n/** The fade starts this far from the centre, as a fraction of the side. */\nconst FADE_START = 0.12;\n\n/** The fade ends this far from the centre: the grid is gone before the square's edge. */\nconst FADE_END = 0.48;\n\n/** The grid of one scene view. */\nexport interface EditorGridView {\n /**\n * Draws the grid where a placement says, or hides it.\n *\n * @param placement - This frame's grid, or `null` to hide it.\n */\n place(placement: GridPlacement | null): void;\n /** Removes the grid's meshes and releases their GPU resources. Calling it again does nothing. */\n dispose(): void;\n}\n\n/** One drawn plane: its mesh, material and the scene that holds it. */\ninterface GridPlane {\n readonly mesh: Mesh;\n readonly material: ShaderMaterial;\n readonly scene: SceneContext;\n readonly opacity: number;\n}\n\n/**\n * Builds the grid of one scene view: a ground plane in the render scene, depth-tested against the\n * document's meshes, and a screen plane in the render overlay, over the 2D view's sprites.\n *\n * @remarks\n * Lite's grid material works in object space, so each plane is a unit square scaled to the\n * placement's extent, with `gridRatio = step / extent` and `gridOffset = centre / extent`: the lines\n * stay on world multiples of the step wherever the square moves. Neither mesh is pickable, casts\n * shadows or belongs to an entity, so no pick, selection or `readBack` reaches it, and both carry\n * core's `EDITOR_ONLY_METADATA_KEY`, so no render texture (the game view) draws them.\n *\n * @param handles - The app's Lite engine and render scene (`app.lite`).\n * @param overlay - The view's open render overlay; the grid does not own it.\n * @returns The grid, hidden until the first {@link EditorGridView.place}.\n */\nexport function createEditorGrid(handles: AppLiteHandles, overlay: RenderOverlay): EditorGridView {\n const { engine } = handles;\n const fade = createTexture2DFromPixels(engine, radialFade(), FADE_SIZE, FADE_SIZE, {\n minFilter: \"linear\",\n magFilter: \"linear\",\n });\n const ground = makePlane(\n createGround(engine, { width: 1, height: 1, subdivisions: 1 }),\n GRID_MESH_NAME,\n createGridMaterial({\n name: GRID_MESH_NAME,\n lineColor: [0.6, 0.6, 0.6],\n minorUnitVisibility: MINOR_VISIBILITY,\n opacity: GROUND_OPACITY,\n opacityTexture: fade,\n backFaceCulling: false,\n }),\n handles.scene,\n GROUND_OPACITY,\n );\n const screen = makePlane(\n createPlane(engine, { size: 1 }),\n SCREEN_GRID_MESH_NAME,\n createGridMaterial({\n name: SCREEN_GRID_MESH_NAME,\n lineColor: [0.75, 0.75, 0.75],\n minorUnitVisibility: MINOR_VISIBILITY,\n opacity: SCREEN_OPACITY,\n backFaceCulling: false,\n }),\n overlay.lite.scene,\n SCREEN_OPACITY,\n );\n let isDisposed = false;\n\n return {\n place(placement: GridPlacement | null): void {\n if (isDisposed) {\n return;\n }\n ground.mesh.visible = placement?.plane === \"ground\";\n screen.mesh.visible = placement?.plane === \"screen\";\n if (placement === null) {\n return;\n }\n const { centerX, centerY, extent } = placement;\n const target = placement.plane === \"ground\" ? ground : screen;\n if (placement.plane === \"ground\") {\n target.mesh.position.set(centerX, 0, centerY);\n target.mesh.scaling.set(extent, 1, extent);\n setShaderUniform(target.material, \"gridOffset\", [centerX / extent, 0, centerY / extent]);\n } else {\n target.mesh.position.set(centerX, centerY, 0);\n target.mesh.scaling.set(extent, extent, 1);\n setShaderUniform(target.material, \"gridOffset\", [centerX / extent, centerY / extent, 0]);\n }\n setShaderUniform(target.material, \"gridControl\", [\n placement.step / extent,\n placement.majorEvery,\n MINOR_VISIBILITY,\n target.opacity,\n ]);\n },\n dispose(): void {\n if (isDisposed) {\n return;\n }\n isDisposed = true;\n for (const plane of [ground, screen]) {\n removeFromScene(plane.scene, plane.mesh);\n disposeMeshGpu(plane.mesh);\n }\n releaseTexture(fade);\n },\n };\n}\n\n/**\n * Names a grid mesh, gives it its material, keeps it out of picks and shadows, and adds it hidden.\n *\n * @param mesh - The unit square.\n * @param name - The mesh's name.\n * @param material - Its grid material.\n * @param scene - The scene that draws it.\n * @param opacity - The material's line opacity, written back with every placement.\n * @returns The plane.\n */\nfunction makePlane(\n mesh: Mesh,\n name: string,\n material: ShaderMaterial,\n scene: SceneContext,\n opacity: number,\n): GridPlane {\n mesh.name = name;\n mesh.material = material;\n mesh.pickable = false;\n mesh.receiveShadows = false;\n mesh.visible = 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, [EDITOR_ONLY_METADATA_KEY]: true };\n addToScene(scene, mesh);\n return { mesh, material, scene, opacity };\n}\n\n/**\n * A square of white texels whose alpha is 1 near the centre and falls smoothly to 0 before the\n * edge, for the grid material's `opacityTexture`.\n *\n * @returns `FADE_SIZE²` RGBA texels.\n */\nfunction radialFade(): Uint8Array {\n const data = new Uint8Array(FADE_SIZE * FADE_SIZE * 4);\n for (let row = 0; row < FADE_SIZE; row += 1) {\n for (let col = 0; col < FADE_SIZE; col += 1) {\n const u = (col + 0.5) / FADE_SIZE - 0.5;\n const v = (row + 0.5) / FADE_SIZE - 0.5;\n const t = Math.min(1, Math.max(0, (Math.hypot(u, v) - FADE_START) / (FADE_END - FADE_START)));\n const alpha = 1 - t * t * (3 - 2 * t);\n const index = (row * FADE_SIZE + col) * 4;\n data[index] = 255;\n data[index + 1] = 255;\n data[index + 2] = 255;\n data[index + 3] = Math.round(alpha * 255);\n }\n }\n return data;\n}\n"],"mappings":";;;;;;;;;;;;AA0BA,MAAa,iBAAiB;;AAG9B,MAAa,wBAAwB;;AAGrC,MAAM,mBAAmB;;AAGzB,MAAM,iBAAiB;;AAGvB,MAAM,iBAAiB;;AAGvB,MAAM,YAAY;;AAGlB,MAAM,aAAa;;;;;;;;;;;;;;;;AAwCnB,SAAgB,iBAAiB,SAAyB,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* 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
|
-
* host sends `"heartbeat"` and whichever of `"gizmos"`, `"screenshot"`, `"viewMode2d"
|
|
304
|
-
* `"pick2d"` it supports; every `SceneMethod` not tied
|
|
305
|
-
* host.
|
|
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.
|
|
306
306
|
*
|
|
307
307
|
* @public
|
|
308
308
|
*/
|
|
@@ -357,6 +357,25 @@ export declare const HostCapability: {
|
|
|
357
357
|
* answers `sendInput` with `RpcErrorCode.methodNotFound`.
|
|
358
358
|
*/
|
|
359
359
|
readonly sendInput: "sendInput";
|
|
360
|
+
/**
|
|
361
|
+
* The scene host answers `setGameView` and `gameViewFrame`: the open scene through its own main
|
|
362
|
+
* camera, rendered beside the editor camera (`RenderViewMethod`). From engine ask E8 (additive in
|
|
363
|
+
* 0.3); without it, the host answers both with `RpcErrorCode.methodNotFound`.
|
|
364
|
+
*/
|
|
365
|
+
readonly gameView: "gameView";
|
|
366
|
+
/**
|
|
367
|
+
* The scene host answers `renderThumbnail`: a model or prefab asset rendered on its own
|
|
368
|
+
* (`RenderViewMethod`). From engine ask E8 (additive in 0.3); without it, the host answers it with
|
|
369
|
+
* `RpcErrorCode.methodNotFound`.
|
|
370
|
+
*/
|
|
371
|
+
readonly thumbnails: "thumbnails";
|
|
372
|
+
/**
|
|
373
|
+
* The scene host draws a grid in the view and answers `setGrid`: a ground grid at `y = 0` in 3D
|
|
374
|
+
* view mode and a unit grid (a pixel grid when zoomed in) over the 2D view. From engine ask E31
|
|
375
|
+
* (additive in 0.3); without it, the scene host answers `setGrid` with
|
|
376
|
+
* `RpcErrorCode.methodNotFound`.
|
|
377
|
+
*/
|
|
378
|
+
readonly grid: "grid";
|
|
360
379
|
};
|
|
361
380
|
/**
|
|
362
381
|
* The union of the names in `HostCapability`.
|
|
@@ -1098,6 +1117,11 @@ export declare const SceneMethod: {
|
|
|
1098
1117
|
* `RpcErrorCode.methodNotFound`. Additive in 0.3.
|
|
1099
1118
|
*/
|
|
1100
1119
|
readonly sampleAnimation: "sampleAnimation";
|
|
1120
|
+
/**
|
|
1121
|
+
* Shows or hides the view's grid and sets its spacing (engine ask E31). Needs
|
|
1122
|
+
* `HostCapability.grid`. Answers `null`. Additive in 0.3.
|
|
1123
|
+
*/
|
|
1124
|
+
readonly setGrid: "setGrid";
|
|
1101
1125
|
};
|
|
1102
1126
|
/**
|
|
1103
1127
|
* The union of the names in `SceneMethod`.
|
|
@@ -1748,6 +1772,33 @@ interface SetAnimateMaterialsParams {
|
|
|
1748
1772
|
/** Whether the shader clock (`time` in shader materials and custom post effects) runs. */
|
|
1749
1773
|
readonly enabled: boolean;
|
|
1750
1774
|
}
|
|
1775
|
+
/**
|
|
1776
|
+
* The smallest grid spacing `setGrid` accepts, in metres.
|
|
1777
|
+
*
|
|
1778
|
+
* @public
|
|
1779
|
+
*/
|
|
1780
|
+
export declare const GRID_MIN_SIZE = .001;
|
|
1781
|
+
/**
|
|
1782
|
+
* The largest grid spacing `setGrid` accepts, in metres.
|
|
1783
|
+
*
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
export declare const GRID_MAX_SIZE = 1e3;
|
|
1787
|
+
/**
|
|
1788
|
+
* The parameters of `setGrid`. Each call sets the whole grid: a field left out takes its default.
|
|
1789
|
+
*
|
|
1790
|
+
* @public
|
|
1791
|
+
*/
|
|
1792
|
+
interface SetGridParams {
|
|
1793
|
+
/** Whether the grid draws. Defaults to `true`, which is also how the host starts. */
|
|
1794
|
+
readonly visible?: boolean;
|
|
1795
|
+
/**
|
|
1796
|
+
* The spacing of the minor lines, in metres, from {@link GRID_MIN_SIZE} to {@link GRID_MAX_SIZE}.
|
|
1797
|
+
* Defaults to `1`. Every tenth line is a major line; when the lines get too dense to see, the
|
|
1798
|
+
* host draws every tenth one instead.
|
|
1799
|
+
*/
|
|
1800
|
+
readonly size?: number;
|
|
1801
|
+
}
|
|
1751
1802
|
/**
|
|
1752
1803
|
* One collider's outline in the answer to `getColliderOutlines`.
|
|
1753
1804
|
*
|
|
@@ -2042,10 +2093,10 @@ interface RpcNotificationWithParams<M extends string, P> extends RpcNotification
|
|
|
2042
2093
|
*
|
|
2043
2094
|
* @public
|
|
2044
2095
|
*/
|
|
2045
|
-
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>;
|
|
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>;
|
|
2046
2097
|
/**
|
|
2047
2098
|
* The success answer of the `SceneMethod`s that return nothing: `closeScene`, `setGizmo`, `frame`,
|
|
2048
|
-
* `setViewMode` and `
|
|
2099
|
+
* `setViewMode`, `setAnimateMaterials` and `setGrid`.
|
|
2049
2100
|
*
|
|
2050
2101
|
* @public
|
|
2051
2102
|
*/
|
|
@@ -2292,6 +2343,16 @@ export declare function isSetViewModeParams(value: unknown): value is SetViewMod
|
|
|
2292
2343
|
* @public
|
|
2293
2344
|
*/
|
|
2294
2345
|
export declare function isSetAnimateMaterialsParams(value: unknown): value is SetAnimateMaterialsParams;
|
|
2346
|
+
/**
|
|
2347
|
+
* Checks the parameters of `setGrid`.
|
|
2348
|
+
*
|
|
2349
|
+
* @param value - The received `params`.
|
|
2350
|
+
* @returns True for an object whose `visible`, if present, is a boolean and whose `size`, if
|
|
2351
|
+
* present, is a number from {@link GRID_MIN_SIZE} to {@link GRID_MAX_SIZE}.
|
|
2352
|
+
*
|
|
2353
|
+
* @public
|
|
2354
|
+
*/
|
|
2355
|
+
export declare function isSetGridParams(value: unknown): value is SetGridParams;
|
|
2295
2356
|
/**
|
|
2296
2357
|
* Checks one record of `getColliderOutlines`.
|
|
2297
2358
|
*
|
|
@@ -2868,6 +2929,228 @@ export declare function isSendInputParams(value: unknown): value is SendInputPar
|
|
|
2868
2929
|
*/
|
|
2869
2930
|
export declare function isSendInputResult(value: unknown): value is SendInputResult;
|
|
2870
2931
|
//#endregion
|
|
2932
|
+
//#region src/protocol/render-views.d.ts
|
|
2933
|
+
/**
|
|
2934
|
+
* Editor → scene host: the render-view methods, answered after `ready` like every `SceneMethod`.
|
|
2935
|
+
*
|
|
2936
|
+
* @remarks
|
|
2937
|
+
* A host lists `HostCapability.gameView` when it answers the first two and
|
|
2938
|
+
* `HostCapability.thumbnails` when it answers the third; one that does not answers
|
|
2939
|
+
* `RpcErrorCode.methodNotFound`. Additive in 0.3.
|
|
2940
|
+
*
|
|
2941
|
+
* @public
|
|
2942
|
+
*/
|
|
2943
|
+
export declare const RenderViewMethod: {
|
|
2944
|
+
/** Turns the Game panel's view on, off, or to a new size. Answers {@link GameViewState}. */
|
|
2945
|
+
readonly setGameView: "setGameView";
|
|
2946
|
+
/**
|
|
2947
|
+
* Renders the open scene through its own main camera, the one the game would use, and answers
|
|
2948
|
+
* the image: {@link GameViewFrameResult}. Fails with `RpcErrorCode.noScene` while no scene is
|
|
2949
|
+
* open and `RpcErrorCode.invalidRequest` while the game view is off.
|
|
2950
|
+
*/
|
|
2951
|
+
readonly gameViewFrame: "gameViewFrame";
|
|
2952
|
+
/** Renders one model or prefab asset on its own and answers the image: {@link ThumbnailResult}. */
|
|
2953
|
+
readonly renderThumbnail: "renderThumbnail";
|
|
2954
|
+
};
|
|
2955
|
+
/**
|
|
2956
|
+
* The union of the names in `RenderViewMethod`.
|
|
2957
|
+
*
|
|
2958
|
+
* @public
|
|
2959
|
+
*/
|
|
2960
|
+
export type RenderViewMethod = (typeof RenderViewMethod)[keyof typeof RenderViewMethod];
|
|
2961
|
+
/**
|
|
2962
|
+
* The largest width and height, in pixels, of the game view.
|
|
2963
|
+
*
|
|
2964
|
+
* @public
|
|
2965
|
+
*/
|
|
2966
|
+
export declare const GAME_VIEW_MAX_SIZE = 2048;
|
|
2967
|
+
/**
|
|
2968
|
+
* The game view's size until `setGameView` gives one: 640 by 360.
|
|
2969
|
+
*
|
|
2970
|
+
* @public
|
|
2971
|
+
*/
|
|
2972
|
+
export declare const GAME_VIEW_DEFAULT_SIZE: {
|
|
2973
|
+
readonly width: 640;
|
|
2974
|
+
readonly height: 360;
|
|
2975
|
+
};
|
|
2976
|
+
/**
|
|
2977
|
+
* The largest side, in pixels, of a thumbnail.
|
|
2978
|
+
*
|
|
2979
|
+
* @public
|
|
2980
|
+
*/
|
|
2981
|
+
export declare const THUMBNAIL_MAX_SIZE = 1024;
|
|
2982
|
+
/**
|
|
2983
|
+
* A thumbnail's side when the request gives none.
|
|
2984
|
+
*
|
|
2985
|
+
* @public
|
|
2986
|
+
*/
|
|
2987
|
+
export declare const THUMBNAIL_DEFAULT_SIZE = 128;
|
|
2988
|
+
/**
|
|
2989
|
+
* The parameters of `setGameView`.
|
|
2990
|
+
*
|
|
2991
|
+
* @public
|
|
2992
|
+
*/
|
|
2993
|
+
interface SetGameViewParams {
|
|
2994
|
+
/** Whether the view renders. Off frees its texture. */
|
|
2995
|
+
readonly enabled: boolean;
|
|
2996
|
+
/** The width in pixels, 1 to {@link GAME_VIEW_MAX_SIZE}; absent to keep the current one. */
|
|
2997
|
+
readonly width?: number;
|
|
2998
|
+
/** The height in pixels, 1 to {@link GAME_VIEW_MAX_SIZE}; absent to keep the current one. */
|
|
2999
|
+
readonly height?: number;
|
|
3000
|
+
}
|
|
3001
|
+
/**
|
|
3002
|
+
* The answer to `setGameView`: the view as the host now has it.
|
|
3003
|
+
*
|
|
3004
|
+
* @public
|
|
3005
|
+
*/
|
|
3006
|
+
interface GameViewState {
|
|
3007
|
+
/** Whether the view renders. */
|
|
3008
|
+
readonly enabled: boolean;
|
|
3009
|
+
/** Its width in pixels. */
|
|
3010
|
+
readonly width: number;
|
|
3011
|
+
/** Its height in pixels. */
|
|
3012
|
+
readonly height: number;
|
|
3013
|
+
}
|
|
3014
|
+
/**
|
|
3015
|
+
* The parameters of `gameViewFrame`.
|
|
3016
|
+
*
|
|
3017
|
+
* @public
|
|
3018
|
+
*/
|
|
3019
|
+
interface GameViewFrameParams {
|
|
3020
|
+
/** The image format. */
|
|
3021
|
+
readonly format: ScreenshotFormat;
|
|
3022
|
+
/** The JPEG quality, from 0 to 1; the host's default (0.9) when absent. Ignored for PNG. */
|
|
3023
|
+
readonly quality?: number;
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
* The answer to `gameViewFrame`.
|
|
3027
|
+
*
|
|
3028
|
+
* @public
|
|
3029
|
+
*/
|
|
3030
|
+
interface GameViewFrameResult {
|
|
3031
|
+
/**
|
|
3032
|
+
* The image as a PNG or JPEG data URL, at the game view's size; `null` when the open scene has
|
|
3033
|
+
* no enabled camera, so there is nothing to show.
|
|
3034
|
+
*/
|
|
3035
|
+
readonly dataUrl: string | null;
|
|
3036
|
+
/** The image width in pixels. */
|
|
3037
|
+
readonly width: number;
|
|
3038
|
+
/** The image height in pixels. */
|
|
3039
|
+
readonly height: number;
|
|
3040
|
+
/** The uid of the entity whose camera was rendered, or `null` with no image. */
|
|
3041
|
+
readonly camera: string | null;
|
|
3042
|
+
}
|
|
3043
|
+
/**
|
|
3044
|
+
* The parameters of `renderThumbnail`.
|
|
3045
|
+
*
|
|
3046
|
+
* @public
|
|
3047
|
+
*/
|
|
3048
|
+
interface RenderThumbnailParams {
|
|
3049
|
+
/**
|
|
3050
|
+
* The asset: its address, or a reference whose `type` is `"model"` or `"scene"` (a prefab). An
|
|
3051
|
+
* address alone is typed by its extension: `.glb`/`.gltf` for a model, `.prefab.json` or
|
|
3052
|
+
* `.scene.json` for a prefab.
|
|
3053
|
+
*/
|
|
3054
|
+
readonly asset: string | SceneFileAssetRef;
|
|
3055
|
+
/** The square image's side in pixels, 1 to {@link THUMBNAIL_MAX_SIZE}; {@link THUMBNAIL_DEFAULT_SIZE} when absent. */
|
|
3056
|
+
readonly size?: number;
|
|
3057
|
+
/** The image format. */
|
|
3058
|
+
readonly format: ScreenshotFormat;
|
|
3059
|
+
/** The JPEG quality, from 0 to 1; the host's default (0.9) when absent. Ignored for PNG. */
|
|
3060
|
+
readonly quality?: number;
|
|
3061
|
+
}
|
|
3062
|
+
/**
|
|
3063
|
+
* The answer to `renderThumbnail`.
|
|
3064
|
+
*
|
|
3065
|
+
* @public
|
|
3066
|
+
*/
|
|
3067
|
+
interface ThumbnailResult {
|
|
3068
|
+
/** The image as a PNG or JPEG data URL. */
|
|
3069
|
+
readonly dataUrl: string;
|
|
3070
|
+
/** The image width in pixels. */
|
|
3071
|
+
readonly width: number;
|
|
3072
|
+
/** The image height in pixels. */
|
|
3073
|
+
readonly height: number;
|
|
3074
|
+
}
|
|
3075
|
+
/**
|
|
3076
|
+
* Editor → scene host: one of the `RenderViewMethod`s.
|
|
3077
|
+
*
|
|
3078
|
+
* @public
|
|
3079
|
+
*/
|
|
3080
|
+
type RenderViewRequest = RpcRequestWithParams<typeof RenderViewMethod.setGameView, SetGameViewParams> | RpcRequestWithParams<typeof RenderViewMethod.gameViewFrame, GameViewFrameParams> | RpcRequestWithParams<typeof RenderViewMethod.renderThumbnail, RenderThumbnailParams>;
|
|
3081
|
+
/**
|
|
3082
|
+
* The success answer to `setGameView`.
|
|
3083
|
+
*
|
|
3084
|
+
* @public
|
|
3085
|
+
*/
|
|
3086
|
+
type SetGameViewResponse = RpcSuccessResponse<GameViewState>;
|
|
3087
|
+
/**
|
|
3088
|
+
* The success answer to `gameViewFrame`.
|
|
3089
|
+
*
|
|
3090
|
+
* @public
|
|
3091
|
+
*/
|
|
3092
|
+
type GameViewFrameResponse = RpcSuccessResponse<GameViewFrameResult>;
|
|
3093
|
+
/**
|
|
3094
|
+
* The success answer to `renderThumbnail`.
|
|
3095
|
+
*
|
|
3096
|
+
* @public
|
|
3097
|
+
*/
|
|
3098
|
+
type ThumbnailResponse = RpcSuccessResponse<ThumbnailResult>;
|
|
3099
|
+
/**
|
|
3100
|
+
* Checks the parameters of `setGameView`.
|
|
3101
|
+
*
|
|
3102
|
+
* @param value - The received `params`.
|
|
3103
|
+
* @returns True for a boolean `enabled` and sizes in range when given.
|
|
3104
|
+
*
|
|
3105
|
+
* @public
|
|
3106
|
+
*/
|
|
3107
|
+
export declare function isSetGameViewParams(value: unknown): value is SetGameViewParams;
|
|
3108
|
+
/**
|
|
3109
|
+
* Checks the result of `setGameView`.
|
|
3110
|
+
*
|
|
3111
|
+
* @param value - The received `result`.
|
|
3112
|
+
* @returns True for a boolean `enabled` and sizes in range.
|
|
3113
|
+
*
|
|
3114
|
+
* @public
|
|
3115
|
+
*/
|
|
3116
|
+
export declare function isGameViewState(value: unknown): value is GameViewState;
|
|
3117
|
+
/**
|
|
3118
|
+
* Checks the parameters of `gameViewFrame`.
|
|
3119
|
+
*
|
|
3120
|
+
* @param value - The received `params`.
|
|
3121
|
+
* @returns True for a known format and a quality from 0 to 1 when given.
|
|
3122
|
+
*
|
|
3123
|
+
* @public
|
|
3124
|
+
*/
|
|
3125
|
+
export declare function isGameViewFrameParams(value: unknown): value is GameViewFrameParams;
|
|
3126
|
+
/**
|
|
3127
|
+
* Checks the result of `gameViewFrame`.
|
|
3128
|
+
*
|
|
3129
|
+
* @param value - The received `result`.
|
|
3130
|
+
* @returns True for an image and a camera uid, or `null` for both, and sizes in range.
|
|
3131
|
+
*
|
|
3132
|
+
* @public
|
|
3133
|
+
*/
|
|
3134
|
+
export declare function isGameViewFrameResult(value: unknown): value is GameViewFrameResult;
|
|
3135
|
+
/**
|
|
3136
|
+
* Checks the parameters of `renderThumbnail`.
|
|
3137
|
+
*
|
|
3138
|
+
* @param value - The received `params`.
|
|
3139
|
+
* @returns True for an address or asset reference, a size in range when given, and a known format.
|
|
3140
|
+
*
|
|
3141
|
+
* @public
|
|
3142
|
+
*/
|
|
3143
|
+
export declare function isRenderThumbnailParams(value: unknown): value is RenderThumbnailParams;
|
|
3144
|
+
/**
|
|
3145
|
+
* Checks the result of `renderThumbnail`.
|
|
3146
|
+
*
|
|
3147
|
+
* @param value - The received `result`.
|
|
3148
|
+
* @returns True for an image and sizes in range.
|
|
3149
|
+
*
|
|
3150
|
+
* @public
|
|
3151
|
+
*/
|
|
3152
|
+
export declare function isThumbnailResult(value: unknown): value is ThumbnailResult;
|
|
3153
|
+
//#endregion
|
|
2871
3154
|
//#region src/channel.d.ts
|
|
2872
3155
|
/**
|
|
2873
3156
|
* Where a host listens for the editor's connect message: the view's `window` in a browser, or any
|
|
@@ -2935,6 +3218,13 @@ interface EditorHostOptions {
|
|
|
2935
3218
|
readonly editMode?: boolean;
|
|
2936
3219
|
/** The project's extensions, in the order its `main.ts` registers them. */
|
|
2937
3220
|
readonly extensions?: readonly Extension[];
|
|
3221
|
+
/**
|
|
3222
|
+
* Builds a fresh list of the project's extensions, for the second app thumbnails render in. An
|
|
3223
|
+
* extension object belongs to one app (`IGX-0411`), so the host cannot reuse `extensions`. The
|
|
3224
|
+
* generated scene view passes the project's own `extensions` function from `src/extensions.ts`.
|
|
3225
|
+
* Without it, a host given `extensions` does not list `HostCapability.thumbnails`.
|
|
3226
|
+
*/
|
|
3227
|
+
readonly createExtensions?: () => readonly Extension[];
|
|
2938
3228
|
/** The project's component classes, registered with `app.registerComponents`. */
|
|
2939
3229
|
readonly scripts?: readonly ConcreteComponentType[];
|
|
2940
3230
|
/** Project settings, as `ignifx.config.ts` supplies them (`import.meta.env.IGNIFX_CONFIG`). */
|
|
@@ -3138,5 +3428,5 @@ export declare function startEditorPlayControls(app: App, options: EditorPlayCon
|
|
|
3138
3428
|
*/
|
|
3139
3429
|
export declare function listenForEditorPlayControls(options: EditorPlayControlsOptions): EditorPlayConnector;
|
|
3140
3430
|
//#endregion
|
|
3141
|
-
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 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 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 SetGizmoParams, type SetOverrideOp, type SetPropOp, type SetSceneSettingOp, type SetTransformOp, type SetViewModeParams, type SettingsSet, type StepParams, type TransformDraggedParams, type TransformDraggingParams, type Vec3, isEditorOrigin };
|
|
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 };
|
|
3142
3432
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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/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,QA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;;;;;;;;;;wBAiCtC,qBAAqB,iBAAiB,SAAS;;;;;;;;;;;wBAuB/C,qBAAqB,iBAAiB,SAAS;;;;;;;;;;wBAkD/C,iBAAiB,iBAAiB,SAAS;;;;;;;;;wBA4B3C,kBAAkB,iBAAiB,SAAS;;;;;;;;;wBAqB5C,kBAAkB,iBAAiB,SAAS;;;;;;;;;;UCzmB3C;;;;;;;EAOf,iBAAiB,iBAAiB,WAAW,OAAO;;;;;;;EAOpD,oBAAoB,iBAAiB,WAAW,OAAO;;;;;;;;;;UC5BxC;;WAEN;;WAEA;;;;;;;;;;UCSM;;;;;WAKN;;WAEA,kBAAkB,SAAS;;WAE3B,SAAS;;WAET;;;;;;;WAOA;;WAEA,sBAAsB;;WAEtB,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;;;;;;;;UCrH1D;;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;;;;;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,mBAAmB;;WAEzB,gBAAgB;;WAEhB,IAAI;;WAEJ,QAAQ;;;;;;;UAQF;;WAEN,gBAAgB;;WAEhB,IAAI;;WAEJ,OAAO;;;;;;;;;KAUN,YAAY,eAAe,mBAAmB,KAAK;;;;;;KAOnD,aAAa,aAAa,kBAAkB;;;;;;;;;;wBAgDxC,aAAa,iBAAiB,SAAS;;;;;;;;;;;;;UCzMtC;;WAEN;;WAEA;;;;;;;;qBASE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;wBAyBf,4BAA4B,GAAG,iBAAiB,GAAG;;;;;;;;;;;qBC5BtD;;WAEX;;WAEA;;;;;;;YAQU,0BAA0B,8BAA8B;;;;;;qBAOvD;;WAEX;;WAEA;;;;;;;YAQU,mBAAmB,uBAAuB;;;;;;;;;;;;;qBAczC;;WAEX;;WAEA;;;;;WAKA;;;;;;WAMA;;WAEA;;;;;WAKA;;;;;;;WAOA;;;;;;;;WAQA;;;;;;WAMA;;;;;;;WAOA;;;;;;WAMA;;;;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