@woosh/meep-engine 2.165.3 → 2.165.5

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.
Files changed (159) hide show
  1. package/editor/Editor.d.ts +65 -65
  2. package/editor/SelectionVisualizer.d.ts +19 -19
  3. package/editor/actions/concrete/ActionUpdateTexture.d.ts +11 -11
  4. package/editor/actions/concrete/ArrayCopyAction.d.ts +19 -19
  5. package/editor/actions/concrete/ComponentAddAction.d.ts +14 -14
  6. package/editor/actions/concrete/ComponentRemoveAction.d.ts +10 -10
  7. package/editor/actions/concrete/EntityCreateAction.d.ts +17 -17
  8. package/editor/actions/concrete/EntityRemoveAction.d.ts +10 -10
  9. package/editor/actions/concrete/ModifyPatchSampler2DAction.d.ts +46 -46
  10. package/editor/actions/concrete/ModifyPatchTextureArray2DAction.d.ts +37 -37
  11. package/editor/actions/concrete/PaintTerrainOverlayAction.d.ts +22 -22
  12. package/editor/actions/concrete/PatchTerrainHeightAction.d.ts +18 -18
  13. package/editor/actions/concrete/SelectionAddAction.d.ts +18 -18
  14. package/editor/actions/concrete/SelectionClearAction.d.ts +8 -8
  15. package/editor/actions/concrete/SelectionRemoveAction.d.ts +9 -9
  16. package/editor/actions/concrete/TransformModifyAction.d.ts +16 -16
  17. package/editor/actions/concrete/WriteGridValueAction.d.ts +14 -14
  18. package/editor/ecs/EditorEntity.d.ts +15 -15
  19. package/editor/ecs/EditorEntitySystem.d.ts +7 -7
  20. package/editor/ecs/component/FieldDescriptor.d.ts +26 -26
  21. package/editor/ecs/component/FieldValueAdapter.d.ts +6 -6
  22. package/editor/ecs/component/TypeEditor.d.ts +24 -24
  23. package/editor/ecs/component/createFieldEditor.d.ts +8 -8
  24. package/editor/ecs/component/createObjectEditor.d.ts +13 -13
  25. package/editor/ecs/component/editors/ColorEditor.d.ts +6 -6
  26. package/editor/ecs/component/editors/HTMLElementEditor.d.ts +6 -6
  27. package/editor/ecs/component/editors/ImagePathEditor.d.ts +6 -6
  28. package/editor/ecs/component/editors/LargeStringEditor.d.ts +15 -15
  29. package/editor/ecs/component/editors/NumericIntervalEditor.d.ts +6 -6
  30. package/editor/ecs/component/editors/ObservedBooleanEditor.d.ts +6 -6
  31. package/editor/ecs/component/editors/ObservedEnumEditor.d.ts +6 -6
  32. package/editor/ecs/component/editors/ObservedIntegerEditor.d.ts +6 -6
  33. package/editor/ecs/component/editors/ObservedStringEditor.d.ts +6 -6
  34. package/editor/ecs/component/editors/Sampler2DEditor.d.ts +6 -6
  35. package/editor/ecs/component/editors/collection/ListEditor.d.ts +7 -7
  36. package/editor/ecs/component/editors/common/BitFlagsEditor.d.ts +11 -11
  37. package/editor/ecs/component/editors/common/EnumEditor.d.ts +7 -7
  38. package/editor/ecs/component/editors/common/makeV3_editor.d.ts +14 -14
  39. package/editor/ecs/component/editors/common/noEditor.d.ts +2 -2
  40. package/editor/ecs/component/editors/ecs/GridObstacleEditor.d.ts +6 -6
  41. package/editor/ecs/component/editors/ecs/MinimapMarkerEditor.d.ts +13 -13
  42. package/editor/ecs/component/editors/ecs/ParameterLookupTableEditor.d.ts +66 -66
  43. package/editor/ecs/component/editors/ecs/ParameterTrackEditor.d.ts +11 -11
  44. package/editor/ecs/component/editors/ecs/ParameterTrackSetEditor.d.ts +13 -13
  45. package/editor/ecs/component/editors/ecs/ParticleEmitterEditor.d.ts +51 -51
  46. package/editor/ecs/component/editors/ecs/ParticleEmitterLayerEditor.d.ts +47 -47
  47. package/editor/ecs/component/editors/ecs/SimulationStepDefinitionEditor.d.ts +15 -15
  48. package/editor/ecs/component/editors/ecs/Trail2DEditor.d.ts +29 -29
  49. package/editor/ecs/component/editors/ecs/TransformEditor.d.ts +19 -19
  50. package/editor/ecs/component/editors/ecs/terrain/SplatMappingEditor.d.ts +18 -18
  51. package/editor/ecs/component/editors/ecs/terrain/TerrainEditor.d.ts +38 -38
  52. package/editor/ecs/component/editors/ecs/terrain/TerrainLayerEditor.d.ts +15 -15
  53. package/editor/ecs/component/editors/ecs/terrain/TerrainLayersEditor.d.ts +18 -18
  54. package/editor/ecs/component/editors/ecs/terrain/TerrainOverlayEditor.d.ts +17 -17
  55. package/editor/ecs/component/editors/geom/QuaternionEditor.d.ts +5 -5
  56. package/editor/ecs/component/editors/geom/Vector1Editor.d.ts +6 -6
  57. package/editor/ecs/component/editors/geom/Vector2Editor.d.ts +5 -5
  58. package/editor/ecs/component/editors/geom/Vector3Editor.d.ts +5 -5
  59. package/editor/ecs/component/editors/geom/Vector4Editor.d.ts +5 -5
  60. package/editor/ecs/component/editors/primitive/ArrayEditor.d.ts +7 -7
  61. package/editor/ecs/component/editors/primitive/BooleanEditor.d.ts +6 -6
  62. package/editor/ecs/component/editors/primitive/FunctionEditor.d.ts +6 -6
  63. package/editor/ecs/component/editors/primitive/NumberEditor.d.ts +7 -7
  64. package/editor/ecs/component/editors/primitive/ObjectEditor.d.ts +5 -5
  65. package/editor/ecs/component/editors/primitive/StringEditor.d.ts +6 -6
  66. package/editor/ecs/component/editors/three/BufferGeometryEditor.d.ts +6 -6
  67. package/editor/ecs/component/editors/three/MaterialEditor.d.ts +6 -6
  68. package/editor/ecs/component/editors/three/MeshEditor.d.ts +6 -6
  69. package/editor/ecs/component/editors/three/TextureEditor.d.ts +6 -6
  70. package/editor/ecs/component/findNearestRegisteredType.d.ts +7 -7
  71. package/editor/enableEditor.d.ts +13 -13
  72. package/editor/library/MeshLibrary.d.ts +12 -12
  73. package/editor/process/DisableGameUIProcess.d.ts +7 -7
  74. package/editor/process/EditorProcess.d.ts +18 -18
  75. package/editor/process/ObstacleGridDisplayProcess.d.ts +12 -12
  76. package/editor/process/ProcessEngine.d.ts +29 -29
  77. package/editor/process/SymbolicDisplayProcess.d.ts +18 -18
  78. package/editor/process/symbolic/ComponentSymbolicDisplay.d.ts +10 -10
  79. package/editor/process/symbolic/SymbolicDisplayInternalAPI.d.ts +64 -64
  80. package/editor/process/symbolic/buildThreeJSHelperEntity.d.ts +8 -8
  81. package/editor/process/symbolic/make3DSymbolicDisplay.d.ts +9 -9
  82. package/editor/process/symbolic/makeCameraSymbolicDisplay.d.ts +6 -6
  83. package/editor/process/symbolic/makeGridPositionSymbolDisplay.d.ts +5 -5
  84. package/editor/process/symbolic/makeHelperBoxGeometry.d.ts +2 -2
  85. package/editor/process/symbolic/makeHelperSphereGeometry.d.ts +8 -8
  86. package/editor/process/symbolic/makeLightSymbolicDisplay.d.ts +6 -6
  87. package/editor/process/symbolic/makeParticleEmitterSymbolicDisplay.d.ts +5 -5
  88. package/editor/process/symbolic/makePathSymbolicDisplay.d.ts +6 -6
  89. package/editor/process/symbolic/makePositionedIconDisplaySymbol.d.ts +8 -8
  90. package/editor/process/symbolic/makeSocketsSymbolicDisplay.d.ts +6 -6
  91. package/editor/process/symbolic/makeSolidArrowGeometry.d.ts +25 -25
  92. package/editor/process/symbolic/makeSoundEmitterSymbolicDisplay.d.ts +5 -5
  93. package/editor/process/symbolic/synchronizeTransform.d.ts +11 -11
  94. package/editor/tools/GridPaintTool.d.ts +16 -16
  95. package/editor/tools/SelectionTool.d.ts +26 -26
  96. package/editor/tools/TopDownCameraControlTool.d.ts +12 -12
  97. package/editor/tools/engine/Tool.d.ts +63 -63
  98. package/editor/tools/engine/ToolEngine.d.ts +22 -22
  99. package/editor/tools/engine/ToolState.d.ts +6 -6
  100. package/editor/tools/paint/TerrainHeightPaintTool.d.ts +17 -17
  101. package/editor/tools/paint/TerrainPaintTool.d.ts +30 -30
  102. package/editor/tools/paint/TerrainTexturePaintTool.d.ts +17 -17
  103. package/editor/tools/v2/TransformMode.d.ts +6 -6
  104. package/editor/view/EditorView.d.ts +38 -38
  105. package/editor/view/ecs/ComponentControlFactory.d.ts +18 -18
  106. package/editor/view/ecs/ComponentControlView.d.ts +23 -23
  107. package/editor/view/ecs/EntityEditor.d.ts +29 -29
  108. package/editor/view/ecs/EntityList.d.ts +21 -21
  109. package/editor/view/ecs/HierarchicalEntityListView.d.ts +7 -7
  110. package/editor/view/ecs/components/DatGuiController.d.ts +45 -45
  111. package/editor/view/ecs/components/GridObstacleController.d.ts +13 -13
  112. package/editor/view/ecs/components/color/GaugeView.d.ts +12 -12
  113. package/editor/view/ecs/components/common/AutoCanvasView.d.ts +19 -19
  114. package/editor/view/ecs/components/common/LineView.d.ts +11 -11
  115. package/editor/view/ecs/components/common/NumberController.d.ts +17 -17
  116. package/editor/view/ecs/components/particles/ColorParameterLUTController.d.ts +13 -13
  117. package/editor/view/makeEntityDecorators.d.ts +5 -5
  118. package/editor/view/tools/ToolSettingsView.d.ts +10 -10
  119. package/editor/view/tools/ToolView.d.ts +12 -12
  120. package/editor/view/v2/SplitView.d.ts +16 -16
  121. package/package.json +1 -1
  122. package/samples/generation/grid/GridTags.d.ts +15 -15
  123. package/samples/generation/grid/MirGridLayers.d.ts +7 -7
  124. package/samples/generation/rules/matcher_tag_occupied.d.ts +2 -2
  125. package/samples/generation/rules/matcher_tag_traversable.d.ts +2 -2
  126. package/samples/generation/rules/matcher_tag_unoccupied.d.ts +2 -2
  127. package/src/core/geom/3d/sphere/harmonics/sh3_convolve_with_zh.d.ts +21 -0
  128. package/src/core/geom/3d/sphere/harmonics/sh3_convolve_with_zh.d.ts.map +1 -0
  129. package/src/core/geom/3d/sphere/harmonics/sh3_convolve_with_zh.js +53 -0
  130. package/src/core/geom/3d/sphere/harmonics/sh3_ggx_zh.d.ts +18 -0
  131. package/src/core/geom/3d/sphere/harmonics/sh3_ggx_zh.d.ts.map +1 -0
  132. package/src/core/geom/3d/sphere/harmonics/sh3_ggx_zh.js +30 -0
  133. package/src/engine/graphics/ecs/light/LightContext.d.ts +8 -0
  134. package/src/engine/graphics/ecs/light/LightContext.d.ts.map +1 -1
  135. package/src/engine/graphics/ecs/light/LightContext.js +33 -3
  136. package/src/engine/graphics/ecs/light/LightSystem.d.ts.map +1 -1
  137. package/src/engine/graphics/ecs/light/LightSystem.js +13 -6
  138. package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.d.ts +12 -0
  139. package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.d.ts.map +1 -1
  140. package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.js +184 -6
  141. package/src/engine/graphics/render/buffer/simple-fx/ao/SAOShader.js +381 -362
  142. package/src/engine/graphics/sh3/lpg/LightProbeGridBaker.d.ts +43 -4
  143. package/src/engine/graphics/sh3/lpg/LightProbeGridBaker.d.ts.map +1 -1
  144. package/src/engine/graphics/sh3/lpg/LightProbeGridBaker.js +72 -5
  145. package/src/engine/graphics/sh3/lpg/bake_probe_sh3_resampled.d.ts +37 -0
  146. package/src/engine/graphics/sh3/lpg/bake_probe_sh3_resampled.d.ts.map +1 -0
  147. package/src/engine/graphics/sh3/lpg/bake_probe_sh3_resampled.js +298 -0
  148. package/src/engine/graphics/sh3/lpg/light_probe_grid_dilate.d.ts +18 -0
  149. package/src/engine/graphics/sh3/lpg/light_probe_grid_dilate.d.ts.map +1 -0
  150. package/src/engine/graphics/sh3/lpg/light_probe_grid_dilate.js +142 -0
  151. package/src/engine/graphics/sh3/path_tracer/PathTracer.d.ts +6 -0
  152. package/src/engine/graphics/sh3/path_tracer/PathTracer.d.ts.map +1 -1
  153. package/src/engine/graphics/sh3/path_tracer/PathTracer.js +1 -1
  154. package/src/engine/graphics/shadows/ShadowMapRenderer.d.ts +10 -0
  155. package/src/engine/graphics/shadows/ShadowMapRenderer.d.ts.map +1 -1
  156. package/src/engine/graphics/shadows/ShadowMapRenderer.js +83 -10
  157. package/src/engine/graphics/shadows/testPointShadowMapRendering.d.ts +2 -0
  158. package/src/engine/graphics/shadows/testPointShadowMapRendering.d.ts.map +1 -0
  159. package/src/engine/graphics/shadows/testPointShadowMapRendering.js +242 -0
