@adobe/data-gpu 0.9.74 → 0.9.76
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,21 +1,8 @@
|
|
|
1
1
|
import { Entity } from "@adobe/data/ecs";
|
|
2
2
|
import type { JointTemplate } from "../../scene/model/gltf/parse-skin.js";
|
|
3
3
|
/**
|
|
4
|
-
* pbrSkinning
|
|
5
|
-
*
|
|
6
|
-
* read:
|
|
7
|
-
* geometry
|
|
8
|
-
* _skinJointTemplate (from Geometry)
|
|
9
|
-
* _skinInverseBindMatrices (from Geometry)
|
|
10
|
-
* _animationClipRefs (from Geometry)
|
|
11
|
-
* _worldMatrix (from Model + joint Nodes)
|
|
12
|
-
* write:
|
|
13
|
-
* _Skeleton // new ephemeral entity, one per skinned Model
|
|
14
|
-
* Node // joint entities (TRS hierarchy)
|
|
15
|
-
* Animation // optional, when geometry has clips
|
|
16
|
-
* _skeletonInstanceBuffer
|
|
17
|
-
* _skeletonJointMatrixBuffer
|
|
18
|
-
* _skeletonJointMatrixBindGroup
|
|
4
|
+
* pbrSkinning — builds a `_Skeleton` for each `Model` whose `mesh` is a
|
|
5
|
+
* `SkinnedMesh` (non-empty `skinJointTemplate`).
|
|
19
6
|
*/
|
|
20
7
|
export declare const pbrSkinning: {
|
|
21
8
|
readonly components: {
|
|
@@ -67,6 +54,7 @@ export declare const pbrSkinning: {
|
|
|
67
54
|
readonly default: number;
|
|
68
55
|
};
|
|
69
56
|
readonly _worldMatrix: {
|
|
57
|
+
readonly nonPersistent: true;
|
|
70
58
|
readonly type: "array";
|
|
71
59
|
readonly items: {
|
|
72
60
|
readonly type: "number";
|
|
@@ -78,6 +66,7 @@ export declare const pbrSkinning: {
|
|
|
78
66
|
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
79
67
|
};
|
|
80
68
|
readonly _worldBounds: {
|
|
69
|
+
readonly nonPersistent: true;
|
|
81
70
|
readonly type: "object";
|
|
82
71
|
readonly properties: {
|
|
83
72
|
readonly min: {
|
|
@@ -113,14 +102,18 @@ export declare const pbrSkinning: {
|
|
|
113
102
|
} & {} & {
|
|
114
103
|
readonly _vertexBuffer: {
|
|
115
104
|
readonly default: GPUBuffer | null;
|
|
105
|
+
readonly nonPersistent: true;
|
|
116
106
|
};
|
|
117
107
|
readonly _skinVertexBuffer: {
|
|
118
108
|
readonly default: GPUBuffer | null;
|
|
109
|
+
readonly nonPersistent: true;
|
|
119
110
|
};
|
|
120
111
|
readonly _indexBuffer: {
|
|
121
112
|
readonly default: GPUBuffer | null;
|
|
113
|
+
readonly nonPersistent: true;
|
|
122
114
|
};
|
|
123
115
|
readonly _indexCount: {
|
|
116
|
+
readonly nonPersistent: true;
|
|
124
117
|
readonly type: "integer";
|
|
125
118
|
readonly minimum: 0;
|
|
126
119
|
readonly maximum: 4294967295;
|
|
@@ -128,23 +121,28 @@ export declare const pbrSkinning: {
|
|
|
128
121
|
};
|
|
129
122
|
readonly _indexFormat: {
|
|
130
123
|
readonly default: GPUIndexFormat;
|
|
124
|
+
readonly nonPersistent: true;
|
|
131
125
|
};
|
|
132
126
|
readonly _materialBindGroup: {
|
|
133
127
|
readonly default: GPUBindGroup | null;
|
|
128
|
+
readonly nonPersistent: true;
|
|
134
129
|
};
|
|
135
|
-
readonly
|
|
130
|
+
readonly _mesh: {
|
|
131
|
+
readonly nonPersistent: true;
|
|
136
132
|
readonly type: "integer";
|
|
137
133
|
readonly minimum: -2147483648;
|
|
138
134
|
readonly maximum: 2147483647;
|
|
139
135
|
readonly default: number;
|
|
140
136
|
};
|
|
141
137
|
readonly _material: {
|
|
138
|
+
readonly nonPersistent: true;
|
|
142
139
|
readonly type: "integer";
|
|
143
140
|
readonly minimum: -2147483648;
|
|
144
141
|
readonly maximum: 2147483647;
|
|
145
142
|
readonly default: number;
|
|
146
143
|
};
|
|
147
144
|
readonly _nodeLocalMatrix: {
|
|
145
|
+
readonly nonPersistent: true;
|
|
148
146
|
readonly type: "array";
|
|
149
147
|
readonly items: {
|
|
150
148
|
readonly type: "number";
|
|
@@ -156,6 +154,7 @@ export declare const pbrSkinning: {
|
|
|
156
154
|
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
157
155
|
};
|
|
158
156
|
readonly _skeletonModelRef: {
|
|
157
|
+
readonly nonPersistent: true;
|
|
159
158
|
readonly type: "integer";
|
|
160
159
|
readonly minimum: -2147483648;
|
|
161
160
|
readonly maximum: 2147483647;
|
|
@@ -163,6 +162,7 @@ export declare const pbrSkinning: {
|
|
|
163
162
|
};
|
|
164
163
|
readonly _skeletonJointMatrixBindGroup: {
|
|
165
164
|
readonly default: GPUBindGroup | null;
|
|
165
|
+
readonly nonPersistent: true;
|
|
166
166
|
};
|
|
167
167
|
} & {
|
|
168
168
|
readonly animationClipTracks: {
|
|
@@ -194,9 +194,11 @@ export declare const pbrSkinning: {
|
|
|
194
194
|
};
|
|
195
195
|
readonly animationLoop: {
|
|
196
196
|
readonly type: "boolean";
|
|
197
|
+
readonly default: boolean;
|
|
197
198
|
};
|
|
198
199
|
readonly animationPlaying: {
|
|
199
200
|
readonly type: "boolean";
|
|
201
|
+
readonly default: boolean;
|
|
200
202
|
};
|
|
201
203
|
readonly animationObservable: {
|
|
202
204
|
readonly type: "boolean";
|
|
@@ -204,38 +206,212 @@ export declare const pbrSkinning: {
|
|
|
204
206
|
readonly default: true;
|
|
205
207
|
};
|
|
206
208
|
} & {
|
|
207
|
-
readonly
|
|
209
|
+
readonly material: {
|
|
210
|
+
readonly type: "integer";
|
|
211
|
+
readonly minimum: -2147483648;
|
|
212
|
+
readonly maximum: 2147483647;
|
|
213
|
+
readonly default: number;
|
|
214
|
+
};
|
|
215
|
+
readonly name: {
|
|
216
|
+
readonly type: "string";
|
|
217
|
+
};
|
|
218
|
+
readonly density: {
|
|
219
|
+
readonly type: "number";
|
|
220
|
+
readonly precision: 1;
|
|
221
|
+
readonly default: number;
|
|
222
|
+
};
|
|
223
|
+
readonly restitution: {
|
|
224
|
+
readonly type: "number";
|
|
225
|
+
readonly precision: 1;
|
|
226
|
+
readonly default: number;
|
|
227
|
+
};
|
|
228
|
+
readonly friction: {
|
|
229
|
+
readonly type: "number";
|
|
230
|
+
readonly precision: 1;
|
|
231
|
+
readonly default: number;
|
|
232
|
+
};
|
|
233
|
+
readonly compliance: {
|
|
234
|
+
readonly type: "number";
|
|
235
|
+
readonly precision: 1;
|
|
236
|
+
readonly default: number;
|
|
237
|
+
};
|
|
238
|
+
readonly heatCapacity: {
|
|
239
|
+
readonly type: "number";
|
|
240
|
+
readonly precision: 1;
|
|
241
|
+
readonly default: number;
|
|
242
|
+
};
|
|
243
|
+
readonly viscosity: {
|
|
244
|
+
readonly type: "number";
|
|
245
|
+
readonly precision: 1;
|
|
246
|
+
readonly default: number;
|
|
247
|
+
};
|
|
248
|
+
readonly thermalConductivity: {
|
|
249
|
+
readonly type: "number";
|
|
250
|
+
readonly precision: 1;
|
|
251
|
+
readonly default: number;
|
|
252
|
+
};
|
|
253
|
+
readonly stressStrainCurve: {
|
|
254
|
+
readonly type: "object";
|
|
255
|
+
readonly layout: "packed";
|
|
256
|
+
readonly properties: {
|
|
257
|
+
readonly tensileYieldStrainStress: {
|
|
258
|
+
readonly type: "array";
|
|
259
|
+
readonly items: {
|
|
260
|
+
readonly type: "number";
|
|
261
|
+
readonly precision: 1;
|
|
262
|
+
readonly default: number;
|
|
263
|
+
};
|
|
264
|
+
readonly minItems: 2;
|
|
265
|
+
readonly maxItems: 2;
|
|
266
|
+
readonly default: readonly [0, 0];
|
|
267
|
+
};
|
|
268
|
+
readonly tensileFractureStrainStress: {
|
|
269
|
+
readonly type: "array";
|
|
270
|
+
readonly items: {
|
|
271
|
+
readonly type: "number";
|
|
272
|
+
readonly precision: 1;
|
|
273
|
+
readonly default: number;
|
|
274
|
+
};
|
|
275
|
+
readonly minItems: 2;
|
|
276
|
+
readonly maxItems: 2;
|
|
277
|
+
readonly default: readonly [0, 0];
|
|
278
|
+
};
|
|
279
|
+
readonly compressiveYieldStrainStress: {
|
|
280
|
+
readonly type: "array";
|
|
281
|
+
readonly items: {
|
|
282
|
+
readonly type: "number";
|
|
283
|
+
readonly precision: 1;
|
|
284
|
+
readonly default: number;
|
|
285
|
+
};
|
|
286
|
+
readonly minItems: 2;
|
|
287
|
+
readonly maxItems: 2;
|
|
288
|
+
readonly default: readonly [0, 0];
|
|
289
|
+
};
|
|
290
|
+
readonly compressiveFractureStrainStress: {
|
|
291
|
+
readonly type: "array";
|
|
292
|
+
readonly items: {
|
|
293
|
+
readonly type: "number";
|
|
294
|
+
readonly precision: 1;
|
|
295
|
+
readonly default: number;
|
|
296
|
+
};
|
|
297
|
+
readonly minItems: 2;
|
|
298
|
+
readonly maxItems: 2;
|
|
299
|
+
readonly default: readonly [0, 0];
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
303
|
+
};
|
|
304
|
+
readonly baseColorFactor: {
|
|
305
|
+
readonly type: "array";
|
|
306
|
+
readonly items: {
|
|
307
|
+
readonly type: "number";
|
|
308
|
+
readonly precision: 1;
|
|
309
|
+
readonly default: number;
|
|
310
|
+
};
|
|
311
|
+
readonly minItems: 4;
|
|
312
|
+
readonly maxItems: 4;
|
|
313
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
314
|
+
};
|
|
315
|
+
readonly emissiveFactor: {
|
|
316
|
+
readonly type: "array";
|
|
317
|
+
readonly items: {
|
|
318
|
+
readonly type: "number";
|
|
319
|
+
readonly precision: 1;
|
|
320
|
+
readonly default: number;
|
|
321
|
+
};
|
|
322
|
+
readonly minItems: 3;
|
|
323
|
+
readonly maxItems: 3;
|
|
324
|
+
readonly default: readonly [0, 0, 0];
|
|
325
|
+
};
|
|
326
|
+
readonly metallicFactor: {
|
|
327
|
+
readonly type: "number";
|
|
328
|
+
readonly precision: 1;
|
|
329
|
+
readonly default: number;
|
|
330
|
+
};
|
|
331
|
+
readonly roughnessFactor: {
|
|
332
|
+
readonly type: "number";
|
|
333
|
+
readonly precision: 1;
|
|
334
|
+
readonly default: number;
|
|
335
|
+
};
|
|
336
|
+
readonly normalScale: {
|
|
337
|
+
readonly type: "number";
|
|
338
|
+
readonly precision: 1;
|
|
339
|
+
readonly default: number;
|
|
340
|
+
};
|
|
341
|
+
readonly occlusionStrength: {
|
|
342
|
+
readonly type: "number";
|
|
343
|
+
readonly precision: 1;
|
|
344
|
+
readonly default: number;
|
|
345
|
+
};
|
|
346
|
+
readonly irReflectance: {
|
|
347
|
+
readonly type: "number";
|
|
348
|
+
readonly precision: 1;
|
|
349
|
+
readonly default: number;
|
|
350
|
+
};
|
|
351
|
+
readonly irEmission: {
|
|
352
|
+
readonly type: "number";
|
|
353
|
+
readonly precision: 1;
|
|
354
|
+
readonly default: number;
|
|
355
|
+
};
|
|
356
|
+
readonly emissionMode: {
|
|
357
|
+
readonly type: "integer";
|
|
358
|
+
readonly minimum: 0;
|
|
359
|
+
readonly maximum: 4294967295;
|
|
360
|
+
readonly default: number;
|
|
361
|
+
};
|
|
362
|
+
readonly baseColorUrl: {
|
|
208
363
|
readonly type: "string";
|
|
209
364
|
};
|
|
210
|
-
readonly
|
|
365
|
+
readonly metallicRoughnessUrl: {
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
};
|
|
368
|
+
readonly normalUrl: {
|
|
369
|
+
readonly type: "string";
|
|
370
|
+
};
|
|
371
|
+
readonly occlusionUrl: {
|
|
372
|
+
readonly type: "string";
|
|
373
|
+
};
|
|
374
|
+
readonly emissiveUrl: {
|
|
375
|
+
readonly type: "string";
|
|
376
|
+
};
|
|
377
|
+
} & {
|
|
378
|
+
readonly mesh: {
|
|
211
379
|
readonly type: "integer";
|
|
212
380
|
readonly minimum: -2147483648;
|
|
213
381
|
readonly maximum: 2147483647;
|
|
214
382
|
readonly default: number;
|
|
215
383
|
};
|
|
216
|
-
|
|
217
|
-
|
|
384
|
+
readonly gltfUrl: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
};
|
|
387
|
+
readonly shapeSpec: {
|
|
388
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
389
|
+
};
|
|
390
|
+
readonly voxelVolumeSize: {
|
|
391
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
392
|
+
};
|
|
393
|
+
readonly localBounds: {
|
|
218
394
|
readonly default: {
|
|
219
395
|
readonly min: readonly [number, number, number];
|
|
220
396
|
readonly max: readonly [number, number, number];
|
|
221
397
|
} | null;
|
|
222
398
|
};
|
|
223
|
-
readonly
|
|
399
|
+
readonly skinJointTemplate: {
|
|
224
400
|
readonly default: JointTemplate[];
|
|
225
401
|
};
|
|
226
|
-
readonly
|
|
402
|
+
readonly skinInverseBindMatrices: {
|
|
227
403
|
readonly default: Float32Array | null;
|
|
228
404
|
};
|
|
229
|
-
readonly
|
|
405
|
+
readonly animationClipRefs: {
|
|
230
406
|
readonly default: number[];
|
|
231
407
|
};
|
|
232
|
-
readonly
|
|
408
|
+
readonly cpuCollisionPositions: {
|
|
233
409
|
readonly default: Float32Array | null;
|
|
234
410
|
};
|
|
235
|
-
readonly
|
|
411
|
+
readonly cpuCollisionIndices: {
|
|
236
412
|
readonly default: Uint32Array | null;
|
|
237
413
|
};
|
|
238
|
-
readonly
|
|
414
|
+
readonly cpuSkin: {
|
|
239
415
|
readonly default: {
|
|
240
416
|
positions: Float32Array;
|
|
241
417
|
joints: Uint32Array;
|
|
@@ -245,8 +421,10 @@ export declare const pbrSkinning: {
|
|
|
245
421
|
} & {
|
|
246
422
|
readonly _skeletonJoints: {
|
|
247
423
|
readonly default: number[];
|
|
424
|
+
readonly nonPersistent: true;
|
|
248
425
|
};
|
|
249
|
-
readonly
|
|
426
|
+
readonly _skeletonMesh: {
|
|
427
|
+
readonly nonPersistent: true;
|
|
250
428
|
readonly type: "integer";
|
|
251
429
|
readonly minimum: -2147483648;
|
|
252
430
|
readonly maximum: 2147483647;
|
|
@@ -254,9 +432,11 @@ export declare const pbrSkinning: {
|
|
|
254
432
|
};
|
|
255
433
|
readonly _skeletonInstanceBuffer: {
|
|
256
434
|
readonly default: GPUBuffer | null;
|
|
435
|
+
readonly nonPersistent: true;
|
|
257
436
|
};
|
|
258
437
|
readonly _skeletonJointMatrixBuffer: {
|
|
259
438
|
readonly default: GPUBuffer | null;
|
|
439
|
+
readonly nonPersistent: true;
|
|
260
440
|
};
|
|
261
441
|
};
|
|
262
442
|
readonly resources: {} & {
|
|
@@ -264,6 +444,11 @@ export declare const pbrSkinning: {
|
|
|
264
444
|
readonly default: import("../../../core/frame-time/public.js");
|
|
265
445
|
readonly nonPersistent: true;
|
|
266
446
|
};
|
|
447
|
+
} & {
|
|
448
|
+
readonly _gltfMeshByUrl: {
|
|
449
|
+
readonly default: Map<string, Entity> | null;
|
|
450
|
+
readonly nonPersistent: true;
|
|
451
|
+
};
|
|
267
452
|
} & {
|
|
268
453
|
readonly schedulerState: {
|
|
269
454
|
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
@@ -281,17 +466,23 @@ export declare const pbrSkinning: {
|
|
|
281
466
|
readonly archetypes: {
|
|
282
467
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
283
468
|
} & {} & {
|
|
284
|
-
readonly _VisibleMaterial: readonly ["
|
|
285
|
-
readonly _PbrPrimitive: readonly ["
|
|
469
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
470
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
286
471
|
} & {} & {
|
|
287
472
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
288
473
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
289
474
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
290
475
|
} & {} & {
|
|
291
|
-
readonly
|
|
292
|
-
|
|
476
|
+
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"];
|
|
477
|
+
} & {
|
|
478
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
479
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
480
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
481
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
482
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
483
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
293
484
|
} & {} & {
|
|
294
|
-
readonly _Skeleton: readonly ["_skeletonJoints", "
|
|
485
|
+
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
295
486
|
};
|
|
296
487
|
readonly transactions: {} & {} & {} & {} & {} & {
|
|
297
488
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
@@ -324,9 +515,11 @@ export declare const pbrSkinning: {
|
|
|
324
515
|
};
|
|
325
516
|
readonly animationLoop: {
|
|
326
517
|
readonly type: "boolean";
|
|
518
|
+
readonly default: boolean;
|
|
327
519
|
};
|
|
328
520
|
readonly animationPlaying: {
|
|
329
521
|
readonly type: "boolean";
|
|
522
|
+
readonly default: boolean;
|
|
330
523
|
};
|
|
331
524
|
readonly animationObservable: {
|
|
332
525
|
readonly type: "boolean";
|
|
@@ -371,9 +564,11 @@ export declare const pbrSkinning: {
|
|
|
371
564
|
};
|
|
372
565
|
readonly animationLoop: {
|
|
373
566
|
readonly type: "boolean";
|
|
567
|
+
readonly default: boolean;
|
|
374
568
|
};
|
|
375
569
|
readonly animationPlaying: {
|
|
376
570
|
readonly type: "boolean";
|
|
571
|
+
readonly default: boolean;
|
|
377
572
|
};
|
|
378
573
|
readonly animationObservable: {
|
|
379
574
|
readonly type: "boolean";
|
|
@@ -423,9 +618,11 @@ export declare const pbrSkinning: {
|
|
|
423
618
|
};
|
|
424
619
|
readonly animationLoop: {
|
|
425
620
|
readonly type: "boolean";
|
|
621
|
+
readonly default: boolean;
|
|
426
622
|
};
|
|
427
623
|
readonly animationPlaying: {
|
|
428
624
|
readonly type: "boolean";
|
|
625
|
+
readonly default: boolean;
|
|
429
626
|
};
|
|
430
627
|
readonly animationObservable: {
|
|
431
628
|
readonly type: "boolean";
|
|
@@ -441,127 +638,2258 @@ export declare const pbrSkinning: {
|
|
|
441
638
|
observable: boolean;
|
|
442
639
|
}) => void;
|
|
443
640
|
} & {} & {
|
|
444
|
-
readonly
|
|
445
|
-
readonly
|
|
446
|
-
readonly type: "string";
|
|
447
|
-
};
|
|
448
|
-
readonly geometry: {
|
|
641
|
+
readonly insertMaterial: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
642
|
+
readonly material: {
|
|
449
643
|
readonly type: "integer";
|
|
450
644
|
readonly minimum: -2147483648;
|
|
451
645
|
readonly maximum: 2147483647;
|
|
452
646
|
readonly default: number;
|
|
453
647
|
};
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
readonly type: "boolean";
|
|
457
|
-
readonly const: true;
|
|
458
|
-
readonly default: true;
|
|
648
|
+
readonly name: {
|
|
649
|
+
readonly type: "string";
|
|
459
650
|
};
|
|
460
|
-
readonly
|
|
461
|
-
readonly type: "
|
|
462
|
-
readonly
|
|
463
|
-
|
|
464
|
-
readonly precision: 1;
|
|
465
|
-
readonly default: number;
|
|
466
|
-
};
|
|
467
|
-
readonly minItems: 3;
|
|
468
|
-
readonly maxItems: 3;
|
|
469
|
-
readonly default: readonly [0, 0, 0];
|
|
651
|
+
readonly density: {
|
|
652
|
+
readonly type: "number";
|
|
653
|
+
readonly precision: 1;
|
|
654
|
+
readonly default: number;
|
|
470
655
|
};
|
|
471
|
-
readonly
|
|
472
|
-
readonly type: "
|
|
473
|
-
readonly
|
|
474
|
-
|
|
475
|
-
readonly precision: 1;
|
|
476
|
-
readonly default: number;
|
|
477
|
-
};
|
|
478
|
-
readonly minItems: 4;
|
|
479
|
-
readonly maxItems: 4;
|
|
480
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
481
|
-
readonly interpolators: {
|
|
482
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
483
|
-
};
|
|
656
|
+
readonly restitution: {
|
|
657
|
+
readonly type: "number";
|
|
658
|
+
readonly precision: 1;
|
|
659
|
+
readonly default: number;
|
|
484
660
|
};
|
|
485
|
-
readonly
|
|
486
|
-
readonly type: "
|
|
487
|
-
readonly
|
|
488
|
-
|
|
489
|
-
readonly precision: 1;
|
|
490
|
-
readonly default: number;
|
|
491
|
-
};
|
|
492
|
-
readonly minItems: 3;
|
|
493
|
-
readonly maxItems: 3;
|
|
494
|
-
readonly default: readonly [0, 0, 0];
|
|
661
|
+
readonly friction: {
|
|
662
|
+
readonly type: "number";
|
|
663
|
+
readonly precision: 1;
|
|
664
|
+
readonly default: number;
|
|
495
665
|
};
|
|
496
|
-
readonly
|
|
497
|
-
readonly type: "
|
|
498
|
-
readonly
|
|
499
|
-
readonly maximum: 2147483647;
|
|
666
|
+
readonly compliance: {
|
|
667
|
+
readonly type: "number";
|
|
668
|
+
readonly precision: 1;
|
|
500
669
|
readonly default: number;
|
|
501
670
|
};
|
|
502
|
-
readonly
|
|
503
|
-
readonly type: "
|
|
504
|
-
readonly
|
|
505
|
-
|
|
506
|
-
readonly precision: 1;
|
|
507
|
-
readonly default: number;
|
|
508
|
-
};
|
|
509
|
-
readonly minItems: 16;
|
|
510
|
-
readonly maxItems: 16;
|
|
511
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
671
|
+
readonly heatCapacity: {
|
|
672
|
+
readonly type: "number";
|
|
673
|
+
readonly precision: 1;
|
|
674
|
+
readonly default: number;
|
|
512
675
|
};
|
|
513
|
-
readonly
|
|
676
|
+
readonly viscosity: {
|
|
677
|
+
readonly type: "number";
|
|
678
|
+
readonly precision: 1;
|
|
679
|
+
readonly default: number;
|
|
680
|
+
};
|
|
681
|
+
readonly thermalConductivity: {
|
|
682
|
+
readonly type: "number";
|
|
683
|
+
readonly precision: 1;
|
|
684
|
+
readonly default: number;
|
|
685
|
+
};
|
|
686
|
+
readonly stressStrainCurve: {
|
|
514
687
|
readonly type: "object";
|
|
688
|
+
readonly layout: "packed";
|
|
515
689
|
readonly properties: {
|
|
516
|
-
readonly
|
|
690
|
+
readonly tensileYieldStrainStress: {
|
|
517
691
|
readonly type: "array";
|
|
518
692
|
readonly items: {
|
|
519
693
|
readonly type: "number";
|
|
520
694
|
readonly precision: 1;
|
|
521
695
|
readonly default: number;
|
|
522
696
|
};
|
|
523
|
-
readonly minItems:
|
|
524
|
-
readonly maxItems:
|
|
525
|
-
readonly default: readonly [0, 0
|
|
697
|
+
readonly minItems: 2;
|
|
698
|
+
readonly maxItems: 2;
|
|
699
|
+
readonly default: readonly [0, 0];
|
|
526
700
|
};
|
|
527
|
-
readonly
|
|
701
|
+
readonly tensileFractureStrainStress: {
|
|
528
702
|
readonly type: "array";
|
|
529
703
|
readonly items: {
|
|
530
704
|
readonly type: "number";
|
|
531
705
|
readonly precision: 1;
|
|
532
706
|
readonly default: number;
|
|
533
707
|
};
|
|
534
|
-
readonly minItems:
|
|
535
|
-
readonly maxItems:
|
|
536
|
-
readonly default: readonly [0, 0
|
|
708
|
+
readonly minItems: 2;
|
|
709
|
+
readonly maxItems: 2;
|
|
710
|
+
readonly default: readonly [0, 0];
|
|
711
|
+
};
|
|
712
|
+
readonly compressiveYieldStrainStress: {
|
|
713
|
+
readonly type: "array";
|
|
714
|
+
readonly items: {
|
|
715
|
+
readonly type: "number";
|
|
716
|
+
readonly precision: 1;
|
|
717
|
+
readonly default: number;
|
|
718
|
+
};
|
|
719
|
+
readonly minItems: 2;
|
|
720
|
+
readonly maxItems: 2;
|
|
721
|
+
readonly default: readonly [0, 0];
|
|
722
|
+
};
|
|
723
|
+
readonly compressiveFractureStrainStress: {
|
|
724
|
+
readonly type: "array";
|
|
725
|
+
readonly items: {
|
|
726
|
+
readonly type: "number";
|
|
727
|
+
readonly precision: 1;
|
|
728
|
+
readonly default: number;
|
|
729
|
+
};
|
|
730
|
+
readonly minItems: 2;
|
|
731
|
+
readonly maxItems: 2;
|
|
732
|
+
readonly default: readonly [0, 0];
|
|
537
733
|
};
|
|
538
734
|
};
|
|
539
|
-
readonly required: readonly ["
|
|
540
|
-
readonly additionalProperties: false;
|
|
541
|
-
readonly default: {
|
|
542
|
-
readonly min: readonly [0, 0, 0];
|
|
543
|
-
readonly max: readonly [0, 0, 0];
|
|
544
|
-
};
|
|
735
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
545
736
|
};
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
737
|
+
readonly baseColorFactor: {
|
|
738
|
+
readonly type: "array";
|
|
739
|
+
readonly items: {
|
|
740
|
+
readonly type: "number";
|
|
741
|
+
readonly precision: 1;
|
|
742
|
+
readonly default: number;
|
|
743
|
+
};
|
|
744
|
+
readonly minItems: 4;
|
|
745
|
+
readonly maxItems: 4;
|
|
746
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
747
|
+
};
|
|
748
|
+
readonly emissiveFactor: {
|
|
749
|
+
readonly type: "array";
|
|
750
|
+
readonly items: {
|
|
751
|
+
readonly type: "number";
|
|
752
|
+
readonly precision: 1;
|
|
753
|
+
readonly default: number;
|
|
754
|
+
};
|
|
755
|
+
readonly minItems: 3;
|
|
756
|
+
readonly maxItems: 3;
|
|
757
|
+
readonly default: readonly [0, 0, 0];
|
|
758
|
+
};
|
|
759
|
+
readonly metallicFactor: {
|
|
760
|
+
readonly type: "number";
|
|
761
|
+
readonly precision: 1;
|
|
762
|
+
readonly default: number;
|
|
763
|
+
};
|
|
764
|
+
readonly roughnessFactor: {
|
|
765
|
+
readonly type: "number";
|
|
766
|
+
readonly precision: 1;
|
|
767
|
+
readonly default: number;
|
|
768
|
+
};
|
|
769
|
+
readonly normalScale: {
|
|
770
|
+
readonly type: "number";
|
|
771
|
+
readonly precision: 1;
|
|
772
|
+
readonly default: number;
|
|
773
|
+
};
|
|
774
|
+
readonly occlusionStrength: {
|
|
775
|
+
readonly type: "number";
|
|
776
|
+
readonly precision: 1;
|
|
777
|
+
readonly default: number;
|
|
778
|
+
};
|
|
779
|
+
readonly irReflectance: {
|
|
780
|
+
readonly type: "number";
|
|
781
|
+
readonly precision: 1;
|
|
782
|
+
readonly default: number;
|
|
783
|
+
};
|
|
784
|
+
readonly irEmission: {
|
|
785
|
+
readonly type: "number";
|
|
786
|
+
readonly precision: 1;
|
|
787
|
+
readonly default: number;
|
|
788
|
+
};
|
|
789
|
+
readonly emissionMode: {
|
|
790
|
+
readonly type: "integer";
|
|
791
|
+
readonly minimum: 0;
|
|
792
|
+
readonly maximum: 4294967295;
|
|
793
|
+
readonly default: number;
|
|
794
|
+
};
|
|
795
|
+
readonly baseColorUrl: {
|
|
796
|
+
readonly type: "string";
|
|
797
|
+
};
|
|
798
|
+
readonly metallicRoughnessUrl: {
|
|
799
|
+
readonly type: "string";
|
|
800
|
+
};
|
|
801
|
+
readonly normalUrl: {
|
|
802
|
+
readonly type: "string";
|
|
803
|
+
};
|
|
804
|
+
readonly occlusionUrl: {
|
|
805
|
+
readonly type: "string";
|
|
806
|
+
};
|
|
807
|
+
readonly emissiveUrl: {
|
|
808
|
+
readonly type: "string";
|
|
809
|
+
};
|
|
810
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
811
|
+
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"];
|
|
812
|
+
}, {
|
|
813
|
+
readonly materialByName: {
|
|
814
|
+
readonly key: "name";
|
|
815
|
+
readonly unique: true;
|
|
816
|
+
readonly archetype: "Material";
|
|
817
|
+
};
|
|
818
|
+
}>, row: import("../../../material/public.js")) => Entity;
|
|
819
|
+
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
820
|
+
readonly material: {
|
|
821
|
+
readonly type: "integer";
|
|
822
|
+
readonly minimum: -2147483648;
|
|
823
|
+
readonly maximum: 2147483647;
|
|
824
|
+
readonly default: number;
|
|
825
|
+
};
|
|
826
|
+
readonly name: {
|
|
827
|
+
readonly type: "string";
|
|
828
|
+
};
|
|
829
|
+
readonly density: {
|
|
830
|
+
readonly type: "number";
|
|
831
|
+
readonly precision: 1;
|
|
832
|
+
readonly default: number;
|
|
833
|
+
};
|
|
834
|
+
readonly restitution: {
|
|
835
|
+
readonly type: "number";
|
|
836
|
+
readonly precision: 1;
|
|
837
|
+
readonly default: number;
|
|
838
|
+
};
|
|
839
|
+
readonly friction: {
|
|
840
|
+
readonly type: "number";
|
|
841
|
+
readonly precision: 1;
|
|
842
|
+
readonly default: number;
|
|
843
|
+
};
|
|
844
|
+
readonly compliance: {
|
|
845
|
+
readonly type: "number";
|
|
846
|
+
readonly precision: 1;
|
|
847
|
+
readonly default: number;
|
|
848
|
+
};
|
|
849
|
+
readonly heatCapacity: {
|
|
850
|
+
readonly type: "number";
|
|
851
|
+
readonly precision: 1;
|
|
852
|
+
readonly default: number;
|
|
853
|
+
};
|
|
854
|
+
readonly viscosity: {
|
|
855
|
+
readonly type: "number";
|
|
856
|
+
readonly precision: 1;
|
|
857
|
+
readonly default: number;
|
|
858
|
+
};
|
|
859
|
+
readonly thermalConductivity: {
|
|
860
|
+
readonly type: "number";
|
|
861
|
+
readonly precision: 1;
|
|
862
|
+
readonly default: number;
|
|
863
|
+
};
|
|
864
|
+
readonly stressStrainCurve: {
|
|
865
|
+
readonly type: "object";
|
|
866
|
+
readonly layout: "packed";
|
|
867
|
+
readonly properties: {
|
|
868
|
+
readonly tensileYieldStrainStress: {
|
|
869
|
+
readonly type: "array";
|
|
870
|
+
readonly items: {
|
|
871
|
+
readonly type: "number";
|
|
872
|
+
readonly precision: 1;
|
|
873
|
+
readonly default: number;
|
|
874
|
+
};
|
|
875
|
+
readonly minItems: 2;
|
|
876
|
+
readonly maxItems: 2;
|
|
877
|
+
readonly default: readonly [0, 0];
|
|
878
|
+
};
|
|
879
|
+
readonly tensileFractureStrainStress: {
|
|
880
|
+
readonly type: "array";
|
|
881
|
+
readonly items: {
|
|
882
|
+
readonly type: "number";
|
|
883
|
+
readonly precision: 1;
|
|
884
|
+
readonly default: number;
|
|
885
|
+
};
|
|
886
|
+
readonly minItems: 2;
|
|
887
|
+
readonly maxItems: 2;
|
|
888
|
+
readonly default: readonly [0, 0];
|
|
889
|
+
};
|
|
890
|
+
readonly compressiveYieldStrainStress: {
|
|
891
|
+
readonly type: "array";
|
|
892
|
+
readonly items: {
|
|
893
|
+
readonly type: "number";
|
|
894
|
+
readonly precision: 1;
|
|
895
|
+
readonly default: number;
|
|
896
|
+
};
|
|
897
|
+
readonly minItems: 2;
|
|
898
|
+
readonly maxItems: 2;
|
|
899
|
+
readonly default: readonly [0, 0];
|
|
900
|
+
};
|
|
901
|
+
readonly compressiveFractureStrainStress: {
|
|
902
|
+
readonly type: "array";
|
|
903
|
+
readonly items: {
|
|
904
|
+
readonly type: "number";
|
|
905
|
+
readonly precision: 1;
|
|
906
|
+
readonly default: number;
|
|
907
|
+
};
|
|
908
|
+
readonly minItems: 2;
|
|
909
|
+
readonly maxItems: 2;
|
|
910
|
+
readonly default: readonly [0, 0];
|
|
911
|
+
};
|
|
912
|
+
};
|
|
913
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
914
|
+
};
|
|
915
|
+
readonly baseColorFactor: {
|
|
916
|
+
readonly type: "array";
|
|
917
|
+
readonly items: {
|
|
918
|
+
readonly type: "number";
|
|
919
|
+
readonly precision: 1;
|
|
920
|
+
readonly default: number;
|
|
921
|
+
};
|
|
922
|
+
readonly minItems: 4;
|
|
923
|
+
readonly maxItems: 4;
|
|
924
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
925
|
+
};
|
|
926
|
+
readonly emissiveFactor: {
|
|
927
|
+
readonly type: "array";
|
|
928
|
+
readonly items: {
|
|
929
|
+
readonly type: "number";
|
|
930
|
+
readonly precision: 1;
|
|
931
|
+
readonly default: number;
|
|
932
|
+
};
|
|
933
|
+
readonly minItems: 3;
|
|
934
|
+
readonly maxItems: 3;
|
|
935
|
+
readonly default: readonly [0, 0, 0];
|
|
936
|
+
};
|
|
937
|
+
readonly metallicFactor: {
|
|
938
|
+
readonly type: "number";
|
|
939
|
+
readonly precision: 1;
|
|
940
|
+
readonly default: number;
|
|
941
|
+
};
|
|
942
|
+
readonly roughnessFactor: {
|
|
943
|
+
readonly type: "number";
|
|
944
|
+
readonly precision: 1;
|
|
945
|
+
readonly default: number;
|
|
946
|
+
};
|
|
947
|
+
readonly normalScale: {
|
|
948
|
+
readonly type: "number";
|
|
949
|
+
readonly precision: 1;
|
|
950
|
+
readonly default: number;
|
|
951
|
+
};
|
|
952
|
+
readonly occlusionStrength: {
|
|
953
|
+
readonly type: "number";
|
|
954
|
+
readonly precision: 1;
|
|
955
|
+
readonly default: number;
|
|
956
|
+
};
|
|
957
|
+
readonly irReflectance: {
|
|
958
|
+
readonly type: "number";
|
|
959
|
+
readonly precision: 1;
|
|
960
|
+
readonly default: number;
|
|
961
|
+
};
|
|
962
|
+
readonly irEmission: {
|
|
963
|
+
readonly type: "number";
|
|
964
|
+
readonly precision: 1;
|
|
965
|
+
readonly default: number;
|
|
966
|
+
};
|
|
967
|
+
readonly emissionMode: {
|
|
968
|
+
readonly type: "integer";
|
|
969
|
+
readonly minimum: 0;
|
|
970
|
+
readonly maximum: 4294967295;
|
|
971
|
+
readonly default: number;
|
|
972
|
+
};
|
|
973
|
+
readonly baseColorUrl: {
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
};
|
|
976
|
+
readonly metallicRoughnessUrl: {
|
|
977
|
+
readonly type: "string";
|
|
978
|
+
};
|
|
979
|
+
readonly normalUrl: {
|
|
980
|
+
readonly type: "string";
|
|
981
|
+
};
|
|
982
|
+
readonly occlusionUrl: {
|
|
983
|
+
readonly type: "string";
|
|
984
|
+
};
|
|
985
|
+
readonly emissiveUrl: {
|
|
986
|
+
readonly type: "string";
|
|
987
|
+
};
|
|
988
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
989
|
+
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"];
|
|
990
|
+
}, {
|
|
991
|
+
readonly materialByName: {
|
|
992
|
+
readonly key: "name";
|
|
993
|
+
readonly unique: true;
|
|
994
|
+
readonly archetype: "Material";
|
|
995
|
+
};
|
|
996
|
+
}>, args: {
|
|
997
|
+
name: string;
|
|
998
|
+
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
999
|
+
}) => Entity;
|
|
1000
|
+
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1001
|
+
readonly material: {
|
|
1002
|
+
readonly type: "integer";
|
|
1003
|
+
readonly minimum: -2147483648;
|
|
1004
|
+
readonly maximum: 2147483647;
|
|
1005
|
+
readonly default: number;
|
|
1006
|
+
};
|
|
1007
|
+
readonly name: {
|
|
1008
|
+
readonly type: "string";
|
|
1009
|
+
};
|
|
1010
|
+
readonly density: {
|
|
1011
|
+
readonly type: "number";
|
|
1012
|
+
readonly precision: 1;
|
|
1013
|
+
readonly default: number;
|
|
1014
|
+
};
|
|
1015
|
+
readonly restitution: {
|
|
1016
|
+
readonly type: "number";
|
|
1017
|
+
readonly precision: 1;
|
|
1018
|
+
readonly default: number;
|
|
1019
|
+
};
|
|
1020
|
+
readonly friction: {
|
|
1021
|
+
readonly type: "number";
|
|
1022
|
+
readonly precision: 1;
|
|
1023
|
+
readonly default: number;
|
|
1024
|
+
};
|
|
1025
|
+
readonly compliance: {
|
|
1026
|
+
readonly type: "number";
|
|
1027
|
+
readonly precision: 1;
|
|
1028
|
+
readonly default: number;
|
|
1029
|
+
};
|
|
1030
|
+
readonly heatCapacity: {
|
|
1031
|
+
readonly type: "number";
|
|
1032
|
+
readonly precision: 1;
|
|
1033
|
+
readonly default: number;
|
|
1034
|
+
};
|
|
1035
|
+
readonly viscosity: {
|
|
1036
|
+
readonly type: "number";
|
|
1037
|
+
readonly precision: 1;
|
|
1038
|
+
readonly default: number;
|
|
1039
|
+
};
|
|
1040
|
+
readonly thermalConductivity: {
|
|
1041
|
+
readonly type: "number";
|
|
1042
|
+
readonly precision: 1;
|
|
1043
|
+
readonly default: number;
|
|
1044
|
+
};
|
|
1045
|
+
readonly stressStrainCurve: {
|
|
1046
|
+
readonly type: "object";
|
|
1047
|
+
readonly layout: "packed";
|
|
1048
|
+
readonly properties: {
|
|
1049
|
+
readonly tensileYieldStrainStress: {
|
|
1050
|
+
readonly type: "array";
|
|
1051
|
+
readonly items: {
|
|
1052
|
+
readonly type: "number";
|
|
1053
|
+
readonly precision: 1;
|
|
1054
|
+
readonly default: number;
|
|
1055
|
+
};
|
|
1056
|
+
readonly minItems: 2;
|
|
1057
|
+
readonly maxItems: 2;
|
|
1058
|
+
readonly default: readonly [0, 0];
|
|
1059
|
+
};
|
|
1060
|
+
readonly tensileFractureStrainStress: {
|
|
1061
|
+
readonly type: "array";
|
|
1062
|
+
readonly items: {
|
|
1063
|
+
readonly type: "number";
|
|
1064
|
+
readonly precision: 1;
|
|
1065
|
+
readonly default: number;
|
|
1066
|
+
};
|
|
1067
|
+
readonly minItems: 2;
|
|
1068
|
+
readonly maxItems: 2;
|
|
1069
|
+
readonly default: readonly [0, 0];
|
|
1070
|
+
};
|
|
1071
|
+
readonly compressiveYieldStrainStress: {
|
|
1072
|
+
readonly type: "array";
|
|
1073
|
+
readonly items: {
|
|
1074
|
+
readonly type: "number";
|
|
1075
|
+
readonly precision: 1;
|
|
1076
|
+
readonly default: number;
|
|
1077
|
+
};
|
|
1078
|
+
readonly minItems: 2;
|
|
1079
|
+
readonly maxItems: 2;
|
|
1080
|
+
readonly default: readonly [0, 0];
|
|
1081
|
+
};
|
|
1082
|
+
readonly compressiveFractureStrainStress: {
|
|
1083
|
+
readonly type: "array";
|
|
1084
|
+
readonly items: {
|
|
1085
|
+
readonly type: "number";
|
|
1086
|
+
readonly precision: 1;
|
|
1087
|
+
readonly default: number;
|
|
1088
|
+
};
|
|
1089
|
+
readonly minItems: 2;
|
|
1090
|
+
readonly maxItems: 2;
|
|
1091
|
+
readonly default: readonly [0, 0];
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1094
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
1095
|
+
};
|
|
1096
|
+
readonly baseColorFactor: {
|
|
1097
|
+
readonly type: "array";
|
|
1098
|
+
readonly items: {
|
|
1099
|
+
readonly type: "number";
|
|
1100
|
+
readonly precision: 1;
|
|
1101
|
+
readonly default: number;
|
|
1102
|
+
};
|
|
1103
|
+
readonly minItems: 4;
|
|
1104
|
+
readonly maxItems: 4;
|
|
1105
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
1106
|
+
};
|
|
1107
|
+
readonly emissiveFactor: {
|
|
1108
|
+
readonly type: "array";
|
|
1109
|
+
readonly items: {
|
|
1110
|
+
readonly type: "number";
|
|
1111
|
+
readonly precision: 1;
|
|
1112
|
+
readonly default: number;
|
|
1113
|
+
};
|
|
1114
|
+
readonly minItems: 3;
|
|
1115
|
+
readonly maxItems: 3;
|
|
1116
|
+
readonly default: readonly [0, 0, 0];
|
|
1117
|
+
};
|
|
1118
|
+
readonly metallicFactor: {
|
|
1119
|
+
readonly type: "number";
|
|
1120
|
+
readonly precision: 1;
|
|
1121
|
+
readonly default: number;
|
|
1122
|
+
};
|
|
1123
|
+
readonly roughnessFactor: {
|
|
1124
|
+
readonly type: "number";
|
|
1125
|
+
readonly precision: 1;
|
|
1126
|
+
readonly default: number;
|
|
1127
|
+
};
|
|
1128
|
+
readonly normalScale: {
|
|
1129
|
+
readonly type: "number";
|
|
1130
|
+
readonly precision: 1;
|
|
1131
|
+
readonly default: number;
|
|
1132
|
+
};
|
|
1133
|
+
readonly occlusionStrength: {
|
|
1134
|
+
readonly type: "number";
|
|
1135
|
+
readonly precision: 1;
|
|
1136
|
+
readonly default: number;
|
|
1137
|
+
};
|
|
1138
|
+
readonly irReflectance: {
|
|
1139
|
+
readonly type: "number";
|
|
1140
|
+
readonly precision: 1;
|
|
1141
|
+
readonly default: number;
|
|
1142
|
+
};
|
|
1143
|
+
readonly irEmission: {
|
|
1144
|
+
readonly type: "number";
|
|
1145
|
+
readonly precision: 1;
|
|
1146
|
+
readonly default: number;
|
|
1147
|
+
};
|
|
1148
|
+
readonly emissionMode: {
|
|
1149
|
+
readonly type: "integer";
|
|
1150
|
+
readonly minimum: 0;
|
|
1151
|
+
readonly maximum: 4294967295;
|
|
1152
|
+
readonly default: number;
|
|
1153
|
+
};
|
|
1154
|
+
readonly baseColorUrl: {
|
|
1155
|
+
readonly type: "string";
|
|
1156
|
+
};
|
|
1157
|
+
readonly metallicRoughnessUrl: {
|
|
1158
|
+
readonly type: "string";
|
|
1159
|
+
};
|
|
1160
|
+
readonly normalUrl: {
|
|
1161
|
+
readonly type: "string";
|
|
1162
|
+
};
|
|
1163
|
+
readonly occlusionUrl: {
|
|
1164
|
+
readonly type: "string";
|
|
1165
|
+
};
|
|
1166
|
+
readonly emissiveUrl: {
|
|
1167
|
+
readonly type: "string";
|
|
1168
|
+
};
|
|
1169
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
1170
|
+
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"];
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly materialByName: {
|
|
1173
|
+
readonly key: "name";
|
|
1174
|
+
readonly unique: true;
|
|
1175
|
+
readonly archetype: "Material";
|
|
1176
|
+
};
|
|
1177
|
+
}>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1178
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1179
|
+
readonly material: {
|
|
1180
|
+
readonly type: "integer";
|
|
1181
|
+
readonly minimum: -2147483648;
|
|
1182
|
+
readonly maximum: 2147483647;
|
|
1183
|
+
readonly default: number;
|
|
1184
|
+
};
|
|
1185
|
+
readonly name: {
|
|
1186
|
+
readonly type: "string";
|
|
1187
|
+
};
|
|
1188
|
+
readonly density: {
|
|
1189
|
+
readonly type: "number";
|
|
1190
|
+
readonly precision: 1;
|
|
1191
|
+
readonly default: number;
|
|
1192
|
+
};
|
|
1193
|
+
readonly restitution: {
|
|
1194
|
+
readonly type: "number";
|
|
1195
|
+
readonly precision: 1;
|
|
1196
|
+
readonly default: number;
|
|
1197
|
+
};
|
|
1198
|
+
readonly friction: {
|
|
1199
|
+
readonly type: "number";
|
|
1200
|
+
readonly precision: 1;
|
|
1201
|
+
readonly default: number;
|
|
1202
|
+
};
|
|
1203
|
+
readonly compliance: {
|
|
1204
|
+
readonly type: "number";
|
|
1205
|
+
readonly precision: 1;
|
|
1206
|
+
readonly default: number;
|
|
1207
|
+
};
|
|
1208
|
+
readonly heatCapacity: {
|
|
1209
|
+
readonly type: "number";
|
|
1210
|
+
readonly precision: 1;
|
|
1211
|
+
readonly default: number;
|
|
1212
|
+
};
|
|
1213
|
+
readonly viscosity: {
|
|
1214
|
+
readonly type: "number";
|
|
1215
|
+
readonly precision: 1;
|
|
1216
|
+
readonly default: number;
|
|
1217
|
+
};
|
|
1218
|
+
readonly thermalConductivity: {
|
|
1219
|
+
readonly type: "number";
|
|
1220
|
+
readonly precision: 1;
|
|
1221
|
+
readonly default: number;
|
|
1222
|
+
};
|
|
1223
|
+
readonly stressStrainCurve: {
|
|
1224
|
+
readonly type: "object";
|
|
1225
|
+
readonly layout: "packed";
|
|
1226
|
+
readonly properties: {
|
|
1227
|
+
readonly tensileYieldStrainStress: {
|
|
1228
|
+
readonly type: "array";
|
|
1229
|
+
readonly items: {
|
|
1230
|
+
readonly type: "number";
|
|
1231
|
+
readonly precision: 1;
|
|
1232
|
+
readonly default: number;
|
|
1233
|
+
};
|
|
1234
|
+
readonly minItems: 2;
|
|
1235
|
+
readonly maxItems: 2;
|
|
1236
|
+
readonly default: readonly [0, 0];
|
|
1237
|
+
};
|
|
1238
|
+
readonly tensileFractureStrainStress: {
|
|
1239
|
+
readonly type: "array";
|
|
1240
|
+
readonly items: {
|
|
1241
|
+
readonly type: "number";
|
|
1242
|
+
readonly precision: 1;
|
|
1243
|
+
readonly default: number;
|
|
1244
|
+
};
|
|
1245
|
+
readonly minItems: 2;
|
|
1246
|
+
readonly maxItems: 2;
|
|
1247
|
+
readonly default: readonly [0, 0];
|
|
1248
|
+
};
|
|
1249
|
+
readonly compressiveYieldStrainStress: {
|
|
1250
|
+
readonly type: "array";
|
|
1251
|
+
readonly items: {
|
|
1252
|
+
readonly type: "number";
|
|
1253
|
+
readonly precision: 1;
|
|
1254
|
+
readonly default: number;
|
|
1255
|
+
};
|
|
1256
|
+
readonly minItems: 2;
|
|
1257
|
+
readonly maxItems: 2;
|
|
1258
|
+
readonly default: readonly [0, 0];
|
|
1259
|
+
};
|
|
1260
|
+
readonly compressiveFractureStrainStress: {
|
|
1261
|
+
readonly type: "array";
|
|
1262
|
+
readonly items: {
|
|
1263
|
+
readonly type: "number";
|
|
1264
|
+
readonly precision: 1;
|
|
1265
|
+
readonly default: number;
|
|
1266
|
+
};
|
|
1267
|
+
readonly minItems: 2;
|
|
1268
|
+
readonly maxItems: 2;
|
|
1269
|
+
readonly default: readonly [0, 0];
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
1273
|
+
};
|
|
1274
|
+
readonly baseColorFactor: {
|
|
1275
|
+
readonly type: "array";
|
|
1276
|
+
readonly items: {
|
|
1277
|
+
readonly type: "number";
|
|
1278
|
+
readonly precision: 1;
|
|
1279
|
+
readonly default: number;
|
|
1280
|
+
};
|
|
1281
|
+
readonly minItems: 4;
|
|
1282
|
+
readonly maxItems: 4;
|
|
1283
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
1284
|
+
};
|
|
1285
|
+
readonly emissiveFactor: {
|
|
1286
|
+
readonly type: "array";
|
|
1287
|
+
readonly items: {
|
|
1288
|
+
readonly type: "number";
|
|
1289
|
+
readonly precision: 1;
|
|
1290
|
+
readonly default: number;
|
|
1291
|
+
};
|
|
1292
|
+
readonly minItems: 3;
|
|
1293
|
+
readonly maxItems: 3;
|
|
1294
|
+
readonly default: readonly [0, 0, 0];
|
|
1295
|
+
};
|
|
1296
|
+
readonly metallicFactor: {
|
|
1297
|
+
readonly type: "number";
|
|
1298
|
+
readonly precision: 1;
|
|
1299
|
+
readonly default: number;
|
|
1300
|
+
};
|
|
1301
|
+
readonly roughnessFactor: {
|
|
1302
|
+
readonly type: "number";
|
|
1303
|
+
readonly precision: 1;
|
|
1304
|
+
readonly default: number;
|
|
1305
|
+
};
|
|
1306
|
+
readonly normalScale: {
|
|
1307
|
+
readonly type: "number";
|
|
1308
|
+
readonly precision: 1;
|
|
1309
|
+
readonly default: number;
|
|
1310
|
+
};
|
|
1311
|
+
readonly occlusionStrength: {
|
|
1312
|
+
readonly type: "number";
|
|
1313
|
+
readonly precision: 1;
|
|
1314
|
+
readonly default: number;
|
|
1315
|
+
};
|
|
1316
|
+
readonly irReflectance: {
|
|
1317
|
+
readonly type: "number";
|
|
1318
|
+
readonly precision: 1;
|
|
1319
|
+
readonly default: number;
|
|
1320
|
+
};
|
|
1321
|
+
readonly irEmission: {
|
|
1322
|
+
readonly type: "number";
|
|
1323
|
+
readonly precision: 1;
|
|
1324
|
+
readonly default: number;
|
|
1325
|
+
};
|
|
1326
|
+
readonly emissionMode: {
|
|
1327
|
+
readonly type: "integer";
|
|
1328
|
+
readonly minimum: 0;
|
|
1329
|
+
readonly maximum: 4294967295;
|
|
1330
|
+
readonly default: number;
|
|
1331
|
+
};
|
|
1332
|
+
readonly baseColorUrl: {
|
|
1333
|
+
readonly type: "string";
|
|
1334
|
+
};
|
|
1335
|
+
readonly metallicRoughnessUrl: {
|
|
1336
|
+
readonly type: "string";
|
|
1337
|
+
};
|
|
1338
|
+
readonly normalUrl: {
|
|
1339
|
+
readonly type: "string";
|
|
1340
|
+
};
|
|
1341
|
+
readonly occlusionUrl: {
|
|
1342
|
+
readonly type: "string";
|
|
1343
|
+
};
|
|
1344
|
+
readonly emissiveUrl: {
|
|
1345
|
+
readonly type: "string";
|
|
1346
|
+
};
|
|
1347
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
1348
|
+
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"];
|
|
1349
|
+
}, {
|
|
1350
|
+
readonly materialByName: {
|
|
1351
|
+
readonly key: "name";
|
|
1352
|
+
readonly unique: true;
|
|
1353
|
+
readonly archetype: "Material";
|
|
1354
|
+
};
|
|
1355
|
+
}>) => void;
|
|
1356
|
+
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1357
|
+
readonly material: {
|
|
1358
|
+
readonly type: "integer";
|
|
1359
|
+
readonly minimum: -2147483648;
|
|
1360
|
+
readonly maximum: 2147483647;
|
|
1361
|
+
readonly default: number;
|
|
1362
|
+
};
|
|
1363
|
+
readonly name: {
|
|
1364
|
+
readonly type: "string";
|
|
1365
|
+
};
|
|
1366
|
+
readonly density: {
|
|
1367
|
+
readonly type: "number";
|
|
1368
|
+
readonly precision: 1;
|
|
1369
|
+
readonly default: number;
|
|
1370
|
+
};
|
|
1371
|
+
readonly restitution: {
|
|
1372
|
+
readonly type: "number";
|
|
1373
|
+
readonly precision: 1;
|
|
1374
|
+
readonly default: number;
|
|
1375
|
+
};
|
|
1376
|
+
readonly friction: {
|
|
1377
|
+
readonly type: "number";
|
|
1378
|
+
readonly precision: 1;
|
|
1379
|
+
readonly default: number;
|
|
1380
|
+
};
|
|
1381
|
+
readonly compliance: {
|
|
1382
|
+
readonly type: "number";
|
|
1383
|
+
readonly precision: 1;
|
|
1384
|
+
readonly default: number;
|
|
1385
|
+
};
|
|
1386
|
+
readonly heatCapacity: {
|
|
1387
|
+
readonly type: "number";
|
|
1388
|
+
readonly precision: 1;
|
|
1389
|
+
readonly default: number;
|
|
1390
|
+
};
|
|
1391
|
+
readonly viscosity: {
|
|
1392
|
+
readonly type: "number";
|
|
1393
|
+
readonly precision: 1;
|
|
1394
|
+
readonly default: number;
|
|
1395
|
+
};
|
|
1396
|
+
readonly thermalConductivity: {
|
|
1397
|
+
readonly type: "number";
|
|
1398
|
+
readonly precision: 1;
|
|
1399
|
+
readonly default: number;
|
|
1400
|
+
};
|
|
1401
|
+
readonly stressStrainCurve: {
|
|
1402
|
+
readonly type: "object";
|
|
1403
|
+
readonly layout: "packed";
|
|
1404
|
+
readonly properties: {
|
|
1405
|
+
readonly tensileYieldStrainStress: {
|
|
1406
|
+
readonly type: "array";
|
|
1407
|
+
readonly items: {
|
|
1408
|
+
readonly type: "number";
|
|
1409
|
+
readonly precision: 1;
|
|
1410
|
+
readonly default: number;
|
|
1411
|
+
};
|
|
1412
|
+
readonly minItems: 2;
|
|
1413
|
+
readonly maxItems: 2;
|
|
1414
|
+
readonly default: readonly [0, 0];
|
|
1415
|
+
};
|
|
1416
|
+
readonly tensileFractureStrainStress: {
|
|
1417
|
+
readonly type: "array";
|
|
1418
|
+
readonly items: {
|
|
1419
|
+
readonly type: "number";
|
|
1420
|
+
readonly precision: 1;
|
|
1421
|
+
readonly default: number;
|
|
1422
|
+
};
|
|
1423
|
+
readonly minItems: 2;
|
|
1424
|
+
readonly maxItems: 2;
|
|
1425
|
+
readonly default: readonly [0, 0];
|
|
1426
|
+
};
|
|
1427
|
+
readonly compressiveYieldStrainStress: {
|
|
1428
|
+
readonly type: "array";
|
|
1429
|
+
readonly items: {
|
|
1430
|
+
readonly type: "number";
|
|
1431
|
+
readonly precision: 1;
|
|
1432
|
+
readonly default: number;
|
|
1433
|
+
};
|
|
1434
|
+
readonly minItems: 2;
|
|
1435
|
+
readonly maxItems: 2;
|
|
1436
|
+
readonly default: readonly [0, 0];
|
|
1437
|
+
};
|
|
1438
|
+
readonly compressiveFractureStrainStress: {
|
|
1439
|
+
readonly type: "array";
|
|
1440
|
+
readonly items: {
|
|
1441
|
+
readonly type: "number";
|
|
1442
|
+
readonly precision: 1;
|
|
1443
|
+
readonly default: number;
|
|
1444
|
+
};
|
|
1445
|
+
readonly minItems: 2;
|
|
1446
|
+
readonly maxItems: 2;
|
|
1447
|
+
readonly default: readonly [0, 0];
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
1451
|
+
};
|
|
1452
|
+
readonly baseColorFactor: {
|
|
1453
|
+
readonly type: "array";
|
|
1454
|
+
readonly items: {
|
|
1455
|
+
readonly type: "number";
|
|
1456
|
+
readonly precision: 1;
|
|
1457
|
+
readonly default: number;
|
|
1458
|
+
};
|
|
1459
|
+
readonly minItems: 4;
|
|
1460
|
+
readonly maxItems: 4;
|
|
1461
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
1462
|
+
};
|
|
1463
|
+
readonly emissiveFactor: {
|
|
1464
|
+
readonly type: "array";
|
|
1465
|
+
readonly items: {
|
|
1466
|
+
readonly type: "number";
|
|
1467
|
+
readonly precision: 1;
|
|
1468
|
+
readonly default: number;
|
|
1469
|
+
};
|
|
1470
|
+
readonly minItems: 3;
|
|
1471
|
+
readonly maxItems: 3;
|
|
1472
|
+
readonly default: readonly [0, 0, 0];
|
|
1473
|
+
};
|
|
1474
|
+
readonly metallicFactor: {
|
|
1475
|
+
readonly type: "number";
|
|
1476
|
+
readonly precision: 1;
|
|
1477
|
+
readonly default: number;
|
|
1478
|
+
};
|
|
1479
|
+
readonly roughnessFactor: {
|
|
1480
|
+
readonly type: "number";
|
|
1481
|
+
readonly precision: 1;
|
|
1482
|
+
readonly default: number;
|
|
1483
|
+
};
|
|
1484
|
+
readonly normalScale: {
|
|
1485
|
+
readonly type: "number";
|
|
1486
|
+
readonly precision: 1;
|
|
1487
|
+
readonly default: number;
|
|
1488
|
+
};
|
|
1489
|
+
readonly occlusionStrength: {
|
|
1490
|
+
readonly type: "number";
|
|
1491
|
+
readonly precision: 1;
|
|
1492
|
+
readonly default: number;
|
|
1493
|
+
};
|
|
1494
|
+
readonly irReflectance: {
|
|
1495
|
+
readonly type: "number";
|
|
1496
|
+
readonly precision: 1;
|
|
1497
|
+
readonly default: number;
|
|
1498
|
+
};
|
|
1499
|
+
readonly irEmission: {
|
|
1500
|
+
readonly type: "number";
|
|
1501
|
+
readonly precision: 1;
|
|
1502
|
+
readonly default: number;
|
|
1503
|
+
};
|
|
1504
|
+
readonly emissionMode: {
|
|
1505
|
+
readonly type: "integer";
|
|
1506
|
+
readonly minimum: 0;
|
|
1507
|
+
readonly maximum: 4294967295;
|
|
1508
|
+
readonly default: number;
|
|
1509
|
+
};
|
|
1510
|
+
readonly baseColorUrl: {
|
|
1511
|
+
readonly type: "string";
|
|
1512
|
+
};
|
|
1513
|
+
readonly metallicRoughnessUrl: {
|
|
1514
|
+
readonly type: "string";
|
|
1515
|
+
};
|
|
1516
|
+
readonly normalUrl: {
|
|
1517
|
+
readonly type: "string";
|
|
1518
|
+
};
|
|
1519
|
+
readonly occlusionUrl: {
|
|
1520
|
+
readonly type: "string";
|
|
1521
|
+
};
|
|
1522
|
+
readonly emissiveUrl: {
|
|
1523
|
+
readonly type: "string";
|
|
1524
|
+
};
|
|
1525
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
1526
|
+
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"];
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly materialByName: {
|
|
1529
|
+
readonly key: "name";
|
|
1530
|
+
readonly unique: true;
|
|
1531
|
+
readonly archetype: "Material";
|
|
1532
|
+
};
|
|
1533
|
+
}>) => void;
|
|
1534
|
+
} & {
|
|
1535
|
+
readonly insertGltfMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1536
|
+
readonly mesh: {
|
|
1537
|
+
readonly type: "integer";
|
|
1538
|
+
readonly minimum: -2147483648;
|
|
1539
|
+
readonly maximum: 2147483647;
|
|
1540
|
+
readonly default: number;
|
|
1541
|
+
};
|
|
1542
|
+
readonly gltfUrl: {
|
|
1543
|
+
readonly type: "string";
|
|
1544
|
+
};
|
|
1545
|
+
readonly shapeSpec: {
|
|
1546
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
1547
|
+
};
|
|
1548
|
+
readonly voxelVolumeSize: {
|
|
1549
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
1550
|
+
};
|
|
1551
|
+
readonly localBounds: {
|
|
1552
|
+
readonly default: {
|
|
1553
|
+
readonly min: readonly [number, number, number];
|
|
1554
|
+
readonly max: readonly [number, number, number];
|
|
1555
|
+
} | null;
|
|
1556
|
+
};
|
|
1557
|
+
readonly skinJointTemplate: {
|
|
1558
|
+
readonly default: JointTemplate[];
|
|
1559
|
+
};
|
|
1560
|
+
readonly skinInverseBindMatrices: {
|
|
1561
|
+
readonly default: Float32Array | null;
|
|
1562
|
+
};
|
|
1563
|
+
readonly animationClipRefs: {
|
|
1564
|
+
readonly default: number[];
|
|
1565
|
+
};
|
|
1566
|
+
readonly cpuCollisionPositions: {
|
|
1567
|
+
readonly default: Float32Array | null;
|
|
1568
|
+
};
|
|
1569
|
+
readonly cpuCollisionIndices: {
|
|
1570
|
+
readonly default: Uint32Array | null;
|
|
1571
|
+
};
|
|
1572
|
+
readonly cpuSkin: {
|
|
1573
|
+
readonly default: {
|
|
1574
|
+
positions: Float32Array;
|
|
1575
|
+
joints: Uint32Array;
|
|
1576
|
+
weights: Float32Array;
|
|
1577
|
+
} | null;
|
|
1578
|
+
};
|
|
1579
|
+
} & {
|
|
1580
|
+
readonly visible: {
|
|
1581
|
+
readonly type: "boolean";
|
|
1582
|
+
readonly const: true;
|
|
1583
|
+
readonly default: true;
|
|
1584
|
+
};
|
|
1585
|
+
readonly position: {
|
|
1586
|
+
readonly type: "array";
|
|
1587
|
+
readonly items: {
|
|
1588
|
+
readonly type: "number";
|
|
1589
|
+
readonly precision: 1;
|
|
1590
|
+
readonly default: number;
|
|
1591
|
+
};
|
|
1592
|
+
readonly minItems: 3;
|
|
1593
|
+
readonly maxItems: 3;
|
|
1594
|
+
readonly default: readonly [0, 0, 0];
|
|
1595
|
+
};
|
|
1596
|
+
readonly rotation: {
|
|
1597
|
+
readonly type: "array";
|
|
1598
|
+
readonly items: {
|
|
1599
|
+
readonly type: "number";
|
|
1600
|
+
readonly precision: 1;
|
|
1601
|
+
readonly default: number;
|
|
1602
|
+
};
|
|
1603
|
+
readonly minItems: 4;
|
|
1604
|
+
readonly maxItems: 4;
|
|
1605
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
1606
|
+
readonly interpolators: {
|
|
1607
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
readonly scale: {
|
|
1611
|
+
readonly type: "array";
|
|
1612
|
+
readonly items: {
|
|
1613
|
+
readonly type: "number";
|
|
1614
|
+
readonly precision: 1;
|
|
1615
|
+
readonly default: number;
|
|
1616
|
+
};
|
|
1617
|
+
readonly minItems: 3;
|
|
1618
|
+
readonly maxItems: 3;
|
|
1619
|
+
readonly default: readonly [0, 0, 0];
|
|
1620
|
+
};
|
|
1621
|
+
readonly parent: {
|
|
1622
|
+
readonly type: "integer";
|
|
1623
|
+
readonly minimum: -2147483648;
|
|
1624
|
+
readonly maximum: 2147483647;
|
|
1625
|
+
readonly default: number;
|
|
1626
|
+
};
|
|
1627
|
+
readonly _worldMatrix: {
|
|
1628
|
+
readonly nonPersistent: true;
|
|
1629
|
+
readonly type: "array";
|
|
1630
|
+
readonly items: {
|
|
1631
|
+
readonly type: "number";
|
|
1632
|
+
readonly precision: 1;
|
|
1633
|
+
readonly default: number;
|
|
1634
|
+
};
|
|
1635
|
+
readonly minItems: 16;
|
|
1636
|
+
readonly maxItems: 16;
|
|
1637
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1638
|
+
};
|
|
1639
|
+
readonly _worldBounds: {
|
|
1640
|
+
readonly nonPersistent: true;
|
|
1641
|
+
readonly type: "object";
|
|
1642
|
+
readonly properties: {
|
|
1643
|
+
readonly min: {
|
|
1644
|
+
readonly type: "array";
|
|
1645
|
+
readonly items: {
|
|
1646
|
+
readonly type: "number";
|
|
1647
|
+
readonly precision: 1;
|
|
1648
|
+
readonly default: number;
|
|
1649
|
+
};
|
|
1650
|
+
readonly minItems: 3;
|
|
1651
|
+
readonly maxItems: 3;
|
|
1652
|
+
readonly default: readonly [0, 0, 0];
|
|
1653
|
+
};
|
|
1654
|
+
readonly max: {
|
|
1655
|
+
readonly type: "array";
|
|
1656
|
+
readonly items: {
|
|
1657
|
+
readonly type: "number";
|
|
1658
|
+
readonly precision: 1;
|
|
1659
|
+
readonly default: number;
|
|
1660
|
+
};
|
|
1661
|
+
readonly minItems: 3;
|
|
1662
|
+
readonly maxItems: 3;
|
|
1663
|
+
readonly default: readonly [0, 0, 0];
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
readonly required: readonly ["min", "max"];
|
|
1667
|
+
readonly additionalProperties: false;
|
|
1668
|
+
readonly default: {
|
|
1669
|
+
readonly min: readonly [0, 0, 0];
|
|
1670
|
+
readonly max: readonly [0, 0, 0];
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
} & {} & {
|
|
1674
|
+
readonly material: {
|
|
1675
|
+
readonly type: "integer";
|
|
1676
|
+
readonly minimum: -2147483648;
|
|
1677
|
+
readonly maximum: 2147483647;
|
|
1678
|
+
readonly default: number;
|
|
1679
|
+
};
|
|
1680
|
+
readonly name: {
|
|
1681
|
+
readonly type: "string";
|
|
1682
|
+
};
|
|
1683
|
+
readonly density: {
|
|
1684
|
+
readonly type: "number";
|
|
1685
|
+
readonly precision: 1;
|
|
1686
|
+
readonly default: number;
|
|
1687
|
+
};
|
|
1688
|
+
readonly restitution: {
|
|
1689
|
+
readonly type: "number";
|
|
1690
|
+
readonly precision: 1;
|
|
1691
|
+
readonly default: number;
|
|
1692
|
+
};
|
|
1693
|
+
readonly friction: {
|
|
1694
|
+
readonly type: "number";
|
|
1695
|
+
readonly precision: 1;
|
|
1696
|
+
readonly default: number;
|
|
1697
|
+
};
|
|
1698
|
+
readonly compliance: {
|
|
1699
|
+
readonly type: "number";
|
|
1700
|
+
readonly precision: 1;
|
|
1701
|
+
readonly default: number;
|
|
1702
|
+
};
|
|
1703
|
+
readonly heatCapacity: {
|
|
1704
|
+
readonly type: "number";
|
|
1705
|
+
readonly precision: 1;
|
|
1706
|
+
readonly default: number;
|
|
1707
|
+
};
|
|
1708
|
+
readonly viscosity: {
|
|
1709
|
+
readonly type: "number";
|
|
1710
|
+
readonly precision: 1;
|
|
1711
|
+
readonly default: number;
|
|
1712
|
+
};
|
|
1713
|
+
readonly thermalConductivity: {
|
|
1714
|
+
readonly type: "number";
|
|
1715
|
+
readonly precision: 1;
|
|
1716
|
+
readonly default: number;
|
|
1717
|
+
};
|
|
1718
|
+
readonly stressStrainCurve: {
|
|
1719
|
+
readonly type: "object";
|
|
1720
|
+
readonly layout: "packed";
|
|
1721
|
+
readonly properties: {
|
|
1722
|
+
readonly tensileYieldStrainStress: {
|
|
1723
|
+
readonly type: "array";
|
|
1724
|
+
readonly items: {
|
|
1725
|
+
readonly type: "number";
|
|
1726
|
+
readonly precision: 1;
|
|
1727
|
+
readonly default: number;
|
|
1728
|
+
};
|
|
1729
|
+
readonly minItems: 2;
|
|
1730
|
+
readonly maxItems: 2;
|
|
1731
|
+
readonly default: readonly [0, 0];
|
|
1732
|
+
};
|
|
1733
|
+
readonly tensileFractureStrainStress: {
|
|
1734
|
+
readonly type: "array";
|
|
1735
|
+
readonly items: {
|
|
1736
|
+
readonly type: "number";
|
|
1737
|
+
readonly precision: 1;
|
|
1738
|
+
readonly default: number;
|
|
1739
|
+
};
|
|
1740
|
+
readonly minItems: 2;
|
|
1741
|
+
readonly maxItems: 2;
|
|
1742
|
+
readonly default: readonly [0, 0];
|
|
1743
|
+
};
|
|
1744
|
+
readonly compressiveYieldStrainStress: {
|
|
1745
|
+
readonly type: "array";
|
|
1746
|
+
readonly items: {
|
|
1747
|
+
readonly type: "number";
|
|
1748
|
+
readonly precision: 1;
|
|
1749
|
+
readonly default: number;
|
|
1750
|
+
};
|
|
1751
|
+
readonly minItems: 2;
|
|
1752
|
+
readonly maxItems: 2;
|
|
1753
|
+
readonly default: readonly [0, 0];
|
|
1754
|
+
};
|
|
1755
|
+
readonly compressiveFractureStrainStress: {
|
|
1756
|
+
readonly type: "array";
|
|
1757
|
+
readonly items: {
|
|
1758
|
+
readonly type: "number";
|
|
1759
|
+
readonly precision: 1;
|
|
1760
|
+
readonly default: number;
|
|
1761
|
+
};
|
|
1762
|
+
readonly minItems: 2;
|
|
1763
|
+
readonly maxItems: 2;
|
|
1764
|
+
readonly default: readonly [0, 0];
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
1768
|
+
};
|
|
1769
|
+
readonly baseColorFactor: {
|
|
1770
|
+
readonly type: "array";
|
|
1771
|
+
readonly items: {
|
|
1772
|
+
readonly type: "number";
|
|
1773
|
+
readonly precision: 1;
|
|
1774
|
+
readonly default: number;
|
|
1775
|
+
};
|
|
1776
|
+
readonly minItems: 4;
|
|
1777
|
+
readonly maxItems: 4;
|
|
1778
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
1779
|
+
};
|
|
1780
|
+
readonly emissiveFactor: {
|
|
1781
|
+
readonly type: "array";
|
|
1782
|
+
readonly items: {
|
|
1783
|
+
readonly type: "number";
|
|
1784
|
+
readonly precision: 1;
|
|
1785
|
+
readonly default: number;
|
|
1786
|
+
};
|
|
1787
|
+
readonly minItems: 3;
|
|
1788
|
+
readonly maxItems: 3;
|
|
1789
|
+
readonly default: readonly [0, 0, 0];
|
|
1790
|
+
};
|
|
1791
|
+
readonly metallicFactor: {
|
|
1792
|
+
readonly type: "number";
|
|
1793
|
+
readonly precision: 1;
|
|
1794
|
+
readonly default: number;
|
|
1795
|
+
};
|
|
1796
|
+
readonly roughnessFactor: {
|
|
1797
|
+
readonly type: "number";
|
|
1798
|
+
readonly precision: 1;
|
|
1799
|
+
readonly default: number;
|
|
1800
|
+
};
|
|
1801
|
+
readonly normalScale: {
|
|
1802
|
+
readonly type: "number";
|
|
1803
|
+
readonly precision: 1;
|
|
1804
|
+
readonly default: number;
|
|
1805
|
+
};
|
|
1806
|
+
readonly occlusionStrength: {
|
|
1807
|
+
readonly type: "number";
|
|
1808
|
+
readonly precision: 1;
|
|
1809
|
+
readonly default: number;
|
|
1810
|
+
};
|
|
1811
|
+
readonly irReflectance: {
|
|
1812
|
+
readonly type: "number";
|
|
1813
|
+
readonly precision: 1;
|
|
1814
|
+
readonly default: number;
|
|
1815
|
+
};
|
|
1816
|
+
readonly irEmission: {
|
|
1817
|
+
readonly type: "number";
|
|
1818
|
+
readonly precision: 1;
|
|
1819
|
+
readonly default: number;
|
|
1820
|
+
};
|
|
1821
|
+
readonly emissionMode: {
|
|
1822
|
+
readonly type: "integer";
|
|
1823
|
+
readonly minimum: 0;
|
|
1824
|
+
readonly maximum: 4294967295;
|
|
1825
|
+
readonly default: number;
|
|
1826
|
+
};
|
|
1827
|
+
readonly baseColorUrl: {
|
|
1828
|
+
readonly type: "string";
|
|
1829
|
+
};
|
|
1830
|
+
readonly metallicRoughnessUrl: {
|
|
1831
|
+
readonly type: "string";
|
|
1832
|
+
};
|
|
1833
|
+
readonly normalUrl: {
|
|
1834
|
+
readonly type: "string";
|
|
1835
|
+
};
|
|
1836
|
+
readonly occlusionUrl: {
|
|
1837
|
+
readonly type: "string";
|
|
1838
|
+
};
|
|
1839
|
+
readonly emissiveUrl: {
|
|
1840
|
+
readonly type: "string";
|
|
1841
|
+
};
|
|
1842
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
1843
|
+
readonly _gltfMeshByUrl: {
|
|
1844
|
+
readonly default: Map<string, Entity> | null;
|
|
1845
|
+
readonly nonPersistent: true;
|
|
1846
|
+
};
|
|
1847
|
+
} & {}>, {
|
|
1848
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
1849
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
1850
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
1851
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
1852
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
1853
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
1854
|
+
} & {
|
|
1855
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
1856
|
+
} & {} & {
|
|
1857
|
+
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"];
|
|
1858
|
+
}, {} & {
|
|
1859
|
+
readonly nodeChildrenOf: {
|
|
1860
|
+
readonly key: "parent";
|
|
1861
|
+
readonly archetype: "Node";
|
|
1862
|
+
};
|
|
1863
|
+
} & {} & {
|
|
1864
|
+
readonly materialByName: {
|
|
1865
|
+
readonly key: "name";
|
|
1866
|
+
readonly unique: true;
|
|
1867
|
+
readonly archetype: "Material";
|
|
1868
|
+
};
|
|
1869
|
+
}>, args: {
|
|
1870
|
+
url: string;
|
|
1871
|
+
}) => Entity;
|
|
1872
|
+
readonly insertShapeMesh: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1873
|
+
readonly mesh: {
|
|
1874
|
+
readonly type: "integer";
|
|
1875
|
+
readonly minimum: -2147483648;
|
|
1876
|
+
readonly maximum: 2147483647;
|
|
1877
|
+
readonly default: number;
|
|
1878
|
+
};
|
|
1879
|
+
readonly gltfUrl: {
|
|
1880
|
+
readonly type: "string";
|
|
1881
|
+
};
|
|
1882
|
+
readonly shapeSpec: {
|
|
1883
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
1884
|
+
};
|
|
1885
|
+
readonly voxelVolumeSize: {
|
|
1886
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
1887
|
+
};
|
|
1888
|
+
readonly localBounds: {
|
|
1889
|
+
readonly default: {
|
|
1890
|
+
readonly min: readonly [number, number, number];
|
|
1891
|
+
readonly max: readonly [number, number, number];
|
|
1892
|
+
} | null;
|
|
1893
|
+
};
|
|
1894
|
+
readonly skinJointTemplate: {
|
|
1895
|
+
readonly default: JointTemplate[];
|
|
1896
|
+
};
|
|
1897
|
+
readonly skinInverseBindMatrices: {
|
|
1898
|
+
readonly default: Float32Array | null;
|
|
1899
|
+
};
|
|
1900
|
+
readonly animationClipRefs: {
|
|
1901
|
+
readonly default: number[];
|
|
1902
|
+
};
|
|
1903
|
+
readonly cpuCollisionPositions: {
|
|
1904
|
+
readonly default: Float32Array | null;
|
|
1905
|
+
};
|
|
1906
|
+
readonly cpuCollisionIndices: {
|
|
1907
|
+
readonly default: Uint32Array | null;
|
|
1908
|
+
};
|
|
1909
|
+
readonly cpuSkin: {
|
|
1910
|
+
readonly default: {
|
|
1911
|
+
positions: Float32Array;
|
|
1912
|
+
joints: Uint32Array;
|
|
1913
|
+
weights: Float32Array;
|
|
1914
|
+
} | null;
|
|
1915
|
+
};
|
|
1916
|
+
} & {
|
|
1917
|
+
readonly visible: {
|
|
1918
|
+
readonly type: "boolean";
|
|
1919
|
+
readonly const: true;
|
|
1920
|
+
readonly default: true;
|
|
1921
|
+
};
|
|
1922
|
+
readonly position: {
|
|
1923
|
+
readonly type: "array";
|
|
1924
|
+
readonly items: {
|
|
1925
|
+
readonly type: "number";
|
|
1926
|
+
readonly precision: 1;
|
|
1927
|
+
readonly default: number;
|
|
1928
|
+
};
|
|
1929
|
+
readonly minItems: 3;
|
|
1930
|
+
readonly maxItems: 3;
|
|
1931
|
+
readonly default: readonly [0, 0, 0];
|
|
1932
|
+
};
|
|
1933
|
+
readonly rotation: {
|
|
1934
|
+
readonly type: "array";
|
|
1935
|
+
readonly items: {
|
|
1936
|
+
readonly type: "number";
|
|
1937
|
+
readonly precision: 1;
|
|
1938
|
+
readonly default: number;
|
|
1939
|
+
};
|
|
1940
|
+
readonly minItems: 4;
|
|
1941
|
+
readonly maxItems: 4;
|
|
1942
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
1943
|
+
readonly interpolators: {
|
|
1944
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
readonly scale: {
|
|
1948
|
+
readonly type: "array";
|
|
1949
|
+
readonly items: {
|
|
1950
|
+
readonly type: "number";
|
|
1951
|
+
readonly precision: 1;
|
|
1952
|
+
readonly default: number;
|
|
1953
|
+
};
|
|
1954
|
+
readonly minItems: 3;
|
|
1955
|
+
readonly maxItems: 3;
|
|
1956
|
+
readonly default: readonly [0, 0, 0];
|
|
1957
|
+
};
|
|
1958
|
+
readonly parent: {
|
|
1959
|
+
readonly type: "integer";
|
|
1960
|
+
readonly minimum: -2147483648;
|
|
1961
|
+
readonly maximum: 2147483647;
|
|
1962
|
+
readonly default: number;
|
|
1963
|
+
};
|
|
1964
|
+
readonly _worldMatrix: {
|
|
1965
|
+
readonly nonPersistent: true;
|
|
1966
|
+
readonly type: "array";
|
|
1967
|
+
readonly items: {
|
|
1968
|
+
readonly type: "number";
|
|
1969
|
+
readonly precision: 1;
|
|
1970
|
+
readonly default: number;
|
|
1971
|
+
};
|
|
1972
|
+
readonly minItems: 16;
|
|
1973
|
+
readonly maxItems: 16;
|
|
1974
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1975
|
+
};
|
|
1976
|
+
readonly _worldBounds: {
|
|
1977
|
+
readonly nonPersistent: true;
|
|
1978
|
+
readonly type: "object";
|
|
1979
|
+
readonly properties: {
|
|
1980
|
+
readonly min: {
|
|
1981
|
+
readonly type: "array";
|
|
1982
|
+
readonly items: {
|
|
1983
|
+
readonly type: "number";
|
|
1984
|
+
readonly precision: 1;
|
|
1985
|
+
readonly default: number;
|
|
1986
|
+
};
|
|
1987
|
+
readonly minItems: 3;
|
|
1988
|
+
readonly maxItems: 3;
|
|
1989
|
+
readonly default: readonly [0, 0, 0];
|
|
1990
|
+
};
|
|
1991
|
+
readonly max: {
|
|
1992
|
+
readonly type: "array";
|
|
1993
|
+
readonly items: {
|
|
1994
|
+
readonly type: "number";
|
|
1995
|
+
readonly precision: 1;
|
|
1996
|
+
readonly default: number;
|
|
1997
|
+
};
|
|
1998
|
+
readonly minItems: 3;
|
|
1999
|
+
readonly maxItems: 3;
|
|
2000
|
+
readonly default: readonly [0, 0, 0];
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
2003
|
+
readonly required: readonly ["min", "max"];
|
|
2004
|
+
readonly additionalProperties: false;
|
|
2005
|
+
readonly default: {
|
|
2006
|
+
readonly min: readonly [0, 0, 0];
|
|
2007
|
+
readonly max: readonly [0, 0, 0];
|
|
2008
|
+
};
|
|
2009
|
+
};
|
|
2010
|
+
} & {} & {
|
|
2011
|
+
readonly material: {
|
|
2012
|
+
readonly type: "integer";
|
|
2013
|
+
readonly minimum: -2147483648;
|
|
2014
|
+
readonly maximum: 2147483647;
|
|
2015
|
+
readonly default: number;
|
|
2016
|
+
};
|
|
2017
|
+
readonly name: {
|
|
2018
|
+
readonly type: "string";
|
|
2019
|
+
};
|
|
2020
|
+
readonly density: {
|
|
2021
|
+
readonly type: "number";
|
|
2022
|
+
readonly precision: 1;
|
|
2023
|
+
readonly default: number;
|
|
2024
|
+
};
|
|
2025
|
+
readonly restitution: {
|
|
2026
|
+
readonly type: "number";
|
|
2027
|
+
readonly precision: 1;
|
|
2028
|
+
readonly default: number;
|
|
2029
|
+
};
|
|
2030
|
+
readonly friction: {
|
|
2031
|
+
readonly type: "number";
|
|
2032
|
+
readonly precision: 1;
|
|
2033
|
+
readonly default: number;
|
|
2034
|
+
};
|
|
2035
|
+
readonly compliance: {
|
|
2036
|
+
readonly type: "number";
|
|
2037
|
+
readonly precision: 1;
|
|
2038
|
+
readonly default: number;
|
|
2039
|
+
};
|
|
2040
|
+
readonly heatCapacity: {
|
|
2041
|
+
readonly type: "number";
|
|
2042
|
+
readonly precision: 1;
|
|
2043
|
+
readonly default: number;
|
|
2044
|
+
};
|
|
2045
|
+
readonly viscosity: {
|
|
2046
|
+
readonly type: "number";
|
|
2047
|
+
readonly precision: 1;
|
|
2048
|
+
readonly default: number;
|
|
2049
|
+
};
|
|
2050
|
+
readonly thermalConductivity: {
|
|
2051
|
+
readonly type: "number";
|
|
2052
|
+
readonly precision: 1;
|
|
2053
|
+
readonly default: number;
|
|
2054
|
+
};
|
|
2055
|
+
readonly stressStrainCurve: {
|
|
2056
|
+
readonly type: "object";
|
|
2057
|
+
readonly layout: "packed";
|
|
2058
|
+
readonly properties: {
|
|
2059
|
+
readonly tensileYieldStrainStress: {
|
|
2060
|
+
readonly type: "array";
|
|
2061
|
+
readonly items: {
|
|
2062
|
+
readonly type: "number";
|
|
2063
|
+
readonly precision: 1;
|
|
2064
|
+
readonly default: number;
|
|
2065
|
+
};
|
|
2066
|
+
readonly minItems: 2;
|
|
2067
|
+
readonly maxItems: 2;
|
|
2068
|
+
readonly default: readonly [0, 0];
|
|
2069
|
+
};
|
|
2070
|
+
readonly tensileFractureStrainStress: {
|
|
2071
|
+
readonly type: "array";
|
|
2072
|
+
readonly items: {
|
|
2073
|
+
readonly type: "number";
|
|
2074
|
+
readonly precision: 1;
|
|
2075
|
+
readonly default: number;
|
|
2076
|
+
};
|
|
2077
|
+
readonly minItems: 2;
|
|
2078
|
+
readonly maxItems: 2;
|
|
2079
|
+
readonly default: readonly [0, 0];
|
|
2080
|
+
};
|
|
2081
|
+
readonly compressiveYieldStrainStress: {
|
|
2082
|
+
readonly type: "array";
|
|
2083
|
+
readonly items: {
|
|
2084
|
+
readonly type: "number";
|
|
2085
|
+
readonly precision: 1;
|
|
2086
|
+
readonly default: number;
|
|
2087
|
+
};
|
|
2088
|
+
readonly minItems: 2;
|
|
2089
|
+
readonly maxItems: 2;
|
|
2090
|
+
readonly default: readonly [0, 0];
|
|
2091
|
+
};
|
|
2092
|
+
readonly compressiveFractureStrainStress: {
|
|
2093
|
+
readonly type: "array";
|
|
2094
|
+
readonly items: {
|
|
2095
|
+
readonly type: "number";
|
|
2096
|
+
readonly precision: 1;
|
|
2097
|
+
readonly default: number;
|
|
2098
|
+
};
|
|
2099
|
+
readonly minItems: 2;
|
|
2100
|
+
readonly maxItems: 2;
|
|
2101
|
+
readonly default: readonly [0, 0];
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
2105
|
+
};
|
|
2106
|
+
readonly baseColorFactor: {
|
|
2107
|
+
readonly type: "array";
|
|
2108
|
+
readonly items: {
|
|
2109
|
+
readonly type: "number";
|
|
2110
|
+
readonly precision: 1;
|
|
2111
|
+
readonly default: number;
|
|
2112
|
+
};
|
|
2113
|
+
readonly minItems: 4;
|
|
2114
|
+
readonly maxItems: 4;
|
|
2115
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
2116
|
+
};
|
|
2117
|
+
readonly emissiveFactor: {
|
|
2118
|
+
readonly type: "array";
|
|
2119
|
+
readonly items: {
|
|
2120
|
+
readonly type: "number";
|
|
2121
|
+
readonly precision: 1;
|
|
2122
|
+
readonly default: number;
|
|
2123
|
+
};
|
|
2124
|
+
readonly minItems: 3;
|
|
2125
|
+
readonly maxItems: 3;
|
|
2126
|
+
readonly default: readonly [0, 0, 0];
|
|
2127
|
+
};
|
|
2128
|
+
readonly metallicFactor: {
|
|
2129
|
+
readonly type: "number";
|
|
2130
|
+
readonly precision: 1;
|
|
2131
|
+
readonly default: number;
|
|
2132
|
+
};
|
|
2133
|
+
readonly roughnessFactor: {
|
|
2134
|
+
readonly type: "number";
|
|
2135
|
+
readonly precision: 1;
|
|
2136
|
+
readonly default: number;
|
|
2137
|
+
};
|
|
2138
|
+
readonly normalScale: {
|
|
2139
|
+
readonly type: "number";
|
|
2140
|
+
readonly precision: 1;
|
|
2141
|
+
readonly default: number;
|
|
2142
|
+
};
|
|
2143
|
+
readonly occlusionStrength: {
|
|
2144
|
+
readonly type: "number";
|
|
2145
|
+
readonly precision: 1;
|
|
2146
|
+
readonly default: number;
|
|
2147
|
+
};
|
|
2148
|
+
readonly irReflectance: {
|
|
2149
|
+
readonly type: "number";
|
|
2150
|
+
readonly precision: 1;
|
|
2151
|
+
readonly default: number;
|
|
2152
|
+
};
|
|
2153
|
+
readonly irEmission: {
|
|
2154
|
+
readonly type: "number";
|
|
2155
|
+
readonly precision: 1;
|
|
2156
|
+
readonly default: number;
|
|
2157
|
+
};
|
|
2158
|
+
readonly emissionMode: {
|
|
2159
|
+
readonly type: "integer";
|
|
2160
|
+
readonly minimum: 0;
|
|
2161
|
+
readonly maximum: 4294967295;
|
|
2162
|
+
readonly default: number;
|
|
2163
|
+
};
|
|
2164
|
+
readonly baseColorUrl: {
|
|
2165
|
+
readonly type: "string";
|
|
2166
|
+
};
|
|
2167
|
+
readonly metallicRoughnessUrl: {
|
|
2168
|
+
readonly type: "string";
|
|
2169
|
+
};
|
|
2170
|
+
readonly normalUrl: {
|
|
2171
|
+
readonly type: "string";
|
|
2172
|
+
};
|
|
2173
|
+
readonly occlusionUrl: {
|
|
2174
|
+
readonly type: "string";
|
|
2175
|
+
};
|
|
2176
|
+
readonly emissiveUrl: {
|
|
2177
|
+
readonly type: "string";
|
|
2178
|
+
};
|
|
2179
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
2180
|
+
readonly _gltfMeshByUrl: {
|
|
2181
|
+
readonly default: Map<string, Entity> | null;
|
|
2182
|
+
readonly nonPersistent: true;
|
|
2183
|
+
};
|
|
2184
|
+
} & {}>, {
|
|
2185
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
2186
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
2187
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
2188
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
2189
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
2190
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
2191
|
+
} & {
|
|
2192
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
2193
|
+
} & {} & {
|
|
2194
|
+
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"];
|
|
2195
|
+
}, {} & {
|
|
2196
|
+
readonly nodeChildrenOf: {
|
|
2197
|
+
readonly key: "parent";
|
|
2198
|
+
readonly archetype: "Node";
|
|
2199
|
+
};
|
|
2200
|
+
} & {} & {
|
|
2201
|
+
readonly materialByName: {
|
|
2202
|
+
readonly key: "name";
|
|
2203
|
+
readonly unique: true;
|
|
2204
|
+
readonly archetype: "Material";
|
|
2205
|
+
};
|
|
2206
|
+
}>, args: {
|
|
2207
|
+
shapeSpec: import("../../public.js").ShapeSpec;
|
|
2208
|
+
}) => Entity;
|
|
2209
|
+
readonly insertMeshInstance: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
2210
|
+
readonly mesh: {
|
|
2211
|
+
readonly type: "integer";
|
|
2212
|
+
readonly minimum: -2147483648;
|
|
2213
|
+
readonly maximum: 2147483647;
|
|
2214
|
+
readonly default: number;
|
|
2215
|
+
};
|
|
2216
|
+
readonly gltfUrl: {
|
|
2217
|
+
readonly type: "string";
|
|
2218
|
+
};
|
|
2219
|
+
readonly shapeSpec: {
|
|
2220
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
2221
|
+
};
|
|
2222
|
+
readonly voxelVolumeSize: {
|
|
2223
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
2224
|
+
};
|
|
2225
|
+
readonly localBounds: {
|
|
2226
|
+
readonly default: {
|
|
2227
|
+
readonly min: readonly [number, number, number];
|
|
2228
|
+
readonly max: readonly [number, number, number];
|
|
2229
|
+
} | null;
|
|
2230
|
+
};
|
|
2231
|
+
readonly skinJointTemplate: {
|
|
2232
|
+
readonly default: JointTemplate[];
|
|
2233
|
+
};
|
|
2234
|
+
readonly skinInverseBindMatrices: {
|
|
2235
|
+
readonly default: Float32Array | null;
|
|
2236
|
+
};
|
|
2237
|
+
readonly animationClipRefs: {
|
|
2238
|
+
readonly default: number[];
|
|
2239
|
+
};
|
|
2240
|
+
readonly cpuCollisionPositions: {
|
|
2241
|
+
readonly default: Float32Array | null;
|
|
2242
|
+
};
|
|
2243
|
+
readonly cpuCollisionIndices: {
|
|
2244
|
+
readonly default: Uint32Array | null;
|
|
2245
|
+
};
|
|
2246
|
+
readonly cpuSkin: {
|
|
2247
|
+
readonly default: {
|
|
2248
|
+
positions: Float32Array;
|
|
2249
|
+
joints: Uint32Array;
|
|
2250
|
+
weights: Float32Array;
|
|
2251
|
+
} | null;
|
|
2252
|
+
};
|
|
2253
|
+
} & {
|
|
2254
|
+
readonly visible: {
|
|
2255
|
+
readonly type: "boolean";
|
|
2256
|
+
readonly const: true;
|
|
2257
|
+
readonly default: true;
|
|
2258
|
+
};
|
|
2259
|
+
readonly position: {
|
|
2260
|
+
readonly type: "array";
|
|
2261
|
+
readonly items: {
|
|
2262
|
+
readonly type: "number";
|
|
2263
|
+
readonly precision: 1;
|
|
2264
|
+
readonly default: number;
|
|
2265
|
+
};
|
|
2266
|
+
readonly minItems: 3;
|
|
2267
|
+
readonly maxItems: 3;
|
|
2268
|
+
readonly default: readonly [0, 0, 0];
|
|
2269
|
+
};
|
|
2270
|
+
readonly rotation: {
|
|
2271
|
+
readonly type: "array";
|
|
2272
|
+
readonly items: {
|
|
2273
|
+
readonly type: "number";
|
|
2274
|
+
readonly precision: 1;
|
|
2275
|
+
readonly default: number;
|
|
2276
|
+
};
|
|
2277
|
+
readonly minItems: 4;
|
|
2278
|
+
readonly maxItems: 4;
|
|
2279
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
2280
|
+
readonly interpolators: {
|
|
2281
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
readonly scale: {
|
|
2285
|
+
readonly type: "array";
|
|
2286
|
+
readonly items: {
|
|
2287
|
+
readonly type: "number";
|
|
2288
|
+
readonly precision: 1;
|
|
2289
|
+
readonly default: number;
|
|
2290
|
+
};
|
|
2291
|
+
readonly minItems: 3;
|
|
2292
|
+
readonly maxItems: 3;
|
|
2293
|
+
readonly default: readonly [0, 0, 0];
|
|
2294
|
+
};
|
|
2295
|
+
readonly parent: {
|
|
2296
|
+
readonly type: "integer";
|
|
2297
|
+
readonly minimum: -2147483648;
|
|
2298
|
+
readonly maximum: 2147483647;
|
|
2299
|
+
readonly default: number;
|
|
2300
|
+
};
|
|
2301
|
+
readonly _worldMatrix: {
|
|
2302
|
+
readonly nonPersistent: true;
|
|
2303
|
+
readonly type: "array";
|
|
2304
|
+
readonly items: {
|
|
2305
|
+
readonly type: "number";
|
|
2306
|
+
readonly precision: 1;
|
|
2307
|
+
readonly default: number;
|
|
2308
|
+
};
|
|
2309
|
+
readonly minItems: 16;
|
|
2310
|
+
readonly maxItems: 16;
|
|
2311
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2312
|
+
};
|
|
2313
|
+
readonly _worldBounds: {
|
|
2314
|
+
readonly nonPersistent: true;
|
|
2315
|
+
readonly type: "object";
|
|
2316
|
+
readonly properties: {
|
|
2317
|
+
readonly min: {
|
|
2318
|
+
readonly type: "array";
|
|
2319
|
+
readonly items: {
|
|
2320
|
+
readonly type: "number";
|
|
2321
|
+
readonly precision: 1;
|
|
2322
|
+
readonly default: number;
|
|
2323
|
+
};
|
|
2324
|
+
readonly minItems: 3;
|
|
2325
|
+
readonly maxItems: 3;
|
|
2326
|
+
readonly default: readonly [0, 0, 0];
|
|
2327
|
+
};
|
|
2328
|
+
readonly max: {
|
|
2329
|
+
readonly type: "array";
|
|
2330
|
+
readonly items: {
|
|
2331
|
+
readonly type: "number";
|
|
2332
|
+
readonly precision: 1;
|
|
2333
|
+
readonly default: number;
|
|
2334
|
+
};
|
|
2335
|
+
readonly minItems: 3;
|
|
2336
|
+
readonly maxItems: 3;
|
|
2337
|
+
readonly default: readonly [0, 0, 0];
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
readonly required: readonly ["min", "max"];
|
|
2341
|
+
readonly additionalProperties: false;
|
|
2342
|
+
readonly default: {
|
|
2343
|
+
readonly min: readonly [0, 0, 0];
|
|
2344
|
+
readonly max: readonly [0, 0, 0];
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
} & {} & {
|
|
2348
|
+
readonly material: {
|
|
2349
|
+
readonly type: "integer";
|
|
2350
|
+
readonly minimum: -2147483648;
|
|
2351
|
+
readonly maximum: 2147483647;
|
|
2352
|
+
readonly default: number;
|
|
2353
|
+
};
|
|
2354
|
+
readonly name: {
|
|
2355
|
+
readonly type: "string";
|
|
2356
|
+
};
|
|
2357
|
+
readonly density: {
|
|
2358
|
+
readonly type: "number";
|
|
2359
|
+
readonly precision: 1;
|
|
2360
|
+
readonly default: number;
|
|
2361
|
+
};
|
|
2362
|
+
readonly restitution: {
|
|
2363
|
+
readonly type: "number";
|
|
2364
|
+
readonly precision: 1;
|
|
2365
|
+
readonly default: number;
|
|
2366
|
+
};
|
|
2367
|
+
readonly friction: {
|
|
2368
|
+
readonly type: "number";
|
|
2369
|
+
readonly precision: 1;
|
|
2370
|
+
readonly default: number;
|
|
2371
|
+
};
|
|
2372
|
+
readonly compliance: {
|
|
2373
|
+
readonly type: "number";
|
|
2374
|
+
readonly precision: 1;
|
|
2375
|
+
readonly default: number;
|
|
2376
|
+
};
|
|
2377
|
+
readonly heatCapacity: {
|
|
2378
|
+
readonly type: "number";
|
|
2379
|
+
readonly precision: 1;
|
|
2380
|
+
readonly default: number;
|
|
2381
|
+
};
|
|
2382
|
+
readonly viscosity: {
|
|
2383
|
+
readonly type: "number";
|
|
2384
|
+
readonly precision: 1;
|
|
2385
|
+
readonly default: number;
|
|
2386
|
+
};
|
|
2387
|
+
readonly thermalConductivity: {
|
|
2388
|
+
readonly type: "number";
|
|
2389
|
+
readonly precision: 1;
|
|
2390
|
+
readonly default: number;
|
|
2391
|
+
};
|
|
2392
|
+
readonly stressStrainCurve: {
|
|
2393
|
+
readonly type: "object";
|
|
2394
|
+
readonly layout: "packed";
|
|
2395
|
+
readonly properties: {
|
|
2396
|
+
readonly tensileYieldStrainStress: {
|
|
2397
|
+
readonly type: "array";
|
|
2398
|
+
readonly items: {
|
|
2399
|
+
readonly type: "number";
|
|
2400
|
+
readonly precision: 1;
|
|
2401
|
+
readonly default: number;
|
|
2402
|
+
};
|
|
2403
|
+
readonly minItems: 2;
|
|
2404
|
+
readonly maxItems: 2;
|
|
2405
|
+
readonly default: readonly [0, 0];
|
|
2406
|
+
};
|
|
2407
|
+
readonly tensileFractureStrainStress: {
|
|
2408
|
+
readonly type: "array";
|
|
2409
|
+
readonly items: {
|
|
2410
|
+
readonly type: "number";
|
|
2411
|
+
readonly precision: 1;
|
|
2412
|
+
readonly default: number;
|
|
2413
|
+
};
|
|
2414
|
+
readonly minItems: 2;
|
|
2415
|
+
readonly maxItems: 2;
|
|
2416
|
+
readonly default: readonly [0, 0];
|
|
2417
|
+
};
|
|
2418
|
+
readonly compressiveYieldStrainStress: {
|
|
2419
|
+
readonly type: "array";
|
|
2420
|
+
readonly items: {
|
|
2421
|
+
readonly type: "number";
|
|
2422
|
+
readonly precision: 1;
|
|
2423
|
+
readonly default: number;
|
|
2424
|
+
};
|
|
2425
|
+
readonly minItems: 2;
|
|
2426
|
+
readonly maxItems: 2;
|
|
2427
|
+
readonly default: readonly [0, 0];
|
|
2428
|
+
};
|
|
2429
|
+
readonly compressiveFractureStrainStress: {
|
|
2430
|
+
readonly type: "array";
|
|
2431
|
+
readonly items: {
|
|
2432
|
+
readonly type: "number";
|
|
2433
|
+
readonly precision: 1;
|
|
2434
|
+
readonly default: number;
|
|
2435
|
+
};
|
|
2436
|
+
readonly minItems: 2;
|
|
2437
|
+
readonly maxItems: 2;
|
|
2438
|
+
readonly default: readonly [0, 0];
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
2442
|
+
};
|
|
2443
|
+
readonly baseColorFactor: {
|
|
2444
|
+
readonly type: "array";
|
|
2445
|
+
readonly items: {
|
|
2446
|
+
readonly type: "number";
|
|
2447
|
+
readonly precision: 1;
|
|
2448
|
+
readonly default: number;
|
|
2449
|
+
};
|
|
2450
|
+
readonly minItems: 4;
|
|
2451
|
+
readonly maxItems: 4;
|
|
2452
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
2453
|
+
};
|
|
2454
|
+
readonly emissiveFactor: {
|
|
2455
|
+
readonly type: "array";
|
|
2456
|
+
readonly items: {
|
|
2457
|
+
readonly type: "number";
|
|
2458
|
+
readonly precision: 1;
|
|
2459
|
+
readonly default: number;
|
|
2460
|
+
};
|
|
2461
|
+
readonly minItems: 3;
|
|
2462
|
+
readonly maxItems: 3;
|
|
2463
|
+
readonly default: readonly [0, 0, 0];
|
|
2464
|
+
};
|
|
2465
|
+
readonly metallicFactor: {
|
|
2466
|
+
readonly type: "number";
|
|
2467
|
+
readonly precision: 1;
|
|
2468
|
+
readonly default: number;
|
|
2469
|
+
};
|
|
2470
|
+
readonly roughnessFactor: {
|
|
2471
|
+
readonly type: "number";
|
|
2472
|
+
readonly precision: 1;
|
|
2473
|
+
readonly default: number;
|
|
2474
|
+
};
|
|
2475
|
+
readonly normalScale: {
|
|
2476
|
+
readonly type: "number";
|
|
2477
|
+
readonly precision: 1;
|
|
2478
|
+
readonly default: number;
|
|
2479
|
+
};
|
|
2480
|
+
readonly occlusionStrength: {
|
|
2481
|
+
readonly type: "number";
|
|
2482
|
+
readonly precision: 1;
|
|
2483
|
+
readonly default: number;
|
|
2484
|
+
};
|
|
2485
|
+
readonly irReflectance: {
|
|
2486
|
+
readonly type: "number";
|
|
2487
|
+
readonly precision: 1;
|
|
2488
|
+
readonly default: number;
|
|
2489
|
+
};
|
|
2490
|
+
readonly irEmission: {
|
|
2491
|
+
readonly type: "number";
|
|
2492
|
+
readonly precision: 1;
|
|
2493
|
+
readonly default: number;
|
|
2494
|
+
};
|
|
2495
|
+
readonly emissionMode: {
|
|
2496
|
+
readonly type: "integer";
|
|
2497
|
+
readonly minimum: 0;
|
|
2498
|
+
readonly maximum: 4294967295;
|
|
2499
|
+
readonly default: number;
|
|
2500
|
+
};
|
|
2501
|
+
readonly baseColorUrl: {
|
|
2502
|
+
readonly type: "string";
|
|
2503
|
+
};
|
|
2504
|
+
readonly metallicRoughnessUrl: {
|
|
2505
|
+
readonly type: "string";
|
|
2506
|
+
};
|
|
2507
|
+
readonly normalUrl: {
|
|
2508
|
+
readonly type: "string";
|
|
2509
|
+
};
|
|
2510
|
+
readonly occlusionUrl: {
|
|
2511
|
+
readonly type: "string";
|
|
2512
|
+
};
|
|
2513
|
+
readonly emissiveUrl: {
|
|
2514
|
+
readonly type: "string";
|
|
2515
|
+
};
|
|
2516
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
2517
|
+
readonly _gltfMeshByUrl: {
|
|
2518
|
+
readonly default: Map<string, Entity> | null;
|
|
2519
|
+
readonly nonPersistent: true;
|
|
2520
|
+
};
|
|
2521
|
+
} & {}>, {
|
|
2522
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
2523
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
2524
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
2525
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
2526
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
2527
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
549
2528
|
} & {
|
|
550
2529
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
551
|
-
} & {}
|
|
552
|
-
|
|
553
|
-
}
|
|
2530
|
+
} & {} & {
|
|
2531
|
+
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"];
|
|
2532
|
+
}, {} & {
|
|
2533
|
+
readonly nodeChildrenOf: {
|
|
2534
|
+
readonly key: "parent";
|
|
2535
|
+
readonly archetype: "Node";
|
|
2536
|
+
};
|
|
2537
|
+
} & {} & {
|
|
2538
|
+
readonly materialByName: {
|
|
2539
|
+
readonly key: "name";
|
|
2540
|
+
readonly unique: true;
|
|
2541
|
+
readonly archetype: "Material";
|
|
2542
|
+
};
|
|
2543
|
+
}>, args: {
|
|
2544
|
+
mesh: Entity;
|
|
2545
|
+
material: Entity;
|
|
2546
|
+
position?: import("@adobe/data/math").Vec3;
|
|
2547
|
+
rotation?: import("@adobe/data/math").Quat;
|
|
2548
|
+
scale?: import("@adobe/data/math").Vec3;
|
|
2549
|
+
}) => Entity;
|
|
554
2550
|
readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
555
|
-
readonly
|
|
2551
|
+
readonly mesh: {
|
|
2552
|
+
readonly type: "integer";
|
|
2553
|
+
readonly minimum: -2147483648;
|
|
2554
|
+
readonly maximum: 2147483647;
|
|
2555
|
+
readonly default: number;
|
|
2556
|
+
};
|
|
2557
|
+
readonly gltfUrl: {
|
|
2558
|
+
readonly type: "string";
|
|
2559
|
+
};
|
|
2560
|
+
readonly shapeSpec: {
|
|
2561
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
2562
|
+
};
|
|
2563
|
+
readonly voxelVolumeSize: {
|
|
2564
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
2565
|
+
};
|
|
2566
|
+
readonly localBounds: {
|
|
2567
|
+
readonly default: {
|
|
2568
|
+
readonly min: readonly [number, number, number];
|
|
2569
|
+
readonly max: readonly [number, number, number];
|
|
2570
|
+
} | null;
|
|
2571
|
+
};
|
|
2572
|
+
readonly skinJointTemplate: {
|
|
2573
|
+
readonly default: JointTemplate[];
|
|
2574
|
+
};
|
|
2575
|
+
readonly skinInverseBindMatrices: {
|
|
2576
|
+
readonly default: Float32Array | null;
|
|
2577
|
+
};
|
|
2578
|
+
readonly animationClipRefs: {
|
|
2579
|
+
readonly default: number[];
|
|
2580
|
+
};
|
|
2581
|
+
readonly cpuCollisionPositions: {
|
|
2582
|
+
readonly default: Float32Array | null;
|
|
2583
|
+
};
|
|
2584
|
+
readonly cpuCollisionIndices: {
|
|
2585
|
+
readonly default: Uint32Array | null;
|
|
2586
|
+
};
|
|
2587
|
+
readonly cpuSkin: {
|
|
2588
|
+
readonly default: {
|
|
2589
|
+
positions: Float32Array;
|
|
2590
|
+
joints: Uint32Array;
|
|
2591
|
+
weights: Float32Array;
|
|
2592
|
+
} | null;
|
|
2593
|
+
};
|
|
2594
|
+
} & {
|
|
2595
|
+
readonly visible: {
|
|
2596
|
+
readonly type: "boolean";
|
|
2597
|
+
readonly const: true;
|
|
2598
|
+
readonly default: true;
|
|
2599
|
+
};
|
|
2600
|
+
readonly position: {
|
|
2601
|
+
readonly type: "array";
|
|
2602
|
+
readonly items: {
|
|
2603
|
+
readonly type: "number";
|
|
2604
|
+
readonly precision: 1;
|
|
2605
|
+
readonly default: number;
|
|
2606
|
+
};
|
|
2607
|
+
readonly minItems: 3;
|
|
2608
|
+
readonly maxItems: 3;
|
|
2609
|
+
readonly default: readonly [0, 0, 0];
|
|
2610
|
+
};
|
|
2611
|
+
readonly rotation: {
|
|
2612
|
+
readonly type: "array";
|
|
2613
|
+
readonly items: {
|
|
2614
|
+
readonly type: "number";
|
|
2615
|
+
readonly precision: 1;
|
|
2616
|
+
readonly default: number;
|
|
2617
|
+
};
|
|
2618
|
+
readonly minItems: 4;
|
|
2619
|
+
readonly maxItems: 4;
|
|
2620
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
2621
|
+
readonly interpolators: {
|
|
2622
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
readonly scale: {
|
|
2626
|
+
readonly type: "array";
|
|
2627
|
+
readonly items: {
|
|
2628
|
+
readonly type: "number";
|
|
2629
|
+
readonly precision: 1;
|
|
2630
|
+
readonly default: number;
|
|
2631
|
+
};
|
|
2632
|
+
readonly minItems: 3;
|
|
2633
|
+
readonly maxItems: 3;
|
|
2634
|
+
readonly default: readonly [0, 0, 0];
|
|
2635
|
+
};
|
|
2636
|
+
readonly parent: {
|
|
2637
|
+
readonly type: "integer";
|
|
2638
|
+
readonly minimum: -2147483648;
|
|
2639
|
+
readonly maximum: 2147483647;
|
|
2640
|
+
readonly default: number;
|
|
2641
|
+
};
|
|
2642
|
+
readonly _worldMatrix: {
|
|
2643
|
+
readonly nonPersistent: true;
|
|
2644
|
+
readonly type: "array";
|
|
2645
|
+
readonly items: {
|
|
2646
|
+
readonly type: "number";
|
|
2647
|
+
readonly precision: 1;
|
|
2648
|
+
readonly default: number;
|
|
2649
|
+
};
|
|
2650
|
+
readonly minItems: 16;
|
|
2651
|
+
readonly maxItems: 16;
|
|
2652
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
2653
|
+
};
|
|
2654
|
+
readonly _worldBounds: {
|
|
2655
|
+
readonly nonPersistent: true;
|
|
2656
|
+
readonly type: "object";
|
|
2657
|
+
readonly properties: {
|
|
2658
|
+
readonly min: {
|
|
2659
|
+
readonly type: "array";
|
|
2660
|
+
readonly items: {
|
|
2661
|
+
readonly type: "number";
|
|
2662
|
+
readonly precision: 1;
|
|
2663
|
+
readonly default: number;
|
|
2664
|
+
};
|
|
2665
|
+
readonly minItems: 3;
|
|
2666
|
+
readonly maxItems: 3;
|
|
2667
|
+
readonly default: readonly [0, 0, 0];
|
|
2668
|
+
};
|
|
2669
|
+
readonly max: {
|
|
2670
|
+
readonly type: "array";
|
|
2671
|
+
readonly items: {
|
|
2672
|
+
readonly type: "number";
|
|
2673
|
+
readonly precision: 1;
|
|
2674
|
+
readonly default: number;
|
|
2675
|
+
};
|
|
2676
|
+
readonly minItems: 3;
|
|
2677
|
+
readonly maxItems: 3;
|
|
2678
|
+
readonly default: readonly [0, 0, 0];
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
readonly required: readonly ["min", "max"];
|
|
2682
|
+
readonly additionalProperties: false;
|
|
2683
|
+
readonly default: {
|
|
2684
|
+
readonly min: readonly [0, 0, 0];
|
|
2685
|
+
readonly max: readonly [0, 0, 0];
|
|
2686
|
+
};
|
|
2687
|
+
};
|
|
2688
|
+
} & {} & {
|
|
2689
|
+
readonly material: {
|
|
2690
|
+
readonly type: "integer";
|
|
2691
|
+
readonly minimum: -2147483648;
|
|
2692
|
+
readonly maximum: 2147483647;
|
|
2693
|
+
readonly default: number;
|
|
2694
|
+
};
|
|
2695
|
+
readonly name: {
|
|
556
2696
|
readonly type: "string";
|
|
557
2697
|
};
|
|
558
|
-
readonly
|
|
2698
|
+
readonly density: {
|
|
2699
|
+
readonly type: "number";
|
|
2700
|
+
readonly precision: 1;
|
|
2701
|
+
readonly default: number;
|
|
2702
|
+
};
|
|
2703
|
+
readonly restitution: {
|
|
2704
|
+
readonly type: "number";
|
|
2705
|
+
readonly precision: 1;
|
|
2706
|
+
readonly default: number;
|
|
2707
|
+
};
|
|
2708
|
+
readonly friction: {
|
|
2709
|
+
readonly type: "number";
|
|
2710
|
+
readonly precision: 1;
|
|
2711
|
+
readonly default: number;
|
|
2712
|
+
};
|
|
2713
|
+
readonly compliance: {
|
|
2714
|
+
readonly type: "number";
|
|
2715
|
+
readonly precision: 1;
|
|
2716
|
+
readonly default: number;
|
|
2717
|
+
};
|
|
2718
|
+
readonly heatCapacity: {
|
|
2719
|
+
readonly type: "number";
|
|
2720
|
+
readonly precision: 1;
|
|
2721
|
+
readonly default: number;
|
|
2722
|
+
};
|
|
2723
|
+
readonly viscosity: {
|
|
2724
|
+
readonly type: "number";
|
|
2725
|
+
readonly precision: 1;
|
|
2726
|
+
readonly default: number;
|
|
2727
|
+
};
|
|
2728
|
+
readonly thermalConductivity: {
|
|
2729
|
+
readonly type: "number";
|
|
2730
|
+
readonly precision: 1;
|
|
2731
|
+
readonly default: number;
|
|
2732
|
+
};
|
|
2733
|
+
readonly stressStrainCurve: {
|
|
2734
|
+
readonly type: "object";
|
|
2735
|
+
readonly layout: "packed";
|
|
2736
|
+
readonly properties: {
|
|
2737
|
+
readonly tensileYieldStrainStress: {
|
|
2738
|
+
readonly type: "array";
|
|
2739
|
+
readonly items: {
|
|
2740
|
+
readonly type: "number";
|
|
2741
|
+
readonly precision: 1;
|
|
2742
|
+
readonly default: number;
|
|
2743
|
+
};
|
|
2744
|
+
readonly minItems: 2;
|
|
2745
|
+
readonly maxItems: 2;
|
|
2746
|
+
readonly default: readonly [0, 0];
|
|
2747
|
+
};
|
|
2748
|
+
readonly tensileFractureStrainStress: {
|
|
2749
|
+
readonly type: "array";
|
|
2750
|
+
readonly items: {
|
|
2751
|
+
readonly type: "number";
|
|
2752
|
+
readonly precision: 1;
|
|
2753
|
+
readonly default: number;
|
|
2754
|
+
};
|
|
2755
|
+
readonly minItems: 2;
|
|
2756
|
+
readonly maxItems: 2;
|
|
2757
|
+
readonly default: readonly [0, 0];
|
|
2758
|
+
};
|
|
2759
|
+
readonly compressiveYieldStrainStress: {
|
|
2760
|
+
readonly type: "array";
|
|
2761
|
+
readonly items: {
|
|
2762
|
+
readonly type: "number";
|
|
2763
|
+
readonly precision: 1;
|
|
2764
|
+
readonly default: number;
|
|
2765
|
+
};
|
|
2766
|
+
readonly minItems: 2;
|
|
2767
|
+
readonly maxItems: 2;
|
|
2768
|
+
readonly default: readonly [0, 0];
|
|
2769
|
+
};
|
|
2770
|
+
readonly compressiveFractureStrainStress: {
|
|
2771
|
+
readonly type: "array";
|
|
2772
|
+
readonly items: {
|
|
2773
|
+
readonly type: "number";
|
|
2774
|
+
readonly precision: 1;
|
|
2775
|
+
readonly default: number;
|
|
2776
|
+
};
|
|
2777
|
+
readonly minItems: 2;
|
|
2778
|
+
readonly maxItems: 2;
|
|
2779
|
+
readonly default: readonly [0, 0];
|
|
2780
|
+
};
|
|
2781
|
+
};
|
|
2782
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
2783
|
+
};
|
|
2784
|
+
readonly baseColorFactor: {
|
|
2785
|
+
readonly type: "array";
|
|
2786
|
+
readonly items: {
|
|
2787
|
+
readonly type: "number";
|
|
2788
|
+
readonly precision: 1;
|
|
2789
|
+
readonly default: number;
|
|
2790
|
+
};
|
|
2791
|
+
readonly minItems: 4;
|
|
2792
|
+
readonly maxItems: 4;
|
|
2793
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
2794
|
+
};
|
|
2795
|
+
readonly emissiveFactor: {
|
|
2796
|
+
readonly type: "array";
|
|
2797
|
+
readonly items: {
|
|
2798
|
+
readonly type: "number";
|
|
2799
|
+
readonly precision: 1;
|
|
2800
|
+
readonly default: number;
|
|
2801
|
+
};
|
|
2802
|
+
readonly minItems: 3;
|
|
2803
|
+
readonly maxItems: 3;
|
|
2804
|
+
readonly default: readonly [0, 0, 0];
|
|
2805
|
+
};
|
|
2806
|
+
readonly metallicFactor: {
|
|
2807
|
+
readonly type: "number";
|
|
2808
|
+
readonly precision: 1;
|
|
2809
|
+
readonly default: number;
|
|
2810
|
+
};
|
|
2811
|
+
readonly roughnessFactor: {
|
|
2812
|
+
readonly type: "number";
|
|
2813
|
+
readonly precision: 1;
|
|
2814
|
+
readonly default: number;
|
|
2815
|
+
};
|
|
2816
|
+
readonly normalScale: {
|
|
2817
|
+
readonly type: "number";
|
|
2818
|
+
readonly precision: 1;
|
|
2819
|
+
readonly default: number;
|
|
2820
|
+
};
|
|
2821
|
+
readonly occlusionStrength: {
|
|
2822
|
+
readonly type: "number";
|
|
2823
|
+
readonly precision: 1;
|
|
2824
|
+
readonly default: number;
|
|
2825
|
+
};
|
|
2826
|
+
readonly irReflectance: {
|
|
2827
|
+
readonly type: "number";
|
|
2828
|
+
readonly precision: 1;
|
|
2829
|
+
readonly default: number;
|
|
2830
|
+
};
|
|
2831
|
+
readonly irEmission: {
|
|
2832
|
+
readonly type: "number";
|
|
2833
|
+
readonly precision: 1;
|
|
2834
|
+
readonly default: number;
|
|
2835
|
+
};
|
|
2836
|
+
readonly emissionMode: {
|
|
559
2837
|
readonly type: "integer";
|
|
560
|
-
readonly minimum:
|
|
561
|
-
readonly maximum:
|
|
2838
|
+
readonly minimum: 0;
|
|
2839
|
+
readonly maximum: 4294967295;
|
|
562
2840
|
readonly default: number;
|
|
563
2841
|
};
|
|
2842
|
+
readonly baseColorUrl: {
|
|
2843
|
+
readonly type: "string";
|
|
2844
|
+
};
|
|
2845
|
+
readonly metallicRoughnessUrl: {
|
|
2846
|
+
readonly type: "string";
|
|
2847
|
+
};
|
|
2848
|
+
readonly normalUrl: {
|
|
2849
|
+
readonly type: "string";
|
|
2850
|
+
};
|
|
2851
|
+
readonly occlusionUrl: {
|
|
2852
|
+
readonly type: "string";
|
|
2853
|
+
};
|
|
2854
|
+
readonly emissiveUrl: {
|
|
2855
|
+
readonly type: "string";
|
|
2856
|
+
};
|
|
2857
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
2858
|
+
readonly _gltfMeshByUrl: {
|
|
2859
|
+
readonly default: Map<string, Entity> | null;
|
|
2860
|
+
readonly nonPersistent: true;
|
|
2861
|
+
};
|
|
2862
|
+
} & {}>, {
|
|
2863
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
2864
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
2865
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
2866
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
2867
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
2868
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
564
2869
|
} & {
|
|
2870
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
2871
|
+
} & {} & {
|
|
2872
|
+
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"];
|
|
2873
|
+
}, {} & {
|
|
2874
|
+
readonly nodeChildrenOf: {
|
|
2875
|
+
readonly key: "parent";
|
|
2876
|
+
readonly archetype: "Node";
|
|
2877
|
+
};
|
|
2878
|
+
} & {} & {
|
|
2879
|
+
readonly materialByName: {
|
|
2880
|
+
readonly key: "name";
|
|
2881
|
+
readonly unique: true;
|
|
2882
|
+
readonly archetype: "Material";
|
|
2883
|
+
};
|
|
2884
|
+
}>, args: {
|
|
2885
|
+
mesh: Entity;
|
|
2886
|
+
position?: import("@adobe/data/math").Vec3;
|
|
2887
|
+
rotation?: import("@adobe/data/math").Quat;
|
|
2888
|
+
scale?: import("@adobe/data/math").Vec3;
|
|
2889
|
+
parent?: Entity;
|
|
2890
|
+
}) => Entity;
|
|
2891
|
+
} & {} & {
|
|
2892
|
+
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
565
2893
|
readonly visible: {
|
|
566
2894
|
readonly type: "boolean";
|
|
567
2895
|
readonly const: true;
|
|
@@ -610,6 +2938,7 @@ export declare const pbrSkinning: {
|
|
|
610
2938
|
readonly default: number;
|
|
611
2939
|
};
|
|
612
2940
|
readonly _worldMatrix: {
|
|
2941
|
+
readonly nonPersistent: true;
|
|
613
2942
|
readonly type: "array";
|
|
614
2943
|
readonly items: {
|
|
615
2944
|
readonly type: "number";
|
|
@@ -621,6 +2950,7 @@ export declare const pbrSkinning: {
|
|
|
621
2950
|
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
622
2951
|
};
|
|
623
2952
|
readonly _worldBounds: {
|
|
2953
|
+
readonly nonPersistent: true;
|
|
624
2954
|
readonly type: "object";
|
|
625
2955
|
readonly properties: {
|
|
626
2956
|
readonly min: {
|
|
@@ -653,59 +2983,234 @@ export declare const pbrSkinning: {
|
|
|
653
2983
|
readonly max: readonly [0, 0, 0];
|
|
654
2984
|
};
|
|
655
2985
|
};
|
|
656
|
-
} & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
657
|
-
readonly Geometry: readonly ["modelUrl"];
|
|
658
|
-
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
659
2986
|
} & {
|
|
660
|
-
readonly
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
2987
|
+
readonly material: {
|
|
2988
|
+
readonly type: "integer";
|
|
2989
|
+
readonly minimum: -2147483648;
|
|
2990
|
+
readonly maximum: 2147483647;
|
|
2991
|
+
readonly default: number;
|
|
2992
|
+
};
|
|
2993
|
+
readonly name: {
|
|
2994
|
+
readonly type: "string";
|
|
2995
|
+
};
|
|
2996
|
+
readonly density: {
|
|
2997
|
+
readonly type: "number";
|
|
2998
|
+
readonly precision: 1;
|
|
2999
|
+
readonly default: number;
|
|
3000
|
+
};
|
|
3001
|
+
readonly restitution: {
|
|
3002
|
+
readonly type: "number";
|
|
3003
|
+
readonly precision: 1;
|
|
3004
|
+
readonly default: number;
|
|
3005
|
+
};
|
|
3006
|
+
readonly friction: {
|
|
3007
|
+
readonly type: "number";
|
|
3008
|
+
readonly precision: 1;
|
|
3009
|
+
readonly default: number;
|
|
3010
|
+
};
|
|
3011
|
+
readonly compliance: {
|
|
3012
|
+
readonly type: "number";
|
|
3013
|
+
readonly precision: 1;
|
|
3014
|
+
readonly default: number;
|
|
3015
|
+
};
|
|
3016
|
+
readonly heatCapacity: {
|
|
3017
|
+
readonly type: "number";
|
|
3018
|
+
readonly precision: 1;
|
|
3019
|
+
readonly default: number;
|
|
3020
|
+
};
|
|
3021
|
+
readonly viscosity: {
|
|
3022
|
+
readonly type: "number";
|
|
3023
|
+
readonly precision: 1;
|
|
3024
|
+
readonly default: number;
|
|
3025
|
+
};
|
|
3026
|
+
readonly thermalConductivity: {
|
|
3027
|
+
readonly type: "number";
|
|
3028
|
+
readonly precision: 1;
|
|
3029
|
+
readonly default: number;
|
|
3030
|
+
};
|
|
3031
|
+
readonly stressStrainCurve: {
|
|
3032
|
+
readonly type: "object";
|
|
3033
|
+
readonly layout: "packed";
|
|
3034
|
+
readonly properties: {
|
|
3035
|
+
readonly tensileYieldStrainStress: {
|
|
3036
|
+
readonly type: "array";
|
|
3037
|
+
readonly items: {
|
|
3038
|
+
readonly type: "number";
|
|
3039
|
+
readonly precision: 1;
|
|
3040
|
+
readonly default: number;
|
|
3041
|
+
};
|
|
3042
|
+
readonly minItems: 2;
|
|
3043
|
+
readonly maxItems: 2;
|
|
3044
|
+
readonly default: readonly [0, 0];
|
|
3045
|
+
};
|
|
3046
|
+
readonly tensileFractureStrainStress: {
|
|
3047
|
+
readonly type: "array";
|
|
3048
|
+
readonly items: {
|
|
3049
|
+
readonly type: "number";
|
|
3050
|
+
readonly precision: 1;
|
|
3051
|
+
readonly default: number;
|
|
3052
|
+
};
|
|
3053
|
+
readonly minItems: 2;
|
|
3054
|
+
readonly maxItems: 2;
|
|
3055
|
+
readonly default: readonly [0, 0];
|
|
3056
|
+
};
|
|
3057
|
+
readonly compressiveYieldStrainStress: {
|
|
3058
|
+
readonly type: "array";
|
|
3059
|
+
readonly items: {
|
|
3060
|
+
readonly type: "number";
|
|
3061
|
+
readonly precision: 1;
|
|
3062
|
+
readonly default: number;
|
|
3063
|
+
};
|
|
3064
|
+
readonly minItems: 2;
|
|
3065
|
+
readonly maxItems: 2;
|
|
3066
|
+
readonly default: readonly [0, 0];
|
|
3067
|
+
};
|
|
3068
|
+
readonly compressiveFractureStrainStress: {
|
|
3069
|
+
readonly type: "array";
|
|
3070
|
+
readonly items: {
|
|
3071
|
+
readonly type: "number";
|
|
3072
|
+
readonly precision: 1;
|
|
3073
|
+
readonly default: number;
|
|
3074
|
+
};
|
|
3075
|
+
readonly minItems: 2;
|
|
3076
|
+
readonly maxItems: 2;
|
|
3077
|
+
readonly default: readonly [0, 0];
|
|
3078
|
+
};
|
|
3079
|
+
};
|
|
3080
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
3081
|
+
};
|
|
3082
|
+
readonly baseColorFactor: {
|
|
3083
|
+
readonly type: "array";
|
|
3084
|
+
readonly items: {
|
|
3085
|
+
readonly type: "number";
|
|
3086
|
+
readonly precision: 1;
|
|
3087
|
+
readonly default: number;
|
|
3088
|
+
};
|
|
3089
|
+
readonly minItems: 4;
|
|
3090
|
+
readonly maxItems: 4;
|
|
3091
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
3092
|
+
};
|
|
3093
|
+
readonly emissiveFactor: {
|
|
3094
|
+
readonly type: "array";
|
|
3095
|
+
readonly items: {
|
|
3096
|
+
readonly type: "number";
|
|
3097
|
+
readonly precision: 1;
|
|
3098
|
+
readonly default: number;
|
|
3099
|
+
};
|
|
3100
|
+
readonly minItems: 3;
|
|
3101
|
+
readonly maxItems: 3;
|
|
3102
|
+
readonly default: readonly [0, 0, 0];
|
|
3103
|
+
};
|
|
3104
|
+
readonly metallicFactor: {
|
|
3105
|
+
readonly type: "number";
|
|
3106
|
+
readonly precision: 1;
|
|
3107
|
+
readonly default: number;
|
|
3108
|
+
};
|
|
3109
|
+
readonly roughnessFactor: {
|
|
3110
|
+
readonly type: "number";
|
|
3111
|
+
readonly precision: 1;
|
|
3112
|
+
readonly default: number;
|
|
3113
|
+
};
|
|
3114
|
+
readonly normalScale: {
|
|
3115
|
+
readonly type: "number";
|
|
3116
|
+
readonly precision: 1;
|
|
3117
|
+
readonly default: number;
|
|
3118
|
+
};
|
|
3119
|
+
readonly occlusionStrength: {
|
|
3120
|
+
readonly type: "number";
|
|
3121
|
+
readonly precision: 1;
|
|
3122
|
+
readonly default: number;
|
|
3123
|
+
};
|
|
3124
|
+
readonly irReflectance: {
|
|
3125
|
+
readonly type: "number";
|
|
3126
|
+
readonly precision: 1;
|
|
3127
|
+
readonly default: number;
|
|
3128
|
+
};
|
|
3129
|
+
readonly irEmission: {
|
|
3130
|
+
readonly type: "number";
|
|
3131
|
+
readonly precision: 1;
|
|
3132
|
+
readonly default: number;
|
|
3133
|
+
};
|
|
3134
|
+
readonly emissionMode: {
|
|
3135
|
+
readonly type: "integer";
|
|
3136
|
+
readonly minimum: 0;
|
|
3137
|
+
readonly maximum: 4294967295;
|
|
3138
|
+
readonly default: number;
|
|
3139
|
+
};
|
|
3140
|
+
readonly baseColorUrl: {
|
|
3141
|
+
readonly type: "string";
|
|
3142
|
+
};
|
|
3143
|
+
readonly metallicRoughnessUrl: {
|
|
3144
|
+
readonly type: "string";
|
|
3145
|
+
};
|
|
3146
|
+
readonly normalUrl: {
|
|
3147
|
+
readonly type: "string";
|
|
3148
|
+
};
|
|
3149
|
+
readonly occlusionUrl: {
|
|
3150
|
+
readonly type: "string";
|
|
3151
|
+
};
|
|
3152
|
+
readonly emissiveUrl: {
|
|
3153
|
+
readonly type: "string";
|
|
3154
|
+
};
|
|
3155
|
+
} & {
|
|
3156
|
+
readonly mesh: {
|
|
3157
|
+
readonly type: "integer";
|
|
3158
|
+
readonly minimum: -2147483648;
|
|
3159
|
+
readonly maximum: 2147483647;
|
|
3160
|
+
readonly default: number;
|
|
3161
|
+
};
|
|
3162
|
+
readonly gltfUrl: {
|
|
3163
|
+
readonly type: "string";
|
|
3164
|
+
};
|
|
3165
|
+
readonly shapeSpec: {
|
|
3166
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
3167
|
+
};
|
|
3168
|
+
readonly voxelVolumeSize: {
|
|
3169
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
3170
|
+
};
|
|
3171
|
+
readonly localBounds: {
|
|
671
3172
|
readonly default: {
|
|
672
3173
|
readonly min: readonly [number, number, number];
|
|
673
3174
|
readonly max: readonly [number, number, number];
|
|
674
3175
|
} | null;
|
|
675
3176
|
};
|
|
676
|
-
readonly
|
|
3177
|
+
readonly skinJointTemplate: {
|
|
677
3178
|
readonly default: JointTemplate[];
|
|
678
3179
|
};
|
|
679
|
-
readonly
|
|
3180
|
+
readonly skinInverseBindMatrices: {
|
|
680
3181
|
readonly default: Float32Array | null;
|
|
681
3182
|
};
|
|
682
|
-
readonly
|
|
3183
|
+
readonly animationClipRefs: {
|
|
683
3184
|
readonly default: number[];
|
|
684
3185
|
};
|
|
685
|
-
readonly
|
|
3186
|
+
readonly cpuCollisionPositions: {
|
|
686
3187
|
readonly default: Float32Array | null;
|
|
687
3188
|
};
|
|
688
|
-
readonly
|
|
3189
|
+
readonly cpuCollisionIndices: {
|
|
689
3190
|
readonly default: Uint32Array | null;
|
|
690
3191
|
};
|
|
691
|
-
readonly
|
|
3192
|
+
readonly cpuSkin: {
|
|
692
3193
|
readonly default: {
|
|
693
3194
|
positions: Float32Array;
|
|
694
3195
|
joints: Uint32Array;
|
|
695
3196
|
weights: Float32Array;
|
|
696
3197
|
} | null;
|
|
697
3198
|
};
|
|
698
|
-
} & {
|
|
3199
|
+
} & {
|
|
699
3200
|
readonly _vertexBuffer: {
|
|
700
3201
|
readonly default: GPUBuffer | null;
|
|
3202
|
+
readonly nonPersistent: true;
|
|
701
3203
|
};
|
|
702
3204
|
readonly _skinVertexBuffer: {
|
|
703
3205
|
readonly default: GPUBuffer | null;
|
|
3206
|
+
readonly nonPersistent: true;
|
|
704
3207
|
};
|
|
705
3208
|
readonly _indexBuffer: {
|
|
706
3209
|
readonly default: GPUBuffer | null;
|
|
3210
|
+
readonly nonPersistent: true;
|
|
707
3211
|
};
|
|
708
3212
|
readonly _indexCount: {
|
|
3213
|
+
readonly nonPersistent: true;
|
|
709
3214
|
readonly type: "integer";
|
|
710
3215
|
readonly minimum: 0;
|
|
711
3216
|
readonly maximum: 4294967295;
|
|
@@ -713,91 +3218,28 @@ export declare const pbrSkinning: {
|
|
|
713
3218
|
};
|
|
714
3219
|
readonly _indexFormat: {
|
|
715
3220
|
readonly default: GPUIndexFormat;
|
|
3221
|
+
readonly nonPersistent: true;
|
|
716
3222
|
};
|
|
717
3223
|
readonly _materialBindGroup: {
|
|
718
3224
|
readonly default: GPUBindGroup | null;
|
|
3225
|
+
readonly nonPersistent: true;
|
|
719
3226
|
};
|
|
720
|
-
readonly
|
|
721
|
-
readonly
|
|
722
|
-
readonly minimum: -2147483648;
|
|
723
|
-
readonly maximum: 2147483647;
|
|
724
|
-
readonly default: number;
|
|
725
|
-
};
|
|
726
|
-
readonly _material: {
|
|
727
|
-
readonly type: "integer";
|
|
728
|
-
readonly minimum: -2147483648;
|
|
729
|
-
readonly maximum: 2147483647;
|
|
730
|
-
readonly default: number;
|
|
731
|
-
};
|
|
732
|
-
readonly _nodeLocalMatrix: {
|
|
733
|
-
readonly type: "array";
|
|
734
|
-
readonly items: {
|
|
735
|
-
readonly type: "number";
|
|
736
|
-
readonly precision: 1;
|
|
737
|
-
readonly default: number;
|
|
738
|
-
};
|
|
739
|
-
readonly minItems: 16;
|
|
740
|
-
readonly maxItems: 16;
|
|
741
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
742
|
-
};
|
|
743
|
-
readonly _skeletonModelRef: {
|
|
3227
|
+
readonly _mesh: {
|
|
3228
|
+
readonly nonPersistent: true;
|
|
744
3229
|
readonly type: "integer";
|
|
745
3230
|
readonly minimum: -2147483648;
|
|
746
3231
|
readonly maximum: 2147483647;
|
|
747
3232
|
readonly default: number;
|
|
748
3233
|
};
|
|
749
|
-
readonly
|
|
750
|
-
readonly
|
|
751
|
-
};
|
|
752
|
-
} & {
|
|
753
|
-
readonly visible: {
|
|
754
|
-
readonly type: "boolean";
|
|
755
|
-
readonly const: true;
|
|
756
|
-
readonly default: true;
|
|
757
|
-
};
|
|
758
|
-
readonly position: {
|
|
759
|
-
readonly type: "array";
|
|
760
|
-
readonly items: {
|
|
761
|
-
readonly type: "number";
|
|
762
|
-
readonly precision: 1;
|
|
763
|
-
readonly default: number;
|
|
764
|
-
};
|
|
765
|
-
readonly minItems: 3;
|
|
766
|
-
readonly maxItems: 3;
|
|
767
|
-
readonly default: readonly [0, 0, 0];
|
|
768
|
-
};
|
|
769
|
-
readonly rotation: {
|
|
770
|
-
readonly type: "array";
|
|
771
|
-
readonly items: {
|
|
772
|
-
readonly type: "number";
|
|
773
|
-
readonly precision: 1;
|
|
774
|
-
readonly default: number;
|
|
775
|
-
};
|
|
776
|
-
readonly minItems: 4;
|
|
777
|
-
readonly maxItems: 4;
|
|
778
|
-
readonly default: readonly [0, 0, 0, 1];
|
|
779
|
-
readonly interpolators: {
|
|
780
|
-
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
781
|
-
};
|
|
782
|
-
};
|
|
783
|
-
readonly scale: {
|
|
784
|
-
readonly type: "array";
|
|
785
|
-
readonly items: {
|
|
786
|
-
readonly type: "number";
|
|
787
|
-
readonly precision: 1;
|
|
788
|
-
readonly default: number;
|
|
789
|
-
};
|
|
790
|
-
readonly minItems: 3;
|
|
791
|
-
readonly maxItems: 3;
|
|
792
|
-
readonly default: readonly [0, 0, 0];
|
|
793
|
-
};
|
|
794
|
-
readonly parent: {
|
|
3234
|
+
readonly _material: {
|
|
3235
|
+
readonly nonPersistent: true;
|
|
795
3236
|
readonly type: "integer";
|
|
796
3237
|
readonly minimum: -2147483648;
|
|
797
3238
|
readonly maximum: 2147483647;
|
|
798
3239
|
readonly default: number;
|
|
799
3240
|
};
|
|
800
|
-
readonly
|
|
3241
|
+
readonly _nodeLocalMatrix: {
|
|
3242
|
+
readonly nonPersistent: true;
|
|
801
3243
|
readonly type: "array";
|
|
802
3244
|
readonly items: {
|
|
803
3245
|
readonly type: "number";
|
|
@@ -808,49 +3250,17 @@ export declare const pbrSkinning: {
|
|
|
808
3250
|
readonly maxItems: 16;
|
|
809
3251
|
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
810
3252
|
};
|
|
811
|
-
readonly
|
|
812
|
-
readonly
|
|
813
|
-
readonly properties: {
|
|
814
|
-
readonly min: {
|
|
815
|
-
readonly type: "array";
|
|
816
|
-
readonly items: {
|
|
817
|
-
readonly type: "number";
|
|
818
|
-
readonly precision: 1;
|
|
819
|
-
readonly default: number;
|
|
820
|
-
};
|
|
821
|
-
readonly minItems: 3;
|
|
822
|
-
readonly maxItems: 3;
|
|
823
|
-
readonly default: readonly [0, 0, 0];
|
|
824
|
-
};
|
|
825
|
-
readonly max: {
|
|
826
|
-
readonly type: "array";
|
|
827
|
-
readonly items: {
|
|
828
|
-
readonly type: "number";
|
|
829
|
-
readonly precision: 1;
|
|
830
|
-
readonly default: number;
|
|
831
|
-
};
|
|
832
|
-
readonly minItems: 3;
|
|
833
|
-
readonly maxItems: 3;
|
|
834
|
-
readonly default: readonly [0, 0, 0];
|
|
835
|
-
};
|
|
836
|
-
};
|
|
837
|
-
readonly required: readonly ["min", "max"];
|
|
838
|
-
readonly additionalProperties: false;
|
|
839
|
-
readonly default: {
|
|
840
|
-
readonly min: readonly [0, 0, 0];
|
|
841
|
-
readonly max: readonly [0, 0, 0];
|
|
842
|
-
};
|
|
843
|
-
};
|
|
844
|
-
} & {
|
|
845
|
-
readonly modelUrl: {
|
|
846
|
-
readonly type: "string";
|
|
847
|
-
};
|
|
848
|
-
readonly geometry: {
|
|
3253
|
+
readonly _skeletonModelRef: {
|
|
3254
|
+
readonly nonPersistent: true;
|
|
849
3255
|
readonly type: "integer";
|
|
850
3256
|
readonly minimum: -2147483648;
|
|
851
3257
|
readonly maximum: 2147483647;
|
|
852
3258
|
readonly default: number;
|
|
853
3259
|
};
|
|
3260
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3261
|
+
readonly default: GPUBindGroup | null;
|
|
3262
|
+
readonly nonPersistent: true;
|
|
3263
|
+
};
|
|
854
3264
|
} & {
|
|
855
3265
|
readonly animationClipTracks: {
|
|
856
3266
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -881,9 +3291,11 @@ export declare const pbrSkinning: {
|
|
|
881
3291
|
};
|
|
882
3292
|
readonly animationLoop: {
|
|
883
3293
|
readonly type: "boolean";
|
|
3294
|
+
readonly default: boolean;
|
|
884
3295
|
};
|
|
885
3296
|
readonly animationPlaying: {
|
|
886
3297
|
readonly type: "boolean";
|
|
3298
|
+
readonly default: boolean;
|
|
887
3299
|
};
|
|
888
3300
|
readonly animationObservable: {
|
|
889
3301
|
readonly type: "boolean";
|
|
@@ -891,6 +3303,11 @@ export declare const pbrSkinning: {
|
|
|
891
3303
|
readonly default: true;
|
|
892
3304
|
};
|
|
893
3305
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3306
|
+
readonly _gltfMeshByUrl: {
|
|
3307
|
+
readonly default: Map<string, Entity> | null;
|
|
3308
|
+
readonly nonPersistent: true;
|
|
3309
|
+
};
|
|
3310
|
+
} & {
|
|
894
3311
|
readonly frameTime: {
|
|
895
3312
|
readonly default: import("../../../core/frame-time/public.js");
|
|
896
3313
|
readonly nonPersistent: true;
|
|
@@ -909,24 +3326,43 @@ export declare const pbrSkinning: {
|
|
|
909
3326
|
readonly nonPersistent: true;
|
|
910
3327
|
};
|
|
911
3328
|
}>, {} & {} & {
|
|
912
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
913
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
914
|
-
} & {
|
|
915
3329
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
916
3330
|
} & {} & {
|
|
917
|
-
readonly
|
|
918
|
-
|
|
3331
|
+
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"];
|
|
3332
|
+
} & {
|
|
3333
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
3334
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
3335
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
3336
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
3337
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
3338
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
3339
|
+
} & {
|
|
3340
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3341
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
919
3342
|
} & {
|
|
920
3343
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
921
3344
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
922
3345
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
923
|
-
} & {}, {} & {} & {
|
|
3346
|
+
} & {}, {} & {} & {
|
|
3347
|
+
readonly nodeChildrenOf: {
|
|
3348
|
+
readonly key: "parent";
|
|
3349
|
+
readonly archetype: "Node";
|
|
3350
|
+
};
|
|
3351
|
+
} & {} & {
|
|
3352
|
+
readonly materialByName: {
|
|
3353
|
+
readonly key: "name";
|
|
3354
|
+
readonly unique: true;
|
|
3355
|
+
readonly archetype: "Material";
|
|
3356
|
+
};
|
|
3357
|
+
} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
924
3358
|
} & {
|
|
925
3359
|
readonly initSkeleton: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
926
3360
|
readonly _skeletonJoints: {
|
|
927
3361
|
readonly default: number[];
|
|
3362
|
+
readonly nonPersistent: true;
|
|
928
3363
|
};
|
|
929
|
-
readonly
|
|
3364
|
+
readonly _skeletonMesh: {
|
|
3365
|
+
readonly nonPersistent: true;
|
|
930
3366
|
readonly type: "integer";
|
|
931
3367
|
readonly minimum: -2147483648;
|
|
932
3368
|
readonly maximum: 2147483647;
|
|
@@ -934,9 +3370,11 @@ export declare const pbrSkinning: {
|
|
|
934
3370
|
};
|
|
935
3371
|
readonly _skeletonInstanceBuffer: {
|
|
936
3372
|
readonly default: GPUBuffer | null;
|
|
3373
|
+
readonly nonPersistent: true;
|
|
937
3374
|
};
|
|
938
3375
|
readonly _skeletonJointMatrixBuffer: {
|
|
939
3376
|
readonly default: GPUBuffer | null;
|
|
3377
|
+
readonly nonPersistent: true;
|
|
940
3378
|
};
|
|
941
3379
|
} & {
|
|
942
3380
|
readonly visible: {
|
|
@@ -987,6 +3425,7 @@ export declare const pbrSkinning: {
|
|
|
987
3425
|
readonly default: number;
|
|
988
3426
|
};
|
|
989
3427
|
readonly _worldMatrix: {
|
|
3428
|
+
readonly nonPersistent: true;
|
|
990
3429
|
readonly type: "array";
|
|
991
3430
|
readonly items: {
|
|
992
3431
|
readonly type: "number";
|
|
@@ -998,6 +3437,7 @@ export declare const pbrSkinning: {
|
|
|
998
3437
|
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
999
3438
|
};
|
|
1000
3439
|
readonly _worldBounds: {
|
|
3440
|
+
readonly nonPersistent: true;
|
|
1001
3441
|
readonly type: "object";
|
|
1002
3442
|
readonly properties: {
|
|
1003
3443
|
readonly min: {
|
|
@@ -1033,14 +3473,18 @@ export declare const pbrSkinning: {
|
|
|
1033
3473
|
} & {} & {
|
|
1034
3474
|
readonly _vertexBuffer: {
|
|
1035
3475
|
readonly default: GPUBuffer | null;
|
|
3476
|
+
readonly nonPersistent: true;
|
|
1036
3477
|
};
|
|
1037
3478
|
readonly _skinVertexBuffer: {
|
|
1038
3479
|
readonly default: GPUBuffer | null;
|
|
3480
|
+
readonly nonPersistent: true;
|
|
1039
3481
|
};
|
|
1040
3482
|
readonly _indexBuffer: {
|
|
1041
3483
|
readonly default: GPUBuffer | null;
|
|
3484
|
+
readonly nonPersistent: true;
|
|
1042
3485
|
};
|
|
1043
3486
|
readonly _indexCount: {
|
|
3487
|
+
readonly nonPersistent: true;
|
|
1044
3488
|
readonly type: "integer";
|
|
1045
3489
|
readonly minimum: 0;
|
|
1046
3490
|
readonly maximum: 4294967295;
|
|
@@ -1048,23 +3492,28 @@ export declare const pbrSkinning: {
|
|
|
1048
3492
|
};
|
|
1049
3493
|
readonly _indexFormat: {
|
|
1050
3494
|
readonly default: GPUIndexFormat;
|
|
3495
|
+
readonly nonPersistent: true;
|
|
1051
3496
|
};
|
|
1052
3497
|
readonly _materialBindGroup: {
|
|
1053
3498
|
readonly default: GPUBindGroup | null;
|
|
3499
|
+
readonly nonPersistent: true;
|
|
1054
3500
|
};
|
|
1055
|
-
readonly
|
|
3501
|
+
readonly _mesh: {
|
|
3502
|
+
readonly nonPersistent: true;
|
|
1056
3503
|
readonly type: "integer";
|
|
1057
3504
|
readonly minimum: -2147483648;
|
|
1058
3505
|
readonly maximum: 2147483647;
|
|
1059
3506
|
readonly default: number;
|
|
1060
3507
|
};
|
|
1061
3508
|
readonly _material: {
|
|
3509
|
+
readonly nonPersistent: true;
|
|
1062
3510
|
readonly type: "integer";
|
|
1063
3511
|
readonly minimum: -2147483648;
|
|
1064
3512
|
readonly maximum: 2147483647;
|
|
1065
3513
|
readonly default: number;
|
|
1066
3514
|
};
|
|
1067
3515
|
readonly _nodeLocalMatrix: {
|
|
3516
|
+
readonly nonPersistent: true;
|
|
1068
3517
|
readonly type: "array";
|
|
1069
3518
|
readonly items: {
|
|
1070
3519
|
readonly type: "number";
|
|
@@ -1076,6 +3525,7 @@ export declare const pbrSkinning: {
|
|
|
1076
3525
|
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1077
3526
|
};
|
|
1078
3527
|
readonly _skeletonModelRef: {
|
|
3528
|
+
readonly nonPersistent: true;
|
|
1079
3529
|
readonly type: "integer";
|
|
1080
3530
|
readonly minimum: -2147483648;
|
|
1081
3531
|
readonly maximum: 2147483647;
|
|
@@ -1083,6 +3533,7 @@ export declare const pbrSkinning: {
|
|
|
1083
3533
|
};
|
|
1084
3534
|
readonly _skeletonJointMatrixBindGroup: {
|
|
1085
3535
|
readonly default: GPUBindGroup | null;
|
|
3536
|
+
readonly nonPersistent: true;
|
|
1086
3537
|
};
|
|
1087
3538
|
} & {
|
|
1088
3539
|
readonly animationClipTracks: {
|
|
@@ -1114,9 +3565,11 @@ export declare const pbrSkinning: {
|
|
|
1114
3565
|
};
|
|
1115
3566
|
readonly animationLoop: {
|
|
1116
3567
|
readonly type: "boolean";
|
|
3568
|
+
readonly default: boolean;
|
|
1117
3569
|
};
|
|
1118
3570
|
readonly animationPlaying: {
|
|
1119
3571
|
readonly type: "boolean";
|
|
3572
|
+
readonly default: boolean;
|
|
1120
3573
|
};
|
|
1121
3574
|
readonly animationObservable: {
|
|
1122
3575
|
readonly type: "boolean";
|
|
@@ -1124,38 +3577,212 @@ export declare const pbrSkinning: {
|
|
|
1124
3577
|
readonly default: true;
|
|
1125
3578
|
};
|
|
1126
3579
|
} & {
|
|
1127
|
-
readonly
|
|
3580
|
+
readonly material: {
|
|
3581
|
+
readonly type: "integer";
|
|
3582
|
+
readonly minimum: -2147483648;
|
|
3583
|
+
readonly maximum: 2147483647;
|
|
3584
|
+
readonly default: number;
|
|
3585
|
+
};
|
|
3586
|
+
readonly name: {
|
|
3587
|
+
readonly type: "string";
|
|
3588
|
+
};
|
|
3589
|
+
readonly density: {
|
|
3590
|
+
readonly type: "number";
|
|
3591
|
+
readonly precision: 1;
|
|
3592
|
+
readonly default: number;
|
|
3593
|
+
};
|
|
3594
|
+
readonly restitution: {
|
|
3595
|
+
readonly type: "number";
|
|
3596
|
+
readonly precision: 1;
|
|
3597
|
+
readonly default: number;
|
|
3598
|
+
};
|
|
3599
|
+
readonly friction: {
|
|
3600
|
+
readonly type: "number";
|
|
3601
|
+
readonly precision: 1;
|
|
3602
|
+
readonly default: number;
|
|
3603
|
+
};
|
|
3604
|
+
readonly compliance: {
|
|
3605
|
+
readonly type: "number";
|
|
3606
|
+
readonly precision: 1;
|
|
3607
|
+
readonly default: number;
|
|
3608
|
+
};
|
|
3609
|
+
readonly heatCapacity: {
|
|
3610
|
+
readonly type: "number";
|
|
3611
|
+
readonly precision: 1;
|
|
3612
|
+
readonly default: number;
|
|
3613
|
+
};
|
|
3614
|
+
readonly viscosity: {
|
|
3615
|
+
readonly type: "number";
|
|
3616
|
+
readonly precision: 1;
|
|
3617
|
+
readonly default: number;
|
|
3618
|
+
};
|
|
3619
|
+
readonly thermalConductivity: {
|
|
3620
|
+
readonly type: "number";
|
|
3621
|
+
readonly precision: 1;
|
|
3622
|
+
readonly default: number;
|
|
3623
|
+
};
|
|
3624
|
+
readonly stressStrainCurve: {
|
|
3625
|
+
readonly type: "object";
|
|
3626
|
+
readonly layout: "packed";
|
|
3627
|
+
readonly properties: {
|
|
3628
|
+
readonly tensileYieldStrainStress: {
|
|
3629
|
+
readonly type: "array";
|
|
3630
|
+
readonly items: {
|
|
3631
|
+
readonly type: "number";
|
|
3632
|
+
readonly precision: 1;
|
|
3633
|
+
readonly default: number;
|
|
3634
|
+
};
|
|
3635
|
+
readonly minItems: 2;
|
|
3636
|
+
readonly maxItems: 2;
|
|
3637
|
+
readonly default: readonly [0, 0];
|
|
3638
|
+
};
|
|
3639
|
+
readonly tensileFractureStrainStress: {
|
|
3640
|
+
readonly type: "array";
|
|
3641
|
+
readonly items: {
|
|
3642
|
+
readonly type: "number";
|
|
3643
|
+
readonly precision: 1;
|
|
3644
|
+
readonly default: number;
|
|
3645
|
+
};
|
|
3646
|
+
readonly minItems: 2;
|
|
3647
|
+
readonly maxItems: 2;
|
|
3648
|
+
readonly default: readonly [0, 0];
|
|
3649
|
+
};
|
|
3650
|
+
readonly compressiveYieldStrainStress: {
|
|
3651
|
+
readonly type: "array";
|
|
3652
|
+
readonly items: {
|
|
3653
|
+
readonly type: "number";
|
|
3654
|
+
readonly precision: 1;
|
|
3655
|
+
readonly default: number;
|
|
3656
|
+
};
|
|
3657
|
+
readonly minItems: 2;
|
|
3658
|
+
readonly maxItems: 2;
|
|
3659
|
+
readonly default: readonly [0, 0];
|
|
3660
|
+
};
|
|
3661
|
+
readonly compressiveFractureStrainStress: {
|
|
3662
|
+
readonly type: "array";
|
|
3663
|
+
readonly items: {
|
|
3664
|
+
readonly type: "number";
|
|
3665
|
+
readonly precision: 1;
|
|
3666
|
+
readonly default: number;
|
|
3667
|
+
};
|
|
3668
|
+
readonly minItems: 2;
|
|
3669
|
+
readonly maxItems: 2;
|
|
3670
|
+
readonly default: readonly [0, 0];
|
|
3671
|
+
};
|
|
3672
|
+
};
|
|
3673
|
+
readonly required: readonly ["tensileYieldStrainStress", "tensileFractureStrainStress", "compressiveYieldStrainStress", "compressiveFractureStrainStress"];
|
|
3674
|
+
};
|
|
3675
|
+
readonly baseColorFactor: {
|
|
3676
|
+
readonly type: "array";
|
|
3677
|
+
readonly items: {
|
|
3678
|
+
readonly type: "number";
|
|
3679
|
+
readonly precision: 1;
|
|
3680
|
+
readonly default: number;
|
|
3681
|
+
};
|
|
3682
|
+
readonly minItems: 4;
|
|
3683
|
+
readonly maxItems: 4;
|
|
3684
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
3685
|
+
};
|
|
3686
|
+
readonly emissiveFactor: {
|
|
3687
|
+
readonly type: "array";
|
|
3688
|
+
readonly items: {
|
|
3689
|
+
readonly type: "number";
|
|
3690
|
+
readonly precision: 1;
|
|
3691
|
+
readonly default: number;
|
|
3692
|
+
};
|
|
3693
|
+
readonly minItems: 3;
|
|
3694
|
+
readonly maxItems: 3;
|
|
3695
|
+
readonly default: readonly [0, 0, 0];
|
|
3696
|
+
};
|
|
3697
|
+
readonly metallicFactor: {
|
|
3698
|
+
readonly type: "number";
|
|
3699
|
+
readonly precision: 1;
|
|
3700
|
+
readonly default: number;
|
|
3701
|
+
};
|
|
3702
|
+
readonly roughnessFactor: {
|
|
3703
|
+
readonly type: "number";
|
|
3704
|
+
readonly precision: 1;
|
|
3705
|
+
readonly default: number;
|
|
3706
|
+
};
|
|
3707
|
+
readonly normalScale: {
|
|
3708
|
+
readonly type: "number";
|
|
3709
|
+
readonly precision: 1;
|
|
3710
|
+
readonly default: number;
|
|
3711
|
+
};
|
|
3712
|
+
readonly occlusionStrength: {
|
|
3713
|
+
readonly type: "number";
|
|
3714
|
+
readonly precision: 1;
|
|
3715
|
+
readonly default: number;
|
|
3716
|
+
};
|
|
3717
|
+
readonly irReflectance: {
|
|
3718
|
+
readonly type: "number";
|
|
3719
|
+
readonly precision: 1;
|
|
3720
|
+
readonly default: number;
|
|
3721
|
+
};
|
|
3722
|
+
readonly irEmission: {
|
|
3723
|
+
readonly type: "number";
|
|
3724
|
+
readonly precision: 1;
|
|
3725
|
+
readonly default: number;
|
|
3726
|
+
};
|
|
3727
|
+
readonly emissionMode: {
|
|
3728
|
+
readonly type: "integer";
|
|
3729
|
+
readonly minimum: 0;
|
|
3730
|
+
readonly maximum: 4294967295;
|
|
3731
|
+
readonly default: number;
|
|
3732
|
+
};
|
|
3733
|
+
readonly baseColorUrl: {
|
|
3734
|
+
readonly type: "string";
|
|
3735
|
+
};
|
|
3736
|
+
readonly metallicRoughnessUrl: {
|
|
3737
|
+
readonly type: "string";
|
|
3738
|
+
};
|
|
3739
|
+
readonly normalUrl: {
|
|
1128
3740
|
readonly type: "string";
|
|
1129
3741
|
};
|
|
1130
|
-
readonly
|
|
3742
|
+
readonly occlusionUrl: {
|
|
3743
|
+
readonly type: "string";
|
|
3744
|
+
};
|
|
3745
|
+
readonly emissiveUrl: {
|
|
3746
|
+
readonly type: "string";
|
|
3747
|
+
};
|
|
3748
|
+
} & {
|
|
3749
|
+
readonly mesh: {
|
|
1131
3750
|
readonly type: "integer";
|
|
1132
3751
|
readonly minimum: -2147483648;
|
|
1133
3752
|
readonly maximum: 2147483647;
|
|
1134
3753
|
readonly default: number;
|
|
1135
3754
|
};
|
|
1136
|
-
|
|
1137
|
-
|
|
3755
|
+
readonly gltfUrl: {
|
|
3756
|
+
readonly type: "string";
|
|
3757
|
+
};
|
|
3758
|
+
readonly shapeSpec: {
|
|
3759
|
+
readonly default: import("../../public.js").ShapeSpec | null;
|
|
3760
|
+
};
|
|
3761
|
+
readonly voxelVolumeSize: {
|
|
3762
|
+
readonly default: import("@adobe/data/math").Vec3 | null;
|
|
3763
|
+
};
|
|
3764
|
+
readonly localBounds: {
|
|
1138
3765
|
readonly default: {
|
|
1139
3766
|
readonly min: readonly [number, number, number];
|
|
1140
3767
|
readonly max: readonly [number, number, number];
|
|
1141
3768
|
} | null;
|
|
1142
3769
|
};
|
|
1143
|
-
readonly
|
|
3770
|
+
readonly skinJointTemplate: {
|
|
1144
3771
|
readonly default: JointTemplate[];
|
|
1145
3772
|
};
|
|
1146
|
-
readonly
|
|
3773
|
+
readonly skinInverseBindMatrices: {
|
|
1147
3774
|
readonly default: Float32Array | null;
|
|
1148
3775
|
};
|
|
1149
|
-
readonly
|
|
3776
|
+
readonly animationClipRefs: {
|
|
1150
3777
|
readonly default: number[];
|
|
1151
3778
|
};
|
|
1152
|
-
readonly
|
|
3779
|
+
readonly cpuCollisionPositions: {
|
|
1153
3780
|
readonly default: Float32Array | null;
|
|
1154
3781
|
};
|
|
1155
|
-
readonly
|
|
3782
|
+
readonly cpuCollisionIndices: {
|
|
1156
3783
|
readonly default: Uint32Array | null;
|
|
1157
3784
|
};
|
|
1158
|
-
readonly
|
|
3785
|
+
readonly cpuSkin: {
|
|
1159
3786
|
readonly default: {
|
|
1160
3787
|
positions: Float32Array;
|
|
1161
3788
|
joints: Uint32Array;
|
|
@@ -1167,6 +3794,11 @@ export declare const pbrSkinning: {
|
|
|
1167
3794
|
readonly default: import("../../../core/frame-time/public.js");
|
|
1168
3795
|
readonly nonPersistent: true;
|
|
1169
3796
|
};
|
|
3797
|
+
} & {
|
|
3798
|
+
readonly _gltfMeshByUrl: {
|
|
3799
|
+
readonly default: Map<string, Entity> | null;
|
|
3800
|
+
readonly nonPersistent: true;
|
|
3801
|
+
};
|
|
1170
3802
|
} & {
|
|
1171
3803
|
readonly schedulerState: {
|
|
1172
3804
|
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
@@ -1181,22 +3813,39 @@ export declare const pbrSkinning: {
|
|
|
1181
3813
|
readonly nonPersistent: true;
|
|
1182
3814
|
};
|
|
1183
3815
|
}>, {
|
|
1184
|
-
readonly _Skeleton: readonly ["_skeletonJoints", "
|
|
3816
|
+
readonly _Skeleton: readonly ["_skeletonJoints", "_skeletonMesh", "_skeletonModelRef", "_skeletonInstanceBuffer", "_skeletonJointMatrixBuffer", "_skeletonJointMatrixBindGroup"];
|
|
1185
3817
|
} & {
|
|
1186
3818
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
1187
3819
|
} & {} & {
|
|
1188
|
-
readonly _VisibleMaterial: readonly ["
|
|
1189
|
-
readonly _PbrPrimitive: readonly ["
|
|
3820
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3821
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
1190
3822
|
} & {} & {
|
|
1191
3823
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
1192
3824
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
1193
3825
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
1194
3826
|
} & {} & {
|
|
1195
|
-
readonly
|
|
1196
|
-
|
|
1197
|
-
|
|
3827
|
+
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"];
|
|
3828
|
+
} & {
|
|
3829
|
+
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
3830
|
+
readonly ShapeMeshPending: readonly ["shapeSpec"];
|
|
3831
|
+
readonly StaticMesh: readonly ["localBounds"];
|
|
3832
|
+
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
3833
|
+
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
3834
|
+
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
3835
|
+
} & {}, {} & {
|
|
3836
|
+
readonly nodeChildrenOf: {
|
|
3837
|
+
readonly key: "parent";
|
|
3838
|
+
readonly archetype: "Node";
|
|
3839
|
+
};
|
|
3840
|
+
} & {} & {} & {} & {} & {} & {} & {
|
|
3841
|
+
readonly materialByName: {
|
|
3842
|
+
readonly key: "name";
|
|
3843
|
+
readonly unique: true;
|
|
3844
|
+
readonly archetype: "Material";
|
|
3845
|
+
};
|
|
3846
|
+
} & {} & {}>, args: {
|
|
1198
3847
|
modelRef: number;
|
|
1199
|
-
|
|
3848
|
+
meshRef: number;
|
|
1200
3849
|
jointTemplate: readonly JointTemplate[];
|
|
1201
3850
|
instanceBuffer: GPUBuffer;
|
|
1202
3851
|
jointMatrixBuffer: GPUBuffer;
|
|
@@ -1208,5 +3857,16 @@ export declare const pbrSkinning: {
|
|
|
1208
3857
|
readonly actions: {};
|
|
1209
3858
|
readonly services: {};
|
|
1210
3859
|
readonly computed: {};
|
|
1211
|
-
readonly indexes: {
|
|
3860
|
+
readonly indexes: {
|
|
3861
|
+
readonly nodeChildrenOf: {
|
|
3862
|
+
readonly key: "parent";
|
|
3863
|
+
readonly archetype: "Node";
|
|
3864
|
+
};
|
|
3865
|
+
} & {} & {} & {} & {} & {} & {} & {
|
|
3866
|
+
readonly materialByName: {
|
|
3867
|
+
readonly key: "name";
|
|
3868
|
+
readonly unique: true;
|
|
3869
|
+
readonly archetype: "Material";
|
|
3870
|
+
};
|
|
3871
|
+
} & {} & {} & {};
|
|
1212
3872
|
};
|