@woosh/meep-engine 2.165.4 → 2.165.6
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/editor/Editor.d.ts +65 -65
- package/editor/SelectionVisualizer.d.ts +19 -19
- package/editor/actions/concrete/ActionUpdateTexture.d.ts +11 -11
- package/editor/actions/concrete/ArrayCopyAction.d.ts +19 -19
- package/editor/actions/concrete/ComponentAddAction.d.ts +14 -14
- package/editor/actions/concrete/ComponentRemoveAction.d.ts +10 -10
- package/editor/actions/concrete/EntityCreateAction.d.ts +17 -17
- package/editor/actions/concrete/EntityRemoveAction.d.ts +10 -10
- package/editor/actions/concrete/ModifyPatchSampler2DAction.d.ts +46 -46
- package/editor/actions/concrete/ModifyPatchTextureArray2DAction.d.ts +37 -37
- package/editor/actions/concrete/PaintTerrainOverlayAction.d.ts +22 -22
- package/editor/actions/concrete/PatchTerrainHeightAction.d.ts +18 -18
- package/editor/actions/concrete/SelectionAddAction.d.ts +18 -18
- package/editor/actions/concrete/SelectionClearAction.d.ts +8 -8
- package/editor/actions/concrete/SelectionRemoveAction.d.ts +9 -9
- package/editor/actions/concrete/TransformModifyAction.d.ts +16 -16
- package/editor/actions/concrete/WriteGridValueAction.d.ts +14 -14
- package/editor/ecs/EditorEntity.d.ts +15 -15
- package/editor/ecs/EditorEntitySystem.d.ts +7 -7
- package/editor/ecs/component/FieldDescriptor.d.ts +26 -26
- package/editor/ecs/component/FieldValueAdapter.d.ts +6 -6
- package/editor/ecs/component/TypeEditor.d.ts +24 -24
- package/editor/ecs/component/createFieldEditor.d.ts +8 -8
- package/editor/ecs/component/createObjectEditor.d.ts +13 -13
- package/editor/ecs/component/editors/ColorEditor.d.ts +6 -6
- package/editor/ecs/component/editors/HTMLElementEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ImagePathEditor.d.ts +6 -6
- package/editor/ecs/component/editors/LargeStringEditor.d.ts +15 -15
- package/editor/ecs/component/editors/NumericIntervalEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedBooleanEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedEnumEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedIntegerEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedStringEditor.d.ts +6 -6
- package/editor/ecs/component/editors/Sampler2DEditor.d.ts +6 -6
- package/editor/ecs/component/editors/collection/ListEditor.d.ts +7 -7
- package/editor/ecs/component/editors/common/BitFlagsEditor.d.ts +11 -11
- package/editor/ecs/component/editors/common/EnumEditor.d.ts +7 -7
- package/editor/ecs/component/editors/common/makeV3_editor.d.ts +14 -14
- package/editor/ecs/component/editors/common/noEditor.d.ts +2 -2
- package/editor/ecs/component/editors/ecs/GridObstacleEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ecs/MinimapMarkerEditor.d.ts +13 -13
- package/editor/ecs/component/editors/ecs/ParameterLookupTableEditor.d.ts +66 -66
- package/editor/ecs/component/editors/ecs/ParameterTrackEditor.d.ts +11 -11
- package/editor/ecs/component/editors/ecs/ParameterTrackSetEditor.d.ts +13 -13
- package/editor/ecs/component/editors/ecs/ParticleEmitterEditor.d.ts +51 -51
- package/editor/ecs/component/editors/ecs/ParticleEmitterLayerEditor.d.ts +47 -47
- package/editor/ecs/component/editors/ecs/SimulationStepDefinitionEditor.d.ts +15 -15
- package/editor/ecs/component/editors/ecs/Trail2DEditor.d.ts +29 -29
- package/editor/ecs/component/editors/ecs/TransformEditor.d.ts +19 -19
- package/editor/ecs/component/editors/ecs/terrain/SplatMappingEditor.d.ts +18 -18
- package/editor/ecs/component/editors/ecs/terrain/TerrainEditor.d.ts +38 -38
- package/editor/ecs/component/editors/ecs/terrain/TerrainLayerEditor.d.ts +15 -15
- package/editor/ecs/component/editors/ecs/terrain/TerrainLayersEditor.d.ts +18 -18
- package/editor/ecs/component/editors/ecs/terrain/TerrainOverlayEditor.d.ts +17 -17
- package/editor/ecs/component/editors/geom/QuaternionEditor.d.ts +5 -5
- package/editor/ecs/component/editors/geom/Vector1Editor.d.ts +6 -6
- package/editor/ecs/component/editors/geom/Vector2Editor.d.ts +5 -5
- package/editor/ecs/component/editors/geom/Vector3Editor.d.ts +5 -5
- package/editor/ecs/component/editors/geom/Vector4Editor.d.ts +5 -5
- package/editor/ecs/component/editors/primitive/ArrayEditor.d.ts +7 -7
- package/editor/ecs/component/editors/primitive/BooleanEditor.d.ts +6 -6
- package/editor/ecs/component/editors/primitive/FunctionEditor.d.ts +6 -6
- package/editor/ecs/component/editors/primitive/NumberEditor.d.ts +7 -7
- package/editor/ecs/component/editors/primitive/ObjectEditor.d.ts +5 -5
- package/editor/ecs/component/editors/primitive/StringEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/BufferGeometryEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/MaterialEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/MeshEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/TextureEditor.d.ts +6 -6
- package/editor/ecs/component/findNearestRegisteredType.d.ts +7 -7
- package/editor/enableEditor.d.ts +13 -13
- package/editor/library/MeshLibrary.d.ts +12 -12
- package/editor/process/DisableGameUIProcess.d.ts +7 -7
- package/editor/process/EditorProcess.d.ts +18 -18
- package/editor/process/ObstacleGridDisplayProcess.d.ts +12 -12
- package/editor/process/ProcessEngine.d.ts +29 -29
- package/editor/process/SymbolicDisplayProcess.d.ts +18 -18
- package/editor/process/symbolic/ComponentSymbolicDisplay.d.ts +10 -10
- package/editor/process/symbolic/SymbolicDisplayInternalAPI.d.ts +64 -64
- package/editor/process/symbolic/buildThreeJSHelperEntity.d.ts +8 -8
- package/editor/process/symbolic/make3DSymbolicDisplay.d.ts +9 -9
- package/editor/process/symbolic/makeCameraSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makeGridPositionSymbolDisplay.d.ts +5 -5
- package/editor/process/symbolic/makeHelperBoxGeometry.d.ts +2 -2
- package/editor/process/symbolic/makeHelperSphereGeometry.d.ts +8 -8
- package/editor/process/symbolic/makeLightSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makeParticleEmitterSymbolicDisplay.d.ts +5 -5
- package/editor/process/symbolic/makePathSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makePositionedIconDisplaySymbol.d.ts +8 -8
- package/editor/process/symbolic/makeSocketsSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makeSolidArrowGeometry.d.ts +25 -25
- package/editor/process/symbolic/makeSoundEmitterSymbolicDisplay.d.ts +5 -5
- package/editor/process/symbolic/synchronizeTransform.d.ts +11 -11
- package/editor/tools/GridPaintTool.d.ts +16 -16
- package/editor/tools/SelectionTool.d.ts +26 -26
- package/editor/tools/TopDownCameraControlTool.d.ts +12 -12
- package/editor/tools/engine/Tool.d.ts +63 -63
- package/editor/tools/engine/ToolEngine.d.ts +22 -22
- package/editor/tools/engine/ToolState.d.ts +6 -6
- package/editor/tools/paint/TerrainHeightPaintTool.d.ts +17 -17
- package/editor/tools/paint/TerrainPaintTool.d.ts +30 -30
- package/editor/tools/paint/TerrainTexturePaintTool.d.ts +17 -17
- package/editor/tools/v2/TransformMode.d.ts +6 -6
- package/editor/view/EditorView.d.ts +38 -38
- package/editor/view/ecs/ComponentControlFactory.d.ts +18 -18
- package/editor/view/ecs/ComponentControlView.d.ts +23 -23
- package/editor/view/ecs/EntityEditor.d.ts +29 -29
- package/editor/view/ecs/EntityList.d.ts +21 -21
- package/editor/view/ecs/HierarchicalEntityListView.d.ts +7 -7
- package/editor/view/ecs/components/DatGuiController.d.ts +45 -45
- package/editor/view/ecs/components/GridObstacleController.d.ts +13 -13
- package/editor/view/ecs/components/color/GaugeView.d.ts +12 -12
- package/editor/view/ecs/components/common/AutoCanvasView.d.ts +19 -19
- package/editor/view/ecs/components/common/LineView.d.ts +11 -11
- package/editor/view/ecs/components/common/NumberController.d.ts +17 -17
- package/editor/view/ecs/components/particles/ColorParameterLUTController.d.ts +13 -13
- package/editor/view/makeEntityDecorators.d.ts +5 -5
- package/editor/view/tools/ToolSettingsView.d.ts +10 -10
- package/editor/view/tools/ToolView.d.ts +12 -12
- package/editor/view/v2/SplitView.d.ts +16 -16
- package/package.json +1 -1
- package/samples/generation/grid/GridTags.d.ts +15 -15
- package/samples/generation/grid/MirGridLayers.d.ts +7 -7
- package/samples/generation/rules/matcher_tag_occupied.d.ts +2 -2
- package/samples/generation/rules/matcher_tag_traversable.d.ts +2 -2
- package/samples/generation/rules/matcher_tag_unoccupied.d.ts +2 -2
- package/src/engine/ecs/gui/hud/HeadsUpDisplaySystem.d.ts.map +1 -1
- package/src/engine/ecs/gui/hud/HeadsUpDisplaySystem.js +65 -12
- package/src/engine/ecs/gui/hud/testHudEdgeStick.d.ts +2 -0
- package/src/engine/ecs/gui/hud/testHudEdgeStick.d.ts.map +1 -0
- package/src/engine/ecs/gui/hud/testHudEdgeStick.js +134 -0
- package/src/engine/ecs/gui/position/ViewportPositionSystem.d.ts.map +1 -1
- package/src/engine/ecs/gui/position/ViewportPositionSystem.js +44 -23
- package/src/engine/graphics/ecs/light/LightContext.d.ts +8 -0
- package/src/engine/graphics/ecs/light/LightContext.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/LightContext.js +33 -3
- package/src/engine/graphics/ecs/light/LightSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/LightSystem.js +13 -6
- package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.d.ts +12 -0
- package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.js +184 -6
- package/src/engine/graphics/ecs/trail3d/Trail3D.d.ts +24 -1
- package/src/engine/graphics/ecs/trail3d/Trail3D.d.ts.map +1 -1
- package/src/engine/graphics/ecs/trail3d/Trail3D.js +43 -0
- package/src/engine/graphics/ecs/trail3d/Trail3DFlags.d.ts +1 -0
- package/src/engine/graphics/ecs/trail3d/Trail3DFlags.js +9 -1
- package/src/engine/graphics/ecs/trail3d/Trail3DSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/trail3d/Trail3DSystem.js +4 -0
- package/src/engine/graphics/ecs/trail3d/prototypeTrail3D.js +22 -1
- package/src/engine/graphics/render/buffer/simple-fx/ao/SAOShader.js +381 -362
- package/src/engine/graphics/render/forward_plus/LightManager.d.ts +5 -0
- package/src/engine/graphics/render/forward_plus/LightManager.d.ts.map +1 -1
- package/src/engine/graphics/render/forward_plus/LightManager.js +11 -0
- package/src/engine/graphics/render/forward_plus/model/AbstractLight.d.ts +16 -1
- package/src/engine/graphics/render/forward_plus/model/AbstractLight.d.ts.map +1 -1
- package/src/engine/graphics/render/forward_plus/model/AbstractLight.js +22 -1
- package/src/engine/graphics/render/forward_plus/model/Decal.d.ts +7 -0
- package/src/engine/graphics/render/forward_plus/model/Decal.d.ts.map +1 -1
- package/src/engine/graphics/render/forward_plus/model/Decal.js +11 -0
- package/src/engine/graphics/render/forward_plus/model/PointLight.d.ts +2 -0
- package/src/engine/graphics/render/forward_plus/model/PointLight.d.ts.map +1 -1
- package/src/engine/graphics/render/forward_plus/model/PointLight.js +10 -0
- package/src/engine/graphics/render/forward_plus/model/SpotLight.d.ts +2 -0
- package/src/engine/graphics/render/forward_plus/model/SpotLight.d.ts.map +1 -1
- package/src/engine/graphics/render/forward_plus/model/SpotLight.js +12 -0
- package/src/engine/graphics/shadows/ShadowMapRenderer.d.ts +10 -0
- package/src/engine/graphics/shadows/ShadowMapRenderer.d.ts.map +1 -1
- package/src/engine/graphics/shadows/ShadowMapRenderer.js +83 -10
- package/src/engine/graphics/shadows/testPointShadowMapRendering.d.ts +2 -0
- package/src/engine/graphics/shadows/testPointShadowMapRendering.d.ts.map +1 -0
- package/src/engine/graphics/shadows/testPointShadowMapRendering.js +242 -0
- package/src/engine/graphics/trail/tube/TubeMaterialX.d.ts +8 -1
- package/src/engine/graphics/trail/tube/TubeMaterialX.d.ts.map +1 -1
- package/src/engine/graphics/trail/tube/TubeMaterialX.js +111 -15
- package/src/engine/graphics/trail/tube/TubeXMaterialSpec.d.ts +9 -2
- package/src/engine/graphics/trail/tube/TubeXMaterialSpec.d.ts.map +1 -1
- package/src/engine/graphics/trail/tube/TubeXMaterialSpec.js +15 -4
- package/src/engine/graphics/trail/tube/TubeXPlugin.d.ts.map +1 -1
- package/src/engine/graphics/trail/tube/TubeXPlugin.js +7 -1
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
export class SymbolicDisplayInternalAPI {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @type {SignalBinding[]}
|
|
5
|
-
*/
|
|
6
|
-
bindings: SignalBinding[];
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @type {Engine}
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
private __engine;
|
|
13
|
-
__requestUpdate: Signal<any, any, any, any, any, any, any, any>;
|
|
14
|
-
random: () => number;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @type {List<Entity>}
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
private __managed_entities;
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {ProcessState}
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
private __state;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {EntityComponentDataset}
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
private __dataset;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {number}
|
|
36
|
-
* @private
|
|
37
|
-
*/
|
|
38
|
-
private __source_entity;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @param {Entity} entity
|
|
42
|
-
*/
|
|
43
|
-
emit(entity: Entity): void;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @param {number} entity
|
|
47
|
-
* @param {EntityComponentDataset} ecd
|
|
48
|
-
* @param {Engine} engine
|
|
49
|
-
*/
|
|
50
|
-
initialize({ entity, ecd, engine }: number): void;
|
|
51
|
-
finalize(): void;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @param {Transform} source
|
|
55
|
-
* @param {Transform} target
|
|
56
|
-
*/
|
|
57
|
-
bindTransform(source: Transform, target: Transform): void;
|
|
58
|
-
bind(signal: any, action: any, context: any): void;
|
|
59
|
-
onFrame(method: any, thisArg: any): void;
|
|
60
|
-
unbind(signal: any, action: any, context: any): boolean;
|
|
61
|
-
update(): void;
|
|
62
|
-
}
|
|
63
|
-
import { SignalBinding } from "../../../src/core/events/signal/SignalBinding.js";
|
|
64
|
-
import Signal from "../../../src/core/events/signal/Signal.js";
|
|
1
|
+
export class SymbolicDisplayInternalAPI {
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @type {SignalBinding[]}
|
|
5
|
+
*/
|
|
6
|
+
bindings: SignalBinding[];
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {Engine}
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
12
|
+
private __engine;
|
|
13
|
+
__requestUpdate: Signal<any, any, any, any, any, any, any, any>;
|
|
14
|
+
random: () => number;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {List<Entity>}
|
|
18
|
+
* @private
|
|
19
|
+
*/
|
|
20
|
+
private __managed_entities;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ProcessState}
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
private __state;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {EntityComponentDataset}
|
|
30
|
+
* @private
|
|
31
|
+
*/
|
|
32
|
+
private __dataset;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
private __source_entity;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param {Entity} entity
|
|
42
|
+
*/
|
|
43
|
+
emit(entity: Entity): void;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param {number} entity
|
|
47
|
+
* @param {EntityComponentDataset} ecd
|
|
48
|
+
* @param {Engine} engine
|
|
49
|
+
*/
|
|
50
|
+
initialize({ entity, ecd, engine }: number): void;
|
|
51
|
+
finalize(): void;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param {Transform} source
|
|
55
|
+
* @param {Transform} target
|
|
56
|
+
*/
|
|
57
|
+
bindTransform(source: Transform, target: Transform): void;
|
|
58
|
+
bind(signal: any, action: any, context: any): void;
|
|
59
|
+
onFrame(method: any, thisArg: any): void;
|
|
60
|
+
unbind(signal: any, action: any, context: any): boolean;
|
|
61
|
+
update(): void;
|
|
62
|
+
}
|
|
63
|
+
import { SignalBinding } from "../../../src/core/events/signal/SignalBinding.js";
|
|
64
|
+
import Signal from "../../../src/core/events/signal/Signal.js";
|
|
65
65
|
//# sourceMappingURL=SymbolicDisplayInternalAPI.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Object3D} helper
|
|
4
|
-
* @param {number} sourceEntity
|
|
5
|
-
* @return {Entity}
|
|
6
|
-
*/
|
|
7
|
-
export function buildThreeJSHelperEntity(helper: Object3D, sourceEntity?: number): Entity;
|
|
8
|
-
import Entity from "../../../src/engine/ecs/Entity.js";
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Object3D} helper
|
|
4
|
+
* @param {number} sourceEntity
|
|
5
|
+
* @return {Entity}
|
|
6
|
+
*/
|
|
7
|
+
export function buildThreeJSHelperEntity(helper: Object3D, sourceEntity?: number): Entity;
|
|
8
|
+
import Entity from "../../../src/engine/ecs/Entity.js";
|
|
9
9
|
//# sourceMappingURL=buildThreeJSHelperEntity.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
* @param {function(components:[], api:{bind:function(Signal, function, thisArg:*), update: function, bindings:SignalBinding[]})} factory
|
|
5
|
-
* @param {Class[]} components
|
|
6
|
-
* @return {ComponentSymbolicDisplay}
|
|
7
|
-
*/
|
|
8
|
-
export function make3DSymbolicDisplay({ engine, factory, components }: Engine): ComponentSymbolicDisplay;
|
|
9
|
-
import { ComponentSymbolicDisplay } from "./ComponentSymbolicDisplay.js";
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
* @param {function(components:[], api:{bind:function(Signal, function, thisArg:*), update: function, bindings:SignalBinding[]})} factory
|
|
5
|
+
* @param {Class[]} components
|
|
6
|
+
* @return {ComponentSymbolicDisplay}
|
|
7
|
+
*/
|
|
8
|
+
export function make3DSymbolicDisplay({ engine, factory, components }: Engine): ComponentSymbolicDisplay;
|
|
9
|
+
import { ComponentSymbolicDisplay } from "./ComponentSymbolicDisplay.js";
|
|
10
10
|
//# sourceMappingURL=make3DSymbolicDisplay.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @returns {ComponentSymbolicDisplay}
|
|
4
|
-
* @param {Engine} engine
|
|
5
|
-
*/
|
|
6
|
-
export function makeCameraSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @returns {ComponentSymbolicDisplay}
|
|
4
|
+
* @param {Engine} engine
|
|
5
|
+
*/
|
|
6
|
+
export function makeCameraSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
7
7
|
//# sourceMappingURL=makeCameraSymbolicDisplay.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
*/
|
|
5
|
-
export function makeGridPositionSymbolDisplay(engine: Engine): import("./ComponentSymbolicDisplay.js").ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
*/
|
|
5
|
+
export function makeGridPositionSymbolDisplay(engine: Engine): import("./ComponentSymbolicDisplay.js").ComponentSymbolicDisplay;
|
|
6
6
|
//# sourceMappingURL=makeGridPositionSymbolDisplay.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function makeHelperBoxGeometry(sx?: number, sy?: number, sz?: number): BufferGeometry;
|
|
2
|
-
import { BufferGeometry } from "three";
|
|
1
|
+
export function makeHelperBoxGeometry(sx?: number, sy?: number, sz?: number): BufferGeometry;
|
|
2
|
+
import { BufferGeometry } from "three";
|
|
3
3
|
//# sourceMappingURL=makeHelperBoxGeometry.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {number} [radius]
|
|
4
|
-
* @param {number} [resolution]
|
|
5
|
-
* @returns {BufferGeometry}
|
|
6
|
-
*/
|
|
7
|
-
export function makeHelperSphereGeometry(radius?: number, resolution?: number): BufferGeometry;
|
|
8
|
-
import { BufferGeometry } from "three";
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {number} [radius]
|
|
4
|
+
* @param {number} [resolution]
|
|
5
|
+
* @returns {BufferGeometry}
|
|
6
|
+
*/
|
|
7
|
+
export function makeHelperSphereGeometry(radius?: number, resolution?: number): BufferGeometry;
|
|
8
|
+
import { BufferGeometry } from "three";
|
|
9
9
|
//# sourceMappingURL=makeHelperSphereGeometry.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
* @returns {ComponentSymbolicDisplay}
|
|
5
|
-
*/
|
|
6
|
-
export function makeLightSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
* @returns {ComponentSymbolicDisplay}
|
|
5
|
+
*/
|
|
6
|
+
export function makeLightSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
7
7
|
//# sourceMappingURL=makeLightSymbolicDisplay.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
*/
|
|
5
|
-
export function makeParticleEmitterSymbolicDisplay(engine: Engine): import("./ComponentSymbolicDisplay.js").ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
*/
|
|
5
|
+
export function makeParticleEmitterSymbolicDisplay(engine: Engine): import("./ComponentSymbolicDisplay.js").ComponentSymbolicDisplay;
|
|
6
6
|
//# sourceMappingURL=makeParticleEmitterSymbolicDisplay.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @return {ComponentSymbolicDisplay}
|
|
4
|
-
* @param {Engine} engine
|
|
5
|
-
*/
|
|
6
|
-
export function makePathSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @return {ComponentSymbolicDisplay}
|
|
4
|
+
* @param {Engine} engine
|
|
5
|
+
*/
|
|
6
|
+
export function makePathSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
7
7
|
//# sourceMappingURL=makePathSymbolicDisplay.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @template C,T
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
* @param {string} iconURL
|
|
5
|
-
* @param {C} ComponentClass
|
|
6
|
-
* @returns {ComponentSymbolicDisplay}
|
|
7
|
-
*/
|
|
8
|
-
export function makePositionedIconDisplaySymbol<C, T>(engine: Engine, iconURL: string, ComponentClass: C): ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
* @template C,T
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
* @param {string} iconURL
|
|
5
|
+
* @param {C} ComponentClass
|
|
6
|
+
* @returns {ComponentSymbolicDisplay}
|
|
7
|
+
*/
|
|
8
|
+
export function makePositionedIconDisplaySymbol<C, T>(engine: Engine, iconURL: string, ComponentClass: C): ComponentSymbolicDisplay;
|
|
9
9
|
//# sourceMappingURL=makePositionedIconDisplaySymbol.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
* @return {ComponentSymbolicDisplay}
|
|
5
|
-
*/
|
|
6
|
-
export function makeSocketsSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
* @return {ComponentSymbolicDisplay}
|
|
5
|
+
*/
|
|
6
|
+
export function makeSocketsSymbolicDisplay(engine: Engine): ComponentSymbolicDisplay;
|
|
7
7
|
//# sourceMappingURL=makeSocketsSymbolicDisplay.d.ts.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export function makeSolidArrowGeometry(): ArrowBufferGeometry;
|
|
2
|
-
declare class ArrowBufferGeometry extends BufferGeometry {
|
|
3
|
-
constructor({ radiusTop, radiusBottom, height, heightTop, radialSegments, heightSegments, openEnded, heightIncludesHead }?: {
|
|
4
|
-
radiusTop?: number;
|
|
5
|
-
radiusBottom?: number;
|
|
6
|
-
height?: number;
|
|
7
|
-
heightTop?: number;
|
|
8
|
-
radialSegments?: number;
|
|
9
|
-
heightSegments?: number;
|
|
10
|
-
openEnded?: boolean;
|
|
11
|
-
heightIncludesHead?: boolean;
|
|
12
|
-
});
|
|
13
|
-
parameters: {
|
|
14
|
-
radiusTop: number;
|
|
15
|
-
radiusBottom: number;
|
|
16
|
-
height: number;
|
|
17
|
-
heightTop: number;
|
|
18
|
-
radialSegments: number;
|
|
19
|
-
heightSegments: number;
|
|
20
|
-
openEnded: boolean;
|
|
21
|
-
heightIncludesHead: boolean;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
import { BufferGeometry } from "three/src/core/BufferGeometry.js";
|
|
25
|
-
export {};
|
|
1
|
+
export function makeSolidArrowGeometry(): ArrowBufferGeometry;
|
|
2
|
+
declare class ArrowBufferGeometry extends BufferGeometry {
|
|
3
|
+
constructor({ radiusTop, radiusBottom, height, heightTop, radialSegments, heightSegments, openEnded, heightIncludesHead }?: {
|
|
4
|
+
radiusTop?: number;
|
|
5
|
+
radiusBottom?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
heightTop?: number;
|
|
8
|
+
radialSegments?: number;
|
|
9
|
+
heightSegments?: number;
|
|
10
|
+
openEnded?: boolean;
|
|
11
|
+
heightIncludesHead?: boolean;
|
|
12
|
+
});
|
|
13
|
+
parameters: {
|
|
14
|
+
radiusTop: number;
|
|
15
|
+
radiusBottom: number;
|
|
16
|
+
height: number;
|
|
17
|
+
heightTop: number;
|
|
18
|
+
radialSegments: number;
|
|
19
|
+
heightSegments: number;
|
|
20
|
+
openEnded: boolean;
|
|
21
|
+
heightIncludesHead: boolean;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
import { BufferGeometry } from "three/src/core/BufferGeometry.js";
|
|
25
|
+
export {};
|
|
26
26
|
//# sourceMappingURL=makeSolidArrowGeometry.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Engine} engine
|
|
4
|
-
*/
|
|
5
|
-
export function makeSoundEmitterSymbolicDisplay(engine: Engine): import("./ComponentSymbolicDisplay.js").ComponentSymbolicDisplay;
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Engine} engine
|
|
4
|
+
*/
|
|
5
|
+
export function makeSoundEmitterSymbolicDisplay(engine: Engine): import("./ComponentSymbolicDisplay.js").ComponentSymbolicDisplay;
|
|
6
6
|
//# sourceMappingURL=makeSoundEmitterSymbolicDisplay.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {!Transform} source
|
|
4
|
-
* @param {!Transform} target
|
|
5
|
-
* @param {SignalBinding[]} bindings
|
|
6
|
-
* @param {boolean} [syncPosition=true]
|
|
7
|
-
* @param {boolean} [syncRotation=true]
|
|
8
|
-
* @param {boolean} [syncScale=true]
|
|
9
|
-
*/
|
|
10
|
-
export function synchronizeTransform(source: Transform, target: Transform, bindings: SignalBinding[], syncPosition?: boolean, syncRotation?: boolean, syncScale?: boolean): void;
|
|
11
|
-
import { SignalBinding } from "../../../src/core/events/signal/SignalBinding.js";
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {!Transform} source
|
|
4
|
+
* @param {!Transform} target
|
|
5
|
+
* @param {SignalBinding[]} bindings
|
|
6
|
+
* @param {boolean} [syncPosition=true]
|
|
7
|
+
* @param {boolean} [syncRotation=true]
|
|
8
|
+
* @param {boolean} [syncScale=true]
|
|
9
|
+
*/
|
|
10
|
+
export function synchronizeTransform(source: Transform, target: Transform, bindings: SignalBinding[], syncPosition?: boolean, syncRotation?: boolean, syncScale?: boolean): void;
|
|
11
|
+
import { SignalBinding } from "../../../src/core/events/signal/SignalBinding.js";
|
|
12
12
|
//# sourceMappingURL=synchronizeTransform.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export default GridPaintTool;
|
|
2
|
-
declare class GridPaintTool extends Tool {
|
|
3
|
-
name: string;
|
|
4
|
-
terrain: import("../../src/engine/ecs/terrain/ecs/Terrain.js").default;
|
|
5
|
-
cameraController: {
|
|
6
|
-
start: Function;
|
|
7
|
-
stop: Function;
|
|
8
|
-
};
|
|
9
|
-
buildColor(): Vector4;
|
|
10
|
-
paint(): void;
|
|
11
|
-
traverse(callback: any): void;
|
|
12
|
-
affectTile(_x: any, _y: any): void;
|
|
13
|
-
affectTileByMousePosition(position: any): void;
|
|
14
|
-
}
|
|
15
|
-
import Tool from "./engine/Tool.js";
|
|
16
|
-
import Vector4 from "../../src/core/geom/Vector4.js";
|
|
1
|
+
export default GridPaintTool;
|
|
2
|
+
declare class GridPaintTool extends Tool {
|
|
3
|
+
name: string;
|
|
4
|
+
terrain: import("../../src/engine/ecs/terrain/ecs/Terrain.js").default;
|
|
5
|
+
cameraController: {
|
|
6
|
+
start: Function;
|
|
7
|
+
stop: Function;
|
|
8
|
+
};
|
|
9
|
+
buildColor(): Vector4;
|
|
10
|
+
paint(): void;
|
|
11
|
+
traverse(callback: any): void;
|
|
12
|
+
affectTile(_x: any, _y: any): void;
|
|
13
|
+
affectTileByMousePosition(position: any): void;
|
|
14
|
+
}
|
|
15
|
+
import Tool from "./engine/Tool.js";
|
|
16
|
+
import Vector4 from "../../src/core/geom/Vector4.js";
|
|
17
17
|
//# sourceMappingURL=GridPaintTool.d.ts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Vector2} point
|
|
4
|
-
* @param {Engine} engine
|
|
5
|
-
* @param {THREE.Camera} camera
|
|
6
|
-
* @returns {number[]} entities
|
|
7
|
-
*/
|
|
8
|
-
export function pickingEntitySelection(point: Vector2, engine: Engine, camera: THREE.Camera): number[];
|
|
9
|
-
export default SelectionTool;
|
|
10
|
-
import Vector2 from '../../src/core/geom/Vector2.js';
|
|
11
|
-
import { Camera } from '../../src/engine/graphics/ecs/camera/Camera.js';
|
|
12
|
-
declare class SelectionTool extends Tool {
|
|
13
|
-
name: string;
|
|
14
|
-
anchorPoint: Vector2;
|
|
15
|
-
targetPoint: Vector2;
|
|
16
|
-
box: AABB2;
|
|
17
|
-
selectionMarker: SelectionView;
|
|
18
|
-
readPosition(target: any): void;
|
|
19
|
-
}
|
|
20
|
-
import Tool from './engine/Tool.js';
|
|
21
|
-
import AABB2 from '../../src/core/geom/2d/aabb/AABB2.js';
|
|
22
|
-
declare class SelectionView extends View<HTMLElement> {
|
|
23
|
-
constructor();
|
|
24
|
-
el: HTMLDivElement;
|
|
25
|
-
}
|
|
26
|
-
import View from '../../src/view/View.js';
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {Vector2} point
|
|
4
|
+
* @param {Engine} engine
|
|
5
|
+
* @param {THREE.Camera} camera
|
|
6
|
+
* @returns {number[]} entities
|
|
7
|
+
*/
|
|
8
|
+
export function pickingEntitySelection(point: Vector2, engine: Engine, camera: THREE.Camera): number[];
|
|
9
|
+
export default SelectionTool;
|
|
10
|
+
import Vector2 from '../../src/core/geom/Vector2.js';
|
|
11
|
+
import { Camera } from '../../src/engine/graphics/ecs/camera/Camera.js';
|
|
12
|
+
declare class SelectionTool extends Tool {
|
|
13
|
+
name: string;
|
|
14
|
+
anchorPoint: Vector2;
|
|
15
|
+
targetPoint: Vector2;
|
|
16
|
+
box: AABB2;
|
|
17
|
+
selectionMarker: SelectionView;
|
|
18
|
+
readPosition(target: any): void;
|
|
19
|
+
}
|
|
20
|
+
import Tool from './engine/Tool.js';
|
|
21
|
+
import AABB2 from '../../src/core/geom/2d/aabb/AABB2.js';
|
|
22
|
+
declare class SelectionView extends View<HTMLElement> {
|
|
23
|
+
constructor();
|
|
24
|
+
el: HTMLDivElement;
|
|
25
|
+
}
|
|
26
|
+
import View from '../../src/view/View.js';
|
|
27
27
|
//# sourceMappingURL=SelectionTool.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export default TopDownCameraControlTool;
|
|
2
|
-
declare class TopDownCameraControlTool extends Tool {
|
|
3
|
-
name: string;
|
|
4
|
-
system: any;
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @type {Entity}
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
|
-
private __controller;
|
|
11
|
-
}
|
|
12
|
-
import Tool from './engine/Tool.js';
|
|
1
|
+
export default TopDownCameraControlTool;
|
|
2
|
+
declare class TopDownCameraControlTool extends Tool {
|
|
3
|
+
name: string;
|
|
4
|
+
system: any;
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type {Entity}
|
|
8
|
+
* @private
|
|
9
|
+
*/
|
|
10
|
+
private __controller;
|
|
11
|
+
}
|
|
12
|
+
import Tool from './engine/Tool.js';
|
|
13
13
|
//# sourceMappingURL=TopDownCameraControlTool.d.ts.map
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
export default Tool;
|
|
2
|
-
declare class Tool {
|
|
3
|
-
name: any;
|
|
4
|
-
mode: ObservedValue;
|
|
5
|
-
settings: {};
|
|
6
|
-
modifiers: {
|
|
7
|
-
shift: boolean;
|
|
8
|
-
alternative: boolean;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @type {Engine|null}
|
|
13
|
-
*/
|
|
14
|
-
engine: Engine | null;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @type {Editor|null}
|
|
18
|
-
*/
|
|
19
|
-
editor: Editor | null;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ObservedString}
|
|
23
|
-
*/
|
|
24
|
-
icon: ObservedString;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @param {Editor} editor
|
|
28
|
-
*/
|
|
29
|
-
updateIcon(editor: Editor): void;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @returns {ToolState|number}
|
|
33
|
-
*/
|
|
34
|
-
getState(): ToolState | number;
|
|
35
|
-
isRunning(): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Activate the tool and prepare it for usage
|
|
38
|
-
*/
|
|
39
|
-
initialize(): void;
|
|
40
|
-
/**
|
|
41
|
-
* Deactivate the tool and remove and influence it may have
|
|
42
|
-
*/
|
|
43
|
-
finalize(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Update loop
|
|
46
|
-
*/
|
|
47
|
-
update(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Start usage of the tool.
|
|
50
|
-
* @example Start painting with a brush
|
|
51
|
-
*/
|
|
52
|
-
start(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Finish usage of the tool
|
|
55
|
-
* @example Finish brush stroke
|
|
56
|
-
*/
|
|
57
|
-
stop(): void;
|
|
58
|
-
handleKeyboardEvent(e: any): void;
|
|
59
|
-
#private;
|
|
60
|
-
}
|
|
61
|
-
import ObservedValue from '../../../src/core/model/ObservedValue.js';
|
|
62
|
-
import ObservedString from "../../../src/core/model/ObservedString.js";
|
|
63
|
-
import { ToolState } from "./ToolState.js";
|
|
1
|
+
export default Tool;
|
|
2
|
+
declare class Tool {
|
|
3
|
+
name: any;
|
|
4
|
+
mode: ObservedValue;
|
|
5
|
+
settings: {};
|
|
6
|
+
modifiers: {
|
|
7
|
+
shift: boolean;
|
|
8
|
+
alternative: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type {Engine|null}
|
|
13
|
+
*/
|
|
14
|
+
engine: Engine | null;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {Editor|null}
|
|
18
|
+
*/
|
|
19
|
+
editor: Editor | null;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ObservedString}
|
|
23
|
+
*/
|
|
24
|
+
icon: ObservedString;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param {Editor} editor
|
|
28
|
+
*/
|
|
29
|
+
updateIcon(editor: Editor): void;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @returns {ToolState|number}
|
|
33
|
+
*/
|
|
34
|
+
getState(): ToolState | number;
|
|
35
|
+
isRunning(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Activate the tool and prepare it for usage
|
|
38
|
+
*/
|
|
39
|
+
initialize(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Deactivate the tool and remove and influence it may have
|
|
42
|
+
*/
|
|
43
|
+
finalize(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Update loop
|
|
46
|
+
*/
|
|
47
|
+
update(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Start usage of the tool.
|
|
50
|
+
* @example Start painting with a brush
|
|
51
|
+
*/
|
|
52
|
+
start(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Finish usage of the tool
|
|
55
|
+
* @example Finish brush stroke
|
|
56
|
+
*/
|
|
57
|
+
stop(): void;
|
|
58
|
+
handleKeyboardEvent(e: any): void;
|
|
59
|
+
#private;
|
|
60
|
+
}
|
|
61
|
+
import ObservedValue from '../../../src/core/model/ObservedValue.js';
|
|
62
|
+
import ObservedString from "../../../src/core/model/ObservedString.js";
|
|
63
|
+
import { ToolState } from "./ToolState.js";
|
|
64
64
|
//# sourceMappingURL=Tool.d.ts.map
|