@@ -1,66 +1,66 @@
1
- export default Editor;
2
- /**
3
- *
4
- * @constructor
5
- * @property {List.<Number>} selection represents list of currently selected entities
6
- * @property {List.<Object>} history list of applied actions
7
- */
8
- declare function Editor(): void;
9
- declare class Editor {
10
- processEngine: ProcessEngine;
11
- toolEngine: ToolEngine;
12
- selection: List<any>;
13
- actions: ActionProcessor<this, any>;
14
- selectionVistualizer: SelectionVisualizer;
15
- meshLibrary: MeshLibrary;
16
- /**
17
- *
18
- * @type {Map<any, TypeEditor>}
19
- */
20
- type_editor_registry: Map<any, TypeEditor>;
21
- cameraEntity: Entity;
22
- editorEntitySystem: EditorEntitySystem;
23
- view: EditorView;
24
- copyBuffer: any[];
25
- handlers: {
26
- keyDown: (event: KeyboardEvent) => void;
27
- };
28
- initialize(): void;
29
- disabledSystems: any[];
30
- lastTool: any;
31
- cleanupTasks: any[];
32
- /**
33
- * Attempt to focus camera on the entity
34
- * @param {int} entity
35
- */
36
- focusEntity(entity: int): void;
37
- /**
38
- *
39
- * @param {Engine} engine
40
- */
41
- attach(engine: Engine): Promise<void>;
42
- engine: Engine;
43
- /**
44
- *
45
- * @param {Class} systemClass
46
- */
47
- disableSystem(systemClass: Class): void;
48
- restoreDisableSystem(): void;
49
- detach(): void;
50
- /**
51
- *
52
- * @param {int} entity
53
- * @returns {boolean}
54
- */
55
- isEditorEntity(entity: int): boolean;
56
- }
57
- import { ProcessEngine } from "./process/ProcessEngine.js";
58
- import ToolEngine from './tools/engine/ToolEngine.js';
59
- import List from '../src/core/collection/list/List.js';
60
- import { ActionProcessor } from '../src/core/process/undo/ActionProcessor.js';
61
- import { SelectionVisualizer } from "./SelectionVisualizer.js";
62
- import { MeshLibrary } from "./library/MeshLibrary.js";
63
- import Entity from "../src/engine/ecs/Entity.js";
64
- import EditorEntitySystem from "./ecs/EditorEntitySystem.js";
65
- import EditorView from './view/EditorView.js';
1
+ export default Editor;
2
+ /**
3
+ *
4
+ * @constructor
5
+ * @property {List.<Number>} selection represents list of currently selected entities
6
+ * @property {List.<Object>} history list of applied actions
7
+ */
8
+ declare function Editor(): void;
9
+ declare class Editor {
10
+ processEngine: ProcessEngine;
11
+ toolEngine: ToolEngine;
12
+ selection: List<any>;
13
+ actions: ActionProcessor<this, any>;
14
+ selectionVistualizer: SelectionVisualizer;
15
+ meshLibrary: MeshLibrary;
16
+ /**
17
+ *
18
+ * @type {Map<any, TypeEditor>}
19
+ */
20
+ type_editor_registry: Map<any, TypeEditor>;
21
+ cameraEntity: Entity;
22
+ editorEntitySystem: EditorEntitySystem;
23
+ view: EditorView;
24
+ copyBuffer: any[];
25
+ handlers: {
26
+ keyDown: (event: KeyboardEvent) => void;
27
+ };
28
+ initialize(): void;
29
+ disabledSystems: any[];
30
+ lastTool: any;
31
+ cleanupTasks: any[];
32
+ /**
33
+ * Attempt to focus camera on the entity
34
+ * @param {int} entity
35
+ */
36
+ focusEntity(entity: int): void;
37
+ /**
38
+ *
39
+ * @param {Engine} engine
40
+ */
41
+ attach(engine: Engine): Promise<void>;
42
+ engine: Engine;
43
+ /**
44
+ *
45
+ * @param {Class} systemClass
46
+ */
47
+ disableSystem(systemClass: Class): void;
48
+ restoreDisableSystem(): void;
49
+ detach(): void;
50
+ /**
51
+ *
52
+ * @param {int} entity
53
+ * @returns {boolean}
54
+ */
55
+ isEditorEntity(entity: int): boolean;
56
+ }
57
+ import { ProcessEngine } from "./process/ProcessEngine.js";
58
+ import ToolEngine from './tools/engine/ToolEngine.js';
59
+ import List from '../src/core/collection/list/List.js';
60
+ import { ActionProcessor } from '../src/core/process/undo/ActionProcessor.js';
61
+ import { SelectionVisualizer } from "./SelectionVisualizer.js";
62
+ import { MeshLibrary } from "./library/MeshLibrary.js";
63
+ import Entity from "../src/engine/ecs/Entity.js";
64
+ import EditorEntitySystem from "./ecs/EditorEntitySystem.js";
65
+ import EditorView from './view/EditorView.js';
66
66
  //# sourceMappingURL=Editor.d.ts.map
