@woosh/meep-engine 3.32.0 → 3.34.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/build/bundle-worker-terrain.js +1 -1
- package/editor/Editor.d.ts.map +1 -1
- package/editor/Editor.js +0 -3
- package/editor/ecs/component/prototypeObjectEditor.js +1 -165
- package/editor/ecs/component/registerBasicTypeEditors.d.ts.map +1 -1
- package/editor/ecs/component/registerBasicTypeEditors.js +0 -5
- package/editor/ecs/component/registerEngineComponentEditors.d.ts.map +1 -1
- package/editor/ecs/component/registerEngineComponentEditors.js +0 -20
- package/editor/process/SymbolicDisplayProcess.d.ts.map +1 -1
- package/editor/process/SymbolicDisplayProcess.js +100 -106
- package/editor/prototypeEditorShell.d.ts.map +1 -1
- package/editor/prototypeEditorShell.js +190 -186
- package/editor/templates/entity_templates.d.ts.map +1 -1
- package/editor/templates/entity_templates.js +10 -27
- package/editor/view/makeEntityDecorators.js +2 -2
- package/package.json +1 -1
- package/src/core/collection/table/RowFirstTable.d.ts +8 -0
- package/src/core/collection/table/RowFirstTable.d.ts.map +1 -1
- package/src/core/collection/table/RowFirstTable.js +40 -11
- package/src/{engine/graphics/particles/particular/engine → core/geom/3d/aabb}/MovingBoundingBox.d.ts +3 -3
- package/src/core/geom/3d/aabb/MovingBoundingBox.d.ts.map +1 -0
- package/src/{engine/graphics/particles/particular/engine → core/geom/3d/aabb}/MovingBoundingBox.js +5 -5
- package/src/core/math/lookup/RGBA_LUT_HEATMAP_IR.d.ts +3 -0
- package/src/core/math/lookup/RGBA_LUT_HEATMAP_IR.d.ts.map +1 -0
- package/src/{engine/graphics/particles/particular/engine/parameter/sample → core/math/lookup}/RGBA_LUT_HEATMAP_IR.js +1 -1
- package/src/core/math/lookup/RGB_LUT_INFERNO.d.ts +6 -0
- package/src/core/math/lookup/RGB_LUT_INFERNO.d.ts.map +1 -0
- package/src/{engine/graphics/particles/particular/engine/parameter/sample → core/math/lookup}/RGB_LUT_INFERNO.js +1 -1
- package/src/{engine/graphics/particles/particular/engine/parameter/sample → core/math/lookup}/RGB_LUT_TURBO.d.ts +1 -1
- package/src/core/math/lookup/RGB_LUT_TURBO.d.ts.map +1 -0
- package/src/{engine/graphics/particles/particular/engine/parameter/sample → core/math/lookup}/RGB_LUT_TURBO.js +1 -1
- package/src/{engine/graphics/particles/particular/engine/parameter/sample → core/math/lookup}/RGB_LUT_VIRIDIS.d.ts +1 -1
- package/src/core/math/lookup/RGB_LUT_VIRIDIS.d.ts.map +1 -0
- package/src/{engine/graphics/particles/particular/engine/parameter/sample → core/math/lookup}/RGB_LUT_VIRIDIS.js +1 -1
- package/src/engine/animation/AnimatedActions.d.ts.map +1 -1
- package/src/engine/animation/AnimatedActions.js +2 -4
- package/src/engine/animation/AnimationUtils.d.ts +1 -17
- package/src/engine/animation/AnimationUtils.d.ts.map +1 -1
- package/src/engine/animation/AnimationUtils.js +138 -246
- package/src/engine/ecs/EntityManager.d.ts +1 -1
- package/src/engine/ecs/EntityManager.d.ts.map +1 -1
- package/src/engine/ecs/EntityManager.js +2 -2
- package/src/engine/ecs/storage/binary/SERIALIZATION_COVERAGE.md +268 -275
- package/src/engine/ecs/storage/populateEngineSerializationRegistry.d.ts.map +1 -1
- package/src/engine/ecs/storage/populateEngineSerializationRegistry.js +0 -10
- package/src/engine/graphics/geometry/distribute_points_on_indexed_triangles.d.ts.map +1 -0
- package/src/engine/graphics/{particles/particular/engine/utils → geometry}/distribute_points_on_indexed_triangles.js +3 -3
- package/src/engine/graphics/{particles/particular/engine/utils/volume → texture/sampler}/lut_to_sampler.d.ts +1 -1
- package/src/engine/graphics/texture/sampler/lut_to_sampler.d.ts.map +1 -0
- package/src/engine/graphics/{particles/particular/engine/utils/volume → texture/sampler}/lut_to_sampler.js +1 -1
- package/src/engine/graphics3/GPUParticleEmitterSystem.d.ts +0 -3
- package/src/engine/graphics3/GPUParticleEmitterSystem.d.ts.map +1 -1
- package/src/engine/graphics3/GPUParticleEmitterSystem.js +0 -3
- package/src/engine/network/NetworkSession.d.ts +1 -1
- package/src/engine/network/NetworkSession.js +1 -1
- package/src/engine/physics/cloth/MEASUREMENTS.md +115 -0
- package/src/engine/physics/cloth/solver/cloth_contact_find.d.ts.map +1 -1
- package/src/engine/physics/cloth/solver/cloth_contact_find.js +2 -0
- package/src/engine/physics/cloth/solver/constraint/cloth_contact_row.d.ts +9 -0
- package/src/engine/physics/cloth/solver/constraint/cloth_contact_row.d.ts.map +1 -1
- package/src/engine/physics/cloth/solver/constraint/cloth_contact_row.js +30 -7
- package/src/engine/physics/fluid/ecs/FluidObstacleSystem.d.ts +4 -4
- package/src/engine/sound/ecs/audio/AudioEmitterSystem.d.ts.map +1 -1
- package/src/engine/sound/ecs/audio/AudioEmitterSystem.js +12 -2
- package/src/engine/sound/ecs/audio/LiveEmitterSet.d.ts +11 -2
- package/src/engine/sound/ecs/audio/LiveEmitterSet.d.ts.map +1 -1
- package/src/engine/sound/ecs/audio/LiveEmitterSet.js +14 -7
- package/src/engine/sound/ecs/audio/SpatialAudioIndex.d.ts +6 -15
- package/src/engine/sound/ecs/audio/SpatialAudioIndex.d.ts.map +1 -1
- package/src/engine/sound/ecs/audio/SpatialAudioIndex.js +161 -174
- package/src/shade/device/mock/SoftwareGPUBuffer.d.ts +5 -3
- package/src/shade/device/mock/SoftwareGPUBuffer.d.ts.map +1 -1
- package/src/shade/device/mock/SoftwareGPUBuffer.js +32 -3
- package/src/shade/device/mock/SoftwareGPURenderPassEncoder.d.ts +20 -3
- package/src/shade/device/mock/SoftwareGPURenderPassEncoder.d.ts.map +1 -1
- package/src/shade/device/mock/SoftwareGPURenderPassEncoder.js +21 -3
- package/src/shade/playground/caldera/main.js +73 -60
- package/src/shade/playground/vgeo_runtime/main.js +25 -77
- package/src/shade/playground/vgeo_scene/main.js +2231 -2217
- package/src/shade/renderer/GraphicsContext.d.ts +18 -0
- package/src/shade/renderer/GraphicsContext.d.ts.map +1 -1
- package/src/shade/renderer/GraphicsContext.js +63 -40
- package/src/shade/renderer/Renderer.d.ts.map +1 -1
- package/src/shade/renderer/Renderer.js +38 -0
- package/src/shade/renderer/animation/skinning/GPUMeshSkinningContext.d.ts +8 -0
- package/src/shade/renderer/animation/skinning/GPUMeshSkinningContext.d.ts.map +1 -1
- package/src/shade/renderer/animation/skinning/GPUMeshSkinningContext.js +21 -0
- package/src/shade/renderer/buffer/GPUBufferReadbackAllocator.d.ts +6 -5
- package/src/shade/renderer/buffer/GPUBufferReadbackAllocator.d.ts.map +1 -1
- package/src/shade/renderer/buffer/GPUBufferReadbackAllocator.js +241 -240
- package/src/shade/renderer/buffer/GPUBufferStagingAllocator.d.ts +51 -0
- package/src/shade/renderer/buffer/GPUBufferStagingAllocator.d.ts.map +1 -1
- package/src/shade/renderer/buffer/GPUBufferStagingAllocator.js +214 -28
- package/src/shade/renderer/dynamic/DynamicMeshAVBOITChannel.d.ts +2 -1
- package/src/shade/renderer/dynamic/DynamicMeshAVBOITChannel.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/DynamicMeshAVBOITChannel.js +19 -17
- package/src/shade/renderer/dynamic/GPUDynamicMeshDrawList.d.ts +70 -0
- package/src/shade/renderer/dynamic/GPUDynamicMeshDrawList.d.ts.map +1 -0
- package/src/shade/renderer/dynamic/GPUDynamicMeshDrawList.js +257 -0
- package/src/shade/renderer/dynamic/GPUDynamicMeshRenderer.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/GPUDynamicMeshRenderer.js +19 -34
- package/src/shade/renderer/dynamic/GPUDynamicMeshResidency.d.ts +6 -20
- package/src/shade/renderer/dynamic/GPUDynamicMeshResidency.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/GPUDynamicMeshResidency.js +42 -36
- package/src/shade/renderer/dynamic/chunk_dynamic_mesh_avboit_vertex.d.ts +2 -1
- package/src/shade/renderer/dynamic/chunk_dynamic_mesh_avboit_vertex.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/chunk_dynamic_mesh_avboit_vertex.js +4 -3
- package/src/shade/renderer/dynamic/chunk_dynamic_mesh_vertex.d.ts +4 -3
- package/src/shade/renderer/dynamic/chunk_dynamic_mesh_vertex.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/chunk_dynamic_mesh_vertex.js +7 -4
- package/src/shade/renderer/dynamic/graph_dynamic_mesh_avboit.d.ts +14 -15
- package/src/shade/renderer/dynamic/graph_dynamic_mesh_avboit.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/graph_dynamic_mesh_avboit.js +49 -83
- package/src/shade/renderer/dynamic/shader_dynamic_mesh.d.ts +19 -3
- package/src/shade/renderer/dynamic/shader_dynamic_mesh.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/shader_dynamic_mesh.js +26 -6
- package/src/shade/renderer/dynamic/shader_dynamic_mesh_avboit_draw.d.ts +2 -1
- package/src/shade/renderer/dynamic/shader_dynamic_mesh_avboit_draw.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/shader_dynamic_mesh_avboit_draw.js +12 -6
- package/src/shade/renderer/dynamic/shader_dynamic_mesh_avboit_splat.d.ts +3 -2
- package/src/shade/renderer/dynamic/shader_dynamic_mesh_avboit_splat.d.ts.map +1 -1
- package/src/shade/renderer/dynamic/shader_dynamic_mesh_avboit_splat.js +21 -13
- package/src/shade/renderer/extension/RENDER_EXTENSION_DESIGN.md +1 -1
- package/src/shade/renderer/geometry/GPUGeometryManager.d.ts.map +1 -1
- package/src/shade/renderer/geometry/GPUGeometryManager.js +9 -10
- package/src/shade/renderer/geometry/bvh/GPUGeometryBVHManager.d.ts +5 -0
- package/src/shade/renderer/geometry/bvh/GPUGeometryBVHManager.d.ts.map +1 -1
- package/src/shade/renderer/geometry/bvh/GPUGeometryBVHManager.js +11 -0
- package/src/shade/renderer/geometry/virtual/runtime/GPUVirtualGeometryPool.d.ts +12 -0
- package/src/shade/renderer/geometry/virtual/runtime/GPUVirtualGeometryPool.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/GPUVirtualGeometryPool.js +25 -0
- package/src/shade/renderer/geometry/virtual/runtime/GPUVirtualGeometryRuntime.d.ts +115 -101
- package/src/shade/renderer/geometry/virtual/runtime/GPUVirtualGeometryRuntime.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/GPUVirtualGeometryRuntime.js +282 -140
- package/src/shade/renderer/geometry/virtual/runtime/REVIEW_LEDGER.md +30 -0
- package/src/shade/renderer/geometry/virtual/runtime/RUNTIME_PLAN_2026_09_14.md +4 -1
- package/src/shade/renderer/geometry/virtual/runtime/SHADOW_PLAN_2026_09_28.md +536 -0
- package/src/shade/renderer/geometry/virtual/runtime/VGeoFeedbackLoop.d.ts +6 -2
- package/src/shade/renderer/geometry/virtual/runtime/VGeoFeedbackLoop.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/VGeoFeedbackLoop.js +68 -19
- package/src/shade/renderer/geometry/virtual/runtime/VGeoPageFetcher.d.ts +2 -1
- package/src/shade/renderer/geometry/virtual/runtime/VGeoPageFetcher.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/VGeoPageFetcher.js +17 -1
- package/src/shade/renderer/geometry/virtual/runtime/VGeoResidency.d.ts +4 -0
- package/src/shade/renderer/geometry/virtual/runtime/VGeoResidency.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/VGeoResidency.js +42 -12
- package/src/shade/renderer/geometry/virtual/runtime/VGeoViewCut.d.ts +93 -12
- package/src/shade/renderer/geometry/virtual/runtime/VGeoViewCut.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/VGeoViewCut.js +166 -20
- package/src/shade/renderer/geometry/virtual/runtime/cut/VGEO_CUT_PARAMS_STRUCT.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/VGEO_CUT_PARAMS_STRUCT.js +30 -7
- package/src/shade/renderer/geometry/virtual/runtime/cut/chunk_vgeo_cut_access.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/chunk_vgeo_cut_access.js +12 -5
- package/src/shade/renderer/geometry/virtual/runtime/cut/chunk_vgeo_cut_claim.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/chunk_vgeo_cut_claim.js +2 -2
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_collect.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_collect.js +23 -13
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_queue_remainder.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_queue_remainder.js +1 -2
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_seed.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_seed.js +1 -2
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_traverse.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/shader_vgeo_cut_traverse.js +10 -6
- package/src/shade/renderer/geometry/virtual/runtime/cut/vgeo_cut_feedback_layout.d.ts +45 -17
- package/src/shade/renderer/geometry/virtual/runtime/cut/vgeo_cut_feedback_layout.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/cut/vgeo_cut_feedback_layout.js +61 -19
- package/src/shade/renderer/geometry/virtual/runtime/graph_vgeo_expand_if_enabled.d.ts +8 -11
- package/src/shade/renderer/geometry/virtual/runtime/graph_vgeo_expand_if_enabled.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/graph_vgeo_expand_if_enabled.js +9 -16
- package/src/shade/renderer/geometry/virtual/runtime/graph_vgeo_expand_instances_to_meshlets.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/graph_vgeo_expand_instances_to_meshlets.js +25 -10
- package/src/shade/renderer/geometry/virtual/runtime/layout/VGEO_FEEDBACK_OFFSET.js +10 -8
- package/src/shade/renderer/geometry/virtual/runtime/layout/VGEO_INSTANCE_OFFSET.d.ts +1 -0
- package/src/shade/renderer/geometry/virtual/runtime/layout/VGEO_INSTANCE_OFFSET.js +19 -7
- package/src/shade/renderer/geometry/virtual/runtime/make_vgeo_page_worker.d.ts +4 -2
- package/src/shade/renderer/geometry/virtual/runtime/make_vgeo_page_worker.d.ts.map +1 -1
- package/src/shade/renderer/geometry/virtual/runtime/make_vgeo_page_worker.js +4 -2
- package/src/shade/renderer/global_illumination/brick4/Brick4LightMap.d.ts +4 -0
- package/src/shade/renderer/global_illumination/brick4/Brick4LightMap.d.ts.map +1 -1
- package/src/shade/renderer/global_illumination/brick4/Brick4LightMap.js +7 -0
- package/src/shade/renderer/global_illumination/lpv/GPULightProbeVolume.d.ts.map +1 -1
- package/src/shade/renderer/global_illumination/lpv/GPULightProbeVolume.js +1 -0
- package/src/shade/renderer/loader/gltf/tiny-gltf.d.ts +1 -1
- package/src/shade/renderer/material/GPUMaterialManager.d.ts.map +1 -1
- package/src/shade/renderer/material/GPUMaterialManager.js +2 -0
- package/src/shade/renderer/particles/DESIGN.md +4 -10
- package/src/shade/renderer/particles/ParticleConstants.d.ts +1 -3
- package/src/shade/renderer/particles/ParticleConstants.d.ts.map +1 -1
- package/src/shade/renderer/particles/ParticleConstants.js +1 -3
- package/src/shade/renderer/particles/shaders/chunk_particle_billboard_vertex.d.ts +3 -4
- package/src/shade/renderer/particles/shaders/chunk_particle_billboard_vertex.d.ts.map +1 -1
- package/src/shade/renderer/particles/shaders/chunk_particle_billboard_vertex.js +3 -4
- package/src/shade/renderer/postprocess/nss/NSS.d.ts +1 -1
- package/src/shade/renderer/rasterize/bucket/graph_meshlets_rasterize_by_bucket.d.ts +45 -0
- package/src/shade/renderer/rasterize/bucket/graph_meshlets_rasterize_by_bucket.d.ts.map +1 -0
- package/src/shade/renderer/rasterize/bucket/graph_meshlets_rasterize_by_bucket.js +99 -0
- package/src/shade/renderer/rasterize/bucket/rasterization_opaque_buckets.d.ts +4 -4
- package/src/shade/renderer/rasterize/bucket/rasterization_opaque_buckets.js +36 -36
- package/src/shade/renderer/rasterize/bucket/shader_gather_bucket.d.ts +15 -0
- package/src/shade/renderer/rasterize/bucket/shader_gather_bucket.d.ts.map +1 -0
- package/src/shade/renderer/rasterize/bucket/shader_gather_bucket.js +103 -0
- package/src/shade/renderer/rasterize/expand/GPUCollectionLimits.d.ts +3 -0
- package/src/shade/renderer/rasterize/expand/GPUCollectionLimits.d.ts.map +1 -1
- package/src/shade/renderer/rasterize/expand/GPUCollectionLimits.js +6 -1
- package/src/shade/renderer/rasterize/expand/bucket/meshlet/graph_extract_meshlets_from_bucket.d.ts +26 -0
- package/src/shade/renderer/rasterize/expand/bucket/meshlet/graph_extract_meshlets_from_bucket.d.ts.map +1 -0
- package/src/shade/renderer/rasterize/expand/bucket/meshlet/graph_extract_meshlets_from_bucket.js +91 -0
- package/src/shade/renderer/rasterize/fast/graph_gather_meshes_from_buckets.d.ts +22 -0
- package/src/shade/renderer/rasterize/fast/graph_gather_meshes_from_buckets.d.ts.map +1 -0
- package/src/shade/renderer/rasterize/fast/graph_gather_meshes_from_buckets.js +102 -0
- package/src/shade/renderer/rasterize/fast/graph_rasterize_scene_fast.d.ts +2 -1
- package/src/shade/renderer/rasterize/fast/graph_rasterize_scene_fast.d.ts.map +1 -1
- package/src/shade/renderer/rasterize/fast/graph_rasterize_scene_fast.js +28 -24
- package/src/shade/renderer/rasterize/native/avboit/AVBOIT_LEDGER.md +20 -0
- package/src/shade/renderer/rasterize/standard/graph_rasterize_partial_opaque.d.ts.map +1 -1
- package/src/shade/renderer/rasterize/standard/graph_rasterize_partial_opaque.js +32 -28
- package/src/shade/renderer/rasterize/standard/graph_rasterize_remaining_opaque.d.ts.map +1 -1
- package/src/shade/renderer/rasterize/standard/graph_rasterize_remaining_opaque.js +9 -105
- package/src/shade/renderer/scene/GPUInstancesAccelerationStructure.d.ts +5 -0
- package/src/shade/renderer/scene/GPUInstancesAccelerationStructure.d.ts.map +1 -1
- package/src/shade/renderer/scene/GPUInstancesAccelerationStructure.js +11 -0
- package/src/shade/renderer/scene/GPUSceneContext.d.ts +11 -3
- package/src/shade/renderer/scene/GPUSceneContext.d.ts.map +1 -1
- package/src/shade/renderer/scene/GPUSceneContext.js +93 -21
- package/src/shade/renderer/scene/rows/GPUSceneRows.d.ts +4 -1
- package/src/shade/renderer/scene/rows/GPUSceneRows.d.ts.map +1 -1
- package/src/shade/renderer/scene/rows/GPUSceneRows.js +5 -23
- package/src/shade/renderer/shader/type/serde/write_gpu_typed_buffer.d.ts.map +1 -1
- package/src/shade/renderer/shader/type/serde/write_gpu_typed_buffer.js +8 -1
- package/src/shade/renderer/shadow/map/GPUSceneShadowmapContext.d.ts.map +1 -1
- package/src/shade/renderer/shadow/map/GPUSceneShadowmapContext.js +63 -0
- package/src/shade/renderer/shadow/map/SHADOWMAP_VGEO_TAU_SCALE.d.ts +12 -0
- package/src/shade/renderer/shadow/map/SHADOWMAP_VGEO_TAU_SCALE.d.ts.map +1 -0
- package/src/shade/renderer/shadow/map/SHADOWMAP_VGEO_TAU_SCALE.js +11 -0
- package/src/shade/renderer/shadow/map/Shadowmap.d.ts +15 -0
- package/src/shade/renderer/shadow/map/Shadowmap.d.ts.map +1 -1
- package/src/shade/renderer/shadow/map/Shadowmap.js +17 -0
- package/src/shade/renderer/shadow/map/shadowmap_caster_detail_pending.d.ts +25 -0
- package/src/shade/renderer/shadow/map/shadowmap_caster_detail_pending.d.ts.map +1 -0
- package/src/shade/renderer/shadow/map/shadowmap_caster_detail_pending.js +22 -0
- package/src/shade/renderer/shadow/map/shadowmap_update_score.d.ts.map +1 -1
- package/src/shade/renderer/shadow/map/shadowmap_update_score.js +5 -2
- package/src/shade/renderer/texture/TextureManager.d.ts +2 -1
- package/src/shade/renderer/texture/TextureManager.d.ts.map +1 -1
- package/src/shade/renderer/texture/TextureManager.js +4 -1
- package/src/shade/renderer/texture/mipmaps/WebGPUMipmapGenerator.js +1 -1
- package/src/shade/renderer/util/Uint32BufferSamplingStats.d.ts +9 -1
- package/src/shade/renderer/util/Uint32BufferSamplingStats.d.ts.map +1 -1
- package/src/shade/renderer/util/Uint32BufferSamplingStats.js +55 -5
- package/src/shade/renderer/view/ViewManager.d.ts +7 -1
- package/src/shade/renderer/view/ViewManager.d.ts.map +1 -1
- package/src/shade/renderer/view/ViewManager.js +17 -1
- package/src/shade/renderer/volumetrics/GPUSceneVolumetrics.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/GPUSceneVolumetrics.js +1 -0
- package/editor/ecs/component/editors/ecs/ParameterLookupTableEditor.d.ts +0 -20
- package/editor/ecs/component/editors/ecs/ParameterLookupTableEditor.d.ts.map +0 -1
- package/editor/ecs/component/editors/ecs/ParameterLookupTableEditor.js +0 -35
- package/editor/ecs/component/editors/ecs/ParameterTrackEditor.d.ts +0 -12
- package/editor/ecs/component/editors/ecs/ParameterTrackEditor.d.ts.map +0 -1
- package/editor/ecs/component/editors/ecs/ParameterTrackEditor.js +0 -17
- package/editor/ecs/component/editors/ecs/ParameterTrackSetEditor.d.ts +0 -14
- package/editor/ecs/component/editors/ecs/ParameterTrackSetEditor.d.ts.map +0 -1
- package/editor/ecs/component/editors/ecs/ParameterTrackSetEditor.js +0 -18
- package/editor/ecs/component/editors/ecs/ParticleEmitterEditor.d.ts +0 -52
- package/editor/ecs/component/editors/ecs/ParticleEmitterEditor.d.ts.map +0 -1
- package/editor/ecs/component/editors/ecs/ParticleEmitterEditor.js +0 -58
- package/editor/ecs/component/editors/ecs/ParticleEmitterLayerEditor.d.ts +0 -47
- package/editor/ecs/component/editors/ecs/ParticleEmitterLayerEditor.d.ts.map +0 -1
- package/editor/ecs/component/editors/ecs/ParticleEmitterLayerEditor.js +0 -58
- package/editor/ecs/component/editors/ecs/SimulationStepDefinitionEditor.d.ts +0 -16
- package/editor/ecs/component/editors/ecs/SimulationStepDefinitionEditor.d.ts.map +0 -1
- package/editor/ecs/component/editors/ecs/SimulationStepDefinitionEditor.js +0 -21
- package/editor/particles/rebuildParticleEmitter.d.ts +0 -11
- package/editor/particles/rebuildParticleEmitter.d.ts.map +0 -1
- package/editor/particles/rebuildParticleEmitter.js +0 -31
- package/editor/process/ParticleEmitterRebuildProcess.d.ts +0 -66
- package/editor/process/ParticleEmitterRebuildProcess.d.ts.map +0 -1
- package/editor/process/ParticleEmitterRebuildProcess.js +0 -217
- package/editor/process/symbolic/ParticleEmitterSymbolicDisplay.d.ts +0 -18
- package/editor/process/symbolic/ParticleEmitterSymbolicDisplay.d.ts.map +0 -1
- package/editor/process/symbolic/ParticleEmitterSymbolicDisplay.js +0 -140
- package/src/engine/animation/removeEntityGenericEffect.d.ts +0 -18
- package/src/engine/animation/removeEntityGenericEffect.d.ts.map +0 -1
- package/src/engine/animation/removeEntityGenericEffect.js +0 -160
- package/src/engine/animation/removeEntityWithMeshParticlesEffect.d.ts +0 -16
- package/src/engine/animation/removeEntityWithMeshParticlesEffect.d.ts.map +0 -1
- package/src/engine/animation/removeEntityWithMeshParticlesEffect.js +0 -194
- package/src/engine/graphics/ecs/sprite/Sprite.d.ts +0 -12
- package/src/engine/graphics/ecs/sprite/Sprite.d.ts.map +0 -1
- package/src/engine/graphics/ecs/sprite/Sprite.js +0 -11
- package/src/engine/graphics/ecs/sprite/SpriteSystemPE.d.ts +0 -8
- package/src/engine/graphics/ecs/sprite/SpriteSystemPE.d.ts.map +0 -1
- package/src/engine/graphics/ecs/sprite/SpriteSystemPE.js +0 -141
- package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/ParticularEngine.d.ts +0 -61
- package/src/engine/graphics/particles/particular/engine/ParticularEngine.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/ParticularEngine.js +0 -229
- package/src/engine/graphics/particles/particular/engine/emitter/EmissionFromType.d.ts +0 -6
- package/src/engine/graphics/particles/particular/engine/emitter/EmissionFromType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/EmissionFromType.js +0 -8
- package/src/engine/graphics/particles/particular/engine/emitter/EmissionShapeType.d.ts +0 -7
- package/src/engine/graphics/particles/particular/engine/emitter/EmissionShapeType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/EmissionShapeType.js +0 -9
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICLE_ATTRIBUTES.d.ts +0 -13
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICLE_ATTRIBUTES.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICLE_ATTRIBUTES.js +0 -12
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.d.ts +0 -3
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.js +0 -84
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitter.d.ts +0 -285
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitter.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitter.js +0 -1201
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitterFlag.d.ts +0 -19
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitterFlag.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitterFlag.js +0 -67
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.d.ts +0 -197
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.js +0 -398
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleParameters.d.ts +0 -5
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleParameters.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleParameters.js +0 -4
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts +0 -162
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.js +0 -472
- package/src/engine/graphics/particles/particular/engine/emitter/computeEmissionFunction.d.ts +0 -10
- package/src/engine/graphics/particles/particular/engine/emitter/computeEmissionFunction.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/computeEmissionFunction.js +0 -37
- package/src/engine/graphics/particles/particular/engine/emitter/distance_to_camera.d.ts +0 -9
- package/src/engine/graphics/particles/particular/engine/emitter/distance_to_camera.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/distance_to_camera.js +0 -25
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParameterLookupTableSerializationAdapter.d.ts +0 -19
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParameterLookupTableSerializationAdapter.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParameterLookupTableSerializationAdapter.js +0 -28
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParticleEmitterSerializationAdapter.d.ts +0 -19
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParticleEmitterSerializationAdapter.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParticleEmitterSerializationAdapter.js +0 -162
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParticleEmitterSerializationUpgrader_0_1.d.ts +0 -5
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParticleEmitterSerializationUpgrader_0_1.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/serde/ParticleEmitterSerializationUpgrader_0_1.js +0 -103
- package/src/engine/graphics/particles/particular/engine/emitter/write_particle_patch_uv.d.ts +0 -8
- package/src/engine/graphics/particles/particular/engine/emitter/write_particle_patch_uv.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/write_particle_patch_uv.js +0 -28
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTable.d.ts +0 -2
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTable.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTable.js +0 -2
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTableFlags.d.ts +0 -2
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTableFlags.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTableFlags.js +0 -2
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.d.ts +0 -60
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.js +0 -128
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrack.d.ts +0 -47
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrack.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrack.js +0 -77
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.d.ts +0 -45
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.js +0 -93
- package/src/engine/graphics/particles/particular/engine/parameter/ParticleParameter.d.ts +0 -95
- package/src/engine/graphics/particles/particular/engine/parameter/ParticleParameter.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParticleParameter.js +0 -239
- package/src/engine/graphics/particles/particular/engine/parameter/sample/RGBA_LUT_HEATMAP_IR.d.ts +0 -3
- package/src/engine/graphics/particles/particular/engine/parameter/sample/RGBA_LUT_HEATMAP_IR.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/sample/RGB_LUT_INFERNO.d.ts +0 -6
- package/src/engine/graphics/particles/particular/engine/parameter/sample/RGB_LUT_INFERNO.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/sample/RGB_LUT_TURBO.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/sample/RGB_LUT_VIRIDIS.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/renderers/ParticleRenderer.d.ts +0 -13
- package/src/engine/graphics/particles/particular/engine/renderers/ParticleRenderer.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/renderers/ParticleRenderer.js +0 -28
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.d.ts +0 -9
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.js +0 -24
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/SoftBillboardParticlePool.d.ts +0 -13
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/SoftBillboardParticlePool.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/SoftBillboardParticlePool.js +0 -27
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/SoftBillboardParticleRenderer.d.ts +0 -33
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/SoftBillboardParticleRenderer.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/SoftBillboardParticleRenderer.js +0 -80
- package/src/engine/graphics/particles/particular/engine/shader/ShaderManager.d.ts +0 -49
- package/src/engine/graphics/particles/particular/engine/shader/ShaderManager.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/shader/ShaderManager.js +0 -135
- package/src/engine/graphics/particles/particular/engine/shader/debugAtlas.d.ts +0 -7
- package/src/engine/graphics/particles/particular/engine/shader/debugAtlas.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/shader/debugAtlas.js +0 -14
- package/src/engine/graphics/particles/particular/engine/simulator/AbstractSimulationStep.d.ts +0 -41
- package/src/engine/graphics/particles/particular/engine/simulator/AbstractSimulationStep.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/AbstractSimulationStep.js +0 -59
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepApplyForce.d.ts +0 -4
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepApplyForce.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepApplyForce.js +0 -56
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepCurlNoiseAcceleration.d.ts +0 -4
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepCurlNoiseAcceleration.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepCurlNoiseAcceleration.js +0 -84
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepCurlNoiseVelocity.d.ts +0 -4
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepCurlNoiseVelocity.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepCurlNoiseVelocity.js +0 -80
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepDefinition.d.ts +0 -29
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepDefinition.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepDefinition.js +0 -43
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepFixedPhysics.d.ts +0 -5
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepFixedPhysics.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepFixedPhysics.js +0 -104
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepType.d.ts +0 -9
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/SimulationStepType.js +0 -11
- package/src/engine/graphics/particles/particular/engine/simulator/update_parameters.d.ts +0 -9
- package/src/engine/graphics/particles/particular/engine/simulator/update_parameters.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/simulator/update_parameters.js +0 -64
- package/src/engine/graphics/particles/particular/engine/utils/distributeParticlesOnObject3D.d.ts +0 -9
- package/src/engine/graphics/particles/particular/engine/utils/distributeParticlesOnObject3D.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/utils/distributeParticlesOnObject3D.js +0 -172
- package/src/engine/graphics/particles/particular/engine/utils/distribute_points_on_indexed_triangles.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/utils/distrubuteParticlesOnMesh.d.ts +0 -20
- package/src/engine/graphics/particles/particular/engine/utils/distrubuteParticlesOnMesh.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/utils/distrubuteParticlesOnMesh.js +0 -84
- package/src/engine/graphics/particles/particular/engine/utils/volume/AttributeValue.d.ts +0 -81
- package/src/engine/graphics/particles/particular/engine/utils/volume/AttributeValue.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/utils/volume/AttributeValue.js +0 -200
- package/src/engine/graphics/particles/particular/engine/utils/volume/SamplingFunctionKind.d.ts +0 -6
- package/src/engine/graphics/particles/particular/engine/utils/volume/SamplingFunctionKind.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/engine/utils/volume/SamplingFunctionKind.js +0 -8
- package/src/engine/graphics/particles/particular/engine/utils/volume/lut_to_sampler.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/Operation.d.ts +0 -20
- package/src/engine/graphics/particles/particular/group/Operation.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/Operation.js +0 -20
- package/src/engine/graphics/particles/particular/group/OperationType.d.ts +0 -7
- package/src/engine/graphics/particles/particular/group/OperationType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/OperationType.js +0 -9
- package/src/engine/graphics/particles/particular/group/ParticleAttribute.d.ts +0 -27
- package/src/engine/graphics/particles/particular/group/ParticleAttribute.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/ParticleAttribute.js +0 -27
- package/src/engine/graphics/particles/particular/group/ParticleAttributeType.d.ts +0 -8
- package/src/engine/graphics/particles/particular/group/ParticleAttributeType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/ParticleAttributeType.js +0 -11
- package/src/engine/graphics/particles/particular/group/ParticleDataType.d.ts +0 -7
- package/src/engine/graphics/particles/particular/group/ParticleDataType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/ParticleDataType.js +0 -10
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts +0 -24
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.js +0 -48
- package/src/engine/graphics/particles/particular/group/itemSizeFromAttributeType.d.ts +0 -7
- package/src/engine/graphics/particles/particular/group/itemSizeFromAttributeType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/itemSizeFromAttributeType.js +0 -20
- package/src/engine/graphics/particles/particular/group/optimizeCommandQueue.d.ts +0 -6
- package/src/engine/graphics/particles/particular/group/optimizeCommandQueue.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/optimizeCommandQueue.js +0 -162
- package/src/engine/graphics/particles/particular/group/typedArrayConstructorFromDataType.d.ts +0 -8
- package/src/engine/graphics/particles/particular/group/typedArrayConstructorFromDataType.d.ts.map +0 -1
- package/src/engine/graphics/particles/particular/group/typedArrayConstructorFromDataType.js +0 -19
- package/src/engine/graphics3/ParticleEmitterSystem.d.ts +0 -77
- package/src/engine/graphics3/ParticleEmitterSystem.d.ts.map +0 -1
- package/src/engine/graphics3/ParticleEmitterSystem.js +0 -307
- package/src/engine/graphics3/ParticleEmitterSystem3.d.ts +0 -10
- package/src/engine/graphics3/ParticleEmitterSystem3.d.ts.map +0 -1
- package/src/engine/graphics3/ParticleEmitterSystem3.js +0 -10
- package/src/engine/graphics3/particles/GPUParticularRenderer.d.ts +0 -61
- package/src/engine/graphics3/particles/GPUParticularRenderer.d.ts.map +0 -1
- package/src/engine/graphics3/particles/GPUParticularRenderer.js +0 -627
- package/src/engine/graphics3/particles/particle_gpu_records.d.ts +0 -85
- package/src/engine/graphics3/particles/particle_gpu_records.d.ts.map +0 -1
- package/src/engine/graphics3/particles/particle_gpu_records.js +0 -227
- package/src/shade/renderer/particles/shaders/shader_particle_render.d.ts +0 -35
- package/src/shade/renderer/particles/shaders/shader_particle_render.d.ts.map +0 -1
- package/src/shade/renderer/particles/shaders/shader_particle_render.js +0 -135
- /package/src/engine/graphics/{particles/particular/engine/utils → geometry}/distribute_points_on_indexed_triangles.d.ts +0 -0
package/editor/Editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../editor/Editor.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../editor/Editor.js"],"names":[],"mappings":"AAwIA;IACI;;OAEG;IACH,eAFU,aAAa,CAEa;IAEpC;;OAEG;IACH,YAFU,UAAU,CAEU;IAE9B;;;OAGG;IACH,WAFU,KAAK,MAAM,CAAC,CAEC;IAEvB;;OAEG;IACH,SAFU,gBAAgB,MAAM,EAAE,MAAM,CAAC,CAEL;IAEpC;;OAEG;IACH,qBAFU,mBAAmB,CAEuB;IAEpD;;OAEG;IACH,aAFU,WAAW,CAEW;IAEhC;;OAEG;IACH,sBAFU,IAAI,GAAG,aAAa,CAEG;IAEjC;;;OAGG;IACH,cAFU,MAAM,CAEmB;IAEnC;;OAEG;IACH,oBAFU,kBAAkB,CAEkB;IAE9C;;OAEG;IACH,kBAFU,sBAAsB,CAEgB;IAEhD;;OAEG;IACH,QAFU,YAAY,CAEU;IAEhC;;OAEG;IACH,MAFU,eAAe,GAAC,IAAI,CAElB;IAEZ;;;OAGG;IACH,YAFU,OAAO,CAED;IAEhB;;OAEG;IACH,QAFU,SAAO,IAAI,CAEP;IAEd;;OAEG;IACH,iBAFU;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,aAAa,EAAC,OAAO,CAAC;QAAC,MAAM,SAAO;KAAC,EAAE,CAE1C;IAErB;;OAEG;IACH,UAFU,MAAM,CAEe;IAE/B;;;OAGG;IACH,cAFU,UAAU,CAEF;IAiBlB;;OAEG;IACH,0BAEC;IAED;;;OAGG;IACH,mCAMC;IAED,mBAwCC;IAED;;;;;;;;;OASG;IACH,oBAFW,MAAM,QA4BhB;IAED;;OAEG;IACH,uBAQC;IAED;;;OAGG;IACH,kBAIC;IA6BD;;;;;OAKG;IACH,iCAHW,WAAW,gBAYrB;IAED;;;;OAIG;IACH,yBAEC;IAED;;;;;;OAMG;IACH,kCAHW,WAAW,GACT,QAAQ,MAAM,EAAE,CAAC,CAI7B;IAED;;;OAGG;IACH,sCAgEC;IAED;;;OAGG;IACH,wCAmBC;IAED,6BAMC;IAED,eA2CC;IAED;;;;OAIG;IACH,uBAHW,MAAM,GACJ,OAAO,CAInB;;CACJ;;8BAziB6B,4BAA4B;uBAInC,8BAA8B;iBAhCpC,qCAAqC;gCAGtB,6CAA6C;oCA4BzC,0BAA0B;4BAVlC,0BAA0B;mBAjBnC,6BAA6B;+BAajB,6BAA6B;uCACrB,6BAA6B;6BACvC,mBAAmB;gCAchB,iCAAiC;iCARhC,mCAAmC"}
|
package/editor/Editor.js
CHANGED
|
@@ -28,7 +28,6 @@ import { exportSceneToBuffer } from "./persistence/scene_serialization.js";
|
|
|
28
28
|
import { SceneSlotManager } from "./persistence/SceneSlotManager.js";
|
|
29
29
|
import { DisableGameUIProcess } from "./process/DisableGameUIProcess.js";
|
|
30
30
|
import { ObstacleGridDisplayProcess } from "./process/ObstacleGridDisplayProcess.js";
|
|
31
|
-
import { ParticleEmitterRebuildProcess } from "./process/ParticleEmitterRebuildProcess.js";
|
|
32
31
|
import { ProcessEngine } from "./process/ProcessEngine.js";
|
|
33
32
|
import { SymbolicDisplayProcess } from "./process/SymbolicDisplayProcess.js";
|
|
34
33
|
import { GridDisplayProcess } from "./process/GridDisplayProcess.js";
|
|
@@ -266,7 +265,6 @@ export class Editor {
|
|
|
266
265
|
// default processes; hosts register their own on top
|
|
267
266
|
this.processEngine.add(new ObstacleGridDisplayProcess());
|
|
268
267
|
this.processEngine.add(new DisableGameUIProcess());
|
|
269
|
-
this.processEngine.add(new ParticleEmitterRebuildProcess());
|
|
270
268
|
|
|
271
269
|
/**
|
|
272
270
|
* The processes that draw. Registered and started together.
|
|
@@ -283,7 +281,6 @@ export class Editor {
|
|
|
283
281
|
}
|
|
284
282
|
|
|
285
283
|
this.processEngine.startByName(DisableGameUIProcess.Id);
|
|
286
|
-
this.processEngine.startByName(ParticleEmitterRebuildProcess.Id);
|
|
287
284
|
|
|
288
285
|
if (this.engine !== null && this.engine.graphics !== null) {
|
|
289
286
|
// display processes have nothing to draw into on a graphics-less engine
|
|
@@ -8,7 +8,6 @@ import { Light } from "../../../src/engine/graphics/ecs/light/Light.js";
|
|
|
8
8
|
import { LightType } from "../../../src/engine/graphics/ecs/light/LightType.js";
|
|
9
9
|
import { ShadedGeometry } from "../../../src/engine/graphics/ecs/mesh-v2/ShadedGeometry.js";
|
|
10
10
|
import { SGMesh } from "../../../src/engine/graphics/ecs/mesh-v2/aggregate/SGMesh.js";
|
|
11
|
-
import { ParticleEmitter } from "../../../src/engine/graphics/particles/particular/engine/emitter/ParticleEmitter.js";
|
|
12
11
|
import Trail2D from "../../../src/engine/graphics/ecs/trail2d/Trail2D.js";
|
|
13
12
|
import GridObstacle from "../../../src/engine/grid/obstacle/GridObstacle.js";
|
|
14
13
|
import { randomIntegerBetween } from "../../../src/core/math/random/randomIntegerBetween.js";
|
|
@@ -40,169 +39,6 @@ light.color.parse('rgb(255,145,0)');
|
|
|
40
39
|
|
|
41
40
|
const sg = ShadedGeometry.from(new MeshletGeometry(), new StandardShadeMaterial());
|
|
42
41
|
const sgMesh = SGMesh.fromURL('bla-bla');
|
|
43
|
-
const particleEmitter = ParticleEmitter.fromJSON({
|
|
44
|
-
"position": {
|
|
45
|
-
"x": 22,
|
|
46
|
-
"y": 0,
|
|
47
|
-
"z": 18
|
|
48
|
-
},
|
|
49
|
-
"scale": {
|
|
50
|
-
"x": 0.25,
|
|
51
|
-
"y": 0.25,
|
|
52
|
-
"z": 0.25
|
|
53
|
-
},
|
|
54
|
-
"rotation": {
|
|
55
|
-
"x": 0,
|
|
56
|
-
"y": -0.4073445409440101,
|
|
57
|
-
"z": 0,
|
|
58
|
-
"w": 0.9132745616533474
|
|
59
|
-
},
|
|
60
|
-
"parameters": [
|
|
61
|
-
{
|
|
62
|
-
"name": "scale",
|
|
63
|
-
"itemSize": 1,
|
|
64
|
-
"defaultTrackValue": {
|
|
65
|
-
"itemSize": 1,
|
|
66
|
-
"data": [
|
|
67
|
-
1
|
|
68
|
-
],
|
|
69
|
-
"positions": [
|
|
70
|
-
0
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "color",
|
|
76
|
-
"itemSize": 4,
|
|
77
|
-
"defaultTrackValue": {
|
|
78
|
-
"itemSize": 4,
|
|
79
|
-
"data": [
|
|
80
|
-
1,
|
|
81
|
-
1,
|
|
82
|
-
1,
|
|
83
|
-
1
|
|
84
|
-
],
|
|
85
|
-
"positions": [
|
|
86
|
-
0
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"preWarm": true,
|
|
92
|
-
"readDepth": true,
|
|
93
|
-
"softDepth": true,
|
|
94
|
-
"velocityAlign": false,
|
|
95
|
-
"receiveLight": true,
|
|
96
|
-
"blendingMode": 0,
|
|
97
|
-
"layers": [
|
|
98
|
-
{
|
|
99
|
-
"imageURL": "data/textures/particle/UETools/x64/Smoke_14.png",
|
|
100
|
-
"particleLife": {
|
|
101
|
-
"min": 6,
|
|
102
|
-
"max": 8
|
|
103
|
-
},
|
|
104
|
-
"particleSize": {
|
|
105
|
-
"min": 0.4,
|
|
106
|
-
"max": 0.4
|
|
107
|
-
},
|
|
108
|
-
"particleRotation": {
|
|
109
|
-
"min": 0,
|
|
110
|
-
"max": 0
|
|
111
|
-
},
|
|
112
|
-
"particleRotationSpeed": {
|
|
113
|
-
"min": 0,
|
|
114
|
-
"max": 0
|
|
115
|
-
},
|
|
116
|
-
"emissionShape": 3,
|
|
117
|
-
"emissionFrom": 1,
|
|
118
|
-
"emissionRate": 2,
|
|
119
|
-
"emissionImmediate": 0,
|
|
120
|
-
"parameterTracks": [
|
|
121
|
-
{
|
|
122
|
-
"name": "color",
|
|
123
|
-
"track": {
|
|
124
|
-
"itemSize": 4,
|
|
125
|
-
"data": [
|
|
126
|
-
0.45,
|
|
127
|
-
0.45,
|
|
128
|
-
0.45,
|
|
129
|
-
0,
|
|
130
|
-
|
|
131
|
-
0.6,
|
|
132
|
-
0.6,
|
|
133
|
-
0.6,
|
|
134
|
-
0.3,
|
|
135
|
-
|
|
136
|
-
0.6,
|
|
137
|
-
0.6,
|
|
138
|
-
0.6,
|
|
139
|
-
0.2,
|
|
140
|
-
|
|
141
|
-
0.6,
|
|
142
|
-
0.6,
|
|
143
|
-
0.6,
|
|
144
|
-
0
|
|
145
|
-
],
|
|
146
|
-
"positions": [
|
|
147
|
-
0,
|
|
148
|
-
0.2,
|
|
149
|
-
0.7,
|
|
150
|
-
1
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "scale",
|
|
156
|
-
"track": {
|
|
157
|
-
"itemSize": 1,
|
|
158
|
-
"data": [
|
|
159
|
-
0.2493331876981993,
|
|
160
|
-
0.6134230340328317,
|
|
161
|
-
1.0759788492641973,
|
|
162
|
-
1.261059004570864
|
|
163
|
-
],
|
|
164
|
-
"positions": [
|
|
165
|
-
0,
|
|
166
|
-
0.4176470588235294,
|
|
167
|
-
0.7588235294117648,
|
|
168
|
-
1
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
"position": {
|
|
174
|
-
"x": 2.7,
|
|
175
|
-
"y": 2.3,
|
|
176
|
-
"z": 1.5
|
|
177
|
-
},
|
|
178
|
-
"scale": {
|
|
179
|
-
"x": 1,
|
|
180
|
-
"y": 1,
|
|
181
|
-
"z": 1
|
|
182
|
-
},
|
|
183
|
-
"particleVelocityDirection": {
|
|
184
|
-
"direction": {
|
|
185
|
-
"x": 0,
|
|
186
|
-
"y": 1,
|
|
187
|
-
"z": 0
|
|
188
|
-
},
|
|
189
|
-
"angle": 0.1
|
|
190
|
-
},
|
|
191
|
-
"particleSpeed": {
|
|
192
|
-
"min": 0.2,
|
|
193
|
-
"max": 0.22
|
|
194
|
-
},
|
|
195
|
-
"steps": [
|
|
196
|
-
{
|
|
197
|
-
"type": "FixedPhysics",
|
|
198
|
-
"parameters": []
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
|
-
|
|
203
|
-
]
|
|
204
|
-
});
|
|
205
|
-
|
|
206
42
|
const trail2D = new Trail2D();
|
|
207
43
|
|
|
208
44
|
const gridObstacle = new GridObstacle();
|
|
@@ -228,7 +64,7 @@ async function exec() {
|
|
|
228
64
|
|
|
229
65
|
// const terrain = await makeTerrain();
|
|
230
66
|
|
|
231
|
-
const object =
|
|
67
|
+
const object = light;
|
|
232
68
|
|
|
233
69
|
|
|
234
70
|
// transform.rotation.random(random);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerBasicTypeEditors.d.ts","sourceRoot":"","sources":["../../../../editor/ecs/component/registerBasicTypeEditors.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registerBasicTypeEditors.d.ts","sourceRoot":"","sources":["../../../../editor/ecs/component/registerBasicTypeEditors.js"],"names":[],"mappings":"AAqCA;;;;;;;;GAQG;AACH,mDAFW,IAAI,GAAG,aAAa,QAkD9B"}
|
|
@@ -12,14 +12,10 @@ import ObservedEnum from "../../../src/core/model/ObservedEnum.js";
|
|
|
12
12
|
import ObservedInteger from "../../../src/core/model/ObservedInteger.js";
|
|
13
13
|
import ObservedString from "../../../src/core/model/ObservedString.js";
|
|
14
14
|
import WorkerProxy from "../../../src/core/process/worker/WorkerProxy.js";
|
|
15
|
-
import {
|
|
16
|
-
ParameterTrackSet
|
|
17
|
-
} from "../../../src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.js";
|
|
18
15
|
import { Sampler2D } from "../../../src/engine/graphics/texture/sampler/Sampler2D.js";
|
|
19
16
|
import { ColorEditor } from "./editors/ColorEditor.js";
|
|
20
17
|
import { ListEditor } from "./editors/collection/ListEditor.js";
|
|
21
18
|
import { noEditor } from "./editors/common/noEditor.js";
|
|
22
|
-
import { ParameterTrackSetEditor } from "./editors/ecs/ParameterTrackSetEditor.js";
|
|
23
19
|
import { QuaternionEditor } from "./editors/geom/QuaternionEditor.js";
|
|
24
20
|
import { Vector1Editor } from "./editors/geom/Vector1Editor.js";
|
|
25
21
|
import { Vector2Editor } from "./editors/geom/Vector2Editor.js";
|
|
@@ -73,7 +69,6 @@ export function registerBasicTypeEditors(registry) {
|
|
|
73
69
|
registry.set(Quaternion, new QuaternionEditor());
|
|
74
70
|
|
|
75
71
|
registry.set(Sampler2D, new Sampler2DEditor());
|
|
76
|
-
registry.set(ParameterTrackSet, new ParameterTrackSetEditor());
|
|
77
72
|
|
|
78
73
|
registry.set(HTMLElement, new HTMLElementEditor());
|
|
79
74
|
registry.set(HTMLCanvasElement, new HTMLElementEditor());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerEngineComponentEditors.d.ts","sourceRoot":"","sources":["../../../../editor/ecs/component/registerEngineComponentEditors.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registerEngineComponentEditors.d.ts","sourceRoot":"","sources":["../../../../editor/ecs/component/registerEngineComponentEditors.js"],"names":[],"mappings":"AAuCA;;;;;GAKG;AACH,yDAFW,IAAI,GAAG,aAAa,QA+B9B"}
|
|
@@ -14,22 +14,8 @@ import Highlight from "../../../src/engine/graphics/ecs/highlight/Highlight.js";
|
|
|
14
14
|
import { HighlightEditor } from "../../../src/engine/graphics/ecs/highlight/HighlightEditor.js";
|
|
15
15
|
import { SGMesh } from "../../../src/engine/graphics/ecs/mesh-v2/aggregate/SGMesh.js";
|
|
16
16
|
import { ShadedGeometry } from "../../../src/engine/graphics/ecs/mesh-v2/ShadedGeometry.js";
|
|
17
|
-
import { ParticleEmitter } from "../../../src/engine/graphics/particles/particular/engine/emitter/ParticleEmitter.js";
|
|
18
|
-
import { ParticleLayer } from "../../../src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.js";
|
|
19
|
-
import {
|
|
20
|
-
ParameterLookupTable
|
|
21
|
-
} from "../../../src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTable.js";
|
|
22
|
-
import { ParameterTrack } from "../../../src/engine/graphics/particles/particular/engine/parameter/ParameterTrack.js";
|
|
23
|
-
import {
|
|
24
|
-
SimulationStepDefinition
|
|
25
|
-
} from "../../../src/engine/graphics/particles/particular/engine/simulator/SimulationStepDefinition.js";
|
|
26
17
|
import GridObstacle from "../../../src/engine/grid/obstacle/GridObstacle.js";
|
|
27
18
|
import { GridObstacleEditor } from "./editors/ecs/GridObstacleEditor.js";
|
|
28
|
-
import { ParameterLookupTableEditor } from "./editors/ecs/ParameterLookupTableEditor.js";
|
|
29
|
-
import { ParameterTrackEditor } from "./editors/ecs/ParameterTrackEditor.js";
|
|
30
|
-
import { ParticleEmitterEditor } from "./editors/ecs/ParticleEmitterEditor.js";
|
|
31
|
-
import { ParticleEmitterLayerEditor } from "./editors/ecs/ParticleEmitterLayerEditor.js";
|
|
32
|
-
import { SimulationStepDefinitionEditor } from "./editors/ecs/SimulationStepDefinitionEditor.js";
|
|
33
19
|
import { Trail2DEditor } from "./editors/ecs/Trail2DEditor.js";
|
|
34
20
|
import { Trail3DEditor } from "./editors/ecs/Trail3DEditor.js";
|
|
35
21
|
import { Transform64Editor } from "./editors/ecs/Transform64Editor.js";
|
|
@@ -60,7 +46,6 @@ import { StandardShadeMaterialEditor } from "./editors/shade/StandardShadeMateri
|
|
|
60
46
|
export function registerEngineComponentEditors(registry) {
|
|
61
47
|
|
|
62
48
|
registry.set(Transform64, new Transform64Editor());
|
|
63
|
-
registry.set(ParameterLookupTable, new ParameterLookupTableEditor());
|
|
64
49
|
|
|
65
50
|
registry.set(Terrain, new TerrainEditor());
|
|
66
51
|
registry.set(TerrainLayer, new TerrainLayerEditor());
|
|
@@ -70,11 +55,6 @@ export function registerEngineComponentEditors(registry) {
|
|
|
70
55
|
|
|
71
56
|
registry.set(GridObstacle, new GridObstacleEditor());
|
|
72
57
|
|
|
73
|
-
registry.set(ParticleLayer, new ParticleEmitterLayerEditor());
|
|
74
|
-
registry.set(ParticleEmitter, new ParticleEmitterEditor());
|
|
75
|
-
registry.set(ParameterTrack, new ParameterTrackEditor());
|
|
76
|
-
registry.set(SimulationStepDefinition, new SimulationStepDefinitionEditor());
|
|
77
|
-
|
|
78
58
|
registry.set(Tag, new TagEditor());
|
|
79
59
|
|
|
80
60
|
registry.set(Trail2D, new Trail2DEditor());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SymbolicDisplayProcess.d.ts","sourceRoot":"","sources":["../../../editor/process/SymbolicDisplayProcess.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SymbolicDisplayProcess.d.ts","sourceRoot":"","sources":["../../../editor/process/SymbolicDisplayProcess.js"],"names":[],"mappings":"AAeA;;;;;;;;;;GAUG;AACH;IAGI;;OAEG;IACH,UAFU,iBAAiB,CAEb;;CA+DjB;;;;8BA1F6B,oBAAoB"}
|
|
@@ -1,106 +1,100 @@
|
|
|
1
|
-
import { assert } from "../../src/core/assert.js";
|
|
2
|
-
import { Camera } from "../../src/engine/graphics/ecs/camera/Camera.js";
|
|
3
|
-
import { Light } from "../../src/engine/graphics/ecs/light/Light.js";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
} from "
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @type {
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
new
|
|
65
|
-
new
|
|
66
|
-
new
|
|
67
|
-
new
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
this.editor.engine.graphics.on.preRender.
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
this.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
SymbolicDisplayProcess.Id = 'symbolic-display-process';
|
|
105
|
-
|
|
106
|
-
export { SymbolicDisplayProcess };
|
|
1
|
+
import { assert } from "../../src/core/assert.js";
|
|
2
|
+
import { Camera } from "../../src/engine/graphics/ecs/camera/Camera.js";
|
|
3
|
+
import { Light } from "../../src/engine/graphics/ecs/light/Light.js";
|
|
4
|
+
import { ParticleEffect } from "../../src/engine/graphics/ecs/particles/ParticleEffect.js";
|
|
5
|
+
import { AudioEmitter } from "../../src/engine/sound/ecs/audio/AudioEmitter.js";
|
|
6
|
+
import { EditorProcess } from "./EditorProcess.js";
|
|
7
|
+
import { AudioEmitterSymbolicDisplay } from "./symbolic/AudioEmitterSymbolicDisplay.js";
|
|
8
|
+
import { CameraSymbolicDisplay } from "./symbolic/CameraSymbolicDisplay.js";
|
|
9
|
+
import { GridPositionSymbolicDisplay } from "./symbolic/GridPositionSymbolicDisplay.js";
|
|
10
|
+
import { LightSymbolicDisplay } from "./symbolic/LightSymbolicDisplay.js";
|
|
11
|
+
import { PathSymbolicDisplay } from "./symbolic/PathSymbolicDisplay.js";
|
|
12
|
+
import {
|
|
13
|
+
PositionedMarkerSymbolicDisplay
|
|
14
|
+
} from "./symbolic/PositionedMarkerSymbolicDisplay.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Draws a symbol for everything in a level that has no picture of its own.
|
|
18
|
+
*
|
|
19
|
+
* **Immediate mode, and that is the whole of what this process now is.** Every display used to
|
|
20
|
+
* build a helper entity per subject — a `Renderable` around a three `Object3D` (I-6's retirement
|
|
21
|
+
* list), kept in step through signal bindings and torn down again by an observer when the component
|
|
22
|
+
* went — which is why this process had to spawn a `RenderSystem` to draw at all and had to check
|
|
23
|
+
* whether each display's component types were even registered before starting it. None of that
|
|
24
|
+
* survives: the displays are asked once a frame what the scene looks like and answer with shapes
|
|
25
|
+
* in {@link Gizmo}, and `DebugDrawSystem` turns them into pixels.
|
|
26
|
+
*/
|
|
27
|
+
class SymbolicDisplayProcess extends EditorProcess {
|
|
28
|
+
name = SymbolicDisplayProcess.Id;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {SymbolicDisplay[]}
|
|
32
|
+
*/
|
|
33
|
+
displays = [];
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @type {function}
|
|
37
|
+
*/
|
|
38
|
+
#draw;
|
|
39
|
+
|
|
40
|
+
constructor() {
|
|
41
|
+
super();
|
|
42
|
+
|
|
43
|
+
this.#draw = () => this.#record();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @param {Editor} editor
|
|
48
|
+
*/
|
|
49
|
+
initialize(editor) {
|
|
50
|
+
super.initialize(editor);
|
|
51
|
+
|
|
52
|
+
const engine = editor.engine;
|
|
53
|
+
|
|
54
|
+
assert.defined(engine, 'engine');
|
|
55
|
+
|
|
56
|
+
this.displays = [
|
|
57
|
+
// the four types that have somewhere to be but nothing to see; the colour is what
|
|
58
|
+
// tells them apart, so it is picked here rather than inside the display
|
|
59
|
+
new PositionedMarkerSymbolicDisplay(engine, ParticleEffect, [1, 0.4, 1, 1]),
|
|
60
|
+
new PositionedMarkerSymbolicDisplay(engine, Camera, [0.4, 0.9, 1, 1]),
|
|
61
|
+
new PositionedMarkerSymbolicDisplay(engine, Light, [1, 0.9, 0.3, 1]),
|
|
62
|
+
new PositionedMarkerSymbolicDisplay(engine, AudioEmitter, [0.4, 1, 0.5, 1]),
|
|
63
|
+
|
|
64
|
+
new CameraSymbolicDisplay(engine),
|
|
65
|
+
new LightSymbolicDisplay(engine),
|
|
66
|
+
new GridPositionSymbolicDisplay(engine),
|
|
67
|
+
new PathSymbolicDisplay(engine),
|
|
68
|
+
new AudioEmitterSymbolicDisplay(engine)
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
startup() {
|
|
73
|
+
super.startup();
|
|
74
|
+
|
|
75
|
+
// per frame rather than per tick, for the reason the selection box is: the recording is
|
|
76
|
+
// cleared once the frame that consumed it has been submitted, and a frame can be drawn
|
|
77
|
+
// more than once between two ticks
|
|
78
|
+
this.editor.engine.graphics.on.preRender.add(this.#draw);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
shutdown() {
|
|
82
|
+
super.shutdown();
|
|
83
|
+
|
|
84
|
+
this.editor.engine.graphics.on.preRender.remove(this.#draw);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#record() {
|
|
88
|
+
const dataset = this.editor.engine.entityManager.dataset;
|
|
89
|
+
|
|
90
|
+
const displays = this.displays;
|
|
91
|
+
|
|
92
|
+
for (let i = 0; i < displays.length; i++) {
|
|
93
|
+
displays[i].record(dataset);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
SymbolicDisplayProcess.Id = 'symbolic-display-process';
|
|
99
|
+
|
|
100
|
+
export { SymbolicDisplayProcess };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prototypeEditorShell.d.ts","sourceRoot":"","sources":["../../editor/prototypeEditorShell.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prototypeEditorShell.d.ts","sourceRoot":"","sources":["../../editor/prototypeEditorShell.js"],"names":[],"mappings":"AAuLA;;;;;GAKG;AACH,2BAFU,QAAQ;IAAC,MAAM,SAAS;IAAC,MAAM,SAAS;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,OAAO,UAAS;CAAC,CAAC,CAEzD"}
|