@adobe/data-gpu 0.9.69
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 +98 -0
- package/LICENSE +21 -0
- package/dist/core/core-plugin.d.ts +44 -0
- package/dist/core/core-plugin.js +90 -0
- package/dist/core/core-plugin.js.map +1 -0
- package/dist/core/frame-time/frame-time-plugin.d.ts +25 -0
- package/dist/core/frame-time/frame-time-plugin.js +41 -0
- package/dist/core/frame-time/frame-time-plugin.js.map +1 -0
- package/dist/core/frame-time/frame-time.d.ts +18 -0
- package/dist/core/frame-time/frame-time.js +3 -0
- package/dist/core/frame-time/frame-time.js.map +1 -0
- package/dist/core/frame-time/public.d.ts +1 -0
- package/dist/core/frame-time/public.js +3 -0
- package/dist/core/frame-time/public.js.map +1 -0
- package/dist/graphics/animation/animation-data-plugin.d.ts +216 -0
- package/dist/graphics/animation/animation-data-plugin.js +110 -0
- package/dist/graphics/animation/animation-data-plugin.js.map +1 -0
- package/dist/graphics/animation/animation-plugin.d.ts +214 -0
- package/dist/graphics/animation/animation-plugin.js +26 -0
- package/dist/graphics/animation/animation-plugin.js.map +1 -0
- package/dist/graphics/animation/animation-plugin.test.d.ts +1 -0
- package/dist/graphics/animation/animation-plugin.test.js +142 -0
- package/dist/graphics/animation/animation-plugin.test.js.map +1 -0
- package/dist/graphics/animation/animation-track/animation-track.d.ts +13 -0
- package/dist/graphics/animation/animation-track/animation-track.js +3 -0
- package/dist/graphics/animation/animation-track/animation-track.js.map +1 -0
- package/dist/graphics/animation/animation-track/componentwise-lerp.d.ts +7 -0
- package/dist/graphics/animation/animation-track/componentwise-lerp.js +22 -0
- package/dist/graphics/animation/animation-track/componentwise-lerp.js.map +1 -0
- package/dist/graphics/animation/animation-track/interpolate.d.ts +8 -0
- package/dist/graphics/animation/animation-track/interpolate.js +18 -0
- package/dist/graphics/animation/animation-track/interpolate.js.map +1 -0
- package/dist/graphics/animation/animation-track/public.d.ts +1 -0
- package/dist/graphics/animation/animation-track/public.js +3 -0
- package/dist/graphics/animation/animation-track/public.js.map +1 -0
- package/dist/graphics/animation/animation-track/sample.d.ts +7 -0
- package/dist/graphics/animation/animation-track/sample.js +44 -0
- package/dist/graphics/animation/animation-track/sample.js.map +1 -0
- package/dist/graphics/animation/interpolation-mode/interpolation-mode.d.ts +4 -0
- package/dist/graphics/animation/interpolation-mode/interpolation-mode.js +3 -0
- package/dist/graphics/animation/interpolation-mode/interpolation-mode.js.map +1 -0
- package/dist/graphics/animation/interpolation-mode/public.d.ts +1 -0
- package/dist/graphics/animation/interpolation-mode/public.js +3 -0
- package/dist/graphics/animation/interpolation-mode/public.js.map +1 -0
- package/dist/graphics/animation/interpolation-mode/schema.d.ts +4 -0
- package/dist/graphics/animation/interpolation-mode/schema.js +3 -0
- package/dist/graphics/animation/interpolation-mode/schema.js.map +1 -0
- package/dist/graphics/camera/camera-plugin.d.ts +112 -0
- package/dist/graphics/camera/camera-plugin.js +36 -0
- package/dist/graphics/camera/camera-plugin.js.map +1 -0
- package/dist/graphics/camera/camera.d.ts +4 -0
- package/dist/graphics/camera/camera.js +3 -0
- package/dist/graphics/camera/camera.js.map +1 -0
- package/dist/graphics/camera/orbit/attach-orbit-drag.d.ts +31 -0
- package/dist/graphics/camera/orbit/attach-orbit-drag.js +44 -0
- package/dist/graphics/camera/orbit/attach-orbit-drag.js.map +1 -0
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +290 -0
- package/dist/graphics/camera/orbit/orbit-data-plugin.js +42 -0
- package/dist/graphics/camera/orbit/orbit-data-plugin.js.map +1 -0
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +281 -0
- package/dist/graphics/camera/orbit/orbit-plugin.js +12 -0
- package/dist/graphics/camera/orbit/orbit-plugin.js.map +1 -0
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +292 -0
- package/dist/graphics/camera/orbit/orbit-system-plugin.js +71 -0
- package/dist/graphics/camera/orbit/orbit-system-plugin.js.map +1 -0
- package/dist/graphics/camera/orbit/orbit.d.ts +32 -0
- package/dist/graphics/camera/orbit/orbit.js +3 -0
- package/dist/graphics/camera/orbit/orbit.js.map +1 -0
- package/dist/graphics/camera/orbit/public.d.ts +5 -0
- package/dist/graphics/camera/orbit/public.js +6 -0
- package/dist/graphics/camera/orbit/public.js.map +1 -0
- package/dist/graphics/camera/public.d.ts +4 -0
- package/dist/graphics/camera/public.js +6 -0
- package/dist/graphics/camera/public.js.map +1 -0
- package/dist/graphics/camera/schema.d.ts +65 -0
- package/dist/graphics/camera/schema.js +19 -0
- package/dist/graphics/camera/schema.js.map +1 -0
- package/dist/graphics/camera/screen-to-world-ray.d.ts +10 -0
- package/dist/graphics/camera/screen-to-world-ray.js +31 -0
- package/dist/graphics/camera/screen-to-world-ray.js.map +1 -0
- package/dist/graphics/camera/to-view-projection.d.ts +3 -0
- package/dist/graphics/camera/to-view-projection.js +23 -0
- package/dist/graphics/camera/to-view-projection.js.map +1 -0
- package/dist/graphics/graphics-plugin.d.ts +121 -0
- package/dist/graphics/graphics-plugin.js +106 -0
- package/dist/graphics/graphics-plugin.js.map +1 -0
- package/dist/graphics/picking/pick-hit.d.ts +10 -0
- package/dist/graphics/picking/pick-hit.js +3 -0
- package/dist/graphics/picking/pick-hit.js.map +1 -0
- package/dist/graphics/picking/picking-plugin.d.ts +3819 -0
- package/dist/graphics/picking/picking-plugin.js +88 -0
- package/dist/graphics/picking/picking-plugin.js.map +1 -0
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +1619 -0
- package/dist/graphics/rendering/bone-collider-plugin.js +207 -0
- package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -0
- package/dist/graphics/rendering/display-transform-plugin.d.ts +52 -0
- package/dist/graphics/rendering/display-transform-plugin.js +25 -0
- package/dist/graphics/rendering/display-transform-plugin.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/brdf.wgsl.d.ts +2 -0
- package/dist/graphics/rendering/ibl-render/brdf.wgsl.js +42 -0
- package/dist/graphics/rendering/ibl-render/brdf.wgsl.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/brdf-lut.d.ts +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/brdf-lut.js +91 -0
- package/dist/graphics/rendering/ibl-render/ibl/brdf-lut.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/build-ibl-resources.d.ts +24 -0
- package/dist/graphics/rendering/ibl-render/ibl/build-ibl-resources.js +34 -0
- package/dist/graphics/rendering/ibl-render/ibl/build-ibl-resources.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/create-cubemap.d.ts +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/create-cubemap.js +12 -0
- package/dist/graphics/rendering/ibl-render/ibl/create-cubemap.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/cube-face-view.d.ts +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/cube-face-view.js +11 -0
- package/dist/graphics/rendering/ibl-render/ibl/cube-face-view.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/cubemap-sample-view.d.ts +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/cubemap-sample-view.js +9 -0
- package/dist/graphics/rendering/ibl-render/ibl/cubemap-sample-view.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/environment.d.ts +8 -0
- package/dist/graphics/rendering/ibl-render/ibl/environment.js +170 -0
- package/dist/graphics/rendering/ibl-render/ibl/environment.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/float-to-half.d.ts +2 -0
- package/dist/graphics/rendering/ibl-render/ibl/float-to-half.js +32 -0
- package/dist/graphics/rendering/ibl-render/ibl/float-to-half.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/ibl-math.wgsl.d.ts +2 -0
- package/dist/graphics/rendering/ibl-render/ibl/ibl-math.wgsl.js +59 -0
- package/dist/graphics/rendering/ibl-render/ibl/ibl-math.wgsl.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/irradiance.d.ts +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/irradiance.js +94 -0
- package/dist/graphics/rendering/ibl-render/ibl/irradiance.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/parse-hdr.d.ts +6 -0
- package/dist/graphics/rendering/ibl-render/ibl/parse-hdr.js +106 -0
- package/dist/graphics/rendering/ibl-render/ibl/parse-hdr.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/prefilter.d.ts +5 -0
- package/dist/graphics/rendering/ibl-render/ibl/prefilter.js +103 -0
- package/dist/graphics/rendering/ibl-render/ibl/prefilter.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl/render-helpers.d.ts +4 -0
- package/dist/graphics/rendering/ibl-render/ibl/render-helpers.js +16 -0
- package/dist/graphics/rendering/ibl-render/ibl/render-helpers.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +1028 -0
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +409 -0
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/ibl-shader.wgsl.d.ts +8 -0
- package/dist/graphics/rendering/ibl-render/ibl-shader.wgsl.js +173 -0
- package/dist/graphics/rendering/ibl-render/ibl-shader.wgsl.js.map +1 -0
- package/dist/graphics/rendering/ibl-render/skybox-shader.wgsl.d.ts +2 -0
- package/dist/graphics/rendering/ibl-render/skybox-shader.wgsl.js +50 -0
- package/dist/graphics/rendering/ibl-render/skybox-shader.wgsl.js.map +1 -0
- package/dist/graphics/rendering/interpolation-plugin.d.ts +485 -0
- package/dist/graphics/rendering/interpolation-plugin.js +98 -0
- package/dist/graphics/rendering/interpolation-plugin.js.map +1 -0
- package/dist/graphics/rendering/interpolation.test.d.ts +1 -0
- package/dist/graphics/rendering/interpolation.test.js +38 -0
- package/dist/graphics/rendering/interpolation.test.js.map +1 -0
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +1628 -0
- package/dist/graphics/rendering/jolt-ragdoll-plugin.js +218 -0
- package/dist/graphics/rendering/jolt-ragdoll-plugin.js.map +1 -0
- package/dist/graphics/rendering/material-gpu/material-arrays.d.ts +47 -0
- package/dist/graphics/rendering/material-gpu/material-arrays.js +83 -0
- package/dist/graphics/rendering/material-gpu/material-arrays.js.map +1 -0
- package/dist/graphics/rendering/material-gpu/material-bind-group.d.ts +9 -0
- package/dist/graphics/rendering/material-gpu/material-bind-group.js +52 -0
- package/dist/graphics/rendering/material-gpu/material-bind-group.js.map +1 -0
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.d.ts +259 -0
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js +90 -0
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js.map +1 -0
- package/dist/graphics/rendering/model-collider-plugin.d.ts +1232 -0
- package/dist/graphics/rendering/model-collider-plugin.js +81 -0
- package/dist/graphics/rendering/model-collider-plugin.js.map +1 -0
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +75 -0
- package/dist/graphics/rendering/pbr-core-plugin.js +39 -0
- package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -0
- package/dist/graphics/rendering/pbr-render/pbr-array-shader.wgsl.d.ts +10 -0
- package/dist/graphics/rendering/pbr-render/pbr-array-shader.wgsl.js +145 -0
- package/dist/graphics/rendering/pbr-render/pbr-array-shader.wgsl.js.map +1 -0
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +1266 -0
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.js +254 -0
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.js.map +1 -0
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +1004 -0
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js +116 -0
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js.map +1 -0
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +31 -0
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js +20 -0
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js.map +1 -0
- package/dist/graphics/rendering/rendering-plugin.d.ts +1 -0
- package/dist/graphics/rendering/rendering-plugin.js +3 -0
- package/dist/graphics/rendering/rendering-plugin.js.map +1 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/layout.d.ts +2 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/layout.js +18 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/layout.js.map +1 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/public.d.ts +1 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/public.js +3 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/public.js.map +1 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/skinning-attributes.d.ts +1 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/skinning-attributes.js +3 -0
- package/dist/graphics/rendering/skinning/skinning-attributes/skinning-attributes.js.map +1 -0
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +1212 -0
- package/dist/graphics/rendering/skinning/skinning-plugin.js +207 -0
- package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -0
- package/dist/graphics/rendering/standard-vertex/layout.d.ts +2 -0
- package/dist/graphics/rendering/standard-vertex/layout.js +16 -0
- package/dist/graphics/rendering/standard-vertex/layout.js.map +1 -0
- package/dist/graphics/rendering/standard-vertex/public.d.ts +2 -0
- package/dist/graphics/rendering/standard-vertex/public.js +4 -0
- package/dist/graphics/rendering/standard-vertex/public.js.map +1 -0
- package/dist/graphics/rendering/standard-vertex/schema.d.ts +52 -0
- package/dist/graphics/rendering/standard-vertex/schema.js +15 -0
- package/dist/graphics/rendering/standard-vertex/schema.js.map +1 -0
- package/dist/graphics/rendering/standard-vertex/standard-vertex.d.ts +4 -0
- package/dist/graphics/rendering/standard-vertex/standard-vertex.js +3 -0
- package/dist/graphics/rendering/standard-vertex/standard-vertex.js.map +1 -0
- package/dist/graphics/rendering/visible-material/color-material-options.d.ts +7 -0
- package/dist/graphics/rendering/visible-material/color-material-options.js +3 -0
- package/dist/graphics/rendering/visible-material/color-material-options.js.map +1 -0
- package/dist/graphics/rendering/visible-material/create-bind-group-layout.d.ts +8 -0
- package/dist/graphics/rendering/visible-material/create-bind-group-layout.js +35 -0
- package/dist/graphics/rendering/visible-material/create-bind-group-layout.js.map +1 -0
- package/dist/graphics/rendering/visible-material/create-color-bind-group.d.ts +10 -0
- package/dist/graphics/rendering/visible-material/create-color-bind-group.js +26 -0
- package/dist/graphics/rendering/visible-material/create-color-bind-group.js.map +1 -0
- package/dist/graphics/rendering/visible-material/public.d.ts +4 -0
- package/dist/graphics/rendering/visible-material/public.js +5 -0
- package/dist/graphics/rendering/visible-material/public.js.map +1 -0
- package/dist/graphics/rendering/visible-material/schema.d.ts +49 -0
- package/dist/graphics/rendering/visible-material/schema.js +23 -0
- package/dist/graphics/rendering/visible-material/schema.js.map +1 -0
- package/dist/graphics/rendering/visible-material/visible-material.d.ts +4 -0
- package/dist/graphics/rendering/visible-material/visible-material.js +3 -0
- package/dist/graphics/rendering/visible-material/visible-material.js.map +1 -0
- package/dist/graphics/scene/light/light-plugin.d.ts +30 -0
- package/dist/graphics/scene/light/light-plugin.js +35 -0
- package/dist/graphics/scene/light/light-plugin.js.map +1 -0
- package/dist/graphics/scene/light/light.d.ts +14 -0
- package/dist/graphics/scene/light/light.js +3 -0
- package/dist/graphics/scene/light/light.js.map +1 -0
- package/dist/graphics/scene/light/public.d.ts +1 -0
- package/dist/graphics/scene/light/public.js +2 -0
- package/dist/graphics/scene/light/public.js.map +1 -0
- package/dist/graphics/scene/model/geometry/geometry.d.ts +9 -0
- package/dist/graphics/scene/model/geometry/geometry.js +3 -0
- package/dist/graphics/scene/model/geometry/geometry.js.map +1 -0
- package/dist/graphics/scene/model/geometry/public.d.ts +1 -0
- package/dist/graphics/scene/model/geometry/public.js +3 -0
- package/dist/graphics/scene/model/geometry/public.js.map +1 -0
- package/dist/graphics/scene/model/gltf/accessor-view.d.ts +9 -0
- package/dist/graphics/scene/model/gltf/accessor-view.js +44 -0
- package/dist/graphics/scene/model/gltf/accessor-view.js.map +1 -0
- package/dist/graphics/scene/model/gltf/build-material-bind-group.d.ts +22 -0
- package/dist/graphics/scene/model/gltf/build-material-bind-group.js +75 -0
- package/dist/graphics/scene/model/gltf/build-material-bind-group.js.map +1 -0
- package/dist/graphics/scene/model/gltf/compute-world-matrices.d.ts +7 -0
- package/dist/graphics/scene/model/gltf/compute-world-matrices.js +38 -0
- package/dist/graphics/scene/model/gltf/compute-world-matrices.js.map +1 -0
- package/dist/graphics/scene/model/gltf/create-color-material.d.ts +3 -0
- package/dist/graphics/scene/model/gltf/create-color-material.js +34 -0
- package/dist/graphics/scene/model/gltf/create-color-material.js.map +1 -0
- package/dist/graphics/scene/model/gltf/decode-images.d.ts +12 -0
- package/dist/graphics/scene/model/gltf/decode-images.js +68 -0
- package/dist/graphics/scene/model/gltf/decode-images.js.map +1 -0
- package/dist/graphics/scene/model/gltf/gltf-schema.d.ts +152 -0
- package/dist/graphics/scene/model/gltf/gltf-schema.js +20 -0
- package/dist/graphics/scene/model/gltf/gltf-schema.js.map +1 -0
- package/dist/graphics/scene/model/gltf/load-gltf-model.d.ts +42 -0
- package/dist/graphics/scene/model/gltf/load-gltf-model.js +175 -0
- package/dist/graphics/scene/model/gltf/load-gltf-model.js.map +1 -0
- package/dist/graphics/scene/model/gltf/pack-vertex-buffer.d.ts +21 -0
- package/dist/graphics/scene/model/gltf/pack-vertex-buffer.js +106 -0
- package/dist/graphics/scene/model/gltf/pack-vertex-buffer.js.map +1 -0
- package/dist/graphics/scene/model/gltf/parse-animations.d.ts +18 -0
- package/dist/graphics/scene/model/gltf/parse-animations.js +51 -0
- package/dist/graphics/scene/model/gltf/parse-animations.js.map +1 -0
- package/dist/graphics/scene/model/gltf/parse-glb.d.ts +6 -0
- package/dist/graphics/scene/model/gltf/parse-glb.js +40 -0
- package/dist/graphics/scene/model/gltf/parse-glb.js.map +1 -0
- package/dist/graphics/scene/model/gltf/parse-skin.d.ts +19 -0
- package/dist/graphics/scene/model/gltf/parse-skin.js +43 -0
- package/dist/graphics/scene/model/gltf/parse-skin.js.map +1 -0
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +922 -0
- package/dist/graphics/scene/model/model-loader-plugin.js +120 -0
- package/dist/graphics/scene/model/model-loader-plugin.js.map +1 -0
- package/dist/graphics/scene/model/model-plugin.d.ts +352 -0
- package/dist/graphics/scene/model/model-plugin.js +39 -0
- package/dist/graphics/scene/model/model-plugin.js.map +1 -0
- package/dist/graphics/scene/model/model.d.ts +11 -0
- package/dist/graphics/scene/model/model.js +3 -0
- package/dist/graphics/scene/model/model.js.map +1 -0
- package/dist/graphics/scene/model/public.d.ts +1 -0
- package/dist/graphics/scene/model/public.js +2 -0
- package/dist/graphics/scene/model/public.js.map +1 -0
- package/dist/graphics/scene/model/shape/convex-hull.d.ts +36 -0
- package/dist/graphics/scene/model/shape/convex-hull.js +152 -0
- package/dist/graphics/scene/model/shape/convex-hull.js.map +1 -0
- package/dist/graphics/scene/model/shape/convex-hull.test.d.ts +1 -0
- package/dist/graphics/scene/model/shape/convex-hull.test.js +78 -0
- package/dist/graphics/scene/model/shape/convex-hull.test.js.map +1 -0
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +631 -0
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +61 -0
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -0
- package/dist/graphics/scene/model/shape/shape-mesh.d.ts +34 -0
- package/dist/graphics/scene/model/shape/shape-mesh.js +142 -0
- package/dist/graphics/scene/model/shape/shape-mesh.js.map +1 -0
- package/dist/graphics/scene/model/shape/upload-shape-mesh.d.ts +9 -0
- package/dist/graphics/scene/model/shape/upload-shape-mesh.js +12 -0
- package/dist/graphics/scene/model/shape/upload-shape-mesh.js.map +1 -0
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +909 -0
- package/dist/graphics/scene/model/world-bounds-plugin.js +93 -0
- package/dist/graphics/scene/model/world-bounds-plugin.js.map +1 -0
- package/dist/graphics/scene/node/node-data-plugin.d.ts +113 -0
- package/dist/graphics/scene/node/node-data-plugin.js +27 -0
- package/dist/graphics/scene/node/node-data-plugin.js.map +1 -0
- package/dist/graphics/scene/node/node-plugin.d.ts +102 -0
- package/dist/graphics/scene/node/node-plugin.js +12 -0
- package/dist/graphics/scene/node/node-plugin.js.map +1 -0
- package/dist/graphics/scene/node/node.d.ts +19 -0
- package/dist/graphics/scene/node/node.js +3 -0
- package/dist/graphics/scene/node/node.js.map +1 -0
- package/dist/graphics/scene/node/public.d.ts +1 -0
- package/dist/graphics/scene/node/public.js +2 -0
- package/dist/graphics/scene/node/public.js.map +1 -0
- package/dist/graphics/scene/node/transform-plugin.d.ts +123 -0
- package/dist/graphics/scene/node/transform-plugin.js +65 -0
- package/dist/graphics/scene/node/transform-plugin.js.map +1 -0
- package/dist/graphics/scene/scene-plugin.d.ts +461 -0
- package/dist/graphics/scene/scene-plugin.js +19 -0
- package/dist/graphics/scene/scene-plugin.js.map +1 -0
- package/dist/graphics/scene/scene-uniforms/create-bind-group-layout.d.ts +7 -0
- package/dist/graphics/scene/scene-uniforms/create-bind-group-layout.js +19 -0
- package/dist/graphics/scene/scene-uniforms/create-bind-group-layout.js.map +1 -0
- package/dist/graphics/scene/scene-uniforms/public.d.ts +3 -0
- package/dist/graphics/scene/scene-uniforms/public.js +5 -0
- package/dist/graphics/scene/scene-uniforms/public.js.map +1 -0
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +137 -0
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js +59 -0
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js.map +1 -0
- package/dist/graphics/scene/scene-uniforms/scene-uniforms.d.ts +11 -0
- package/dist/graphics/scene/scene-uniforms/scene-uniforms.js +3 -0
- package/dist/graphics/scene/scene-uniforms/scene-uniforms.js.map +1 -0
- package/dist/graphics/scene/scene-uniforms/schema.d.ts +56 -0
- package/dist/graphics/scene/scene-uniforms/schema.js +15 -0
- package/dist/graphics/scene/scene-uniforms/schema.js.map +1 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -0
- package/dist/material/material-plugin.d.ts +221 -0
- package/dist/material/material-plugin.js +60 -0
- package/dist/material/material-plugin.js.map +1 -0
- package/dist/material/material.d.ts +31 -0
- package/dist/material/material.js +3 -0
- package/dist/material/material.js.map +1 -0
- package/dist/material/public.d.ts +2 -0
- package/dist/material/public.js +4 -0
- package/dist/material/public.js.map +1 -0
- package/dist/material/standard-materials.d.ts +3 -0
- package/dist/material/standard-materials.js +35 -0
- package/dist/material/standard-materials.js.map +1 -0
- package/dist/physics/body/body-type/body-type.d.ts +10 -0
- package/dist/physics/body/body-type/body-type.js +3 -0
- package/dist/physics/body/body-type/body-type.js.map +1 -0
- package/dist/physics/body/body-type/is-dynamic.d.ts +3 -0
- package/dist/physics/body/body-type/is-dynamic.js +6 -0
- package/dist/physics/body/body-type/is-dynamic.js.map +1 -0
- package/dist/physics/body/body-type/public.d.ts +2 -0
- package/dist/physics/body/body-type/public.js +4 -0
- package/dist/physics/body/body-type/public.js.map +1 -0
- package/dist/physics/body/body-type/schema.d.ts +4 -0
- package/dist/physics/body/body-type/schema.js +3 -0
- package/dist/physics/body/body-type/schema.js.map +1 -0
- package/dist/physics/body/collider-mesh.d.ts +11 -0
- package/dist/physics/body/collider-mesh.js +3 -0
- package/dist/physics/body/collider-mesh.js.map +1 -0
- package/dist/physics/body/collider-shape/collider-shape.d.ts +15 -0
- package/dist/physics/body/collider-shape/collider-shape.js +3 -0
- package/dist/physics/body/collider-shape/collider-shape.js.map +1 -0
- package/dist/physics/body/collider-shape/list.d.ts +3 -0
- package/dist/physics/body/collider-shape/list.js +5 -0
- package/dist/physics/body/collider-shape/list.js.map +1 -0
- package/dist/physics/body/collider-shape/mass-properties.d.ts +10 -0
- package/dist/physics/body/collider-shape/mass-properties.js +48 -0
- package/dist/physics/body/collider-shape/mass-properties.js.map +1 -0
- package/dist/physics/body/collider-shape/public.d.ts +4 -0
- package/dist/physics/body/collider-shape/public.js +6 -0
- package/dist/physics/body/collider-shape/public.js.map +1 -0
- package/dist/physics/body/collider-shape/schema.d.ts +4 -0
- package/dist/physics/body/collider-shape/schema.js +3 -0
- package/dist/physics/body/collider-shape/schema.js.map +1 -0
- package/dist/physics/body/collider-shape/to-index.d.ts +3 -0
- package/dist/physics/body/collider-shape/to-index.js +6 -0
- package/dist/physics/body/collider-shape/to-index.js.map +1 -0
- package/dist/physics/body/rigid-body.d.ts +23 -0
- package/dist/physics/body/rigid-body.js +3 -0
- package/dist/physics/body/rigid-body.js.map +1 -0
- package/dist/physics/body/static-collider.d.ts +25 -0
- package/dist/physics/body/static-collider.js +3 -0
- package/dist/physics/body/static-collider.js.map +1 -0
- package/dist/physics/joint/joint-plugin.d.ts +88 -0
- package/dist/physics/joint/joint-plugin.js +32 -0
- package/dist/physics/joint/joint-plugin.js.map +1 -0
- package/dist/physics/joint/joint-type/joint-type.d.ts +15 -0
- package/dist/physics/joint/joint-type/joint-type.js +3 -0
- package/dist/physics/joint/joint-type/joint-type.js.map +1 -0
- package/dist/physics/joint/joint-type/public.d.ts +1 -0
- package/dist/physics/joint/joint-type/public.js +3 -0
- package/dist/physics/joint/joint-type/public.js.map +1 -0
- package/dist/physics/joint/joint-type/schema.d.ts +4 -0
- package/dist/physics/joint/joint-type/schema.js +3 -0
- package/dist/physics/joint/joint-type/schema.js.map +1 -0
- package/dist/physics/joint/joint.d.ts +24 -0
- package/dist/physics/joint/joint.js +3 -0
- package/dist/physics/joint/joint.js.map +1 -0
- package/dist/physics/physics-clock-plugin.d.ts +86 -0
- package/dist/physics/physics-clock-plugin.js +37 -0
- package/dist/physics/physics-clock-plugin.js.map +1 -0
- package/dist/physics/physics-clock.test.d.ts +1 -0
- package/dist/physics/physics-clock.test.js +45 -0
- package/dist/physics/physics-clock.test.js.map +1 -0
- package/dist/physics/physics-data-plugin.d.ts +348 -0
- package/dist/physics/physics-data-plugin.js +71 -0
- package/dist/physics/physics-data-plugin.js.map +1 -0
- package/dist/physics/ragdoll/fit-bone-capsules.d.ts +39 -0
- package/dist/physics/ragdoll/fit-bone-capsules.js +87 -0
- package/dist/physics/ragdoll/fit-bone-capsules.js.map +1 -0
- package/dist/physics/ragdoll/fit-bone-capsules.test.d.ts +1 -0
- package/dist/physics/ragdoll/fit-bone-capsules.test.js +67 -0
- package/dist/physics/ragdoll/fit-bone-capsules.test.js.map +1 -0
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +465 -0
- package/dist/physics/solvers/jolt-solver-plugin.js +440 -0
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -0
- package/dist/physics/solvers/rapier-jolt.benchmark.test.d.ts +1 -0
- package/dist/physics/solvers/rapier-jolt.benchmark.test.js +35 -0
- package/dist/physics/solvers/rapier-jolt.benchmark.test.js.map +1 -0
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +444 -0
- package/dist/physics/solvers/rapier-solver-plugin.js +284 -0
- package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -0
- package/dist/physics/solvers/solver-benchmark.d.ts +45 -0
- package/dist/physics/solvers/solver-benchmark.js +115 -0
- package/dist/physics/solvers/solver-benchmark.js.map +1 -0
- package/package.json +34 -0
- package/src/core/core-plugin.ts +92 -0
- package/src/core/frame-time/frame-time-plugin.ts +44 -0
- package/src/core/frame-time/frame-time.ts +21 -0
- package/src/core/frame-time/public.ts +3 -0
- package/src/graphics/animation/animation-data-plugin.ts +119 -0
- package/src/graphics/animation/animation-plugin.test.ts +161 -0
- package/src/graphics/animation/animation-plugin.ts +26 -0
- package/src/graphics/animation/animation-track/animation-track.ts +17 -0
- package/src/graphics/animation/animation-track/componentwise-lerp.ts +24 -0
- package/src/graphics/animation/animation-track/interpolate.ts +24 -0
- package/src/graphics/animation/animation-track/public.ts +3 -0
- package/src/graphics/animation/animation-track/sample.ts +48 -0
- package/src/graphics/animation/interpolation-mode/interpolation-mode.ts +8 -0
- package/src/graphics/animation/interpolation-mode/public.ts +3 -0
- package/src/graphics/animation/interpolation-mode/schema.ts +5 -0
- package/src/graphics/camera/camera-plugin.ts +37 -0
- package/src/graphics/camera/camera.ts +8 -0
- package/src/graphics/camera/orbit/attach-orbit-drag.ts +62 -0
- package/src/graphics/camera/orbit/orbit-data-plugin.ts +44 -0
- package/src/graphics/camera/orbit/orbit-plugin.ts +13 -0
- package/src/graphics/camera/orbit/orbit-system-plugin.ts +74 -0
- package/src/graphics/camera/orbit/orbit.ts +36 -0
- package/src/graphics/camera/orbit/public.ts +7 -0
- package/src/graphics/camera/public.ts +6 -0
- package/src/graphics/camera/schema.ts +21 -0
- package/src/graphics/camera/screen-to-world-ray.ts +47 -0
- package/src/graphics/camera/to-view-projection.ts +29 -0
- package/src/graphics/graphics-plugin.ts +108 -0
- package/src/graphics/picking/pick-hit.ts +13 -0
- package/src/graphics/picking/picking-plugin.ts +101 -0
- package/src/graphics/plugins.md +120 -0
- package/src/graphics/rendering/bone-collider-plugin.ts +182 -0
- package/src/graphics/rendering/display-transform-plugin.ts +26 -0
- package/src/graphics/rendering/ibl-render/brdf.wgsl.ts +43 -0
- package/src/graphics/rendering/ibl-render/ibl/brdf-lut.ts +101 -0
- package/src/graphics/rendering/ibl-render/ibl/build-ibl-resources.ts +57 -0
- package/src/graphics/rendering/ibl-render/ibl/create-cubemap.ts +17 -0
- package/src/graphics/rendering/ibl-render/ibl/cube-face-view.ts +11 -0
- package/src/graphics/rendering/ibl-render/ibl/cubemap-sample-view.ts +9 -0
- package/src/graphics/rendering/ibl-render/ibl/environment.ts +190 -0
- package/src/graphics/rendering/ibl-render/ibl/float-to-half.ts +35 -0
- package/src/graphics/rendering/ibl-render/ibl/ibl-math.wgsl.ts +60 -0
- package/src/graphics/rendering/ibl-render/ibl/irradiance.ts +105 -0
- package/src/graphics/rendering/ibl-render/ibl/parse-hdr.ts +108 -0
- package/src/graphics/rendering/ibl-render/ibl/prefilter.ts +121 -0
- package/src/graphics/rendering/ibl-render/ibl/render-helpers.ts +17 -0
- package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +415 -0
- package/src/graphics/rendering/ibl-render/ibl-shader.wgsl.ts +185 -0
- package/src/graphics/rendering/ibl-render/skybox-shader.wgsl.ts +51 -0
- package/src/graphics/rendering/interpolation-plugin.ts +97 -0
- package/src/graphics/rendering/interpolation.test.ts +52 -0
- package/src/graphics/rendering/jolt-ragdoll-plugin.ts +174 -0
- package/src/graphics/rendering/material-gpu/material-arrays.ts +113 -0
- package/src/graphics/rendering/material-gpu/material-bind-group.ts +61 -0
- package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +95 -0
- package/src/graphics/rendering/model-collider-plugin.ts +77 -0
- package/src/graphics/rendering/pbr-core-plugin.ts +40 -0
- package/src/graphics/rendering/pbr-render/pbr-array-shader.wgsl.ts +146 -0
- package/src/graphics/rendering/pbr-render/pbr-render-plugin.ts +247 -0
- package/src/graphics/rendering/pbr-render/physics-bridge-plugin.ts +106 -0
- package/src/graphics/rendering/ragdoll-trigger-plugin.ts +21 -0
- package/src/graphics/rendering/rendering-plugin.ts +3 -0
- package/src/graphics/rendering/skinning/skinning-attributes/layout.ts +20 -0
- package/src/graphics/rendering/skinning/skinning-attributes/public.ts +3 -0
- package/src/graphics/rendering/skinning/skinning-attributes/skinning-attributes.ts +3 -0
- package/src/graphics/rendering/skinning/skinning-plugin.ts +213 -0
- package/src/graphics/rendering/standard-vertex/layout.ts +19 -0
- package/src/graphics/rendering/standard-vertex/public.ts +4 -0
- package/src/graphics/rendering/standard-vertex/schema.ts +17 -0
- package/src/graphics/rendering/standard-vertex/standard-vertex.ts +8 -0
- package/src/graphics/rendering/visible-material/color-material-options.ts +10 -0
- package/src/graphics/rendering/visible-material/create-bind-group-layout.ts +35 -0
- package/src/graphics/rendering/visible-material/create-color-bind-group.ts +40 -0
- package/src/graphics/rendering/visible-material/public.ts +6 -0
- package/src/graphics/rendering/visible-material/schema.ts +25 -0
- package/src/graphics/rendering/visible-material/visible-material.ts +8 -0
- package/src/graphics/scene/light/light-plugin.ts +37 -0
- package/src/graphics/scene/light/light.ts +18 -0
- package/src/graphics/scene/light/public.ts +1 -0
- package/src/graphics/scene/model/geometry/geometry.ts +12 -0
- package/src/graphics/scene/model/geometry/public.ts +4 -0
- package/src/graphics/scene/model/gltf/accessor-view.ts +53 -0
- package/src/graphics/scene/model/gltf/build-material-bind-group.ts +110 -0
- package/src/graphics/scene/model/gltf/compute-world-matrices.ts +43 -0
- package/src/graphics/scene/model/gltf/create-color-material.ts +47 -0
- package/src/graphics/scene/model/gltf/decode-images.ts +93 -0
- package/src/graphics/scene/model/gltf/gltf-schema.ts +161 -0
- package/src/graphics/scene/model/gltf/load-gltf-model.ts +220 -0
- package/src/graphics/scene/model/gltf/pack-vertex-buffer.ts +116 -0
- package/src/graphics/scene/model/gltf/parse-animations.ts +66 -0
- package/src/graphics/scene/model/gltf/parse-glb.ts +51 -0
- package/src/graphics/scene/model/gltf/parse-skin.ts +67 -0
- package/src/graphics/scene/model/model-loader-plugin.ts +131 -0
- package/src/graphics/scene/model/model-plugin.ts +46 -0
- package/src/graphics/scene/model/model.ts +15 -0
- package/src/graphics/scene/model/public.ts +1 -0
- package/src/graphics/scene/model/shape/convex-hull.test.ts +72 -0
- package/src/graphics/scene/model/shape/convex-hull.ts +141 -0
- package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +61 -0
- package/src/graphics/scene/model/shape/shape-mesh.ts +150 -0
- package/src/graphics/scene/model/shape/upload-shape-mesh.ts +14 -0
- package/src/graphics/scene/model/world-bounds-plugin.ts +88 -0
- package/src/graphics/scene/node/node-data-plugin.ts +28 -0
- package/src/graphics/scene/node/node-plugin.ts +13 -0
- package/src/graphics/scene/node/node.ts +23 -0
- package/src/graphics/scene/node/public.ts +1 -0
- package/src/graphics/scene/node/transform-plugin.ts +72 -0
- package/src/graphics/scene/scene-plugin.ts +20 -0
- package/src/graphics/scene/scene-uniforms/create-bind-group-layout.ts +19 -0
- package/src/graphics/scene/scene-uniforms/public.ts +5 -0
- package/src/graphics/scene/scene-uniforms/scene-uniforms-plugin.ts +64 -0
- package/src/graphics/scene/scene-uniforms/scene-uniforms.ts +15 -0
- package/src/graphics/scene/scene-uniforms/schema.ts +17 -0
- package/src/index.ts +72 -0
- package/src/material/material-plugin.ts +61 -0
- package/src/material/material.ts +38 -0
- package/src/material/public.ts +4 -0
- package/src/material/standard-materials.ts +43 -0
- package/src/physics/README.md +71 -0
- package/src/physics/body/body-type/body-type.ts +14 -0
- package/src/physics/body/body-type/is-dynamic.ts +8 -0
- package/src/physics/body/body-type/public.ts +4 -0
- package/src/physics/body/body-type/schema.ts +5 -0
- package/src/physics/body/collider-mesh.ts +13 -0
- package/src/physics/body/collider-shape/collider-shape.ts +19 -0
- package/src/physics/body/collider-shape/list.ts +7 -0
- package/src/physics/body/collider-shape/mass-properties.ts +47 -0
- package/src/physics/body/collider-shape/public.ts +6 -0
- package/src/physics/body/collider-shape/schema.ts +5 -0
- package/src/physics/body/collider-shape/to-index.ts +8 -0
- package/src/physics/body/rigid-body.ts +26 -0
- package/src/physics/body/static-collider.ts +28 -0
- package/src/physics/joint/joint-plugin.ts +33 -0
- package/src/physics/joint/joint-type/joint-type.ts +19 -0
- package/src/physics/joint/joint-type/public.ts +3 -0
- package/src/physics/joint/joint-type/schema.ts +5 -0
- package/src/physics/joint/joint.ts +27 -0
- package/src/physics/physics-clock-plugin.ts +61 -0
- package/src/physics/physics-clock.test.ts +55 -0
- package/src/physics/physics-data-plugin.ts +73 -0
- package/src/physics/ragdoll/fit-bone-capsules.test.ts +66 -0
- package/src/physics/ragdoll/fit-bone-capsules.ts +106 -0
- package/src/physics/solvers/README.md +63 -0
- package/src/physics/solvers/jolt-solver-plugin.ts +382 -0
- package/src/physics/solvers/rapier-jolt.benchmark.test.ts +39 -0
- package/src/physics/solvers/rapier-solver-plugin.ts +251 -0
- package/src/physics/solvers/solver-benchmark.ts +172 -0
- package/tsconfig.json +25 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,1266 @@
|
|
|
1
|
+
import { type Entity } from "@adobe/data/ecs";
|
|
2
|
+
/**
|
|
3
|
+
* pbrRender — the single PBR + IBL renderer. It extends `pbrIblRender`, reusing
|
|
4
|
+
* its IBL bake, skybox, scene/material bind groups and glTF draw path verbatim,
|
|
5
|
+
* and adds one extra draw query for **instanced primitives** whose material
|
|
6
|
+
* comes from the shared `materialGpu` arrays (selected per instance by the
|
|
7
|
+
* material entity's `_layerIndex`). Two efficient queries, one render plugin:
|
|
8
|
+
*
|
|
9
|
+
* - glTF models → per-material bind group, native-resolution textures (pbrIblRender)
|
|
10
|
+
* - primitives → shared texture_2d_array + per-instance layer (this system)
|
|
11
|
+
*
|
|
12
|
+
* The primitive system runs after `pbrIblRenderSystem` so the skybox is drawn
|
|
13
|
+
* first. World matrices are computed directly from `position`/`rotation`/`scale`
|
|
14
|
+
* (primitives are flat — no hierarchy), so it's independent of `transform`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const pbrRender: {
|
|
17
|
+
readonly components: {
|
|
18
|
+
readonly visible: {
|
|
19
|
+
readonly type: "boolean";
|
|
20
|
+
readonly const: true;
|
|
21
|
+
readonly default: true;
|
|
22
|
+
};
|
|
23
|
+
readonly position: {
|
|
24
|
+
readonly type: "array";
|
|
25
|
+
readonly items: {
|
|
26
|
+
readonly type: "number";
|
|
27
|
+
readonly precision: 1;
|
|
28
|
+
readonly default: number;
|
|
29
|
+
};
|
|
30
|
+
readonly minItems: 3;
|
|
31
|
+
readonly maxItems: 3;
|
|
32
|
+
readonly default: readonly [0, 0, 0];
|
|
33
|
+
};
|
|
34
|
+
readonly rotation: {
|
|
35
|
+
readonly type: "array";
|
|
36
|
+
readonly items: {
|
|
37
|
+
readonly type: "number";
|
|
38
|
+
readonly precision: 1;
|
|
39
|
+
readonly default: number;
|
|
40
|
+
};
|
|
41
|
+
readonly minItems: 4;
|
|
42
|
+
readonly maxItems: 4;
|
|
43
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
44
|
+
readonly interpolators: {
|
|
45
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly scale: {
|
|
49
|
+
readonly type: "array";
|
|
50
|
+
readonly items: {
|
|
51
|
+
readonly type: "number";
|
|
52
|
+
readonly precision: 1;
|
|
53
|
+
readonly default: number;
|
|
54
|
+
};
|
|
55
|
+
readonly minItems: 3;
|
|
56
|
+
readonly maxItems: 3;
|
|
57
|
+
readonly default: readonly [0, 0, 0];
|
|
58
|
+
};
|
|
59
|
+
readonly parent: {
|
|
60
|
+
readonly type: "integer";
|
|
61
|
+
readonly minimum: -2147483648;
|
|
62
|
+
readonly maximum: 2147483647;
|
|
63
|
+
readonly default: number;
|
|
64
|
+
};
|
|
65
|
+
readonly _worldMatrix: {
|
|
66
|
+
readonly type: "array";
|
|
67
|
+
readonly items: {
|
|
68
|
+
readonly type: "number";
|
|
69
|
+
readonly precision: 1;
|
|
70
|
+
readonly default: number;
|
|
71
|
+
};
|
|
72
|
+
readonly minItems: 16;
|
|
73
|
+
readonly maxItems: 16;
|
|
74
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
75
|
+
};
|
|
76
|
+
readonly _worldBounds: {
|
|
77
|
+
readonly type: "object";
|
|
78
|
+
readonly properties: {
|
|
79
|
+
readonly min: {
|
|
80
|
+
readonly type: "array";
|
|
81
|
+
readonly items: {
|
|
82
|
+
readonly type: "number";
|
|
83
|
+
readonly precision: 1;
|
|
84
|
+
readonly default: number;
|
|
85
|
+
};
|
|
86
|
+
readonly minItems: 3;
|
|
87
|
+
readonly maxItems: 3;
|
|
88
|
+
readonly default: readonly [0, 0, 0];
|
|
89
|
+
};
|
|
90
|
+
readonly max: {
|
|
91
|
+
readonly type: "array";
|
|
92
|
+
readonly items: {
|
|
93
|
+
readonly type: "number";
|
|
94
|
+
readonly precision: 1;
|
|
95
|
+
readonly default: number;
|
|
96
|
+
};
|
|
97
|
+
readonly minItems: 3;
|
|
98
|
+
readonly maxItems: 3;
|
|
99
|
+
readonly default: readonly [0, 0, 0];
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly required: readonly ["min", "max"];
|
|
103
|
+
readonly additionalProperties: false;
|
|
104
|
+
readonly default: {
|
|
105
|
+
readonly min: readonly [0, 0, 0];
|
|
106
|
+
readonly max: readonly [0, 0, 0];
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
} & {} & {
|
|
110
|
+
readonly _vertexBuffer: {
|
|
111
|
+
readonly default: GPUBuffer | null;
|
|
112
|
+
};
|
|
113
|
+
readonly _skinVertexBuffer: {
|
|
114
|
+
readonly default: GPUBuffer | null;
|
|
115
|
+
};
|
|
116
|
+
readonly _indexBuffer: {
|
|
117
|
+
readonly default: GPUBuffer | null;
|
|
118
|
+
};
|
|
119
|
+
readonly _indexCount: {
|
|
120
|
+
readonly type: "integer";
|
|
121
|
+
readonly minimum: 0;
|
|
122
|
+
readonly maximum: 4294967295;
|
|
123
|
+
readonly default: number;
|
|
124
|
+
};
|
|
125
|
+
readonly _indexFormat: {
|
|
126
|
+
readonly default: GPUIndexFormat;
|
|
127
|
+
};
|
|
128
|
+
readonly _materialBindGroup: {
|
|
129
|
+
readonly default: GPUBindGroup | null;
|
|
130
|
+
};
|
|
131
|
+
readonly _geometry: {
|
|
132
|
+
readonly type: "integer";
|
|
133
|
+
readonly minimum: -2147483648;
|
|
134
|
+
readonly maximum: 2147483647;
|
|
135
|
+
readonly default: number;
|
|
136
|
+
};
|
|
137
|
+
readonly _material: {
|
|
138
|
+
readonly type: "integer";
|
|
139
|
+
readonly minimum: -2147483648;
|
|
140
|
+
readonly maximum: 2147483647;
|
|
141
|
+
readonly default: number;
|
|
142
|
+
};
|
|
143
|
+
readonly _nodeLocalMatrix: {
|
|
144
|
+
readonly type: "array";
|
|
145
|
+
readonly items: {
|
|
146
|
+
readonly type: "number";
|
|
147
|
+
readonly precision: 1;
|
|
148
|
+
readonly default: number;
|
|
149
|
+
};
|
|
150
|
+
readonly minItems: 16;
|
|
151
|
+
readonly maxItems: 16;
|
|
152
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
153
|
+
};
|
|
154
|
+
readonly _skeletonModelRef: {
|
|
155
|
+
readonly type: "integer";
|
|
156
|
+
readonly minimum: -2147483648;
|
|
157
|
+
readonly maximum: 2147483647;
|
|
158
|
+
readonly default: number;
|
|
159
|
+
};
|
|
160
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
161
|
+
readonly default: GPUBindGroup | null;
|
|
162
|
+
};
|
|
163
|
+
} & {
|
|
164
|
+
readonly modelUrl: {
|
|
165
|
+
readonly type: "string";
|
|
166
|
+
};
|
|
167
|
+
readonly geometry: {
|
|
168
|
+
readonly type: "integer";
|
|
169
|
+
readonly minimum: -2147483648;
|
|
170
|
+
readonly maximum: 2147483647;
|
|
171
|
+
readonly default: number;
|
|
172
|
+
};
|
|
173
|
+
} & {
|
|
174
|
+
readonly animationClipTracks: {
|
|
175
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
176
|
+
};
|
|
177
|
+
readonly animationClipDuration: {
|
|
178
|
+
readonly type: "number";
|
|
179
|
+
readonly precision: 2;
|
|
180
|
+
readonly default: number;
|
|
181
|
+
};
|
|
182
|
+
readonly animationClipRef: {
|
|
183
|
+
readonly type: "integer";
|
|
184
|
+
readonly minimum: -2147483648;
|
|
185
|
+
readonly maximum: 2147483647;
|
|
186
|
+
readonly default: number;
|
|
187
|
+
};
|
|
188
|
+
readonly animationTargets: {
|
|
189
|
+
readonly default: Entity[];
|
|
190
|
+
};
|
|
191
|
+
readonly animationTime: {
|
|
192
|
+
readonly type: "number";
|
|
193
|
+
readonly precision: 2;
|
|
194
|
+
readonly default: number;
|
|
195
|
+
};
|
|
196
|
+
readonly animationSpeed: {
|
|
197
|
+
readonly default: 1;
|
|
198
|
+
readonly type: "number";
|
|
199
|
+
readonly precision: 1;
|
|
200
|
+
};
|
|
201
|
+
readonly animationLoop: {
|
|
202
|
+
readonly type: "boolean";
|
|
203
|
+
};
|
|
204
|
+
readonly animationPlaying: {
|
|
205
|
+
readonly type: "boolean";
|
|
206
|
+
};
|
|
207
|
+
readonly animationObservable: {
|
|
208
|
+
readonly type: "boolean";
|
|
209
|
+
readonly const: true;
|
|
210
|
+
readonly default: true;
|
|
211
|
+
};
|
|
212
|
+
} & {
|
|
213
|
+
readonly _bounds: {
|
|
214
|
+
readonly default: {
|
|
215
|
+
readonly min: readonly [number, number, number];
|
|
216
|
+
readonly max: readonly [number, number, number];
|
|
217
|
+
} | null;
|
|
218
|
+
};
|
|
219
|
+
readonly _skinJointTemplate: {
|
|
220
|
+
readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
|
|
221
|
+
};
|
|
222
|
+
readonly _skinInverseBindMatrices: {
|
|
223
|
+
readonly default: Float32Array | null;
|
|
224
|
+
};
|
|
225
|
+
readonly _animationClipRefs: {
|
|
226
|
+
readonly default: number[];
|
|
227
|
+
};
|
|
228
|
+
readonly _cpuPositions: {
|
|
229
|
+
readonly default: Float32Array | null;
|
|
230
|
+
};
|
|
231
|
+
readonly _cpuIndices: {
|
|
232
|
+
readonly default: Uint32Array | null;
|
|
233
|
+
};
|
|
234
|
+
readonly _cpuSkin: {
|
|
235
|
+
readonly default: {
|
|
236
|
+
positions: Float32Array;
|
|
237
|
+
joints: Uint32Array;
|
|
238
|
+
weights: Float32Array;
|
|
239
|
+
} | null;
|
|
240
|
+
};
|
|
241
|
+
} & {
|
|
242
|
+
readonly material: {
|
|
243
|
+
readonly type: "integer";
|
|
244
|
+
readonly minimum: -2147483648;
|
|
245
|
+
readonly maximum: 2147483647;
|
|
246
|
+
readonly default: number;
|
|
247
|
+
};
|
|
248
|
+
readonly name: {
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
};
|
|
251
|
+
readonly density: {
|
|
252
|
+
readonly type: "number";
|
|
253
|
+
readonly precision: 1;
|
|
254
|
+
readonly default: number;
|
|
255
|
+
};
|
|
256
|
+
readonly restitution: {
|
|
257
|
+
readonly type: "number";
|
|
258
|
+
readonly precision: 1;
|
|
259
|
+
readonly default: number;
|
|
260
|
+
};
|
|
261
|
+
readonly friction: {
|
|
262
|
+
readonly type: "number";
|
|
263
|
+
readonly precision: 1;
|
|
264
|
+
readonly default: number;
|
|
265
|
+
};
|
|
266
|
+
readonly compliance: {
|
|
267
|
+
readonly type: "number";
|
|
268
|
+
readonly precision: 1;
|
|
269
|
+
readonly default: number;
|
|
270
|
+
};
|
|
271
|
+
readonly heatCapacity: {
|
|
272
|
+
readonly type: "number";
|
|
273
|
+
readonly precision: 1;
|
|
274
|
+
readonly default: number;
|
|
275
|
+
};
|
|
276
|
+
readonly baseColorFactor: {
|
|
277
|
+
readonly type: "array";
|
|
278
|
+
readonly items: {
|
|
279
|
+
readonly type: "number";
|
|
280
|
+
readonly precision: 1;
|
|
281
|
+
readonly default: number;
|
|
282
|
+
};
|
|
283
|
+
readonly minItems: 4;
|
|
284
|
+
readonly maxItems: 4;
|
|
285
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
286
|
+
};
|
|
287
|
+
readonly emissiveFactor: {
|
|
288
|
+
readonly type: "array";
|
|
289
|
+
readonly items: {
|
|
290
|
+
readonly type: "number";
|
|
291
|
+
readonly precision: 1;
|
|
292
|
+
readonly default: number;
|
|
293
|
+
};
|
|
294
|
+
readonly minItems: 3;
|
|
295
|
+
readonly maxItems: 3;
|
|
296
|
+
readonly default: readonly [0, 0, 0];
|
|
297
|
+
};
|
|
298
|
+
readonly metallicFactor: {
|
|
299
|
+
readonly type: "number";
|
|
300
|
+
readonly precision: 1;
|
|
301
|
+
readonly default: number;
|
|
302
|
+
};
|
|
303
|
+
readonly roughnessFactor: {
|
|
304
|
+
readonly type: "number";
|
|
305
|
+
readonly precision: 1;
|
|
306
|
+
readonly default: number;
|
|
307
|
+
};
|
|
308
|
+
readonly normalScale: {
|
|
309
|
+
readonly type: "number";
|
|
310
|
+
readonly precision: 1;
|
|
311
|
+
readonly default: number;
|
|
312
|
+
};
|
|
313
|
+
readonly occlusionStrength: {
|
|
314
|
+
readonly type: "number";
|
|
315
|
+
readonly precision: 1;
|
|
316
|
+
readonly default: number;
|
|
317
|
+
};
|
|
318
|
+
readonly baseColorUrl: {
|
|
319
|
+
readonly type: "string";
|
|
320
|
+
};
|
|
321
|
+
readonly metallicRoughnessUrl: {
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
};
|
|
324
|
+
readonly normalUrl: {
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
};
|
|
327
|
+
readonly occlusionUrl: {
|
|
328
|
+
readonly type: "string";
|
|
329
|
+
};
|
|
330
|
+
readonly emissiveUrl: {
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
};
|
|
333
|
+
} & {
|
|
334
|
+
readonly _layerIndex: {
|
|
335
|
+
readonly type: "integer";
|
|
336
|
+
readonly minimum: 0;
|
|
337
|
+
readonly maximum: 4294967295;
|
|
338
|
+
readonly default: number;
|
|
339
|
+
};
|
|
340
|
+
} & {
|
|
341
|
+
readonly _renderPosition: {
|
|
342
|
+
readonly type: "array";
|
|
343
|
+
readonly items: {
|
|
344
|
+
readonly type: "number";
|
|
345
|
+
readonly precision: 1;
|
|
346
|
+
readonly default: number;
|
|
347
|
+
};
|
|
348
|
+
readonly minItems: 3;
|
|
349
|
+
readonly maxItems: 3;
|
|
350
|
+
readonly default: readonly [0, 0, 0];
|
|
351
|
+
};
|
|
352
|
+
readonly _renderRotation: {
|
|
353
|
+
readonly type: "array";
|
|
354
|
+
readonly items: {
|
|
355
|
+
readonly type: "number";
|
|
356
|
+
readonly precision: 1;
|
|
357
|
+
readonly default: number;
|
|
358
|
+
};
|
|
359
|
+
readonly minItems: 4;
|
|
360
|
+
readonly maxItems: 4;
|
|
361
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
362
|
+
readonly interpolators: {
|
|
363
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
readonly resources: {} & {
|
|
368
|
+
readonly light: {
|
|
369
|
+
readonly default: import("../../scene/light/public.js");
|
|
370
|
+
};
|
|
371
|
+
} & {
|
|
372
|
+
readonly frameTime: {
|
|
373
|
+
readonly default: import("../../../core/frame-time/public.js");
|
|
374
|
+
readonly transient: true;
|
|
375
|
+
};
|
|
376
|
+
} & {
|
|
377
|
+
readonly schedulerState: {
|
|
378
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
379
|
+
};
|
|
380
|
+
} & {
|
|
381
|
+
readonly device: {
|
|
382
|
+
readonly default: GPUDevice | null;
|
|
383
|
+
readonly transient: true;
|
|
384
|
+
};
|
|
385
|
+
readonly commandEncoder: {
|
|
386
|
+
readonly default: GPUCommandEncoder | null;
|
|
387
|
+
readonly transient: true;
|
|
388
|
+
};
|
|
389
|
+
} & {
|
|
390
|
+
readonly renderPassEncoder: {
|
|
391
|
+
readonly default: GPURenderPassEncoder | null;
|
|
392
|
+
readonly transient: true;
|
|
393
|
+
};
|
|
394
|
+
readonly depthTexture: {
|
|
395
|
+
readonly default: GPUTexture | null;
|
|
396
|
+
readonly transient: true;
|
|
397
|
+
};
|
|
398
|
+
readonly clearColor: {
|
|
399
|
+
readonly default: readonly [number, number, number, number];
|
|
400
|
+
readonly transient: true;
|
|
401
|
+
};
|
|
402
|
+
readonly canvas: {
|
|
403
|
+
readonly default: HTMLCanvasElement | null;
|
|
404
|
+
readonly transient: true;
|
|
405
|
+
};
|
|
406
|
+
readonly canvasContext: {
|
|
407
|
+
readonly default: GPUCanvasContext | null;
|
|
408
|
+
readonly transient: true;
|
|
409
|
+
};
|
|
410
|
+
readonly canvasFormat: {
|
|
411
|
+
readonly default: GPUTextureFormat;
|
|
412
|
+
readonly transient: true;
|
|
413
|
+
};
|
|
414
|
+
readonly depthFormat: {
|
|
415
|
+
readonly default: GPUTextureFormat;
|
|
416
|
+
readonly transient: true;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
readonly camera: {
|
|
420
|
+
readonly default: import("../../camera/public.js");
|
|
421
|
+
};
|
|
422
|
+
} & {
|
|
423
|
+
readonly _sceneUniformsBuffer: {
|
|
424
|
+
readonly default: GPUBuffer | null;
|
|
425
|
+
readonly transient: true;
|
|
426
|
+
};
|
|
427
|
+
} & {
|
|
428
|
+
readonly _iblEnvironment: {
|
|
429
|
+
readonly default: GPUTexture | null;
|
|
430
|
+
readonly transient: true;
|
|
431
|
+
};
|
|
432
|
+
readonly _iblIrradiance: {
|
|
433
|
+
readonly default: GPUTexture | null;
|
|
434
|
+
readonly transient: true;
|
|
435
|
+
};
|
|
436
|
+
readonly _iblPrefiltered: {
|
|
437
|
+
readonly default: GPUTexture | null;
|
|
438
|
+
readonly transient: true;
|
|
439
|
+
};
|
|
440
|
+
readonly _iblBrdfLut: {
|
|
441
|
+
readonly default: GPUTexture | null;
|
|
442
|
+
readonly transient: true;
|
|
443
|
+
};
|
|
444
|
+
} & {
|
|
445
|
+
readonly materials: {
|
|
446
|
+
readonly default: Record<string, Entity>;
|
|
447
|
+
};
|
|
448
|
+
} & {
|
|
449
|
+
readonly _materialArrays: {
|
|
450
|
+
readonly default: import("../material-gpu/material-arrays.js").MaterialArrays | null;
|
|
451
|
+
readonly transient: true;
|
|
452
|
+
};
|
|
453
|
+
readonly _materialPalette: {
|
|
454
|
+
readonly default: GPUBuffer | null;
|
|
455
|
+
readonly transient: true;
|
|
456
|
+
};
|
|
457
|
+
readonly _materialBindGroup: {
|
|
458
|
+
readonly default: GPUBindGroup | null;
|
|
459
|
+
readonly transient: true;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
readonly archetypes: {
|
|
463
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
464
|
+
} & {} & {} & {
|
|
465
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
466
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
467
|
+
} & {
|
|
468
|
+
readonly Geometry: readonly ["modelUrl"];
|
|
469
|
+
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
470
|
+
} & {
|
|
471
|
+
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
472
|
+
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
473
|
+
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
474
|
+
} & {} & {} & {} & {
|
|
475
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
476
|
+
} & {} & {} & {};
|
|
477
|
+
readonly transactions: {} & {} & {
|
|
478
|
+
readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
479
|
+
readonly light: {
|
|
480
|
+
readonly default: import("../../scene/light/public.js");
|
|
481
|
+
};
|
|
482
|
+
}>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
483
|
+
} & {} & {} & {
|
|
484
|
+
readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
485
|
+
readonly renderPassEncoder: {
|
|
486
|
+
readonly default: GPURenderPassEncoder | null;
|
|
487
|
+
readonly transient: true;
|
|
488
|
+
};
|
|
489
|
+
readonly depthTexture: {
|
|
490
|
+
readonly default: GPUTexture | null;
|
|
491
|
+
readonly transient: true;
|
|
492
|
+
};
|
|
493
|
+
readonly clearColor: {
|
|
494
|
+
readonly default: readonly [number, number, number, number];
|
|
495
|
+
readonly transient: true;
|
|
496
|
+
};
|
|
497
|
+
readonly canvas: {
|
|
498
|
+
readonly default: HTMLCanvasElement | null;
|
|
499
|
+
readonly transient: true;
|
|
500
|
+
};
|
|
501
|
+
readonly canvasContext: {
|
|
502
|
+
readonly default: GPUCanvasContext | null;
|
|
503
|
+
readonly transient: true;
|
|
504
|
+
};
|
|
505
|
+
readonly canvasFormat: {
|
|
506
|
+
readonly default: GPUTextureFormat;
|
|
507
|
+
readonly transient: true;
|
|
508
|
+
};
|
|
509
|
+
readonly depthFormat: {
|
|
510
|
+
readonly default: GPUTextureFormat;
|
|
511
|
+
readonly transient: true;
|
|
512
|
+
};
|
|
513
|
+
} & {
|
|
514
|
+
readonly frameTime: {
|
|
515
|
+
readonly default: import("../../../core/frame-time/public.js");
|
|
516
|
+
readonly transient: true;
|
|
517
|
+
};
|
|
518
|
+
} & {
|
|
519
|
+
readonly schedulerState: {
|
|
520
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
521
|
+
};
|
|
522
|
+
} & {
|
|
523
|
+
readonly device: {
|
|
524
|
+
readonly default: GPUDevice | null;
|
|
525
|
+
readonly transient: true;
|
|
526
|
+
};
|
|
527
|
+
readonly commandEncoder: {
|
|
528
|
+
readonly default: GPUCommandEncoder | null;
|
|
529
|
+
readonly transient: true;
|
|
530
|
+
};
|
|
531
|
+
}>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
|
|
532
|
+
} & {} & {} & {} & {
|
|
533
|
+
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
534
|
+
readonly modelUrl: {
|
|
535
|
+
readonly type: "string";
|
|
536
|
+
};
|
|
537
|
+
readonly geometry: {
|
|
538
|
+
readonly type: "integer";
|
|
539
|
+
readonly minimum: -2147483648;
|
|
540
|
+
readonly maximum: 2147483647;
|
|
541
|
+
readonly default: number;
|
|
542
|
+
};
|
|
543
|
+
} & {
|
|
544
|
+
readonly visible: {
|
|
545
|
+
readonly type: "boolean";
|
|
546
|
+
readonly const: true;
|
|
547
|
+
readonly default: true;
|
|
548
|
+
};
|
|
549
|
+
readonly position: {
|
|
550
|
+
readonly type: "array";
|
|
551
|
+
readonly items: {
|
|
552
|
+
readonly type: "number";
|
|
553
|
+
readonly precision: 1;
|
|
554
|
+
readonly default: number;
|
|
555
|
+
};
|
|
556
|
+
readonly minItems: 3;
|
|
557
|
+
readonly maxItems: 3;
|
|
558
|
+
readonly default: readonly [0, 0, 0];
|
|
559
|
+
};
|
|
560
|
+
readonly rotation: {
|
|
561
|
+
readonly type: "array";
|
|
562
|
+
readonly items: {
|
|
563
|
+
readonly type: "number";
|
|
564
|
+
readonly precision: 1;
|
|
565
|
+
readonly default: number;
|
|
566
|
+
};
|
|
567
|
+
readonly minItems: 4;
|
|
568
|
+
readonly maxItems: 4;
|
|
569
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
570
|
+
readonly interpolators: {
|
|
571
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
readonly scale: {
|
|
575
|
+
readonly type: "array";
|
|
576
|
+
readonly items: {
|
|
577
|
+
readonly type: "number";
|
|
578
|
+
readonly precision: 1;
|
|
579
|
+
readonly default: number;
|
|
580
|
+
};
|
|
581
|
+
readonly minItems: 3;
|
|
582
|
+
readonly maxItems: 3;
|
|
583
|
+
readonly default: readonly [0, 0, 0];
|
|
584
|
+
};
|
|
585
|
+
readonly parent: {
|
|
586
|
+
readonly type: "integer";
|
|
587
|
+
readonly minimum: -2147483648;
|
|
588
|
+
readonly maximum: 2147483647;
|
|
589
|
+
readonly default: number;
|
|
590
|
+
};
|
|
591
|
+
readonly _worldMatrix: {
|
|
592
|
+
readonly type: "array";
|
|
593
|
+
readonly items: {
|
|
594
|
+
readonly type: "number";
|
|
595
|
+
readonly precision: 1;
|
|
596
|
+
readonly default: number;
|
|
597
|
+
};
|
|
598
|
+
readonly minItems: 16;
|
|
599
|
+
readonly maxItems: 16;
|
|
600
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
601
|
+
};
|
|
602
|
+
readonly _worldBounds: {
|
|
603
|
+
readonly type: "object";
|
|
604
|
+
readonly properties: {
|
|
605
|
+
readonly min: {
|
|
606
|
+
readonly type: "array";
|
|
607
|
+
readonly items: {
|
|
608
|
+
readonly type: "number";
|
|
609
|
+
readonly precision: 1;
|
|
610
|
+
readonly default: number;
|
|
611
|
+
};
|
|
612
|
+
readonly minItems: 3;
|
|
613
|
+
readonly maxItems: 3;
|
|
614
|
+
readonly default: readonly [0, 0, 0];
|
|
615
|
+
};
|
|
616
|
+
readonly max: {
|
|
617
|
+
readonly type: "array";
|
|
618
|
+
readonly items: {
|
|
619
|
+
readonly type: "number";
|
|
620
|
+
readonly precision: 1;
|
|
621
|
+
readonly default: number;
|
|
622
|
+
};
|
|
623
|
+
readonly minItems: 3;
|
|
624
|
+
readonly maxItems: 3;
|
|
625
|
+
readonly default: readonly [0, 0, 0];
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
readonly required: readonly ["min", "max"];
|
|
629
|
+
readonly additionalProperties: false;
|
|
630
|
+
readonly default: {
|
|
631
|
+
readonly min: readonly [0, 0, 0];
|
|
632
|
+
readonly max: readonly [0, 0, 0];
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
} & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
636
|
+
readonly Geometry: readonly ["modelUrl"];
|
|
637
|
+
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
638
|
+
} & {
|
|
639
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
640
|
+
} & {}, {} & {} & {}>, args: {
|
|
641
|
+
modelUrl: string;
|
|
642
|
+
}) => number;
|
|
643
|
+
readonly insertModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
644
|
+
readonly modelUrl: {
|
|
645
|
+
readonly type: "string";
|
|
646
|
+
};
|
|
647
|
+
readonly geometry: {
|
|
648
|
+
readonly type: "integer";
|
|
649
|
+
readonly minimum: -2147483648;
|
|
650
|
+
readonly maximum: 2147483647;
|
|
651
|
+
readonly default: number;
|
|
652
|
+
};
|
|
653
|
+
} & {
|
|
654
|
+
readonly visible: {
|
|
655
|
+
readonly type: "boolean";
|
|
656
|
+
readonly const: true;
|
|
657
|
+
readonly default: true;
|
|
658
|
+
};
|
|
659
|
+
readonly position: {
|
|
660
|
+
readonly type: "array";
|
|
661
|
+
readonly items: {
|
|
662
|
+
readonly type: "number";
|
|
663
|
+
readonly precision: 1;
|
|
664
|
+
readonly default: number;
|
|
665
|
+
};
|
|
666
|
+
readonly minItems: 3;
|
|
667
|
+
readonly maxItems: 3;
|
|
668
|
+
readonly default: readonly [0, 0, 0];
|
|
669
|
+
};
|
|
670
|
+
readonly rotation: {
|
|
671
|
+
readonly type: "array";
|
|
672
|
+
readonly items: {
|
|
673
|
+
readonly type: "number";
|
|
674
|
+
readonly precision: 1;
|
|
675
|
+
readonly default: number;
|
|
676
|
+
};
|
|
677
|
+
readonly minItems: 4;
|
|
678
|
+
readonly maxItems: 4;
|
|
679
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
680
|
+
readonly interpolators: {
|
|
681
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
readonly scale: {
|
|
685
|
+
readonly type: "array";
|
|
686
|
+
readonly items: {
|
|
687
|
+
readonly type: "number";
|
|
688
|
+
readonly precision: 1;
|
|
689
|
+
readonly default: number;
|
|
690
|
+
};
|
|
691
|
+
readonly minItems: 3;
|
|
692
|
+
readonly maxItems: 3;
|
|
693
|
+
readonly default: readonly [0, 0, 0];
|
|
694
|
+
};
|
|
695
|
+
readonly parent: {
|
|
696
|
+
readonly type: "integer";
|
|
697
|
+
readonly minimum: -2147483648;
|
|
698
|
+
readonly maximum: 2147483647;
|
|
699
|
+
readonly default: number;
|
|
700
|
+
};
|
|
701
|
+
readonly _worldMatrix: {
|
|
702
|
+
readonly type: "array";
|
|
703
|
+
readonly items: {
|
|
704
|
+
readonly type: "number";
|
|
705
|
+
readonly precision: 1;
|
|
706
|
+
readonly default: number;
|
|
707
|
+
};
|
|
708
|
+
readonly minItems: 16;
|
|
709
|
+
readonly maxItems: 16;
|
|
710
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
711
|
+
};
|
|
712
|
+
readonly _worldBounds: {
|
|
713
|
+
readonly type: "object";
|
|
714
|
+
readonly properties: {
|
|
715
|
+
readonly min: {
|
|
716
|
+
readonly type: "array";
|
|
717
|
+
readonly items: {
|
|
718
|
+
readonly type: "number";
|
|
719
|
+
readonly precision: 1;
|
|
720
|
+
readonly default: number;
|
|
721
|
+
};
|
|
722
|
+
readonly minItems: 3;
|
|
723
|
+
readonly maxItems: 3;
|
|
724
|
+
readonly default: readonly [0, 0, 0];
|
|
725
|
+
};
|
|
726
|
+
readonly max: {
|
|
727
|
+
readonly type: "array";
|
|
728
|
+
readonly items: {
|
|
729
|
+
readonly type: "number";
|
|
730
|
+
readonly precision: 1;
|
|
731
|
+
readonly default: number;
|
|
732
|
+
};
|
|
733
|
+
readonly minItems: 3;
|
|
734
|
+
readonly maxItems: 3;
|
|
735
|
+
readonly default: readonly [0, 0, 0];
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
readonly required: readonly ["min", "max"];
|
|
739
|
+
readonly additionalProperties: false;
|
|
740
|
+
readonly default: {
|
|
741
|
+
readonly min: readonly [0, 0, 0];
|
|
742
|
+
readonly max: readonly [0, 0, 0];
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
} & {}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
746
|
+
readonly Geometry: readonly ["modelUrl"];
|
|
747
|
+
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
748
|
+
} & {
|
|
749
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
750
|
+
} & {}, {} & {} & {}>, args: {
|
|
751
|
+
geometry: number;
|
|
752
|
+
position?: readonly [number, number, number];
|
|
753
|
+
rotation?: import("@adobe/data/math").Quat;
|
|
754
|
+
scale?: readonly [number, number, number];
|
|
755
|
+
parent?: number;
|
|
756
|
+
}) => number;
|
|
757
|
+
} & {} & {
|
|
758
|
+
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
759
|
+
readonly animationClipTracks: {
|
|
760
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
761
|
+
};
|
|
762
|
+
readonly animationClipDuration: {
|
|
763
|
+
readonly type: "number";
|
|
764
|
+
readonly precision: 2;
|
|
765
|
+
readonly default: number;
|
|
766
|
+
};
|
|
767
|
+
readonly animationClipRef: {
|
|
768
|
+
readonly type: "integer";
|
|
769
|
+
readonly minimum: -2147483648;
|
|
770
|
+
readonly maximum: 2147483647;
|
|
771
|
+
readonly default: number;
|
|
772
|
+
};
|
|
773
|
+
readonly animationTargets: {
|
|
774
|
+
readonly default: Entity[];
|
|
775
|
+
};
|
|
776
|
+
readonly animationTime: {
|
|
777
|
+
readonly type: "number";
|
|
778
|
+
readonly precision: 2;
|
|
779
|
+
readonly default: number;
|
|
780
|
+
};
|
|
781
|
+
readonly animationSpeed: {
|
|
782
|
+
readonly default: 1;
|
|
783
|
+
readonly type: "number";
|
|
784
|
+
readonly precision: 1;
|
|
785
|
+
};
|
|
786
|
+
readonly animationLoop: {
|
|
787
|
+
readonly type: "boolean";
|
|
788
|
+
};
|
|
789
|
+
readonly animationPlaying: {
|
|
790
|
+
readonly type: "boolean";
|
|
791
|
+
};
|
|
792
|
+
readonly animationObservable: {
|
|
793
|
+
readonly type: "boolean";
|
|
794
|
+
readonly const: true;
|
|
795
|
+
readonly default: true;
|
|
796
|
+
};
|
|
797
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {} & {
|
|
798
|
+
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
799
|
+
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
800
|
+
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
801
|
+
}, {} & {}>, args: {
|
|
802
|
+
tracks: import("../../animation/animation-track/public.js")[];
|
|
803
|
+
duration: number;
|
|
804
|
+
}) => number;
|
|
805
|
+
readonly insertAnimation: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
806
|
+
readonly animationClipTracks: {
|
|
807
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
808
|
+
};
|
|
809
|
+
readonly animationClipDuration: {
|
|
810
|
+
readonly type: "number";
|
|
811
|
+
readonly precision: 2;
|
|
812
|
+
readonly default: number;
|
|
813
|
+
};
|
|
814
|
+
readonly animationClipRef: {
|
|
815
|
+
readonly type: "integer";
|
|
816
|
+
readonly minimum: -2147483648;
|
|
817
|
+
readonly maximum: 2147483647;
|
|
818
|
+
readonly default: number;
|
|
819
|
+
};
|
|
820
|
+
readonly animationTargets: {
|
|
821
|
+
readonly default: Entity[];
|
|
822
|
+
};
|
|
823
|
+
readonly animationTime: {
|
|
824
|
+
readonly type: "number";
|
|
825
|
+
readonly precision: 2;
|
|
826
|
+
readonly default: number;
|
|
827
|
+
};
|
|
828
|
+
readonly animationSpeed: {
|
|
829
|
+
readonly default: 1;
|
|
830
|
+
readonly type: "number";
|
|
831
|
+
readonly precision: 1;
|
|
832
|
+
};
|
|
833
|
+
readonly animationLoop: {
|
|
834
|
+
readonly type: "boolean";
|
|
835
|
+
};
|
|
836
|
+
readonly animationPlaying: {
|
|
837
|
+
readonly type: "boolean";
|
|
838
|
+
};
|
|
839
|
+
readonly animationObservable: {
|
|
840
|
+
readonly type: "boolean";
|
|
841
|
+
readonly const: true;
|
|
842
|
+
readonly default: true;
|
|
843
|
+
};
|
|
844
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {} & {
|
|
845
|
+
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
846
|
+
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
847
|
+
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
848
|
+
}, {} & {}>, args: {
|
|
849
|
+
animationClipRef: number;
|
|
850
|
+
animationTargets: number[];
|
|
851
|
+
animationTime?: number;
|
|
852
|
+
animationSpeed?: number;
|
|
853
|
+
animationLoop?: boolean;
|
|
854
|
+
animationPlaying?: boolean;
|
|
855
|
+
observable?: boolean;
|
|
856
|
+
}) => number;
|
|
857
|
+
readonly advanceAnimations: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
858
|
+
readonly animationClipTracks: {
|
|
859
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
860
|
+
};
|
|
861
|
+
readonly animationClipDuration: {
|
|
862
|
+
readonly type: "number";
|
|
863
|
+
readonly precision: 2;
|
|
864
|
+
readonly default: number;
|
|
865
|
+
};
|
|
866
|
+
readonly animationClipRef: {
|
|
867
|
+
readonly type: "integer";
|
|
868
|
+
readonly minimum: -2147483648;
|
|
869
|
+
readonly maximum: 2147483647;
|
|
870
|
+
readonly default: number;
|
|
871
|
+
};
|
|
872
|
+
readonly animationTargets: {
|
|
873
|
+
readonly default: Entity[];
|
|
874
|
+
};
|
|
875
|
+
readonly animationTime: {
|
|
876
|
+
readonly type: "number";
|
|
877
|
+
readonly precision: 2;
|
|
878
|
+
readonly default: number;
|
|
879
|
+
};
|
|
880
|
+
readonly animationSpeed: {
|
|
881
|
+
readonly default: 1;
|
|
882
|
+
readonly type: "number";
|
|
883
|
+
readonly precision: 1;
|
|
884
|
+
};
|
|
885
|
+
readonly animationLoop: {
|
|
886
|
+
readonly type: "boolean";
|
|
887
|
+
};
|
|
888
|
+
readonly animationPlaying: {
|
|
889
|
+
readonly type: "boolean";
|
|
890
|
+
};
|
|
891
|
+
readonly animationObservable: {
|
|
892
|
+
readonly type: "boolean";
|
|
893
|
+
readonly const: true;
|
|
894
|
+
readonly default: true;
|
|
895
|
+
};
|
|
896
|
+
}>, import("@adobe/data/schema").FromSchemas<{}>, {
|
|
897
|
+
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
898
|
+
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
899
|
+
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
900
|
+
}, {}>, args: {
|
|
901
|
+
dt: number;
|
|
902
|
+
observable: boolean;
|
|
903
|
+
}) => void;
|
|
904
|
+
} & {} & {
|
|
905
|
+
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
906
|
+
readonly _bounds: {
|
|
907
|
+
readonly default: {
|
|
908
|
+
readonly min: readonly [number, number, number];
|
|
909
|
+
readonly max: readonly [number, number, number];
|
|
910
|
+
} | null;
|
|
911
|
+
};
|
|
912
|
+
readonly _skinJointTemplate: {
|
|
913
|
+
readonly default: import("../../scene/model/gltf/parse-skin.js").JointTemplate[];
|
|
914
|
+
};
|
|
915
|
+
readonly _skinInverseBindMatrices: {
|
|
916
|
+
readonly default: Float32Array | null;
|
|
917
|
+
};
|
|
918
|
+
readonly _animationClipRefs: {
|
|
919
|
+
readonly default: number[];
|
|
920
|
+
};
|
|
921
|
+
readonly _cpuPositions: {
|
|
922
|
+
readonly default: Float32Array | null;
|
|
923
|
+
};
|
|
924
|
+
readonly _cpuIndices: {
|
|
925
|
+
readonly default: Uint32Array | null;
|
|
926
|
+
};
|
|
927
|
+
readonly _cpuSkin: {
|
|
928
|
+
readonly default: {
|
|
929
|
+
positions: Float32Array;
|
|
930
|
+
joints: Uint32Array;
|
|
931
|
+
weights: Float32Array;
|
|
932
|
+
} | null;
|
|
933
|
+
};
|
|
934
|
+
} & {} & {
|
|
935
|
+
readonly visible: {
|
|
936
|
+
readonly type: "boolean";
|
|
937
|
+
readonly const: true;
|
|
938
|
+
readonly default: true;
|
|
939
|
+
};
|
|
940
|
+
readonly position: {
|
|
941
|
+
readonly type: "array";
|
|
942
|
+
readonly items: {
|
|
943
|
+
readonly type: "number";
|
|
944
|
+
readonly precision: 1;
|
|
945
|
+
readonly default: number;
|
|
946
|
+
};
|
|
947
|
+
readonly minItems: 3;
|
|
948
|
+
readonly maxItems: 3;
|
|
949
|
+
readonly default: readonly [0, 0, 0];
|
|
950
|
+
};
|
|
951
|
+
readonly rotation: {
|
|
952
|
+
readonly type: "array";
|
|
953
|
+
readonly items: {
|
|
954
|
+
readonly type: "number";
|
|
955
|
+
readonly precision: 1;
|
|
956
|
+
readonly default: number;
|
|
957
|
+
};
|
|
958
|
+
readonly minItems: 4;
|
|
959
|
+
readonly maxItems: 4;
|
|
960
|
+
readonly default: readonly [0, 0, 0, 1];
|
|
961
|
+
readonly interpolators: {
|
|
962
|
+
readonly linear: (q1: any, q2: any, t: number) => any;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
readonly scale: {
|
|
966
|
+
readonly type: "array";
|
|
967
|
+
readonly items: {
|
|
968
|
+
readonly type: "number";
|
|
969
|
+
readonly precision: 1;
|
|
970
|
+
readonly default: number;
|
|
971
|
+
};
|
|
972
|
+
readonly minItems: 3;
|
|
973
|
+
readonly maxItems: 3;
|
|
974
|
+
readonly default: readonly [0, 0, 0];
|
|
975
|
+
};
|
|
976
|
+
readonly parent: {
|
|
977
|
+
readonly type: "integer";
|
|
978
|
+
readonly minimum: -2147483648;
|
|
979
|
+
readonly maximum: 2147483647;
|
|
980
|
+
readonly default: number;
|
|
981
|
+
};
|
|
982
|
+
readonly _worldMatrix: {
|
|
983
|
+
readonly type: "array";
|
|
984
|
+
readonly items: {
|
|
985
|
+
readonly type: "number";
|
|
986
|
+
readonly precision: 1;
|
|
987
|
+
readonly default: number;
|
|
988
|
+
};
|
|
989
|
+
readonly minItems: 16;
|
|
990
|
+
readonly maxItems: 16;
|
|
991
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
992
|
+
};
|
|
993
|
+
readonly _worldBounds: {
|
|
994
|
+
readonly type: "object";
|
|
995
|
+
readonly properties: {
|
|
996
|
+
readonly min: {
|
|
997
|
+
readonly type: "array";
|
|
998
|
+
readonly items: {
|
|
999
|
+
readonly type: "number";
|
|
1000
|
+
readonly precision: 1;
|
|
1001
|
+
readonly default: number;
|
|
1002
|
+
};
|
|
1003
|
+
readonly minItems: 3;
|
|
1004
|
+
readonly maxItems: 3;
|
|
1005
|
+
readonly default: readonly [0, 0, 0];
|
|
1006
|
+
};
|
|
1007
|
+
readonly max: {
|
|
1008
|
+
readonly type: "array";
|
|
1009
|
+
readonly items: {
|
|
1010
|
+
readonly type: "number";
|
|
1011
|
+
readonly precision: 1;
|
|
1012
|
+
readonly default: number;
|
|
1013
|
+
};
|
|
1014
|
+
readonly minItems: 3;
|
|
1015
|
+
readonly maxItems: 3;
|
|
1016
|
+
readonly default: readonly [0, 0, 0];
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
readonly required: readonly ["min", "max"];
|
|
1020
|
+
readonly additionalProperties: false;
|
|
1021
|
+
readonly default: {
|
|
1022
|
+
readonly min: readonly [0, 0, 0];
|
|
1023
|
+
readonly max: readonly [0, 0, 0];
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
} & {
|
|
1027
|
+
readonly modelUrl: {
|
|
1028
|
+
readonly type: "string";
|
|
1029
|
+
};
|
|
1030
|
+
readonly geometry: {
|
|
1031
|
+
readonly type: "integer";
|
|
1032
|
+
readonly minimum: -2147483648;
|
|
1033
|
+
readonly maximum: 2147483647;
|
|
1034
|
+
readonly default: number;
|
|
1035
|
+
};
|
|
1036
|
+
} & {
|
|
1037
|
+
readonly animationClipTracks: {
|
|
1038
|
+
readonly default: import("../../animation/animation-track/public.js")[];
|
|
1039
|
+
};
|
|
1040
|
+
readonly animationClipDuration: {
|
|
1041
|
+
readonly type: "number";
|
|
1042
|
+
readonly precision: 2;
|
|
1043
|
+
readonly default: number;
|
|
1044
|
+
};
|
|
1045
|
+
readonly animationClipRef: {
|
|
1046
|
+
readonly type: "integer";
|
|
1047
|
+
readonly minimum: -2147483648;
|
|
1048
|
+
readonly maximum: 2147483647;
|
|
1049
|
+
readonly default: number;
|
|
1050
|
+
};
|
|
1051
|
+
readonly animationTargets: {
|
|
1052
|
+
readonly default: Entity[];
|
|
1053
|
+
};
|
|
1054
|
+
readonly animationTime: {
|
|
1055
|
+
readonly type: "number";
|
|
1056
|
+
readonly precision: 2;
|
|
1057
|
+
readonly default: number;
|
|
1058
|
+
};
|
|
1059
|
+
readonly animationSpeed: {
|
|
1060
|
+
readonly default: 1;
|
|
1061
|
+
readonly type: "number";
|
|
1062
|
+
readonly precision: 1;
|
|
1063
|
+
};
|
|
1064
|
+
readonly animationLoop: {
|
|
1065
|
+
readonly type: "boolean";
|
|
1066
|
+
};
|
|
1067
|
+
readonly animationPlaying: {
|
|
1068
|
+
readonly type: "boolean";
|
|
1069
|
+
};
|
|
1070
|
+
readonly animationObservable: {
|
|
1071
|
+
readonly type: "boolean";
|
|
1072
|
+
readonly const: true;
|
|
1073
|
+
readonly default: true;
|
|
1074
|
+
};
|
|
1075
|
+
} & {
|
|
1076
|
+
readonly _vertexBuffer: {
|
|
1077
|
+
readonly default: GPUBuffer | null;
|
|
1078
|
+
};
|
|
1079
|
+
readonly _skinVertexBuffer: {
|
|
1080
|
+
readonly default: GPUBuffer | null;
|
|
1081
|
+
};
|
|
1082
|
+
readonly _indexBuffer: {
|
|
1083
|
+
readonly default: GPUBuffer | null;
|
|
1084
|
+
};
|
|
1085
|
+
readonly _indexCount: {
|
|
1086
|
+
readonly type: "integer";
|
|
1087
|
+
readonly minimum: 0;
|
|
1088
|
+
readonly maximum: 4294967295;
|
|
1089
|
+
readonly default: number;
|
|
1090
|
+
};
|
|
1091
|
+
readonly _indexFormat: {
|
|
1092
|
+
readonly default: GPUIndexFormat;
|
|
1093
|
+
};
|
|
1094
|
+
readonly _materialBindGroup: {
|
|
1095
|
+
readonly default: GPUBindGroup | null;
|
|
1096
|
+
};
|
|
1097
|
+
readonly _geometry: {
|
|
1098
|
+
readonly type: "integer";
|
|
1099
|
+
readonly minimum: -2147483648;
|
|
1100
|
+
readonly maximum: 2147483647;
|
|
1101
|
+
readonly default: number;
|
|
1102
|
+
};
|
|
1103
|
+
readonly _material: {
|
|
1104
|
+
readonly type: "integer";
|
|
1105
|
+
readonly minimum: -2147483648;
|
|
1106
|
+
readonly maximum: 2147483647;
|
|
1107
|
+
readonly default: number;
|
|
1108
|
+
};
|
|
1109
|
+
readonly _nodeLocalMatrix: {
|
|
1110
|
+
readonly type: "array";
|
|
1111
|
+
readonly items: {
|
|
1112
|
+
readonly type: "number";
|
|
1113
|
+
readonly precision: 1;
|
|
1114
|
+
readonly default: number;
|
|
1115
|
+
};
|
|
1116
|
+
readonly minItems: 16;
|
|
1117
|
+
readonly maxItems: 16;
|
|
1118
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
1119
|
+
};
|
|
1120
|
+
readonly _skeletonModelRef: {
|
|
1121
|
+
readonly type: "integer";
|
|
1122
|
+
readonly minimum: -2147483648;
|
|
1123
|
+
readonly maximum: 2147483647;
|
|
1124
|
+
readonly default: number;
|
|
1125
|
+
};
|
|
1126
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
1127
|
+
readonly default: GPUBindGroup | null;
|
|
1128
|
+
};
|
|
1129
|
+
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
1130
|
+
readonly frameTime: {
|
|
1131
|
+
readonly default: import("../../../core/frame-time/public.js");
|
|
1132
|
+
readonly transient: true;
|
|
1133
|
+
};
|
|
1134
|
+
} & {
|
|
1135
|
+
readonly schedulerState: {
|
|
1136
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
1137
|
+
};
|
|
1138
|
+
} & {
|
|
1139
|
+
readonly device: {
|
|
1140
|
+
readonly default: GPUDevice | null;
|
|
1141
|
+
readonly transient: true;
|
|
1142
|
+
};
|
|
1143
|
+
readonly commandEncoder: {
|
|
1144
|
+
readonly default: GPUCommandEncoder | null;
|
|
1145
|
+
readonly transient: true;
|
|
1146
|
+
};
|
|
1147
|
+
}>, {} & {} & {
|
|
1148
|
+
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
1149
|
+
} & {} & {
|
|
1150
|
+
readonly Geometry: readonly ["modelUrl"];
|
|
1151
|
+
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
1152
|
+
} & {
|
|
1153
|
+
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
1154
|
+
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
1155
|
+
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
1156
|
+
} & {} & {
|
|
1157
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
1158
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
1159
|
+
}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
1160
|
+
} & {} & {
|
|
1161
|
+
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
1162
|
+
readonly material: {
|
|
1163
|
+
readonly type: "integer";
|
|
1164
|
+
readonly minimum: -2147483648;
|
|
1165
|
+
readonly maximum: 2147483647;
|
|
1166
|
+
readonly default: number;
|
|
1167
|
+
};
|
|
1168
|
+
readonly name: {
|
|
1169
|
+
readonly type: "string";
|
|
1170
|
+
};
|
|
1171
|
+
readonly density: {
|
|
1172
|
+
readonly type: "number";
|
|
1173
|
+
readonly precision: 1;
|
|
1174
|
+
readonly default: number;
|
|
1175
|
+
};
|
|
1176
|
+
readonly restitution: {
|
|
1177
|
+
readonly type: "number";
|
|
1178
|
+
readonly precision: 1;
|
|
1179
|
+
readonly default: number;
|
|
1180
|
+
};
|
|
1181
|
+
readonly friction: {
|
|
1182
|
+
readonly type: "number";
|
|
1183
|
+
readonly precision: 1;
|
|
1184
|
+
readonly default: number;
|
|
1185
|
+
};
|
|
1186
|
+
readonly compliance: {
|
|
1187
|
+
readonly type: "number";
|
|
1188
|
+
readonly precision: 1;
|
|
1189
|
+
readonly default: number;
|
|
1190
|
+
};
|
|
1191
|
+
readonly heatCapacity: {
|
|
1192
|
+
readonly type: "number";
|
|
1193
|
+
readonly precision: 1;
|
|
1194
|
+
readonly default: number;
|
|
1195
|
+
};
|
|
1196
|
+
readonly baseColorFactor: {
|
|
1197
|
+
readonly type: "array";
|
|
1198
|
+
readonly items: {
|
|
1199
|
+
readonly type: "number";
|
|
1200
|
+
readonly precision: 1;
|
|
1201
|
+
readonly default: number;
|
|
1202
|
+
};
|
|
1203
|
+
readonly minItems: 4;
|
|
1204
|
+
readonly maxItems: 4;
|
|
1205
|
+
readonly default: readonly [0, 0, 0, 0];
|
|
1206
|
+
};
|
|
1207
|
+
readonly emissiveFactor: {
|
|
1208
|
+
readonly type: "array";
|
|
1209
|
+
readonly items: {
|
|
1210
|
+
readonly type: "number";
|
|
1211
|
+
readonly precision: 1;
|
|
1212
|
+
readonly default: number;
|
|
1213
|
+
};
|
|
1214
|
+
readonly minItems: 3;
|
|
1215
|
+
readonly maxItems: 3;
|
|
1216
|
+
readonly default: readonly [0, 0, 0];
|
|
1217
|
+
};
|
|
1218
|
+
readonly metallicFactor: {
|
|
1219
|
+
readonly type: "number";
|
|
1220
|
+
readonly precision: 1;
|
|
1221
|
+
readonly default: number;
|
|
1222
|
+
};
|
|
1223
|
+
readonly roughnessFactor: {
|
|
1224
|
+
readonly type: "number";
|
|
1225
|
+
readonly precision: 1;
|
|
1226
|
+
readonly default: number;
|
|
1227
|
+
};
|
|
1228
|
+
readonly normalScale: {
|
|
1229
|
+
readonly type: "number";
|
|
1230
|
+
readonly precision: 1;
|
|
1231
|
+
readonly default: number;
|
|
1232
|
+
};
|
|
1233
|
+
readonly occlusionStrength: {
|
|
1234
|
+
readonly type: "number";
|
|
1235
|
+
readonly precision: 1;
|
|
1236
|
+
readonly default: number;
|
|
1237
|
+
};
|
|
1238
|
+
readonly baseColorUrl: {
|
|
1239
|
+
readonly type: "string";
|
|
1240
|
+
};
|
|
1241
|
+
readonly metallicRoughnessUrl: {
|
|
1242
|
+
readonly type: "string";
|
|
1243
|
+
};
|
|
1244
|
+
readonly normalUrl: {
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
};
|
|
1247
|
+
readonly occlusionUrl: {
|
|
1248
|
+
readonly type: "string";
|
|
1249
|
+
};
|
|
1250
|
+
readonly emissiveUrl: {
|
|
1251
|
+
readonly type: "string";
|
|
1252
|
+
};
|
|
1253
|
+
}>, import("@adobe/data/schema").FromSchemas<{
|
|
1254
|
+
readonly materials: {
|
|
1255
|
+
readonly default: Record<string, Entity>;
|
|
1256
|
+
};
|
|
1257
|
+
}>, {
|
|
1258
|
+
readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
|
|
1259
|
+
}, {}>) => void;
|
|
1260
|
+
} & {} & {} & {};
|
|
1261
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "animationSampleSystem" | "modelLoadSystem" | "iblInitSystem" | "pbrIblRenderSystem" | "materialGpuBuilder" | "pbrPrimitiveRenderSystem">;
|
|
1262
|
+
readonly actions: {};
|
|
1263
|
+
readonly services: {};
|
|
1264
|
+
readonly computed: {};
|
|
1265
|
+
readonly indexes: {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
|
|
1266
|
+
};
|