@@ -1,20 +1,20 @@
1
- export class SelectionVisualizer {
2
- /**
3
- *
4
- * @param {Editor} editor
5
- * @constructor
6
- */
7
- constructor(editor: Editor);
8
- editor: Editor;
9
- group: Group;
10
- handlers: {
11
- addEntity: (entity: any) => void;
12
- removeEntity: (entity: any) => void;
13
- };
14
- bindings: SignalBinding[];
15
- startup(): void;
16
- shutdown(): void;
17
- }
18
- import { Group } from 'three';
19
- import { SignalBinding } from "../src/core/events/signal/SignalBinding.js";
1
+ export class SelectionVisualizer {
2
+ /**
3
+ *
4
+ * @param {Editor} editor
5
+ * @constructor
6
+ */
7
+ constructor(editor: Editor);
8
+ editor: Editor;
9
+ group: Group;
10
+ handlers: {
11
+ addEntity: (entity: any) => void;
12
+ removeEntity: (entity: any) => void;
13
+ };
14
+ bindings: SignalBinding[];
15
+ startup(): void;
16
+ shutdown(): void;
17
+ }
18
+ import { Group } from 'three';
19
+ import { SignalBinding } from "../src/core/events/signal/SignalBinding.js";
20
20
  //# sourceMappingURL=SelectionVisualizer.d.ts.map
