@adobe/data-gpu 0.9.75 → 0.9.77
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/CLAUDE.md +9 -0
- package/README.md +36 -0
- package/dist/core/core-plugin.d.ts +1 -1
- package/dist/core/public.d.ts +2 -0
- package/dist/core/public.js +4 -0
- package/dist/core/public.js.map +1 -0
- package/dist/graphics/animation/animation-data-plugin.d.ts +8 -0
- package/dist/graphics/animation/animation-plugin.d.ts +10 -2
- package/dist/graphics/camera/camera-plugin.d.ts +3 -3
- package/dist/graphics/camera/orbit/attach-orbit-drag.d.ts +1 -21
- package/dist/graphics/camera/orbit/attach-orbit-drag.js +0 -10
- package/dist/graphics/camera/orbit/attach-orbit-drag.js.map +1 -1
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +6 -6
- package/dist/graphics/camera/orbit/orbit-data-plugin.js +1 -1
- package/dist/graphics/camera/orbit/orbit-data-plugin.js.map +1 -1
- package/dist/graphics/camera/orbit/orbit-drag-service.d.ts +11 -0
- package/dist/graphics/camera/orbit/orbit-drag-service.js +3 -0
- package/dist/graphics/camera/orbit/orbit-drag-service.js.map +1 -0
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +6 -6
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +8 -8
- package/dist/graphics/camera/orbit/orbit-system-plugin.js +6 -9
- package/dist/graphics/camera/orbit/orbit-system-plugin.js.map +1 -1
- package/dist/graphics/camera/orbit/orbit.d.ts +5 -5
- package/dist/graphics/camera/orbit/public.d.ts +2 -2
- package/dist/graphics/camera/orbit/public.js +2 -1
- package/dist/graphics/camera/orbit/public.js.map +1 -1
- package/dist/graphics/graphics-plugin.d.ts +1 -1
- package/dist/graphics/index.d.ts +1 -0
- package/dist/graphics/index.js +3 -0
- package/dist/graphics/index.js.map +1 -0
- package/dist/graphics/picking/picking-plugin.d.ts +9871 -1912
- package/dist/graphics/picking/picking-plugin.js +3 -3
- package/dist/graphics/picking/picking-plugin.js.map +1 -1
- package/dist/graphics/public.d.ts +38 -0
- package/dist/graphics/public.js +40 -0
- package/dist/graphics/public.js.map +1 -0
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +2967 -486
- package/dist/graphics/rendering/bone-collider-plugin.js +13 -12
- package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
- package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -0
- package/dist/graphics/rendering/display-transform-plugin.js +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +2857 -403
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +9 -9
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
- package/dist/graphics/rendering/interpolation-plugin.d.ts +1040 -156
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +3017 -538
- package/dist/graphics/rendering/jolt-ragdoll-plugin.js +6 -6
- package/dist/graphics/rendering/jolt-ragdoll-plugin.js.map +1 -1
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +1123 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +79 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.d.ts +1 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.js +18 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu.test.js.map +1 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette.d.ts +25 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette.js +27 -0
- package/dist/graphics/rendering/material-palette-gpu/material-palette.js.map +1 -0
- package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.d.ts +3 -0
- package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.js +22 -0
- package/dist/graphics/rendering/material-palette-gpu/palette-bind-group.js.map +1 -0
- package/dist/graphics/rendering/model-collider-plugin.d.ts +2903 -663
- package/dist/graphics/rendering/model-collider-plugin.js +11 -34
- package/dist/graphics/rendering/model-collider-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +16 -8
- package/dist/graphics/rendering/pbr-core-plugin.js +16 -19
- package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +3514 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js +189 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js.map +1 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.d.ts +7 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.js +124 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-shader.wgsl.js.map +1 -0
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +769 -571
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js +98 -79
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/primitive-render-shared.d.ts +43 -0
- package/dist/graphics/rendering/pbr-render/primitive-render-shared.js +59 -0
- package/dist/graphics/rendering/pbr-render/primitive-render-shared.js.map +1 -0
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +2930 -270
- package/dist/graphics/rendering/skinning/skinning-plugin.js +19 -40
- package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
- package/dist/graphics/scene/model/geometry/public.d.ts +1 -0
- package/dist/graphics/scene/model/mesh/mesh.d.ts +13 -0
- package/dist/graphics/scene/model/mesh/mesh.js +3 -0
- package/dist/graphics/scene/model/mesh/mesh.js.map +1 -0
- package/dist/graphics/scene/model/mesh/public.d.ts +1 -0
- package/dist/graphics/scene/model/mesh/public.js +3 -0
- package/dist/graphics/scene/model/mesh/public.js.map +1 -0
- package/dist/graphics/scene/model/mesh-plugin.d.ts +5177 -0
- package/dist/graphics/scene/model/mesh-plugin.js +87 -0
- package/dist/graphics/scene/model/mesh-plugin.js.map +1 -0
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +2728 -295
- package/dist/graphics/scene/model/model-loader-plugin.js +24 -42
- package/dist/graphics/scene/model/model-loader-plugin.js.map +1 -1
- package/dist/graphics/scene/model/model-plugin.d.ts +1 -352
- package/dist/graphics/scene/model/model-plugin.js +1 -37
- package/dist/graphics/scene/model/model-plugin.js.map +1 -1
- package/dist/graphics/scene/model/model.d.ts +2 -6
- package/dist/graphics/scene/model/model.js.map +1 -1
- package/dist/graphics/scene/model/public.d.ts +1 -1
- package/dist/graphics/scene/model/public.js +2 -1
- package/dist/graphics/scene/model/public.js.map +1 -1
- package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.d.ts +4 -0
- package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.js +25 -0
- package/dist/graphics/scene/model/shape/bounds-from-shape-mesh.js.map +1 -0
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +233 -386
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +87 -18
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
- package/dist/graphics/scene/model/shape/shape-spec.d.ts +17 -0
- package/dist/graphics/scene/model/shape/shape-spec.js +3 -0
- package/dist/graphics/scene/model/shape/shape-spec.js.map +1 -0
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +2670 -245
- package/dist/graphics/scene/model/world-bounds-plugin.js +6 -25
- package/dist/graphics/scene/model/world-bounds-plugin.js.map +1 -1
- package/dist/graphics/scene/node/node-data-plugin.d.ts +15 -4
- package/dist/graphics/scene/node/node-data-plugin.js +12 -5
- package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
- package/dist/graphics/scene/node/node-data-plugin.test.d.ts +1 -0
- package/dist/graphics/scene/node/node-data-plugin.test.js +40 -0
- package/dist/graphics/scene/node/node-data-plugin.test.js.map +1 -0
- package/dist/graphics/scene/node/node-plugin.d.ts +8 -1
- package/dist/graphics/scene/node/transform-plugin.d.ts +8 -1
- package/dist/graphics/scene/scene-plugin.d.ts +2353 -100
- package/dist/graphics/scene/scene-plugin.js +3 -3
- package/dist/graphics/scene/scene-plugin.js.map +1 -1
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +3 -3
- package/dist/index.d.ts +1 -53
- package/dist/index.js +1 -54
- package/dist/index.js.map +1 -1
- package/dist/material/assemble-material-row.d.ts +4 -0
- package/dist/material/assemble-material-row.js +22 -0
- package/dist/material/assemble-material-row.js.map +1 -0
- package/dist/material/definitions.d.ts +833 -0
- package/dist/material/definitions.js +423 -0
- package/dist/material/definitions.js.map +1 -0
- package/dist/material/emission-mode.d.ts +8 -0
- package/dist/material/emission-mode.js +9 -0
- package/dist/material/emission-mode.js.map +1 -0
- package/dist/material/index.d.ts +1 -0
- package/dist/material/index.js +3 -0
- package/dist/material/index.js.map +1 -0
- package/dist/material/json/from-json-string.d.ts +2 -0
- package/dist/material/json/from-json-string.js +12 -0
- package/dist/material/json/from-json-string.js.map +1 -0
- package/dist/material/json/from-json.d.ts +10 -0
- package/dist/material/json/from-json.js +16 -0
- package/dist/material/json/from-json.js.map +1 -0
- package/dist/material/json/from-json.test.d.ts +1 -0
- package/dist/material/json/from-json.test.js +46 -0
- package/dist/material/json/from-json.test.js.map +1 -0
- package/dist/material/json/is-properties-json.d.ts +2 -0
- package/dist/material/json/is-properties-json.js +65 -0
- package/dist/material/json/is-properties-json.js.map +1 -0
- package/dist/material/json/library-json.d.ts +3 -0
- package/dist/material/json/library-json.js +2 -0
- package/dist/material/json/library-json.js.map +1 -0
- package/dist/material/json/load-json.d.ts +7 -0
- package/dist/material/json/load-json.js +10 -0
- package/dist/material/json/load-json.js.map +1 -0
- package/dist/material/json/properties-json.d.ts +25 -0
- package/dist/material/json/properties-json.js +2 -0
- package/dist/material/json/properties-json.js.map +1 -0
- package/dist/material/json/public.d.ts +9 -0
- package/dist/material/json/public.js +6 -0
- package/dist/material/json/public.js.map +1 -0
- package/dist/material/json/to-definition.d.ts +5 -0
- package/dist/material/json/to-definition.js +65 -0
- package/dist/material/json/to-definition.js.map +1 -0
- package/dist/material/material-by-name-lookup.d.ts +11 -0
- package/dist/material/material-by-name-lookup.js +3 -0
- package/dist/material/material-by-name-lookup.js.map +1 -0
- package/dist/material/material-defaults.d.ts +23 -0
- package/dist/material/material-defaults.js +25 -0
- package/dist/material/material-defaults.js.map +1 -0
- package/dist/material/material-definition.d.ts +3 -0
- package/dist/material/material-definition.js +2 -0
- package/dist/material/material-definition.js.map +1 -0
- package/dist/material/material-name.d.ts +2 -0
- package/dist/material/material-name.js +2 -0
- package/dist/material/material-name.js.map +1 -0
- package/dist/material/material-plugin.d.ts +891 -22
- package/dist/material/material-plugin.js +46 -21
- package/dist/material/material-plugin.js.map +1 -1
- package/dist/material/material-plugin.test.d.ts +1 -0
- package/dist/material/material-plugin.test.js +87 -0
- package/dist/material/material-plugin.test.js.map +1 -0
- package/dist/material/material.d.ts +27 -29
- package/dist/material/material.js +0 -1
- package/dist/material/material.js.map +1 -1
- package/dist/material/public.d.ts +12 -2
- package/dist/material/public.js +12 -2
- package/dist/material/public.js.map +1 -1
- package/dist/material/require-material.d.ts +4 -0
- package/dist/material/require-material.js +10 -0
- package/dist/material/require-material.js.map +1 -0
- package/dist/material/standard-material-names.d.ts +2 -0
- package/dist/material/standard-material-names.js +4 -0
- package/dist/material/standard-material-names.js.map +1 -0
- package/dist/material/standard-materials.d.ts +1 -1
- package/dist/material/standard-materials.js +17 -24
- package/dist/material/standard-materials.js.map +1 -1
- package/dist/material/stress-strain-curve/create.d.ts +8 -0
- package/dist/material/stress-strain-curve/create.js +2 -0
- package/dist/material/stress-strain-curve/create.js.map +1 -0
- package/dist/material/stress-strain-curve/public.d.ts +2 -0
- package/dist/material/stress-strain-curve/public.js +3 -0
- package/dist/material/stress-strain-curve/public.js.map +1 -0
- package/dist/material/stress-strain-curve/schema.d.ts +52 -0
- package/dist/material/stress-strain-curve/schema.js +19 -0
- package/dist/material/stress-strain-curve/schema.js.map +1 -0
- package/dist/material/stress-strain-curve/schema.test.d.ts +1 -0
- package/dist/material/stress-strain-curve/schema.test.js +18 -0
- package/dist/material/stress-strain-curve/schema.test.js.map +1 -0
- package/dist/material/stress-strain-curve/stress-strain-curve.d.ts +4 -0
- package/dist/material/stress-strain-curve/stress-strain-curve.js +2 -0
- package/dist/material/stress-strain-curve/stress-strain-curve.js.map +1 -0
- package/dist/physics/body/collider-shape/mass-from-volume.d.ts +2 -0
- package/dist/physics/body/collider-shape/mass-from-volume.js +4 -0
- package/dist/physics/body/collider-shape/mass-from-volume.js.map +1 -0
- package/dist/physics/body/collider-shape/mass-from-volume.test.d.ts +1 -0
- package/dist/physics/body/collider-shape/mass-from-volume.test.js +8 -0
- package/dist/physics/body/collider-shape/mass-from-volume.test.js.map +1 -0
- package/dist/physics/collider-primitive-render-archetype.d.ts +2 -0
- package/dist/physics/collider-primitive-render-archetype.js +3 -0
- package/dist/physics/collider-primitive-render-archetype.js.map +1 -0
- package/dist/physics/collider-primitive-render-archetypes.d.ts +2 -0
- package/dist/physics/collider-primitive-render-archetypes.js +9 -0
- package/dist/physics/collider-primitive-render-archetypes.js.map +1 -0
- package/dist/physics/index.d.ts +1 -0
- package/dist/physics/index.js +3 -0
- package/dist/physics/index.js.map +1 -0
- package/dist/physics/is-voxel-shape-physics-pending.d.ts +3 -0
- package/dist/physics/is-voxel-shape-physics-pending.js +7 -0
- package/dist/physics/is-voxel-shape-physics-pending.js.map +1 -0
- package/dist/physics/physics-clock/physics-clock.d.ts +15 -0
- package/dist/physics/physics-clock/physics-clock.js +3 -0
- package/dist/physics/physics-clock/physics-clock.js.map +1 -0
- package/dist/physics/physics-clock-plugin.d.ts +2 -22
- package/dist/physics/physics-clock-plugin.js +0 -2
- package/dist/physics/physics-clock-plugin.js.map +1 -1
- package/dist/physics/physics-clock.test.js.map +1 -1
- package/dist/physics/physics-data-plugin.d.ts +889 -13
- package/dist/physics/physics-data-plugin.js +8 -6
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/public.d.ts +21 -0
- package/dist/physics/public.js +23 -0
- package/dist/physics/public.js.map +1 -0
- package/dist/physics/ragdoll/bone-capsule.d.ts +8 -0
- package/dist/physics/ragdoll/bone-capsule.js +3 -0
- package/dist/physics/ragdoll/bone-capsule.js.map +1 -0
- package/dist/physics/ragdoll/fit-bone-capsules-input.d.ts +11 -0
- package/dist/physics/ragdoll/fit-bone-capsules-input.js +3 -0
- package/dist/physics/ragdoll/fit-bone-capsules-input.js.map +1 -0
- package/dist/physics/ragdoll/fit-bone-capsules.d.ts +2 -38
- package/dist/physics/ragdoll/fit-bone-capsules.js +13 -0
- package/dist/physics/ragdoll/fit-bone-capsules.js.map +1 -1
- package/dist/physics/ragdoll/fit-bone-capsules.test.js.map +1 -1
- package/dist/physics/ragdoll/skin-vertices.d.ts +6 -0
- package/dist/physics/ragdoll/skin-vertices.js +3 -0
- package/dist/physics/ragdoll/skin-vertices.js.map +1 -0
- package/dist/physics/rigid-body-components.d.ts +2 -0
- package/dist/physics/rigid-body-components.js +13 -0
- package/dist/physics/rigid-body-components.js.map +1 -0
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +918 -41
- package/dist/physics/solvers/jolt-solver-plugin.js +19 -3
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +918 -41
- package/dist/physics/solvers/rapier-solver-plugin.js +7 -2
- package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/solver-benchmark-options.d.ts +14 -0
- package/dist/physics/solvers/solver-benchmark-options.js +3 -0
- package/dist/physics/solvers/solver-benchmark-options.js.map +1 -0
- package/dist/physics/solvers/solver-benchmark-result.d.ts +15 -0
- package/dist/physics/solvers/solver-benchmark-result.js +3 -0
- package/dist/physics/solvers/solver-benchmark-result.js.map +1 -0
- package/dist/physics/solvers/solver-benchmark.d.ts +2 -43
- package/dist/physics/solvers/solver-benchmark.js.map +1 -1
- package/dist/physics/static-collider-components.d.ts +2 -0
- package/dist/physics/static-collider-components.js +10 -0
- package/dist/physics/static-collider-components.js.map +1 -0
- package/package.json +14 -2
- package/src/core/public.ts +4 -0
- package/src/graphics/camera/orbit/attach-orbit-drag.ts +7 -27
- package/src/graphics/camera/orbit/orbit-data-plugin.ts +1 -1
- package/src/graphics/camera/orbit/orbit-drag-service.ts +13 -0
- package/src/graphics/camera/orbit/orbit-system-plugin.ts +6 -9
- package/src/graphics/camera/orbit/orbit.ts +5 -5
- package/src/graphics/camera/orbit/public.ts +2 -2
- package/src/graphics/index.ts +3 -0
- package/src/graphics/picking/picking-plugin.ts +4 -4
- package/src/graphics/public.ts +40 -0
- package/src/graphics/rendering/bone-collider-plugin.ts +16 -12
- package/src/graphics/rendering/display-transform-plugin.ts +2 -2
- package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +9 -9
- package/src/graphics/rendering/interpolation.test.ts +1 -1
- package/src/graphics/rendering/jolt-ragdoll-plugin.ts +11 -7
- package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +86 -0
- package/src/graphics/rendering/material-palette-gpu/material-palette-gpu.test.ts +20 -0
- package/src/graphics/rendering/material-palette-gpu/material-palette.ts +41 -0
- package/src/graphics/rendering/material-palette-gpu/palette-bind-group.ts +24 -0
- package/src/graphics/rendering/model-collider-plugin.ts +19 -35
- package/src/graphics/rendering/pbr-core-plugin.ts +16 -19
- package/src/graphics/rendering/pbr-render/{pbr-render-plugin.ts → pbr-factor-render-plugin.ts} +60 -111
- package/src/graphics/rendering/pbr-render/{pbr-array-shader.wgsl.ts → pbr-factor-shader.wgsl.ts} +19 -40
- package/src/graphics/rendering/pbr-render/physics-bridge-plugin.ts +95 -69
- package/src/graphics/rendering/pbr-render/primitive-render-shared.ts +76 -0
- package/src/graphics/rendering/skinning/skinning-plugin.ts +23 -41
- package/src/graphics/scene/model/geometry/public.ts +1 -1
- package/src/graphics/scene/model/mesh/mesh.ts +18 -0
- package/src/graphics/scene/model/mesh/public.ts +3 -0
- package/src/graphics/scene/model/mesh-plugin.ts +102 -0
- package/src/graphics/scene/model/model-loader-plugin.ts +25 -43
- package/src/graphics/scene/model/model-plugin.ts +1 -44
- package/src/graphics/scene/model/model.ts +2 -6
- package/src/graphics/scene/model/public.ts +3 -1
- package/src/graphics/scene/model/shape/bounds-from-shape-mesh.ts +20 -0
- package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +97 -18
- package/src/graphics/scene/model/shape/shape-spec.ts +9 -0
- package/src/graphics/scene/model/world-bounds-plugin.ts +6 -25
- package/src/graphics/scene/node/node-data-plugin.test.ts +47 -0
- package/src/graphics/scene/node/node-data-plugin.ts +12 -5
- package/src/graphics/scene/scene-plugin.ts +3 -3
- package/src/index.ts +1 -70
- package/src/material/assemble-material-row.ts +26 -0
- package/src/material/definitions.ts +427 -0
- package/src/material/emission-mode.ts +11 -0
- package/src/material/index.ts +3 -0
- package/src/material/json/from-json-string.ts +11 -0
- package/src/material/json/from-json.test.ts +50 -0
- package/src/material/json/from-json.ts +23 -0
- package/src/material/json/is-properties-json.ts +77 -0
- package/src/material/json/library-json.ts +4 -0
- package/src/material/json/load-json.ts +15 -0
- package/src/material/json/properties-json.ts +25 -0
- package/src/material/json/public.ts +9 -0
- package/src/material/json/to-definition.ts +70 -0
- package/src/material/material-by-name-lookup.ts +10 -0
- package/src/material/material-defaults.ts +26 -0
- package/src/material/material-definition.ts +4 -0
- package/src/material/material-name.ts +3 -0
- package/src/material/material-plugin.test.ts +97 -0
- package/src/material/material-plugin.ts +67 -39
- package/src/material/material.ts +35 -34
- package/src/material/public.ts +12 -2
- package/src/material/require-material.ts +15 -0
- package/src/material/standard-material-names.ts +4 -0
- package/src/material/standard-materials.ts +21 -27
- package/src/material/stress-strain-curve/create.ts +9 -0
- package/src/material/stress-strain-curve/public.ts +2 -0
- package/src/material/stress-strain-curve/schema.test.ts +20 -0
- package/src/material/stress-strain-curve/schema.ts +20 -0
- package/src/material/stress-strain-curve/stress-strain-curve.ts +11 -0
- package/src/physics/README.md +9 -1
- package/src/physics/body/collider-shape/mass-from-volume.test.ts +8 -0
- package/src/physics/body/collider-shape/mass-from-volume.ts +4 -0
- package/src/physics/collider-primitive-render-archetype.ts +5 -0
- package/src/physics/collider-primitive-render-archetypes.ts +9 -0
- package/src/physics/index.ts +3 -0
- package/src/physics/is-voxel-shape-physics-pending.ts +9 -0
- package/src/physics/physics-clock/physics-clock.ts +17 -0
- package/src/physics/physics-clock-plugin.ts +1 -24
- package/src/physics/physics-clock.test.ts +2 -1
- package/src/physics/physics-data-plugin.ts +8 -6
- package/src/physics/public.ts +23 -0
- package/src/physics/ragdoll/bone-capsule.ts +11 -0
- package/src/physics/ragdoll/fit-bone-capsules-input.ts +14 -0
- package/src/physics/ragdoll/fit-bone-capsules.test.ts +2 -1
- package/src/physics/ragdoll/fit-bone-capsules.ts +2 -27
- package/src/physics/ragdoll/skin-vertices.ts +8 -0
- package/src/physics/rigid-body-components.ts +13 -0
- package/src/physics/solvers/README.md +4 -0
- package/src/physics/solvers/jolt-solver-plugin.ts +19 -5
- package/src/physics/solvers/rapier-solver-plugin.ts +5 -2
- package/src/physics/solvers/solver-benchmark-options.ts +16 -0
- package/src/physics/solvers/solver-benchmark-result.ts +17 -0
- package/src/physics/solvers/solver-benchmark.ts +2 -35
- package/src/physics/static-collider-components.ts +10 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/src/graphics/rendering/material-gpu/material-arrays.ts +0 -113
- package/src/graphics/rendering/material-gpu/material-bind-group.ts +0 -61
- package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +0 -95
- package/src/graphics/scene/model/geometry/geometry.ts +0 -12
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
export declare const interpolation: {
|
|
2
|
-
readonly components: {
|
|
2
|
+
readonly components: {
|
|
3
|
+
readonly visible: {
|
|
4
|
+
readonly type: "boolean";
|
|
5
|
+
readonly const: true;
|
|
6
|
+
readonly default: true;
|
|
7
|
+
};
|
|
8
|
+
readonly position: {
|
|
9
|
+
readonly type: "array";
|
|
10
|
+
readonly items: {
|
|
11
|
+
readonly type: "number";
|
|
12
|
+
readonly precision: 1;
|
|
13
|
+
readonly default: number;
|
|
14
|
+
};
|
|
15
|
+
readonly minItems: 3;
|
|
16
|
+
readonly maxItems: 3;
|
|
17
|
+
readonly default: readonly [0, 0, 0];
|
|
18
|
+
};
|
|
19
|
+
readonly rotation: {
|
|
20
|
+
readonly type: "array";
|
|
21
|
+
readonly items: {
|
|
22
|
+
readonly type: "number";
|
|
23
|
+
readonly precision: 1;
|
|
24
|
+
readonly default: number;
|
|
25
|
+
};
|
|
26
|
+
readonly minItems: 4;
|
|
27
|
+
readonly maxItems: 4;
|
|
28
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
29
|
+
readonly interpolators: {
|
|
30
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly scale: {
|
|
34
|
+
readonly type: "array";
|
|
35
|
+
readonly items: {
|
|
36
|
+
readonly type: "number";
|
|
37
|
+
readonly precision: 1;
|
|
38
|
+
readonly default: number;
|
|
39
|
+
};
|
|
40
|
+
readonly minItems: 3;
|
|
41
|
+
readonly maxItems: 3;
|
|
42
|
+
readonly default: readonly [0, 0, 0];
|
|
43
|
+
};
|
|
44
|
+
readonly parent: {
|
|
45
|
+
readonly type: "integer";
|
|
46
|
+
readonly minimum: -2147483648;
|
|
47
|
+
readonly maximum: 2147483647;
|
|
48
|
+
readonly default: number;
|
|
49
|
+
};
|
|
50
|
+
readonly _worldMatrix: {
|
|
51
|
+
readonly nonPersistent: true;
|
|
52
|
+
readonly type: "array";
|
|
53
|
+
readonly items: {
|
|
54
|
+
readonly type: "number";
|
|
55
|
+
readonly precision: 1;
|
|
56
|
+
readonly default: number;
|
|
57
|
+
};
|
|
58
|
+
readonly minItems: 16;
|
|
59
|
+
readonly maxItems: 16;
|
|
60
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
61
|
+
};
|
|
62
|
+
readonly _worldBounds: {
|
|
63
|
+
readonly nonPersistent: true;
|
|
64
|
+
readonly type: "object";
|
|
65
|
+
readonly properties: {
|
|
66
|
+
readonly min: {
|
|
67
|
+
readonly type: "array";
|
|
68
|
+
readonly items: {
|
|
69
|
+
readonly type: "number";
|
|
70
|
+
readonly precision: 1;
|
|
71
|
+
readonly default: number;
|
|
72
|
+
};
|
|
73
|
+
readonly minItems: 3;
|
|
74
|
+
readonly maxItems: 3;
|
|
75
|
+
readonly default: readonly [0, 0, 0];
|
|
76
|
+
};
|
|
77
|
+
readonly max: {
|
|
78
|
+
readonly type: "array";
|
|
79
|
+
readonly items: {
|
|
80
|
+
readonly type: "number";
|
|
81
|
+
readonly precision: 1;
|
|
82
|
+
readonly default: number;
|
|
83
|
+
};
|
|
84
|
+
readonly minItems: 3;
|
|
85
|
+
readonly maxItems: 3;
|
|
86
|
+
readonly default: readonly [0, 0, 0];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly required: readonly ["min", "max"];
|
|
90
|
+
readonly additionalProperties: false;
|
|
91
|
+
readonly default: {
|
|
92
|
+
readonly min: readonly [0, 0, 0];
|
|
93
|
+
readonly max: readonly [0, 0, 0];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
} & {} & {
|
|
97
|
+
readonly _renderPosition: {
|
|
98
|
+
readonly nonPersistent: true;
|
|
99
|
+
readonly type: "array";
|
|
100
|
+
readonly items: {
|
|
101
|
+
readonly type: "number";
|
|
102
|
+
readonly precision: 1;
|
|
103
|
+
readonly default: number;
|
|
104
|
+
};
|
|
105
|
+
readonly minItems: 3;
|
|
106
|
+
readonly maxItems: 3;
|
|
107
|
+
readonly default: readonly [0, 0, 0];
|
|
108
|
+
};
|
|
109
|
+
readonly _renderRotation: {
|
|
110
|
+
readonly nonPersistent: true;
|
|
111
|
+
readonly type: "array";
|
|
112
|
+
readonly items: {
|
|
113
|
+
readonly type: "number";
|
|
114
|
+
readonly precision: 1;
|
|
115
|
+
readonly default: number;
|
|
116
|
+
};
|
|
117
|
+
readonly minItems: 4;
|
|
118
|
+
readonly maxItems: 4;
|
|
119
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
120
|
+
readonly interpolators: {
|
|
121
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
} & {
|
|
3
125
|
readonly material: {
|
|
4
126
|
readonly type: "integer";
|
|
5
127
|
readonly minimum: -2147483648;
|
|
@@ -34,6 +156,67 @@ export declare const interpolation: {
|
|
|
34
156
|
readonly precision: 1;
|
|
35
157
|
readonly default: number;
|
|
36
158
|
};
|
|
159
|
+
readonly viscosity: {
|
|
160
|
+
readonly type: "number";
|
|
161
|
+
readonly precision: 1;
|
|
162
|
+
readonly default: number;
|
|
163
|
+
};
|
|
164
|
+
readonly thermalConductivity: {
|
|
165
|
+
readonly type: "number";
|
|
166
|
+
readonly precision: 1;
|
|
167
|
+
readonly default: number;
|
|
168
|
+
};
|
|
169
|
+
readonly stressStrainCurve: {
|
|
170
|
+
readonly type: "object";
|
|
171
|
+
readonly layout: "packed";
|
|
172
|
+
readonly properties: {
|
|
173
|
+
readonly tensileYieldStrainStress: {
|
|
174
|
+
readonly type: "array";
|
|
175
|
+
readonly items: {
|
|
176
|
+
readonly type: "number";
|
|
177
|
+
readonly precision: 1;
|
|
178
|
+
readonly default: number;
|
|
179
|
+
};
|
|
180
|
+
readonly minItems: 2;
|
|
181
|
+
readonly maxItems: 2;
|
|
182
|
+
readonly default: readonly [0, 0];
|
|
183
|
+
};
|
|
184
|
+
readonly tensileFractureStrainStress: {
|
|
185
|
+
readonly type: "array";
|
|
186
|
+
readonly items: {
|
|
187
|
+
readonly type: "number";
|
|
188
|
+
readonly precision: 1;
|
|
189
|
+
readonly default: number;
|
|
190
|
+
};
|
|
191
|
+
readonly minItems: 2;
|
|
192
|
+
readonly maxItems: 2;
|
|
193
|
+
readonly default: readonly [0, 0];
|
|
194
|
+
};
|
|
195
|
+
readonly compressiveYieldStrainStress: {
|
|
196
|
+
readonly type: "array";
|
|
197
|
+
readonly items: {
|
|
198
|
+
readonly type: "number";
|
|
199
|
+
readonly precision: 1;
|
|
200
|
+
readonly default: number;
|
|
201
|
+
};
|
|
202
|
+
readonly minItems: 2;
|
|
203
|
+
readonly maxItems: 2;
|
|
204
|
+
readonly default: readonly [0, 0];
|
|
205
|
+
};
|
|
206
|
+
readonly compressiveFractureStrainStress: {
|
|
207
|
+
readonly type: "array";
|
|
208
|
+
readonly items: {
|
|
209
|
+
readonly type: "number";
|
|
210
|
+
readonly precision: 1;
|
|
211
|
+
readonly default: number;
|
|
212
|
+
};
|
|
213
|
+
readonly minItems: 2;
|
|
214
|
+
readonly maxItems: 2;
|
|
215
|
+
readonly default: readonly [0, 0];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
219
|
+
};
|
|
37
220
|
readonly baseColorFactor: {
|
|
38
221
|
readonly type: "array";
|
|
39
222
|
readonly items: {
|
|
@@ -76,6 +259,22 @@ export declare const interpolation: {
|
|
|
76
259
|
readonly precision: 1;
|
|
77
260
|
readonly default: number;
|
|
78
261
|
};
|
|
262
|
+
readonly irReflectance: {
|
|
263
|
+
readonly type: "number";
|
|
264
|
+
readonly precision: 1;
|
|
265
|
+
readonly default: number;
|
|
266
|
+
};
|
|
267
|
+
readonly irEmission: {
|
|
268
|
+
readonly type: "number";
|
|
269
|
+
readonly precision: 1;
|
|
270
|
+
readonly default: number;
|
|
271
|
+
};
|
|
272
|
+
readonly emissionMode: {
|
|
273
|
+
readonly type: "integer";
|
|
274
|
+
readonly minimum: 0;
|
|
275
|
+
readonly maximum: 4294967295;
|
|
276
|
+
readonly default: number;
|
|
277
|
+
};
|
|
79
278
|
readonly baseColorUrl: {
|
|
80
279
|
readonly type: "string";
|
|
81
280
|
};
|
|
@@ -159,6 +358,7 @@ export declare const interpolation: {
|
|
|
159
358
|
readonly default: readonly [0, 0, 0];
|
|
160
359
|
};
|
|
161
360
|
readonly _prevPosition: {
|
|
361
|
+
readonly nonPersistent: true;
|
|
162
362
|
readonly type: "array";
|
|
163
363
|
readonly items: {
|
|
164
364
|
readonly type: "number";
|
|
@@ -170,6 +370,7 @@ export declare const interpolation: {
|
|
|
170
370
|
readonly default: readonly [0, 0, 0];
|
|
171
371
|
};
|
|
172
372
|
readonly _prevRotation: {
|
|
373
|
+
readonly nonPersistent: true;
|
|
173
374
|
readonly type: "array";
|
|
174
375
|
readonly items: {
|
|
175
376
|
readonly type: "number";
|
|
@@ -194,190 +395,758 @@ export declare const interpolation: {
|
|
|
194
395
|
readonly colliderMesh: {
|
|
195
396
|
readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
|
|
196
397
|
};
|
|
398
|
+
};
|
|
399
|
+
readonly resources: {} & {
|
|
400
|
+
readonly frameTime: {
|
|
401
|
+
readonly default: import("../../core/frame-time/public.js");
|
|
402
|
+
readonly nonPersistent: true;
|
|
403
|
+
};
|
|
197
404
|
} & {
|
|
198
|
-
readonly
|
|
199
|
-
readonly
|
|
200
|
-
readonly const: true;
|
|
201
|
-
readonly default: true;
|
|
405
|
+
readonly schedulerState: {
|
|
406
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
202
407
|
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
readonly
|
|
408
|
+
} & {
|
|
409
|
+
readonly device: {
|
|
410
|
+
readonly default: GPUDevice | null;
|
|
411
|
+
readonly nonPersistent: true;
|
|
412
|
+
};
|
|
413
|
+
readonly commandEncoder: {
|
|
414
|
+
readonly default: GPUCommandEncoder | null;
|
|
415
|
+
readonly nonPersistent: true;
|
|
416
|
+
};
|
|
417
|
+
} & {
|
|
418
|
+
readonly physicsClock: {
|
|
419
|
+
readonly default: import("../../physics/public.js").PhysicsClock;
|
|
420
|
+
readonly nonPersistent: true;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
readonly archetypes: {
|
|
424
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
425
|
+
} & {} & {} & {} & {
|
|
426
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
427
|
+
} & {
|
|
428
|
+
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
429
|
+
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
430
|
+
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
431
|
+
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
432
|
+
} & {};
|
|
433
|
+
readonly transactions: {} & {} & {} & {
|
|
434
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
435
|
+
readonly material: {
|
|
436
|
+
readonly type: "integer";
|
|
437
|
+
readonly minimum: -2147483648;
|
|
438
|
+
readonly maximum: 2147483647;
|
|
439
|
+
readonly default: number;
|
|
440
|
+
};
|
|
441
|
+
readonly name: {
|
|
442
|
+
readonly type: "string";
|
|
443
|
+
};
|
|
444
|
+
readonly density: {
|
|
206
445
|
readonly type: "number";
|
|
207
446
|
readonly precision: 1;
|
|
208
447
|
readonly default: number;
|
|
209
448
|
};
|
|
210
|
-
readonly
|
|
211
|
-
readonly maxItems: 3;
|
|
212
|
-
readonly default: readonly [0, 0, 0];
|
|
213
|
-
};
|
|
214
|
-
readonly rotation: {
|
|
215
|
-
readonly type: "array";
|
|
216
|
-
readonly items: {
|
|
449
|
+
readonly restitution: {
|
|
217
450
|
readonly type: "number";
|
|
218
451
|
readonly precision: 1;
|
|
219
452
|
readonly default: number;
|
|
220
453
|
};
|
|
221
|
-
readonly
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
454
|
+
readonly friction: {
|
|
455
|
+
readonly type: "number";
|
|
456
|
+
readonly precision: 1;
|
|
457
|
+
readonly default: number;
|
|
226
458
|
};
|
|
227
|
-
|
|
228
|
-
readonly scale: {
|
|
229
|
-
readonly type: "array";
|
|
230
|
-
readonly items: {
|
|
459
|
+
readonly compliance: {
|
|
231
460
|
readonly type: "number";
|
|
232
461
|
readonly precision: 1;
|
|
233
462
|
readonly default: number;
|
|
234
463
|
};
|
|
235
|
-
readonly
|
|
236
|
-
readonly maxItems: 3;
|
|
237
|
-
readonly default: readonly [0, 0, 0];
|
|
238
|
-
};
|
|
239
|
-
readonly parent: {
|
|
240
|
-
readonly type: "integer";
|
|
241
|
-
readonly minimum: -2147483648;
|
|
242
|
-
readonly maximum: 2147483647;
|
|
243
|
-
readonly default: number;
|
|
244
|
-
};
|
|
245
|
-
readonly _worldMatrix: {
|
|
246
|
-
readonly type: "array";
|
|
247
|
-
readonly items: {
|
|
464
|
+
readonly heatCapacity: {
|
|
248
465
|
readonly type: "number";
|
|
249
466
|
readonly precision: 1;
|
|
250
467
|
readonly default: number;
|
|
251
468
|
};
|
|
252
|
-
readonly
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
readonly
|
|
258
|
-
|
|
259
|
-
readonly
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
469
|
+
readonly viscosity: {
|
|
470
|
+
readonly type: "number";
|
|
471
|
+
readonly precision: 1;
|
|
472
|
+
readonly default: number;
|
|
473
|
+
};
|
|
474
|
+
readonly thermalConductivity: {
|
|
475
|
+
readonly type: "number";
|
|
476
|
+
readonly precision: 1;
|
|
477
|
+
readonly default: number;
|
|
478
|
+
};
|
|
479
|
+
readonly stressStrainCurve: {
|
|
480
|
+
readonly type: "object";
|
|
481
|
+
readonly layout: "packed";
|
|
482
|
+
readonly properties: {
|
|
483
|
+
readonly tensileYieldStrainStress: {
|
|
484
|
+
readonly type: "array";
|
|
485
|
+
readonly items: {
|
|
486
|
+
readonly type: "number";
|
|
487
|
+
readonly precision: 1;
|
|
488
|
+
readonly default: number;
|
|
489
|
+
};
|
|
490
|
+
readonly minItems: 2;
|
|
491
|
+
readonly maxItems: 2;
|
|
492
|
+
readonly default: readonly [0, 0];
|
|
493
|
+
};
|
|
494
|
+
readonly tensileFractureStrainStress: {
|
|
495
|
+
readonly type: "array";
|
|
496
|
+
readonly items: {
|
|
497
|
+
readonly type: "number";
|
|
498
|
+
readonly precision: 1;
|
|
499
|
+
readonly default: number;
|
|
500
|
+
};
|
|
501
|
+
readonly minItems: 2;
|
|
502
|
+
readonly maxItems: 2;
|
|
503
|
+
readonly default: readonly [0, 0];
|
|
504
|
+
};
|
|
505
|
+
readonly compressiveYieldStrainStress: {
|
|
506
|
+
readonly type: "array";
|
|
507
|
+
readonly items: {
|
|
508
|
+
readonly type: "number";
|
|
509
|
+
readonly precision: 1;
|
|
510
|
+
readonly default: number;
|
|
511
|
+
};
|
|
512
|
+
readonly minItems: 2;
|
|
513
|
+
readonly maxItems: 2;
|
|
514
|
+
readonly default: readonly [0, 0];
|
|
515
|
+
};
|
|
516
|
+
readonly compressiveFractureStrainStress: {
|
|
517
|
+
readonly type: "array";
|
|
518
|
+
readonly items: {
|
|
519
|
+
readonly type: "number";
|
|
520
|
+
readonly precision: 1;
|
|
521
|
+
readonly default: number;
|
|
522
|
+
};
|
|
523
|
+
readonly minItems: 2;
|
|
524
|
+
readonly maxItems: 2;
|
|
525
|
+
readonly default: readonly [0, 0];
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
529
|
+
};
|
|
530
|
+
readonly baseColorFactor: {
|
|
531
|
+
readonly type: "array";
|
|
532
|
+
readonly items: {
|
|
533
|
+
readonly type: "number";
|
|
534
|
+
readonly precision: 1;
|
|
535
|
+
readonly default: number;
|
|
536
|
+
};
|
|
537
|
+
readonly minItems: 4;
|
|
538
|
+
readonly maxItems: 4;
|
|
539
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
540
|
+
};
|
|
541
|
+
readonly emissiveFactor: {
|
|
542
|
+
readonly type: "array";
|
|
543
|
+
readonly items: {
|
|
544
|
+
readonly type: "number";
|
|
545
|
+
readonly precision: 1;
|
|
546
|
+
readonly default: number;
|
|
547
|
+
};
|
|
548
|
+
readonly minItems: 3;
|
|
549
|
+
readonly maxItems: 3;
|
|
550
|
+
readonly default: readonly [0, 0, 0];
|
|
551
|
+
};
|
|
552
|
+
readonly metallicFactor: {
|
|
553
|
+
readonly type: "number";
|
|
554
|
+
readonly precision: 1;
|
|
555
|
+
readonly default: number;
|
|
556
|
+
};
|
|
557
|
+
readonly roughnessFactor: {
|
|
558
|
+
readonly type: "number";
|
|
559
|
+
readonly precision: 1;
|
|
560
|
+
readonly default: number;
|
|
561
|
+
};
|
|
562
|
+
readonly normalScale: {
|
|
563
|
+
readonly type: "number";
|
|
564
|
+
readonly precision: 1;
|
|
565
|
+
readonly default: number;
|
|
566
|
+
};
|
|
567
|
+
readonly occlusionStrength: {
|
|
568
|
+
readonly type: "number";
|
|
569
|
+
readonly precision: 1;
|
|
570
|
+
readonly default: number;
|
|
571
|
+
};
|
|
572
|
+
readonly irReflectance: {
|
|
573
|
+
readonly type: "number";
|
|
574
|
+
readonly precision: 1;
|
|
575
|
+
readonly default: number;
|
|
576
|
+
};
|
|
577
|
+
readonly irEmission: {
|
|
578
|
+
readonly type: "number";
|
|
579
|
+
readonly precision: 1;
|
|
580
|
+
readonly default: number;
|
|
581
|
+
};
|
|
582
|
+
readonly emissionMode: {
|
|
583
|
+
readonly type: "integer";
|
|
584
|
+
readonly minimum: 0;
|
|
585
|
+
readonly maximum: 4294967295;
|
|
586
|
+
readonly default: number;
|
|
587
|
+
};
|
|
588
|
+
readonly baseColorUrl: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
};
|
|
591
|
+
readonly metallicRoughnessUrl: {
|
|
592
|
+
readonly type: "string";
|
|
593
|
+
};
|
|
594
|
+
readonly normalUrl: {
|
|
595
|
+
readonly type: "string";
|
|
596
|
+
};
|
|
597
|
+
readonly occlusionUrl: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
};
|
|
600
|
+
readonly emissiveUrl: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
};
|
|
603
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
604
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
605
|
+
}, {
|
|
606
|
+
readonly materialByName: {
|
|
607
|
+
readonly key: "name";
|
|
608
|
+
readonly unique: true;
|
|
609
|
+
readonly archetype: "Material";
|
|
610
|
+
};
|
|
611
|
+
}>, row: import("../../material/public.js")) => number;
|
|
612
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
613
|
+
readonly material: {
|
|
614
|
+
readonly type: "integer";
|
|
615
|
+
readonly minimum: -2147483648;
|
|
616
|
+
readonly maximum: 2147483647;
|
|
617
|
+
readonly default: number;
|
|
618
|
+
};
|
|
619
|
+
readonly name: {
|
|
620
|
+
readonly type: "string";
|
|
621
|
+
};
|
|
622
|
+
readonly density: {
|
|
623
|
+
readonly type: "number";
|
|
624
|
+
readonly precision: 1;
|
|
625
|
+
readonly default: number;
|
|
626
|
+
};
|
|
627
|
+
readonly restitution: {
|
|
628
|
+
readonly type: "number";
|
|
629
|
+
readonly precision: 1;
|
|
630
|
+
readonly default: number;
|
|
631
|
+
};
|
|
632
|
+
readonly friction: {
|
|
633
|
+
readonly type: "number";
|
|
634
|
+
readonly precision: 1;
|
|
635
|
+
readonly default: number;
|
|
636
|
+
};
|
|
637
|
+
readonly compliance: {
|
|
638
|
+
readonly type: "number";
|
|
639
|
+
readonly precision: 1;
|
|
640
|
+
readonly default: number;
|
|
641
|
+
};
|
|
642
|
+
readonly heatCapacity: {
|
|
643
|
+
readonly type: "number";
|
|
644
|
+
readonly precision: 1;
|
|
645
|
+
readonly default: number;
|
|
646
|
+
};
|
|
647
|
+
readonly viscosity: {
|
|
648
|
+
readonly type: "number";
|
|
649
|
+
readonly precision: 1;
|
|
650
|
+
readonly default: number;
|
|
651
|
+
};
|
|
652
|
+
readonly thermalConductivity: {
|
|
653
|
+
readonly type: "number";
|
|
654
|
+
readonly precision: 1;
|
|
655
|
+
readonly default: number;
|
|
656
|
+
};
|
|
657
|
+
readonly stressStrainCurve: {
|
|
658
|
+
readonly type: "object";
|
|
659
|
+
readonly layout: "packed";
|
|
660
|
+
readonly properties: {
|
|
661
|
+
readonly tensileYieldStrainStress: {
|
|
662
|
+
readonly type: "array";
|
|
663
|
+
readonly items: {
|
|
664
|
+
readonly type: "number";
|
|
665
|
+
readonly precision: 1;
|
|
666
|
+
readonly default: number;
|
|
667
|
+
};
|
|
668
|
+
readonly minItems: 2;
|
|
669
|
+
readonly maxItems: 2;
|
|
670
|
+
readonly default: readonly [0, 0];
|
|
671
|
+
};
|
|
672
|
+
readonly tensileFractureStrainStress: {
|
|
673
|
+
readonly type: "array";
|
|
674
|
+
readonly items: {
|
|
675
|
+
readonly type: "number";
|
|
676
|
+
readonly precision: 1;
|
|
677
|
+
readonly default: number;
|
|
678
|
+
};
|
|
679
|
+
readonly minItems: 2;
|
|
680
|
+
readonly maxItems: 2;
|
|
681
|
+
readonly default: readonly [0, 0];
|
|
682
|
+
};
|
|
683
|
+
readonly compressiveYieldStrainStress: {
|
|
684
|
+
readonly type: "array";
|
|
685
|
+
readonly items: {
|
|
686
|
+
readonly type: "number";
|
|
687
|
+
readonly precision: 1;
|
|
688
|
+
readonly default: number;
|
|
689
|
+
};
|
|
690
|
+
readonly minItems: 2;
|
|
691
|
+
readonly maxItems: 2;
|
|
692
|
+
readonly default: readonly [0, 0];
|
|
693
|
+
};
|
|
694
|
+
readonly compressiveFractureStrainStress: {
|
|
695
|
+
readonly type: "array";
|
|
696
|
+
readonly items: {
|
|
697
|
+
readonly type: "number";
|
|
698
|
+
readonly precision: 1;
|
|
699
|
+
readonly default: number;
|
|
700
|
+
};
|
|
701
|
+
readonly minItems: 2;
|
|
702
|
+
readonly maxItems: 2;
|
|
703
|
+
readonly default: readonly [0, 0];
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
707
|
+
};
|
|
708
|
+
readonly baseColorFactor: {
|
|
709
|
+
readonly type: "array";
|
|
710
|
+
readonly items: {
|
|
711
|
+
readonly type: "number";
|
|
712
|
+
readonly precision: 1;
|
|
713
|
+
readonly default: number;
|
|
714
|
+
};
|
|
715
|
+
readonly minItems: 4;
|
|
716
|
+
readonly maxItems: 4;
|
|
717
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
718
|
+
};
|
|
719
|
+
readonly emissiveFactor: {
|
|
720
|
+
readonly type: "array";
|
|
721
|
+
readonly items: {
|
|
722
|
+
readonly type: "number";
|
|
723
|
+
readonly precision: 1;
|
|
724
|
+
readonly default: number;
|
|
725
|
+
};
|
|
726
|
+
readonly minItems: 3;
|
|
727
|
+
readonly maxItems: 3;
|
|
728
|
+
readonly default: readonly [0, 0, 0];
|
|
729
|
+
};
|
|
730
|
+
readonly metallicFactor: {
|
|
731
|
+
readonly type: "number";
|
|
732
|
+
readonly precision: 1;
|
|
733
|
+
readonly default: number;
|
|
734
|
+
};
|
|
735
|
+
readonly roughnessFactor: {
|
|
736
|
+
readonly type: "number";
|
|
737
|
+
readonly precision: 1;
|
|
738
|
+
readonly default: number;
|
|
739
|
+
};
|
|
740
|
+
readonly normalScale: {
|
|
741
|
+
readonly type: "number";
|
|
742
|
+
readonly precision: 1;
|
|
743
|
+
readonly default: number;
|
|
744
|
+
};
|
|
745
|
+
readonly occlusionStrength: {
|
|
746
|
+
readonly type: "number";
|
|
747
|
+
readonly precision: 1;
|
|
748
|
+
readonly default: number;
|
|
749
|
+
};
|
|
750
|
+
readonly irReflectance: {
|
|
751
|
+
readonly type: "number";
|
|
752
|
+
readonly precision: 1;
|
|
753
|
+
readonly default: number;
|
|
754
|
+
};
|
|
755
|
+
readonly irEmission: {
|
|
756
|
+
readonly type: "number";
|
|
757
|
+
readonly precision: 1;
|
|
758
|
+
readonly default: number;
|
|
759
|
+
};
|
|
760
|
+
readonly emissionMode: {
|
|
761
|
+
readonly type: "integer";
|
|
762
|
+
readonly minimum: 0;
|
|
763
|
+
readonly maximum: 4294967295;
|
|
764
|
+
readonly default: number;
|
|
765
|
+
};
|
|
766
|
+
readonly baseColorUrl: {
|
|
767
|
+
readonly type: "string";
|
|
768
|
+
};
|
|
769
|
+
readonly metallicRoughnessUrl: {
|
|
770
|
+
readonly type: "string";
|
|
771
|
+
};
|
|
772
|
+
readonly normalUrl: {
|
|
773
|
+
readonly type: "string";
|
|
774
|
+
};
|
|
775
|
+
readonly occlusionUrl: {
|
|
776
|
+
readonly type: "string";
|
|
777
|
+
};
|
|
778
|
+
readonly emissiveUrl: {
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
};
|
|
781
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
782
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
783
|
+
}, {
|
|
784
|
+
readonly materialByName: {
|
|
785
|
+
readonly key: "name";
|
|
786
|
+
readonly unique: true;
|
|
787
|
+
readonly archetype: "Material";
|
|
788
|
+
};
|
|
789
|
+
}>, args: {
|
|
790
|
+
name: string;
|
|
791
|
+
definition: import("../../material/material-definition.js").MaterialDefinition;
|
|
792
|
+
}) => number;
|
|
793
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
794
|
+
readonly material: {
|
|
795
|
+
readonly type: "integer";
|
|
796
|
+
readonly minimum: -2147483648;
|
|
797
|
+
readonly maximum: 2147483647;
|
|
798
|
+
readonly default: number;
|
|
799
|
+
};
|
|
800
|
+
readonly name: {
|
|
801
|
+
readonly type: "string";
|
|
802
|
+
};
|
|
803
|
+
readonly density: {
|
|
804
|
+
readonly type: "number";
|
|
805
|
+
readonly precision: 1;
|
|
806
|
+
readonly default: number;
|
|
807
|
+
};
|
|
808
|
+
readonly restitution: {
|
|
809
|
+
readonly type: "number";
|
|
810
|
+
readonly precision: 1;
|
|
811
|
+
readonly default: number;
|
|
812
|
+
};
|
|
813
|
+
readonly friction: {
|
|
814
|
+
readonly type: "number";
|
|
815
|
+
readonly precision: 1;
|
|
816
|
+
readonly default: number;
|
|
817
|
+
};
|
|
818
|
+
readonly compliance: {
|
|
819
|
+
readonly type: "number";
|
|
820
|
+
readonly precision: 1;
|
|
821
|
+
readonly default: number;
|
|
822
|
+
};
|
|
823
|
+
readonly heatCapacity: {
|
|
824
|
+
readonly type: "number";
|
|
825
|
+
readonly precision: 1;
|
|
826
|
+
readonly default: number;
|
|
827
|
+
};
|
|
828
|
+
readonly viscosity: {
|
|
829
|
+
readonly type: "number";
|
|
830
|
+
readonly precision: 1;
|
|
831
|
+
readonly default: number;
|
|
832
|
+
};
|
|
833
|
+
readonly thermalConductivity: {
|
|
834
|
+
readonly type: "number";
|
|
835
|
+
readonly precision: 1;
|
|
836
|
+
readonly default: number;
|
|
837
|
+
};
|
|
838
|
+
readonly stressStrainCurve: {
|
|
839
|
+
readonly type: "object";
|
|
840
|
+
readonly layout: "packed";
|
|
841
|
+
readonly properties: {
|
|
842
|
+
readonly tensileYieldStrainStress: {
|
|
843
|
+
readonly type: "array";
|
|
844
|
+
readonly items: {
|
|
845
|
+
readonly type: "number";
|
|
846
|
+
readonly precision: 1;
|
|
847
|
+
readonly default: number;
|
|
848
|
+
};
|
|
849
|
+
readonly minItems: 2;
|
|
850
|
+
readonly maxItems: 2;
|
|
851
|
+
readonly default: readonly [0, 0];
|
|
852
|
+
};
|
|
853
|
+
readonly tensileFractureStrainStress: {
|
|
854
|
+
readonly type: "array";
|
|
855
|
+
readonly items: {
|
|
856
|
+
readonly type: "number";
|
|
857
|
+
readonly precision: 1;
|
|
858
|
+
readonly default: number;
|
|
859
|
+
};
|
|
860
|
+
readonly minItems: 2;
|
|
861
|
+
readonly maxItems: 2;
|
|
862
|
+
readonly default: readonly [0, 0];
|
|
863
|
+
};
|
|
864
|
+
readonly compressiveYieldStrainStress: {
|
|
865
|
+
readonly type: "array";
|
|
866
|
+
readonly items: {
|
|
867
|
+
readonly type: "number";
|
|
868
|
+
readonly precision: 1;
|
|
869
|
+
readonly default: number;
|
|
870
|
+
};
|
|
871
|
+
readonly minItems: 2;
|
|
872
|
+
readonly maxItems: 2;
|
|
873
|
+
readonly default: readonly [0, 0];
|
|
874
|
+
};
|
|
875
|
+
readonly compressiveFractureStrainStress: {
|
|
876
|
+
readonly type: "array";
|
|
877
|
+
readonly items: {
|
|
878
|
+
readonly type: "number";
|
|
879
|
+
readonly precision: 1;
|
|
880
|
+
readonly default: number;
|
|
881
|
+
};
|
|
882
|
+
readonly minItems: 2;
|
|
883
|
+
readonly maxItems: 2;
|
|
884
|
+
readonly default: readonly [0, 0];
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
888
|
+
};
|
|
889
|
+
readonly baseColorFactor: {
|
|
890
|
+
readonly type: "array";
|
|
891
|
+
readonly items: {
|
|
892
|
+
readonly type: "number";
|
|
893
|
+
readonly precision: 1;
|
|
894
|
+
readonly default: number;
|
|
895
|
+
};
|
|
896
|
+
readonly minItems: 4;
|
|
897
|
+
readonly maxItems: 4;
|
|
898
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
899
|
+
};
|
|
900
|
+
readonly emissiveFactor: {
|
|
901
|
+
readonly type: "array";
|
|
902
|
+
readonly items: {
|
|
903
|
+
readonly type: "number";
|
|
904
|
+
readonly precision: 1;
|
|
905
|
+
readonly default: number;
|
|
906
|
+
};
|
|
907
|
+
readonly minItems: 3;
|
|
908
|
+
readonly maxItems: 3;
|
|
909
|
+
readonly default: readonly [0, 0, 0];
|
|
910
|
+
};
|
|
911
|
+
readonly metallicFactor: {
|
|
912
|
+
readonly type: "number";
|
|
913
|
+
readonly precision: 1;
|
|
914
|
+
readonly default: number;
|
|
915
|
+
};
|
|
916
|
+
readonly roughnessFactor: {
|
|
917
|
+
readonly type: "number";
|
|
918
|
+
readonly precision: 1;
|
|
919
|
+
readonly default: number;
|
|
920
|
+
};
|
|
921
|
+
readonly normalScale: {
|
|
922
|
+
readonly type: "number";
|
|
923
|
+
readonly precision: 1;
|
|
924
|
+
readonly default: number;
|
|
925
|
+
};
|
|
926
|
+
readonly occlusionStrength: {
|
|
927
|
+
readonly type: "number";
|
|
928
|
+
readonly precision: 1;
|
|
929
|
+
readonly default: number;
|
|
930
|
+
};
|
|
931
|
+
readonly irReflectance: {
|
|
932
|
+
readonly type: "number";
|
|
933
|
+
readonly precision: 1;
|
|
934
|
+
readonly default: number;
|
|
935
|
+
};
|
|
936
|
+
readonly irEmission: {
|
|
937
|
+
readonly type: "number";
|
|
938
|
+
readonly precision: 1;
|
|
939
|
+
readonly default: number;
|
|
940
|
+
};
|
|
941
|
+
readonly emissionMode: {
|
|
942
|
+
readonly type: "integer";
|
|
943
|
+
readonly minimum: 0;
|
|
944
|
+
readonly maximum: 4294967295;
|
|
945
|
+
readonly default: number;
|
|
946
|
+
};
|
|
947
|
+
readonly baseColorUrl: {
|
|
948
|
+
readonly type: "string";
|
|
949
|
+
};
|
|
950
|
+
readonly metallicRoughnessUrl: {
|
|
951
|
+
readonly type: "string";
|
|
952
|
+
};
|
|
953
|
+
readonly normalUrl: {
|
|
954
|
+
readonly type: "string";
|
|
955
|
+
};
|
|
956
|
+
readonly occlusionUrl: {
|
|
957
|
+
readonly type: "string";
|
|
958
|
+
};
|
|
959
|
+
readonly emissiveUrl: {
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
};
|
|
962
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
963
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
964
|
+
}, {
|
|
965
|
+
readonly materialByName: {
|
|
966
|
+
readonly key: "name";
|
|
967
|
+
readonly unique: true;
|
|
968
|
+
readonly archetype: "Material";
|
|
969
|
+
};
|
|
970
|
+
}>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
971
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
972
|
+
readonly material: {
|
|
973
|
+
readonly type: "integer";
|
|
974
|
+
readonly minimum: -2147483648;
|
|
975
|
+
readonly maximum: 2147483647;
|
|
976
|
+
readonly default: number;
|
|
977
|
+
};
|
|
978
|
+
readonly name: {
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
};
|
|
981
|
+
readonly density: {
|
|
982
|
+
readonly type: "number";
|
|
983
|
+
readonly precision: 1;
|
|
984
|
+
readonly default: number;
|
|
985
|
+
};
|
|
986
|
+
readonly restitution: {
|
|
987
|
+
readonly type: "number";
|
|
988
|
+
readonly precision: 1;
|
|
989
|
+
readonly default: number;
|
|
990
|
+
};
|
|
991
|
+
readonly friction: {
|
|
992
|
+
readonly type: "number";
|
|
993
|
+
readonly precision: 1;
|
|
994
|
+
readonly default: number;
|
|
995
|
+
};
|
|
996
|
+
readonly compliance: {
|
|
997
|
+
readonly type: "number";
|
|
998
|
+
readonly precision: 1;
|
|
999
|
+
readonly default: number;
|
|
1000
|
+
};
|
|
1001
|
+
readonly heatCapacity: {
|
|
1002
|
+
readonly type: "number";
|
|
1003
|
+
readonly precision: 1;
|
|
1004
|
+
readonly default: number;
|
|
1005
|
+
};
|
|
1006
|
+
readonly viscosity: {
|
|
1007
|
+
readonly type: "number";
|
|
1008
|
+
readonly precision: 1;
|
|
1009
|
+
readonly default: number;
|
|
1010
|
+
};
|
|
1011
|
+
readonly thermalConductivity: {
|
|
1012
|
+
readonly type: "number";
|
|
1013
|
+
readonly precision: 1;
|
|
1014
|
+
readonly default: number;
|
|
1015
|
+
};
|
|
1016
|
+
readonly stressStrainCurve: {
|
|
1017
|
+
readonly type: "object";
|
|
1018
|
+
readonly layout: "packed";
|
|
1019
|
+
readonly properties: {
|
|
1020
|
+
readonly tensileYieldStrainStress: {
|
|
1021
|
+
readonly type: "array";
|
|
1022
|
+
readonly items: {
|
|
1023
|
+
readonly type: "number";
|
|
1024
|
+
readonly precision: 1;
|
|
1025
|
+
readonly default: number;
|
|
1026
|
+
};
|
|
1027
|
+
readonly minItems: 2;
|
|
1028
|
+
readonly maxItems: 2;
|
|
1029
|
+
readonly default: readonly [0, 0];
|
|
265
1030
|
};
|
|
266
|
-
readonly
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
readonly
|
|
274
|
-
readonly
|
|
275
|
-
readonly default:
|
|
1031
|
+
readonly tensileFractureStrainStress: {
|
|
1032
|
+
readonly type: "array";
|
|
1033
|
+
readonly items: {
|
|
1034
|
+
readonly type: "number";
|
|
1035
|
+
readonly precision: 1;
|
|
1036
|
+
readonly default: number;
|
|
1037
|
+
};
|
|
1038
|
+
readonly minItems: 2;
|
|
1039
|
+
readonly maxItems: 2;
|
|
1040
|
+
readonly default: readonly [0, 0];
|
|
1041
|
+
};
|
|
1042
|
+
readonly compressiveYieldStrainStress: {
|
|
1043
|
+
readonly type: "array";
|
|
1044
|
+
readonly items: {
|
|
1045
|
+
readonly type: "number";
|
|
1046
|
+
readonly precision: 1;
|
|
1047
|
+
readonly default: number;
|
|
1048
|
+
};
|
|
1049
|
+
readonly minItems: 2;
|
|
1050
|
+
readonly maxItems: 2;
|
|
1051
|
+
readonly default: readonly [0, 0];
|
|
1052
|
+
};
|
|
1053
|
+
readonly compressiveFractureStrainStress: {
|
|
1054
|
+
readonly type: "array";
|
|
1055
|
+
readonly items: {
|
|
1056
|
+
readonly type: "number";
|
|
1057
|
+
readonly precision: 1;
|
|
1058
|
+
readonly default: number;
|
|
1059
|
+
};
|
|
1060
|
+
readonly minItems: 2;
|
|
1061
|
+
readonly maxItems: 2;
|
|
1062
|
+
readonly default: readonly [0, 0];
|
|
276
1063
|
};
|
|
277
|
-
readonly minItems: 3;
|
|
278
|
-
readonly maxItems: 3;
|
|
279
|
-
readonly default: readonly [0, 0, 0];
|
|
280
1064
|
};
|
|
1065
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
281
1066
|
};
|
|
282
|
-
readonly
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
1067
|
+
readonly baseColorFactor: {
|
|
1068
|
+
readonly type: "array";
|
|
1069
|
+
readonly items: {
|
|
1070
|
+
readonly type: "number";
|
|
1071
|
+
readonly precision: 1;
|
|
1072
|
+
readonly default: number;
|
|
1073
|
+
};
|
|
1074
|
+
readonly minItems: 4;
|
|
1075
|
+
readonly maxItems: 4;
|
|
1076
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
287
1077
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
1078
|
+
readonly emissiveFactor: {
|
|
1079
|
+
readonly type: "array";
|
|
1080
|
+
readonly items: {
|
|
1081
|
+
readonly type: "number";
|
|
1082
|
+
readonly precision: 1;
|
|
1083
|
+
readonly default: number;
|
|
1084
|
+
};
|
|
1085
|
+
readonly minItems: 3;
|
|
1086
|
+
readonly maxItems: 3;
|
|
1087
|
+
readonly default: readonly [0, 0, 0];
|
|
1088
|
+
};
|
|
1089
|
+
readonly metallicFactor: {
|
|
293
1090
|
readonly type: "number";
|
|
294
1091
|
readonly precision: 1;
|
|
295
1092
|
readonly default: number;
|
|
296
1093
|
};
|
|
297
|
-
readonly
|
|
298
|
-
readonly maxItems: 3;
|
|
299
|
-
readonly default: readonly [0, 0, 0];
|
|
300
|
-
};
|
|
301
|
-
readonly _renderRotation: {
|
|
302
|
-
readonly type: "array";
|
|
303
|
-
readonly items: {
|
|
1094
|
+
readonly roughnessFactor: {
|
|
304
1095
|
readonly type: "number";
|
|
305
1096
|
readonly precision: 1;
|
|
306
1097
|
readonly default: number;
|
|
307
1098
|
};
|
|
308
|
-
readonly
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
1099
|
+
readonly normalScale: {
|
|
1100
|
+
readonly type: "number";
|
|
1101
|
+
readonly precision: 1;
|
|
1102
|
+
readonly default: number;
|
|
313
1103
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
readonly default: import("../../core/frame-time/public.js");
|
|
319
|
-
readonly nonPersistent: true;
|
|
320
|
-
};
|
|
321
|
-
} & {
|
|
322
|
-
readonly schedulerState: {
|
|
323
|
-
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
324
|
-
};
|
|
325
|
-
} & {
|
|
326
|
-
readonly device: {
|
|
327
|
-
readonly default: GPUDevice | null;
|
|
328
|
-
readonly nonPersistent: true;
|
|
329
|
-
};
|
|
330
|
-
readonly commandEncoder: {
|
|
331
|
-
readonly default: GPUCommandEncoder | null;
|
|
332
|
-
readonly nonPersistent: true;
|
|
333
|
-
};
|
|
334
|
-
} & {
|
|
335
|
-
readonly physicsClock: {
|
|
336
|
-
readonly default: import("../../physics/physics-clock-plugin.js").PhysicsClock;
|
|
337
|
-
readonly nonPersistent: true;
|
|
338
|
-
};
|
|
339
|
-
} & {} & {
|
|
340
|
-
readonly materials: {
|
|
341
|
-
readonly default: Record<string, number>;
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
readonly archetypes: {} & {
|
|
345
|
-
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
346
|
-
} & {
|
|
347
|
-
readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
|
|
348
|
-
readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
|
|
349
|
-
readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
|
|
350
|
-
readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
|
|
351
|
-
} & {
|
|
352
|
-
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
353
|
-
} & {} & {} & {};
|
|
354
|
-
readonly transactions: {} & {} & {
|
|
355
|
-
readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
356
|
-
readonly physicsClock: {
|
|
357
|
-
readonly default: import("../../physics/physics-clock-plugin.js").PhysicsClock;
|
|
358
|
-
readonly nonPersistent: true;
|
|
1104
|
+
readonly occlusionStrength: {
|
|
1105
|
+
readonly type: "number";
|
|
1106
|
+
readonly precision: 1;
|
|
1107
|
+
readonly default: number;
|
|
359
1108
|
};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
readonly
|
|
363
|
-
readonly
|
|
1109
|
+
readonly irReflectance: {
|
|
1110
|
+
readonly type: "number";
|
|
1111
|
+
readonly precision: 1;
|
|
1112
|
+
readonly default: number;
|
|
364
1113
|
};
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
readonly
|
|
1114
|
+
readonly irEmission: {
|
|
1115
|
+
readonly type: "number";
|
|
1116
|
+
readonly precision: 1;
|
|
1117
|
+
readonly default: number;
|
|
368
1118
|
};
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
readonly
|
|
372
|
-
readonly
|
|
1119
|
+
readonly emissionMode: {
|
|
1120
|
+
readonly type: "integer";
|
|
1121
|
+
readonly minimum: 0;
|
|
1122
|
+
readonly maximum: 4294967295;
|
|
1123
|
+
readonly default: number;
|
|
373
1124
|
};
|
|
374
|
-
readonly
|
|
375
|
-
readonly
|
|
376
|
-
readonly nonPersistent: true;
|
|
1125
|
+
readonly baseColorUrl: {
|
|
1126
|
+
readonly type: "string";
|
|
377
1127
|
};
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
1128
|
+
readonly metallicRoughnessUrl: {
|
|
1129
|
+
readonly type: "string";
|
|
1130
|
+
};
|
|
1131
|
+
readonly normalUrl: {
|
|
1132
|
+
readonly type: "string";
|
|
1133
|
+
};
|
|
1134
|
+
readonly occlusionUrl: {
|
|
1135
|
+
readonly type: "string";
|
|
1136
|
+
};
|
|
1137
|
+
readonly emissiveUrl: {
|
|
1138
|
+
readonly type: "string";
|
|
1139
|
+
};
|
|
1140
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
1141
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
1142
|
+
}, {
|
|
1143
|
+
readonly materialByName: {
|
|
1144
|
+
readonly key: "name";
|
|
1145
|
+
readonly unique: true;
|
|
1146
|
+
readonly archetype: "Material";
|
|
1147
|
+
};
|
|
1148
|
+
}>) => void;
|
|
1149
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
381
1150
|
readonly material: {
|
|
382
1151
|
readonly type: "integer";
|
|
383
1152
|
readonly minimum: -2147483648;
|
|
@@ -412,6 +1181,67 @@ export declare const interpolation: {
|
|
|
412
1181
|
readonly precision: 1;
|
|
413
1182
|
readonly default: number;
|
|
414
1183
|
};
|
|
1184
|
+
readonly viscosity: {
|
|
1185
|
+
readonly type: "number";
|
|
1186
|
+
readonly precision: 1;
|
|
1187
|
+
readonly default: number;
|
|
1188
|
+
};
|
|
1189
|
+
readonly thermalConductivity: {
|
|
1190
|
+
readonly type: "number";
|
|
1191
|
+
readonly precision: 1;
|
|
1192
|
+
readonly default: number;
|
|
1193
|
+
};
|
|
1194
|
+
readonly stressStrainCurve: {
|
|
1195
|
+
readonly type: "object";
|
|
1196
|
+
readonly layout: "packed";
|
|
1197
|
+
readonly properties: {
|
|
1198
|
+
readonly tensileYieldStrainStress: {
|
|
1199
|
+
readonly type: "array";
|
|
1200
|
+
readonly items: {
|
|
1201
|
+
readonly type: "number";
|
|
1202
|
+
readonly precision: 1;
|
|
1203
|
+
readonly default: number;
|
|
1204
|
+
};
|
|
1205
|
+
readonly minItems: 2;
|
|
1206
|
+
readonly maxItems: 2;
|
|
1207
|
+
readonly default: readonly [0, 0];
|
|
1208
|
+
};
|
|
1209
|
+
readonly tensileFractureStrainStress: {
|
|
1210
|
+
readonly type: "array";
|
|
1211
|
+
readonly items: {
|
|
1212
|
+
readonly type: "number";
|
|
1213
|
+
readonly precision: 1;
|
|
1214
|
+
readonly default: number;
|
|
1215
|
+
};
|
|
1216
|
+
readonly minItems: 2;
|
|
1217
|
+
readonly maxItems: 2;
|
|
1218
|
+
readonly default: readonly [0, 0];
|
|
1219
|
+
};
|
|
1220
|
+
readonly compressiveYieldStrainStress: {
|
|
1221
|
+
readonly type: "array";
|
|
1222
|
+
readonly items: {
|
|
1223
|
+
readonly type: "number";
|
|
1224
|
+
readonly precision: 1;
|
|
1225
|
+
readonly default: number;
|
|
1226
|
+
};
|
|
1227
|
+
readonly minItems: 2;
|
|
1228
|
+
readonly maxItems: 2;
|
|
1229
|
+
readonly default: readonly [0, 0];
|
|
1230
|
+
};
|
|
1231
|
+
readonly compressiveFractureStrainStress: {
|
|
1232
|
+
readonly type: "array";
|
|
1233
|
+
readonly items: {
|
|
1234
|
+
readonly type: "number";
|
|
1235
|
+
readonly precision: 1;
|
|
1236
|
+
readonly default: number;
|
|
1237
|
+
};
|
|
1238
|
+
readonly minItems: 2;
|
|
1239
|
+
readonly maxItems: 2;
|
|
1240
|
+
readonly default: readonly [0, 0];
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
1244
|
+
};
|
|
415
1245
|
readonly baseColorFactor: {
|
|
416
1246
|
readonly type: "array";
|
|
417
1247
|
readonly items: {
|
|
@@ -454,6 +1284,22 @@ export declare const interpolation: {
|
|
|
454
1284
|
readonly precision: 1;
|
|
455
1285
|
readonly default: number;
|
|
456
1286
|
};
|
|
1287
|
+
readonly irReflectance: {
|
|
1288
|
+
readonly type: "number";
|
|
1289
|
+
readonly precision: 1;
|
|
1290
|
+
readonly default: number;
|
|
1291
|
+
};
|
|
1292
|
+
readonly irEmission: {
|
|
1293
|
+
readonly type: "number";
|
|
1294
|
+
readonly precision: 1;
|
|
1295
|
+
readonly default: number;
|
|
1296
|
+
};
|
|
1297
|
+
readonly emissionMode: {
|
|
1298
|
+
readonly type: "integer";
|
|
1299
|
+
readonly minimum: 0;
|
|
1300
|
+
readonly maximum: 4294967295;
|
|
1301
|
+
readonly default: number;
|
|
1302
|
+
};
|
|
457
1303
|
readonly baseColorUrl: {
|
|
458
1304
|
readonly type: "string";
|
|
459
1305
|
};
|
|
@@ -469,17 +1315,55 @@ export declare const interpolation: {
|
|
|
469
1315
|
readonly emissiveUrl: {
|
|
470
1316
|
readonly type: "string";
|
|
471
1317
|
};
|
|
472
|
-
}>, import("@adobe/data/schema").FromSchemas<{
|
|
473
|
-
readonly
|
|
474
|
-
|
|
1318
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
1319
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly materialByName: {
|
|
1322
|
+
readonly key: "name";
|
|
1323
|
+
readonly unique: true;
|
|
1324
|
+
readonly archetype: "Material";
|
|
1325
|
+
};
|
|
1326
|
+
}>) => void;
|
|
1327
|
+
} & {} & {} & {} & {
|
|
1328
|
+
readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
1329
|
+
readonly physicsClock: {
|
|
1330
|
+
readonly default: import("../../physics/public.js").PhysicsClock;
|
|
1331
|
+
readonly nonPersistent: true;
|
|
1332
|
+
};
|
|
1333
|
+
} & {
|
|
1334
|
+
readonly frameTime: {
|
|
1335
|
+
readonly default: import("../../core/frame-time/public.js");
|
|
1336
|
+
readonly nonPersistent: true;
|
|
1337
|
+
};
|
|
1338
|
+
} & {
|
|
1339
|
+
readonly schedulerState: {
|
|
1340
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
1341
|
+
};
|
|
1342
|
+
} & {
|
|
1343
|
+
readonly device: {
|
|
1344
|
+
readonly default: GPUDevice | null;
|
|
1345
|
+
readonly nonPersistent: true;
|
|
1346
|
+
};
|
|
1347
|
+
readonly commandEncoder: {
|
|
1348
|
+
readonly default: GPUCommandEncoder | null;
|
|
1349
|
+
readonly nonPersistent: true;
|
|
475
1350
|
};
|
|
476
|
-
}>, {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
} & {} & {} & {} & {} & {};
|
|
480
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "transformCreateWorldMatrix" | "transformSystem" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
|
|
1351
|
+
}>, {}, {}>, hz: number) => void;
|
|
1352
|
+
} & {};
|
|
1353
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
|
|
481
1354
|
readonly actions: {};
|
|
482
1355
|
readonly services: {};
|
|
483
1356
|
readonly computed: {};
|
|
484
|
-
readonly indexes: {
|
|
1357
|
+
readonly indexes: {
|
|
1358
|
+
readonly nodeChildrenOf: {
|
|
1359
|
+
readonly key: "parent";
|
|
1360
|
+
readonly archetype: "Node";
|
|
1361
|
+
};
|
|
1362
|
+
} & {} & {} & {} & {
|
|
1363
|
+
readonly materialByName: {
|
|
1364
|
+
readonly key: "name";
|
|
1365
|
+
readonly unique: true;
|
|
1366
|
+
readonly archetype: "Material";
|
|
1367
|
+
};
|
|
1368
|
+
} & {} & {};
|
|
485
1369
|
};
|