@@ -1,12 +1,12 @@
1
- export class ActionUpdateTexture extends Action<any> {
2
- /**
3
- *
4
- * @param {THREE.Texture} texture
5
- */
6
- constructor(texture: THREE.Texture);
7
- __texture: import("three").Texture;
8
- apply(context: any): Promise<void>;
9
- revert(context: any): Promise<void>;
10
- }
11
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export class ActionUpdateTexture extends Action<any> {
2
+ /**
3
+ *
4
+ * @param {THREE.Texture} texture
5
+ */
6
+ constructor(texture: THREE.Texture);
7
+ __texture: import("three").Texture;
8
+ apply(context: any): Promise<void>;
9
+ revert(context: any): Promise<void>;
10
+ }
11
+ import { Action } from "../../../src/core/process/undo/Action.js";
12
12
  //# sourceMappingURL=ActionUpdateTexture.d.ts.map
@@ -1,20 +1,20 @@
1
- export class ArrayCopyAction extends Action<any> {
2
- /**
3
- * @template T
4
- * @param {ArrayLike<T>|T[]|Uint8Array|Float32Array} source
5
- * @param {ArrayLike<T>|T[]|Uint8Array|Float32Array} destination
6
- */
7
- constructor(source: Uint8Array | Float32Array | ArrayLike<T> | T[], destination: Uint8Array | Float32Array | ArrayLike<T> | T[]);
8
- __source: Uint8Array | Float32Array | ArrayLike<T> | T[];
9
- __destination: Uint8Array | Float32Array | ArrayLike<T> | T[];
10
- /**
11
- *
12
- * @type {ArrayLike<T>|null}
13
- * @private
14
- */
15
- private __restore_value;
16
- apply(context: any): Promise<void>;
17
- revert(context: any): Promise<void>;
18
- }
19
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export class ArrayCopyAction extends Action<any> {
2
+ /**
3
+ * @template T
4
+ * @param {ArrayLike<T>|T[]|Uint8Array|Float32Array} source
5
+ * @param {ArrayLike<T>|T[]|Uint8Array|Float32Array} destination
6
+ */
7
+ constructor(source: Uint8Array | Float32Array | ArrayLike<T> | T[], destination: Uint8Array | Float32Array | ArrayLike<T> | T[]);
8
+ __source: Uint8Array | Float32Array | ArrayLike<T> | T[];
9
+ __destination: Uint8Array | Float32Array | ArrayLike<T> | T[];
10
+ /**
11
+ *
12
+ * @type {ArrayLike<T>|null}
13
+ * @private
14
+ */
15
+ private __restore_value;
16
+ apply(context: any): Promise<void>;
17
+ revert(context: any): Promise<void>;
18
+ }
19
+ import { Action } from "../../../src/core/process/undo/Action.js";
20
20
  //# sourceMappingURL=ArrayCopyAction.d.ts.map
@@ -1,15 +1,15 @@
1
- export default ComponentAddAction;
2
- declare class ComponentAddAction extends Action<any> {
3
- constructor(entity: any, component: any);
4
- entity: any;
5
- component: any;
6
- /**
7
- *
8
- * @type {EntityComponentDataset}
9
- */
10
- dataset: EntityComponentDataset;
11
- apply(editor: any): Promise<void>;
12
- revert(editor: any): Promise<void>;
13
- }
14
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export default ComponentAddAction;
2
+ declare class ComponentAddAction extends Action<any> {
3
+ constructor(entity: any, component: any);
4
+ entity: any;
5
+ component: any;
6
+ /**
7
+ *
8
+ * @type {EntityComponentDataset}
9
+ */
10
+ dataset: EntityComponentDataset;
11
+ apply(editor: any): Promise<void>;
12
+ revert(editor: any): Promise<void>;
13
+ }
14
+ import { Action } from "../../../src/core/process/undo/Action.js";
15
15
  //# sourceMappingURL=ComponentAddAction.d.ts.map
@@ -1,11 +1,11 @@
1
- export default ComponentRemoveAction;
2
- declare class ComponentRemoveAction extends Action<any> {
3
- constructor(entity: any, componentType: any);
4
- entity: any;
5
- componentType: any;
6
- component: any;
7
- apply(editor: any): Promise<void>;
8
- revert(editor: any): Promise<void>;
9
- }
10
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export default ComponentRemoveAction;
2
+ declare class ComponentRemoveAction extends Action<any> {
3
+ constructor(entity: any, componentType: any);
4
+ entity: any;
5
+ componentType: any;
6
+ component: any;
7
+ apply(editor: any): Promise<void>;
8
+ revert(editor: any): Promise<void>;
9
+ }
10
+ import { Action } from "../../../src/core/process/undo/Action.js";
11
11
  //# sourceMappingURL=ComponentRemoveAction.d.ts.map
@@ -1,18 +1,18 @@
1
- export default EntityCreateAction;
2
- declare class EntityCreateAction extends Action<any> {
3
- constructor();
4
- /**
5
- *
6
- * @type {number|null}
7
- */
8
- entity: number | null;
9
- /**
10
- *
11
- * @type {EntityComponentDataset}
12
- */
13
- ecd: EntityComponentDataset;
14
- apply(editor: any): Promise<void>;
15
- revert(editor: any): Promise<void>;
16
- }
17
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export default EntityCreateAction;
2
+ declare class EntityCreateAction extends Action<any> {
3
+ constructor();
4
+ /**
5
+ *
6
+ * @type {number|null}
7
+ */
8
+ entity: number | null;
9
+ /**
10
+ *
11
+ * @type {EntityComponentDataset}
12
+ */
13
+ ecd: EntityComponentDataset;
14
+ apply(editor: any): Promise<void>;
15
+ revert(editor: any): Promise<void>;
16
+ }
17
+ import { Action } from "../../../src/core/process/undo/Action.js";
18
18
  //# sourceMappingURL=EntityCreateAction.d.ts.map
@@ -1,11 +1,11 @@
1
- export default EntityRemoveAction;
2
- /**
3
- * @extends {Action<Editor>}
4
- */
5
- declare class EntityRemoveAction extends Action<Editor> {
6
- constructor(entity: any);
7
- entity: any;
8
- components: any[];
9
- }
10
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export default EntityRemoveAction;
2
+ /**
3
+ * @extends {Action<Editor>}
4
+ */
5
+ declare class EntityRemoveAction extends Action<Editor> {
6
+ constructor(entity: any);
7
+ entity: any;
8
+ components: any[];
9
+ }
10
+ import { Action } from "../../../src/core/process/undo/Action.js";
11
11
  //# sourceMappingURL=EntityRemoveAction.d.ts.map
@@ -1,47 +1,47 @@
1
- export class ModifyPatchSampler2DAction extends Action<any> {
2
- /**
3
- *
4
- * @param {Sampler2D} sampler
5
- * @param {number[]} bounds
6
- */
7
- constructor(sampler: Sampler2D, bounds: number[]);
8
- /**
9
- *
10
- * @type {Sampler2D}
11
- * @private
12
- */
13
- private __sampler;
14
- /**
15
- *
16
- * @type {number[]}
17
- * @private
18
- */
19
- private __bounds;
20
- /**
21
- *
22
- * @type {Sampler2D}
23
- */
24
- __patch_new: Sampler2D;
25
- /**
26
- *
27
- * @type {Sampler2D}
28
- * @private
29
- */
30
- private __patch_old;
31
- get patch(): Sampler2D;
32
- get x(): number;
33
- get y(): number;
34
- /**
35
- *
36
- * @param {number} x coordinate in global space
37
- * @param {number} y coordinate in global space
38
- * @param {number} [channel]
39
- * @returns {number} delta between original value and the new one after the change
40
- */
41
- computeDelta(x: number, y: number, channel?: number): number;
42
- apply(context: any): Promise<void>;
43
- revert(context: any): Promise<void>;
44
- }
45
- import { Action } from "../../../src/core/process/undo/Action.js";
46
- import { Sampler2D } from "../../../src/engine/graphics/texture/sampler/Sampler2D.js";
1
+ export class ModifyPatchSampler2DAction extends Action<any> {
2
+ /**
3
+ *
4
+ * @param {Sampler2D} sampler
5
+ * @param {number[]} bounds
6
+ */
7
+ constructor(sampler: Sampler2D, bounds: number[]);
8
+ /**
9
+ *
10
+ * @type {Sampler2D}
11
+ * @private
12
+ */
13
+ private __sampler;
14
+ /**
15
+ *
16
+ * @type {number[]}
17
+ * @private
18
+ */
19
+ private __bounds;
20
+ /**
21
+ *
22
+ * @type {Sampler2D}
23
+ */
24
+ __patch_new: Sampler2D;
25
+ /**
26
+ *
27
+ * @type {Sampler2D}
28
+ * @private
29
+ */
30
+ private __patch_old;
31
+ get patch(): Sampler2D;
32
+ get x(): number;
33
+ get y(): number;
34
+ /**
35
+ *
36
+ * @param {number} x coordinate in global space
37
+ * @param {number} y coordinate in global space
38
+ * @param {number} [channel]
39
+ * @returns {number} delta between original value and the new one after the change
40
+ */
41
+ computeDelta(x: number, y: number, channel?: number): number;
42
+ apply(context: any): Promise<void>;
43
+ revert(context: any): Promise<void>;
44
+ }
45
+ import { Action } from "../../../src/core/process/undo/Action.js";
46
+ import { Sampler2D } from "../../../src/engine/graphics/texture/sampler/Sampler2D.js";
47
47
  //# sourceMappingURL=ModifyPatchSampler2DAction.d.ts.map
@@ -1,38 +1,38 @@
1
- export class ModifyPatchTextureArray2DAction extends Action<any> {
2
- /**
3
- *
4
- * @param {number[]|Uint8Array|Uint32Array|Float32Array} data
5
- * @param {number[]} data_resolution
6
- * @param {number[]} bounds
7
- */
8
- constructor(data: number[] | Uint8Array | Uint32Array | Float32Array, data_resolution: number[], bounds: number[]);
9
- __data: number[] | Uint8Array | Uint32Array | Float32Array;
10
- __data_resolution: number[];
11
- __bounds: number[];
12
- /**
13
- * @type {ArrayLike<number>}
14
- * @private
15
- */
16
- private __patch_new;
17
- /**
18
- * @type {ArrayLike<number>}
19
- * @private
20
- */
21
- private __patch_old;
22
- /**
23
- *
24
- * @param {number} center_x
25
- * @param {number} center_y
26
- * @param {Sampler2D} stamp
27
- * @param {number} layer_index
28
- * @param {number} weight
29
- * @param {number} clamp_min
30
- * @param {number} clamp_max
31
- */
32
- applyWeightStampToLayer(center_x: number, center_y: number, stamp: Sampler2D, layer_index: number, weight: number, clamp_min?: number, clamp_max?: number): void;
33
- get patch_data(): ArrayLike<number>;
34
- apply(context: any): Promise<void>;
35
- revert(context: any): Promise<void>;
36
- }
37
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export class ModifyPatchTextureArray2DAction extends Action<any> {
2
+ /**
3
+ *
4
+ * @param {number[]|Uint8Array|Uint32Array|Float32Array} data
5
+ * @param {number[]} data_resolution
6
+ * @param {number[]} bounds
7
+ */
8
+ constructor(data: number[] | Uint8Array | Uint32Array | Float32Array, data_resolution: number[], bounds: number[]);
9
+ __data: number[] | Uint8Array | Uint32Array | Float32Array;
10
+ __data_resolution: number[];
11
+ __bounds: number[];
12
+ /**
13
+ * @type {ArrayLike<number>}
14
+ * @private
15
+ */
16
+ private __patch_new;
17
+ /**
18
+ * @type {ArrayLike<number>}
19
+ * @private
20
+ */
21
+ private __patch_old;
22
+ /**
23
+ *
24
+ * @param {number} center_x
25
+ * @param {number} center_y
26
+ * @param {Sampler2D} stamp
27
+ * @param {number} layer_index
28
+ * @param {number} weight
29
+ * @param {number} clamp_min
30
+ * @param {number} clamp_max
31
+ */
32
+ applyWeightStampToLayer(center_x: number, center_y: number, stamp: Sampler2D, layer_index: number, weight: number, clamp_min?: number, clamp_max?: number): void;
33
+ get patch_data(): ArrayLike<number>;
34
+ apply(context: any): Promise<void>;
35
+ revert(context: any): Promise<void>;
36
+ }
37
+ import { Action } from "../../../src/core/process/undo/Action.js";
38
38
  //# sourceMappingURL=ModifyPatchTextureArray2DAction.d.ts.map
@@ -1,23 +1,23 @@
1
- export default PaintTerrainOverlayAction;
2
- declare class PaintTerrainOverlayAction extends Action<any> {
3
- /**
4
- *
5
- * @param {number} entity
6
- * @param {number} x
7
- * @param {number} y
8
- * @param {Vector4} color
9
- * @constructor
10
- */
11
- constructor(entity: number, x: number, y: number, color: Vector4);
12
- entity: number;
13
- x: number;
14
- y: number;
15
- color: Vector4;
16
- overlay: any;
17
- oldColor: Vector4;
18
- apply(editor: any): Promise<void>;
19
- revert(editor: any): Promise<void>;
20
- }
21
- import { Action } from "../../../src/core/process/undo/Action.js";
22
- import Vector4 from "../../../src/core/geom/Vector4.js";
1
+ export default PaintTerrainOverlayAction;
2
+ declare class PaintTerrainOverlayAction extends Action<any> {
3
+ /**
4
+ *
5
+ * @param {number} entity
6
+ * @param {number} x
7
+ * @param {number} y
8
+ * @param {Vector4} color
9
+ * @constructor
10
+ */
11
+ constructor(entity: number, x: number, y: number, color: Vector4);
12
+ entity: number;
13
+ x: number;
14
+ y: number;
15
+ color: Vector4;
16
+ overlay: any;
17
+ oldColor: Vector4;
18
+ apply(editor: any): Promise<void>;
19
+ revert(editor: any): Promise<void>;
20
+ }
21
+ import { Action } from "../../../src/core/process/undo/Action.js";
22
+ import Vector4 from "../../../src/core/geom/Vector4.js";
23
23
  //# sourceMappingURL=PaintTerrainOverlayAction.d.ts.map
@@ -1,19 +1,19 @@
1
- export class PatchTerrainHeightAction extends ModifyPatchSampler2DAction {
2
- /**
3
- *
4
- * @param {Terrain} terrain
5
- * @param {number} x
6
- * @param {number} y
7
- * @param {number} width
8
- * @param {number} height
9
- */
10
- constructor(terrain: Terrain, x: number, y: number, width: number, height: number);
11
- /**
12
- *
13
- * @type {Terrain}
14
- */
15
- terrain: Terrain;
16
- updateTerrain(): Promise<void>;
17
- }
18
- import { ModifyPatchSampler2DAction } from "./ModifyPatchSampler2DAction.js";
1
+ export class PatchTerrainHeightAction extends ModifyPatchSampler2DAction {
2
+ /**
3
+ *
4
+ * @param {Terrain} terrain
5
+ * @param {number} x
6
+ * @param {number} y
7
+ * @param {number} width
8
+ * @param {number} height
9
+ */
10
+ constructor(terrain: Terrain, x: number, y: number, width: number, height: number);
11
+ /**
12
+ *
13
+ * @type {Terrain}
14
+ */
15
+ terrain: Terrain;
16
+ updateTerrain(): Promise<void>;
17
+ }
18
+ import { ModifyPatchSampler2DAction } from "./ModifyPatchSampler2DAction.js";
19
19
  //# sourceMappingURL=PatchTerrainHeightAction.d.ts.map
@@ -1,19 +1,19 @@
1
- export default SelectionAddAction;
2
- declare class SelectionAddAction extends Action<any> {
3
- /**
4
- *
5
- * @param {int[]} entities
6
- * @constructor
7
- */
8
- constructor(entities: int[]);
9
- oldState: any;
10
- /**
11
- *
12
- * @type {int[]}
13
- */
14
- entities: int[];
15
- apply(editor: any): Promise<void>;
16
- revert(editor: any): Promise<void>;
17
- }
18
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export default SelectionAddAction;
2
+ declare class SelectionAddAction extends Action<any> {
3
+ /**
4
+ *
5
+ * @param {int[]} entities
6
+ * @constructor
7
+ */
8
+ constructor(entities: int[]);
9
+ oldState: any;
10
+ /**
11
+ *
12
+ * @type {int[]}
13
+ */
14
+ entities: int[];
15
+ apply(editor: any): Promise<void>;
16
+ revert(editor: any): Promise<void>;
17
+ }
18
+ import { Action } from "../../../src/core/process/undo/Action.js";
19
19
  //# sourceMappingURL=SelectionAddAction.d.ts.map
@@ -1,9 +1,9 @@
1
- export default SelectionClearAction;
2
- declare class SelectionClearAction extends Action<any> {
3
- constructor();
4
- oldState: any;
5
- apply(editor: any): Promise<void>;
6
- revert(editor: any): Promise<void>;
7
- }
8
- import { Action } from "../../../src/core/process/undo/Action.js";
1
+ export default SelectionClearAction;
2
+ declare class SelectionClearAction extends Action<any> {
3
+ constructor();
4
+ oldState: any;
5
+ apply(editor: any): Promise<void>;
6
+ revert(editor: any): Promise<void>;
7
+ }
8
+ import { Action } from "../../../src/core/process/undo/Action.js";
9
9
  //# sourceMappingURL=SelectionClearAction.d.ts.map