@aura3d/engine 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -0
- package/dist/animation/AnimationAction.d.ts +40 -0
- package/dist/animation/AnimationAction.d.ts.map +1 -0
- package/dist/animation/AnimationAction.js +143 -0
- package/dist/animation/AnimationAction.js.map +1 -0
- package/dist/animation/AnimationClip.d.ts +24 -0
- package/dist/animation/AnimationClip.d.ts.map +1 -0
- package/dist/animation/AnimationClip.js +45 -0
- package/dist/animation/AnimationClip.js.map +1 -0
- package/dist/animation/AnimationEvents.d.ts +10 -0
- package/dist/animation/AnimationEvents.d.ts.map +1 -0
- package/dist/animation/AnimationEvents.js +26 -0
- package/dist/animation/AnimationEvents.js.map +1 -0
- package/dist/animation/AnimationLayer.d.ts +27 -0
- package/dist/animation/AnimationLayer.d.ts.map +1 -0
- package/dist/animation/AnimationLayer.js +53 -0
- package/dist/animation/AnimationLayer.js.map +1 -0
- package/dist/animation/AnimationMixer.d.ts +54 -0
- package/dist/animation/AnimationMixer.d.ts.map +1 -0
- package/dist/animation/AnimationMixer.js +319 -0
- package/dist/animation/AnimationMixer.js.map +1 -0
- package/dist/animation/AnimationStateMachine.d.ts +43 -0
- package/dist/animation/AnimationStateMachine.d.ts.map +1 -0
- package/dist/animation/AnimationStateMachine.js +92 -0
- package/dist/animation/AnimationStateMachine.js.map +1 -0
- package/dist/animation/AnimationTrack.d.ts +23 -0
- package/dist/animation/AnimationTrack.d.ts.map +1 -0
- package/dist/animation/AnimationTrack.js +124 -0
- package/dist/animation/AnimationTrack.js.map +1 -0
- package/dist/animation/BlendTree.d.ts +23 -0
- package/dist/animation/BlendTree.d.ts.map +1 -0
- package/dist/animation/BlendTree.js +68 -0
- package/dist/animation/BlendTree.js.map +1 -0
- package/dist/animation/Bone.d.ts +20 -0
- package/dist/animation/Bone.d.ts.map +1 -0
- package/dist/animation/Bone.js +24 -0
- package/dist/animation/Bone.js.map +1 -0
- package/dist/animation/CrowdAnimation.d.ts +13 -0
- package/dist/animation/CrowdAnimation.d.ts.map +1 -0
- package/dist/animation/CrowdAnimation.js +14 -0
- package/dist/animation/CrowdAnimation.js.map +1 -0
- package/dist/animation/ECSAnimationBridge.d.ts +9 -0
- package/dist/animation/ECSAnimationBridge.d.ts.map +1 -0
- package/dist/animation/ECSAnimationBridge.js +24 -0
- package/dist/animation/ECSAnimationBridge.js.map +1 -0
- package/dist/animation/IK.d.ts +24 -0
- package/dist/animation/IK.d.ts.map +1 -0
- package/dist/animation/IK.js +76 -0
- package/dist/animation/IK.js.map +1 -0
- package/dist/animation/Keyframe.d.ts +50 -0
- package/dist/animation/Keyframe.d.ts.map +1 -0
- package/dist/animation/Keyframe.js +118 -0
- package/dist/animation/Keyframe.js.map +1 -0
- package/dist/animation/LocomotionController.d.ts +47 -0
- package/dist/animation/LocomotionController.d.ts.map +1 -0
- package/dist/animation/LocomotionController.js +106 -0
- package/dist/animation/LocomotionController.js.map +1 -0
- package/dist/animation/MotionMatchingFixtures.d.ts +58 -0
- package/dist/animation/MotionMatchingFixtures.d.ts.map +1 -0
- package/dist/animation/MotionMatchingFixtures.js +175 -0
- package/dist/animation/MotionMatchingFixtures.js.map +1 -0
- package/dist/animation/MotionQuality.d.ts +36 -0
- package/dist/animation/MotionQuality.d.ts.map +1 -0
- package/dist/animation/MotionQuality.js +117 -0
- package/dist/animation/MotionQuality.js.map +1 -0
- package/dist/animation/Retargeting.d.ts +12 -0
- package/dist/animation/Retargeting.d.ts.map +1 -0
- package/dist/animation/Retargeting.js +19 -0
- package/dist/animation/Retargeting.js.map +1 -0
- package/dist/animation/RootMotion.d.ts +21 -0
- package/dist/animation/RootMotion.d.ts.map +1 -0
- package/dist/animation/RootMotion.js +84 -0
- package/dist/animation/RootMotion.js.map +1 -0
- package/dist/animation/SceneAnimationBridge.d.ts +18 -0
- package/dist/animation/SceneAnimationBridge.d.ts.map +1 -0
- package/dist/animation/SceneAnimationBridge.js +69 -0
- package/dist/animation/SceneAnimationBridge.js.map +1 -0
- package/dist/animation/SecondaryAnimationFixtures.d.ts +55 -0
- package/dist/animation/SecondaryAnimationFixtures.d.ts.map +1 -0
- package/dist/animation/SecondaryAnimationFixtures.js +147 -0
- package/dist/animation/SecondaryAnimationFixtures.js.map +1 -0
- package/dist/animation/Skeleton.d.ts +9 -0
- package/dist/animation/Skeleton.d.ts.map +1 -0
- package/dist/animation/Skeleton.js +31 -0
- package/dist/animation/Skeleton.js.map +1 -0
- package/dist/animation/Skinning.d.ts +7 -0
- package/dist/animation/Skinning.d.ts.map +1 -0
- package/dist/animation/Skinning.js +12 -0
- package/dist/animation/Skinning.js.map +1 -0
- package/dist/animation/browser-index.d.ts +21 -0
- package/dist/animation/browser-index.d.ts.map +1 -0
- package/dist/animation/browser-index.js +21 -0
- package/dist/animation/browser-index.js.map +1 -0
- package/dist/animation/index.d.ts +24 -0
- package/dist/animation/index.d.ts.map +1 -0
- package/dist/animation/index.js +24 -0
- package/dist/animation/index.js.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationAction.d.ts +16 -0
- package/dist/animation/threejs-compatibility/AnimationAction.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationAction.js +25 -0
- package/dist/animation/threejs-compatibility/AnimationAction.js.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationClip.d.ts +14 -0
- package/dist/animation/threejs-compatibility/AnimationClip.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationClip.js +11 -0
- package/dist/animation/threejs-compatibility/AnimationClip.js.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.d.ts +44 -0
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.js +31 -0
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.js.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationMixer.d.ts +9 -0
- package/dist/animation/threejs-compatibility/AnimationMixer.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/AnimationMixer.js +24 -0
- package/dist/animation/threejs-compatibility/AnimationMixer.js.map +1 -0
- package/dist/animation/threejs-compatibility/MorphTargetMixer.d.ts +10 -0
- package/dist/animation/threejs-compatibility/MorphTargetMixer.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/MorphTargetMixer.js +10 -0
- package/dist/animation/threejs-compatibility/MorphTargetMixer.js.map +1 -0
- package/dist/animation/threejs-compatibility/Skeleton.d.ts +10 -0
- package/dist/animation/threejs-compatibility/Skeleton.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/Skeleton.js +8 -0
- package/dist/animation/threejs-compatibility/Skeleton.js.map +1 -0
- package/dist/animation/threejs-compatibility/SkinnedMesh.d.ts +11 -0
- package/dist/animation/threejs-compatibility/SkinnedMesh.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/SkinnedMesh.js +16 -0
- package/dist/animation/threejs-compatibility/SkinnedMesh.js.map +1 -0
- package/dist/animation/threejs-compatibility/index.d.ts +12 -0
- package/dist/animation/threejs-compatibility/index.d.ts.map +1 -0
- package/dist/animation/threejs-compatibility/index.js +8 -0
- package/dist/animation/threejs-compatibility/index.js.map +1 -0
- package/dist/apps/index.d.ts +50 -0
- package/dist/apps/index.d.ts.map +1 -0
- package/dist/apps/index.js +99 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/assets/AdvancedAssetCorpus.d.ts +124 -0
- package/dist/assets/AdvancedAssetCorpus.d.ts.map +1 -0
- package/dist/assets/AdvancedAssetCorpus.js +266 -0
- package/dist/assets/AdvancedAssetCorpus.js.map +1 -0
- package/dist/assets/AssetBundleCacheFixtures.d.ts +62 -0
- package/dist/assets/AssetBundleCacheFixtures.d.ts.map +1 -0
- package/dist/assets/AssetBundleCacheFixtures.js +222 -0
- package/dist/assets/AssetBundleCacheFixtures.js.map +1 -0
- package/dist/assets/AssetCache.d.ts +21 -0
- package/dist/assets/AssetCache.d.ts.map +1 -0
- package/dist/assets/AssetCache.js +54 -0
- package/dist/assets/AssetCache.js.map +1 -0
- package/dist/assets/AssetCompatibility.d.ts +54 -0
- package/dist/assets/AssetCompatibility.d.ts.map +1 -0
- package/dist/assets/AssetCompatibility.js +122 -0
- package/dist/assets/AssetCompatibility.js.map +1 -0
- package/dist/assets/AssetCorpus.d.ts +88 -0
- package/dist/assets/AssetCorpus.d.ts.map +1 -0
- package/dist/assets/AssetCorpus.js +215 -0
- package/dist/assets/AssetCorpus.js.map +1 -0
- package/dist/assets/AssetDependencyGraph.d.ts +12 -0
- package/dist/assets/AssetDependencyGraph.d.ts.map +1 -0
- package/dist/assets/AssetDependencyGraph.js +66 -0
- package/dist/assets/AssetDependencyGraph.js.map +1 -0
- package/dist/assets/AssetHandle.d.ts +26 -0
- package/dist/assets/AssetHandle.d.ts.map +1 -0
- package/dist/assets/AssetHandle.js +53 -0
- package/dist/assets/AssetHandle.js.map +1 -0
- package/dist/assets/AssetImportPreflight.d.ts +43 -0
- package/dist/assets/AssetImportPreflight.d.ts.map +1 -0
- package/dist/assets/AssetImportPreflight.js +117 -0
- package/dist/assets/AssetImportPreflight.js.map +1 -0
- package/dist/assets/AssetInspection.d.ts +183 -0
- package/dist/assets/AssetInspection.d.ts.map +1 -0
- package/dist/assets/AssetInspection.js +397 -0
- package/dist/assets/AssetInspection.js.map +1 -0
- package/dist/assets/AssetLoader.d.ts +26 -0
- package/dist/assets/AssetLoader.d.ts.map +1 -0
- package/dist/assets/AssetLoader.js +12 -0
- package/dist/assets/AssetLoader.js.map +1 -0
- package/dist/assets/AssetManager.d.ts +37 -0
- package/dist/assets/AssetManager.d.ts.map +1 -0
- package/dist/assets/AssetManager.js +161 -0
- package/dist/assets/AssetManager.js.map +1 -0
- package/dist/assets/AssetRegistry.d.ts +10 -0
- package/dist/assets/AssetRegistry.d.ts.map +1 -0
- package/dist/assets/AssetRegistry.js +34 -0
- package/dist/assets/AssetRegistry.js.map +1 -0
- package/dist/assets/AssetRenderDefaults.d.ts +13 -0
- package/dist/assets/AssetRenderDefaults.d.ts.map +1 -0
- package/dist/assets/AssetRenderDefaults.js +23 -0
- package/dist/assets/AssetRenderDefaults.js.map +1 -0
- package/dist/assets/AudioLoader.d.ts +17 -0
- package/dist/assets/AudioLoader.d.ts.map +1 -0
- package/dist/assets/AudioLoader.js +23 -0
- package/dist/assets/AudioLoader.js.map +1 -0
- package/dist/assets/BlenderExportValidation.d.ts +64 -0
- package/dist/assets/BlenderExportValidation.d.ts.map +1 -0
- package/dist/assets/BlenderExportValidation.js +143 -0
- package/dist/assets/BlenderExportValidation.js.map +1 -0
- package/dist/assets/CarConceptMaterialStability.d.ts +28 -0
- package/dist/assets/CarConceptMaterialStability.d.ts.map +1 -0
- package/dist/assets/CarConceptMaterialStability.js +1308 -0
- package/dist/assets/CarConceptMaterialStability.js.map +1 -0
- package/dist/assets/EXRLoader.d.ts +2 -0
- package/dist/assets/EXRLoader.d.ts.map +1 -0
- package/dist/assets/EXRLoader.js +2 -0
- package/dist/assets/EXRLoader.js.map +1 -0
- package/dist/assets/ExternalParityGLTFCorpus.d.ts +39 -0
- package/dist/assets/ExternalParityGLTFCorpus.d.ts.map +1 -0
- package/dist/assets/ExternalParityGLTFCorpus.js +32 -0
- package/dist/assets/ExternalParityGLTFCorpus.js.map +1 -0
- package/dist/assets/GLTFAnimationRuntime.d.ts +243 -0
- package/dist/assets/GLTFAnimationRuntime.d.ts.map +1 -0
- package/dist/assets/GLTFAnimationRuntime.js +954 -0
- package/dist/assets/GLTFAnimationRuntime.js.map +1 -0
- package/dist/assets/GLTFCompressionDecoders.d.ts +42 -0
- package/dist/assets/GLTFCompressionDecoders.d.ts.map +1 -0
- package/dist/assets/GLTFCompressionDecoders.js +99 -0
- package/dist/assets/GLTFCompressionDecoders.js.map +1 -0
- package/dist/assets/GLTFExtensionSupport.d.ts +33 -0
- package/dist/assets/GLTFExtensionSupport.d.ts.map +1 -0
- package/dist/assets/GLTFExtensionSupport.js +85 -0
- package/dist/assets/GLTFExtensionSupport.js.map +1 -0
- package/dist/assets/GLTFLoader.d.ts +361 -0
- package/dist/assets/GLTFLoader.d.ts.map +1 -0
- package/dist/assets/GLTFLoader.js +2735 -0
- package/dist/assets/GLTFLoader.js.map +1 -0
- package/dist/assets/GLTFRenderResources.d.ts +162 -0
- package/dist/assets/GLTFRenderResources.d.ts.map +1 -0
- package/dist/assets/GLTFRenderResources.js +1684 -0
- package/dist/assets/GLTFRenderResources.js.map +1 -0
- package/dist/assets/HDRLoader.d.ts +2 -0
- package/dist/assets/HDRLoader.d.ts.map +1 -0
- package/dist/assets/HDRLoader.js +2 -0
- package/dist/assets/HDRLoader.js.map +1 -0
- package/dist/assets/ImageLoader.d.ts +15 -0
- package/dist/assets/ImageLoader.d.ts.map +1 -0
- package/dist/assets/ImageLoader.js +36 -0
- package/dist/assets/ImageLoader.js.map +1 -0
- package/dist/assets/ImportPipeline.d.ts +39 -0
- package/dist/assets/ImportPipeline.d.ts.map +1 -0
- package/dist/assets/ImportPipeline.js +105 -0
- package/dist/assets/ImportPipeline.js.map +1 -0
- package/dist/assets/KTX2BasisTextureTranscoder.d.ts +9 -0
- package/dist/assets/KTX2BasisTextureTranscoder.d.ts.map +1 -0
- package/dist/assets/KTX2BasisTextureTranscoder.js +178 -0
- package/dist/assets/KTX2BasisTextureTranscoder.js.map +1 -0
- package/dist/assets/LoadContext.d.ts +20 -0
- package/dist/assets/LoadContext.d.ts.map +1 -0
- package/dist/assets/LoadContext.js +42 -0
- package/dist/assets/LoadContext.js.map +1 -0
- package/dist/assets/MaterialLoader.d.ts +17 -0
- package/dist/assets/MaterialLoader.d.ts.map +1 -0
- package/dist/assets/MaterialLoader.js +138 -0
- package/dist/assets/MaterialLoader.js.map +1 -0
- package/dist/assets/MeshOptimization.d.ts +20 -0
- package/dist/assets/MeshOptimization.d.ts.map +1 -0
- package/dist/assets/MeshOptimization.js +65 -0
- package/dist/assets/MeshOptimization.js.map +1 -0
- package/dist/assets/OBJLoader.d.ts +13 -0
- package/dist/assets/OBJLoader.d.ts.map +1 -0
- package/dist/assets/OBJLoader.js +492 -0
- package/dist/assets/OBJLoader.js.map +1 -0
- package/dist/assets/SceneAnalysisFixtures.d.ts +100 -0
- package/dist/assets/SceneAnalysisFixtures.d.ts.map +1 -0
- package/dist/assets/SceneAnalysisFixtures.js +331 -0
- package/dist/assets/SceneAnalysisFixtures.js.map +1 -0
- package/dist/assets/SceneLoader.d.ts +27 -0
- package/dist/assets/SceneLoader.d.ts.map +1 -0
- package/dist/assets/SceneLoader.js +40 -0
- package/dist/assets/SceneLoader.js.map +1 -0
- package/dist/assets/ShaderLoader.d.ts +12 -0
- package/dist/assets/ShaderLoader.d.ts.map +1 -0
- package/dist/assets/ShaderLoader.js +18 -0
- package/dist/assets/ShaderLoader.js.map +1 -0
- package/dist/assets/TextureLoader.d.ts +16 -0
- package/dist/assets/TextureLoader.d.ts.map +1 -0
- package/dist/assets/TextureLoader.js +17 -0
- package/dist/assets/TextureLoader.js.map +1 -0
- package/dist/assets/TexturePipeline.d.ts +24 -0
- package/dist/assets/TexturePipeline.d.ts.map +1 -0
- package/dist/assets/TexturePipeline.js +64 -0
- package/dist/assets/TexturePipeline.js.map +1 -0
- package/dist/assets/TextureStreaming.d.ts +10 -0
- package/dist/assets/TextureStreaming.d.ts.map +1 -0
- package/dist/assets/TextureStreaming.js +11 -0
- package/dist/assets/TextureStreaming.js.map +1 -0
- package/dist/assets/WorkerAssetJobs.d.ts +18 -0
- package/dist/assets/WorkerAssetJobs.d.ts.map +1 -0
- package/dist/assets/WorkerAssetJobs.js +37 -0
- package/dist/assets/WorkerAssetJobs.js.map +1 -0
- package/dist/assets/advanced-gallery/index.d.ts +3 -0
- package/dist/assets/advanced-gallery/index.d.ts.map +1 -0
- package/dist/assets/advanced-gallery/index.js +2 -0
- package/dist/assets/advanced-gallery/index.js.map +1 -0
- package/dist/assets/asset-corpus/GLTFSceneLoader.d.ts +3 -0
- package/dist/assets/asset-corpus/GLTFSceneLoader.d.ts.map +1 -0
- package/dist/assets/asset-corpus/GLTFSceneLoader.js +2 -0
- package/dist/assets/asset-corpus/GLTFSceneLoader.js.map +1 -0
- package/dist/assets/asset-corpus/ProductionAssetCorpus.d.ts +89 -0
- package/dist/assets/asset-corpus/ProductionAssetCorpus.d.ts.map +1 -0
- package/dist/assets/asset-corpus/ProductionAssetCorpus.js +116 -0
- package/dist/assets/asset-corpus/ProductionAssetCorpus.js.map +1 -0
- package/dist/assets/asset-corpus/ProductionAssetPipeline.d.ts +3 -0
- package/dist/assets/asset-corpus/ProductionAssetPipeline.d.ts.map +1 -0
- package/dist/assets/asset-corpus/ProductionAssetPipeline.js +3 -0
- package/dist/assets/asset-corpus/ProductionAssetPipeline.js.map +1 -0
- package/dist/assets/asset-corpus/ProductionGLTFRenderPipeline.d.ts +65 -0
- package/dist/assets/asset-corpus/ProductionGLTFRenderPipeline.d.ts.map +1 -0
- package/dist/assets/asset-corpus/ProductionGLTFRenderPipeline.js +110 -0
- package/dist/assets/asset-corpus/ProductionGLTFRenderPipeline.js.map +1 -0
- package/dist/assets/asset-corpus/ProductionHDRTextureLoader.d.ts +8 -0
- package/dist/assets/asset-corpus/ProductionHDRTextureLoader.d.ts.map +1 -0
- package/dist/assets/asset-corpus/ProductionHDRTextureLoader.js +2 -0
- package/dist/assets/asset-corpus/ProductionHDRTextureLoader.js.map +1 -0
- package/dist/assets/asset-corpus/ProductionKTX2TextureLoader.d.ts +7 -0
- package/dist/assets/asset-corpus/ProductionKTX2TextureLoader.d.ts.map +1 -0
- package/dist/assets/asset-corpus/ProductionKTX2TextureLoader.js +2 -0
- package/dist/assets/asset-corpus/ProductionKTX2TextureLoader.js.map +1 -0
- package/dist/assets/asset-corpus/ProductionTextureLoader.d.ts +7 -0
- package/dist/assets/asset-corpus/ProductionTextureLoader.d.ts.map +1 -0
- package/dist/assets/asset-corpus/ProductionTextureLoader.js +2 -0
- package/dist/assets/asset-corpus/ProductionTextureLoader.js.map +1 -0
- package/dist/assets/asset-corpus/index.d.ts +10 -0
- package/dist/assets/asset-corpus/index.d.ts.map +1 -0
- package/dist/assets/asset-corpus/index.js +8 -0
- package/dist/assets/asset-corpus/index.js.map +1 -0
- package/dist/assets/browser-index.d.ts +48 -0
- package/dist/assets/browser-index.d.ts.map +1 -0
- package/dist/assets/browser-index.js +26 -0
- package/dist/assets/browser-index.js.map +1 -0
- package/dist/assets/createRenderableScene.d.ts +23 -0
- package/dist/assets/createRenderableScene.d.ts.map +1 -0
- package/dist/assets/createRenderableScene.js +94 -0
- package/dist/assets/createRenderableScene.js.map +1 -0
- package/dist/assets/index.d.ts +82 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/assets/index.js +45 -0
- package/dist/assets/index.js.map +1 -0
- package/dist/assets/loadRenderableAsset.d.ts +16 -0
- package/dist/assets/loadRenderableAsset.d.ts.map +1 -0
- package/dist/assets/loadRenderableAsset.js +50 -0
- package/dist/assets/loadRenderableAsset.js.map +1 -0
- package/dist/assets/loaders/CubeTextureLoader.d.ts +4 -0
- package/dist/assets/loaders/CubeTextureLoader.d.ts.map +1 -0
- package/dist/assets/loaders/CubeTextureLoader.js +9 -0
- package/dist/assets/loaders/CubeTextureLoader.js.map +1 -0
- package/dist/assets/loaders/EXRLoader.d.ts +4 -0
- package/dist/assets/loaders/EXRLoader.d.ts.map +1 -0
- package/dist/assets/loaders/EXRLoader.js +10 -0
- package/dist/assets/loaders/EXRLoader.js.map +1 -0
- package/dist/assets/loaders/HDRLoader.d.ts +4 -0
- package/dist/assets/loaders/HDRLoader.d.ts.map +1 -0
- package/dist/assets/loaders/HDRLoader.js +7 -0
- package/dist/assets/loaders/HDRLoader.js.map +1 -0
- package/dist/assets/loaders/KTX2Loader.d.ts +4 -0
- package/dist/assets/loaders/KTX2Loader.d.ts.map +1 -0
- package/dist/assets/loaders/KTX2Loader.js +7 -0
- package/dist/assets/loaders/KTX2Loader.js.map +1 -0
- package/dist/assets/loaders/LoaderDiagnostics.d.ts +18 -0
- package/dist/assets/loaders/LoaderDiagnostics.d.ts.map +1 -0
- package/dist/assets/loaders/LoaderDiagnostics.js +18 -0
- package/dist/assets/loaders/LoaderDiagnostics.js.map +1 -0
- package/dist/assets/loaders/MTLLoader.d.ts +10 -0
- package/dist/assets/loaders/MTLLoader.d.ts.map +1 -0
- package/dist/assets/loaders/MTLLoader.js +14 -0
- package/dist/assets/loaders/MTLLoader.js.map +1 -0
- package/dist/assets/loaders/OBJLoader.d.ts +12 -0
- package/dist/assets/loaders/OBJLoader.d.ts.map +1 -0
- package/dist/assets/loaders/OBJLoader.js +16 -0
- package/dist/assets/loaders/OBJLoader.js.map +1 -0
- package/dist/assets/loaders/TextureLoader.d.ts +6 -0
- package/dist/assets/loaders/TextureLoader.d.ts.map +1 -0
- package/dist/assets/loaders/TextureLoader.js +11 -0
- package/dist/assets/loaders/TextureLoader.js.map +1 -0
- package/dist/assets/loaders/ThreeCompatGLTFLoader.d.ts +10 -0
- package/dist/assets/loaders/ThreeCompatGLTFLoader.d.ts.map +1 -0
- package/dist/assets/loaders/ThreeCompatGLTFLoader.js +13 -0
- package/dist/assets/loaders/ThreeCompatGLTFLoader.js.map +1 -0
- package/dist/assets/loaders/index.d.ts +15 -0
- package/dist/assets/loaders/index.d.ts.map +1 -0
- package/dist/assets/loaders/index.js +10 -0
- package/dist/assets/loaders/index.js.map +1 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetProvenance.d.ts +34 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetProvenance.d.ts.map +1 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetProvenance.js +16 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetProvenance.js.map +1 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetRegistry.d.ts +29 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetRegistry.d.ts.map +1 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetRegistry.js +33 -0
- package/dist/assets/threejs-compatibility/ThreeCompatAssetRegistry.js.map +1 -0
- package/dist/assets/threejs-example-parity/index.d.ts +20 -0
- package/dist/assets/threejs-example-parity/index.d.ts.map +1 -0
- package/dist/assets/threejs-example-parity/index.js +218 -0
- package/dist/assets/threejs-example-parity/index.js.map +1 -0
- package/dist/audio/AdaptiveMusicFixtures.d.ts +36 -0
- package/dist/audio/AdaptiveMusicFixtures.d.ts.map +1 -0
- package/dist/audio/AdaptiveMusicFixtures.js +90 -0
- package/dist/audio/AdaptiveMusicFixtures.js.map +1 -0
- package/dist/audio/AudioBus.d.ts +13 -0
- package/dist/audio/AudioBus.d.ts.map +1 -0
- package/dist/audio/AudioBus.js +32 -0
- package/dist/audio/AudioBus.js.map +1 -0
- package/dist/audio/AudioClip.d.ts +13 -0
- package/dist/audio/AudioClip.d.ts.map +1 -0
- package/dist/audio/AudioClip.js +18 -0
- package/dist/audio/AudioClip.js.map +1 -0
- package/dist/audio/AudioContextManager.d.ts +31 -0
- package/dist/audio/AudioContextManager.d.ts.map +1 -0
- package/dist/audio/AudioContextManager.js +49 -0
- package/dist/audio/AudioContextManager.js.map +1 -0
- package/dist/audio/AudioEffect.d.ts +8 -0
- package/dist/audio/AudioEffect.d.ts.map +1 -0
- package/dist/audio/AudioEffect.js +2 -0
- package/dist/audio/AudioEffect.js.map +1 -0
- package/dist/audio/AudioEffectsAnalysisFixtures.d.ts +99 -0
- package/dist/audio/AudioEffectsAnalysisFixtures.d.ts.map +1 -0
- package/dist/audio/AudioEffectsAnalysisFixtures.js +192 -0
- package/dist/audio/AudioEffectsAnalysisFixtures.js.map +1 -0
- package/dist/audio/AudioListener.d.ts +12 -0
- package/dist/audio/AudioListener.d.ts.map +1 -0
- package/dist/audio/AudioListener.js +11 -0
- package/dist/audio/AudioListener.js.map +1 -0
- package/dist/audio/AudioMixer.d.ts +12 -0
- package/dist/audio/AudioMixer.d.ts.map +1 -0
- package/dist/audio/AudioMixer.js +33 -0
- package/dist/audio/AudioMixer.js.map +1 -0
- package/dist/audio/AudioSource.d.ts +25 -0
- package/dist/audio/AudioSource.d.ts.map +1 -0
- package/dist/audio/AudioSource.js +58 -0
- package/dist/audio/AudioSource.js.map +1 -0
- package/dist/audio/AudioSystem.d.ts +13 -0
- package/dist/audio/AudioSystem.d.ts.map +1 -0
- package/dist/audio/AudioSystem.js +28 -0
- package/dist/audio/AudioSystem.js.map +1 -0
- package/dist/audio/SceneAudioBridge.d.ts +19 -0
- package/dist/audio/SceneAudioBridge.d.ts.map +1 -0
- package/dist/audio/SceneAudioBridge.js +37 -0
- package/dist/audio/SceneAudioBridge.js.map +1 -0
- package/dist/audio/SpatialAudio.d.ts +17 -0
- package/dist/audio/SpatialAudio.d.ts.map +1 -0
- package/dist/audio/SpatialAudio.js +22 -0
- package/dist/audio/SpatialAudio.js.map +1 -0
- package/dist/audio/SpatialAudioFixtures.d.ts +38 -0
- package/dist/audio/SpatialAudioFixtures.d.ts.map +1 -0
- package/dist/audio/SpatialAudioFixtures.js +94 -0
- package/dist/audio/SpatialAudioFixtures.js.map +1 -0
- package/dist/audio/effects/Filter.d.ts +13 -0
- package/dist/audio/effects/Filter.d.ts.map +1 -0
- package/dist/audio/effects/Filter.js +31 -0
- package/dist/audio/effects/Filter.js.map +1 -0
- package/dist/audio/effects/Reverb.d.ts +12 -0
- package/dist/audio/effects/Reverb.d.ts.map +1 -0
- package/dist/audio/effects/Reverb.js +23 -0
- package/dist/audio/effects/Reverb.js.map +1 -0
- package/dist/audio/index.d.ts +25 -0
- package/dist/audio/index.d.ts.map +1 -0
- package/dist/audio/index.js +15 -0
- package/dist/audio/index.js.map +1 -0
- package/dist/aura3d-cli/cli.d.ts +3 -0
- package/dist/aura3d-cli/cli.d.ts.map +1 -0
- package/dist/aura3d-cli/cli.js +79 -0
- package/dist/aura3d-cli/cli.js.map +1 -0
- package/dist/aura3d-cli/index.d.ts +78 -0
- package/dist/aura3d-cli/index.d.ts.map +1 -0
- package/dist/aura3d-cli/index.js +422 -0
- package/dist/aura3d-cli/index.js.map +1 -0
- package/dist/controls/ControlState.d.ts +14 -0
- package/dist/controls/ControlState.d.ts.map +1 -0
- package/dist/controls/ControlState.js +11 -0
- package/dist/controls/ControlState.js.map +1 -0
- package/dist/controls/DragControls.d.ts +8 -0
- package/dist/controls/DragControls.d.ts.map +1 -0
- package/dist/controls/DragControls.js +14 -0
- package/dist/controls/DragControls.js.map +1 -0
- package/dist/controls/FirstPersonControls.d.ts +5 -0
- package/dist/controls/FirstPersonControls.d.ts.map +1 -0
- package/dist/controls/FirstPersonControls.js +8 -0
- package/dist/controls/FirstPersonControls.js.map +1 -0
- package/dist/controls/FlyControls.d.ts +8 -0
- package/dist/controls/FlyControls.d.ts.map +1 -0
- package/dist/controls/FlyControls.js +12 -0
- package/dist/controls/FlyControls.js.map +1 -0
- package/dist/controls/InteractionControls.d.ts +83 -0
- package/dist/controls/InteractionControls.d.ts.map +1 -0
- package/dist/controls/InteractionControls.js +163 -0
- package/dist/controls/InteractionControls.js.map +1 -0
- package/dist/controls/MapControls.d.ts +6 -0
- package/dist/controls/MapControls.d.ts.map +1 -0
- package/dist/controls/MapControls.js +9 -0
- package/dist/controls/MapControls.js.map +1 -0
- package/dist/controls/NativeControlTypes.d.ts +49 -0
- package/dist/controls/NativeControlTypes.d.ts.map +1 -0
- package/dist/controls/NativeControlTypes.js +58 -0
- package/dist/controls/NativeControlTypes.js.map +1 -0
- package/dist/controls/OrbitControls.d.ts +11 -0
- package/dist/controls/OrbitControls.d.ts.map +1 -0
- package/dist/controls/OrbitControls.js +25 -0
- package/dist/controls/OrbitControls.js.map +1 -0
- package/dist/controls/Picking.d.ts +41 -0
- package/dist/controls/Picking.d.ts.map +1 -0
- package/dist/controls/Picking.js +149 -0
- package/dist/controls/Picking.js.map +1 -0
- package/dist/controls/PickingAnnotations.d.ts +134 -0
- package/dist/controls/PickingAnnotations.d.ts.map +1 -0
- package/dist/controls/PickingAnnotations.js +221 -0
- package/dist/controls/PickingAnnotations.js.map +1 -0
- package/dist/controls/PointerLockControls.d.ts +9 -0
- package/dist/controls/PointerLockControls.d.ts.map +1 -0
- package/dist/controls/PointerLockControls.js +14 -0
- package/dist/controls/PointerLockControls.js.map +1 -0
- package/dist/controls/SelectionManager.d.ts +8 -0
- package/dist/controls/SelectionManager.d.ts.map +1 -0
- package/dist/controls/SelectionManager.js +15 -0
- package/dist/controls/SelectionManager.js.map +1 -0
- package/dist/controls/TrackballControls.d.ts +18 -0
- package/dist/controls/TrackballControls.d.ts.map +1 -0
- package/dist/controls/TrackballControls.js +99 -0
- package/dist/controls/TrackballControls.js.map +1 -0
- package/dist/controls/TransformControls.d.ts +11 -0
- package/dist/controls/TransformControls.d.ts.map +1 -0
- package/dist/controls/TransformControls.js +19 -0
- package/dist/controls/TransformControls.js.map +1 -0
- package/dist/controls/index.d.ts +21 -0
- package/dist/controls/index.d.ts.map +1 -0
- package/dist/controls/index.js +15 -0
- package/dist/controls/index.js.map +1 -0
- package/dist/core/Diagnostics.d.ts +25 -0
- package/dist/core/Diagnostics.d.ts.map +1 -0
- package/dist/core/Diagnostics.js +60 -0
- package/dist/core/Diagnostics.js.map +1 -0
- package/dist/core/Disposable.d.ts +12 -0
- package/dist/core/Disposable.d.ts.map +1 -0
- package/dist/core/Disposable.js +37 -0
- package/dist/core/Disposable.js.map +1 -0
- package/dist/core/Engine.d.ts +46 -0
- package/dist/core/Engine.d.ts.map +1 -0
- package/dist/core/Engine.js +130 -0
- package/dist/core/Engine.js.map +1 -0
- package/dist/core/EngineConfig.d.ts +18 -0
- package/dist/core/EngineConfig.d.ts.map +1 -0
- package/dist/core/EngineConfig.js +23 -0
- package/dist/core/EngineConfig.js.map +1 -0
- package/dist/core/EngineLoop.d.ts +33 -0
- package/dist/core/EngineLoop.d.ts.map +1 -0
- package/dist/core/EngineLoop.js +63 -0
- package/dist/core/EngineLoop.js.map +1 -0
- package/dist/core/Errors.d.ts +14 -0
- package/dist/core/Errors.d.ts.map +1 -0
- package/dist/core/Errors.js +24 -0
- package/dist/core/Errors.js.map +1 -0
- package/dist/core/EventBus.d.ts +18 -0
- package/dist/core/EventBus.d.ts.map +1 -0
- package/dist/core/EventBus.js +45 -0
- package/dist/core/EventBus.js.map +1 -0
- package/dist/core/FixedStepAccumulator.d.ts +15 -0
- package/dist/core/FixedStepAccumulator.d.ts.map +1 -0
- package/dist/core/FixedStepAccumulator.js +34 -0
- package/dist/core/FixedStepAccumulator.js.map +1 -0
- package/dist/core/Logger.d.ts +23 -0
- package/dist/core/Logger.d.ts.map +1 -0
- package/dist/core/Logger.js +53 -0
- package/dist/core/Logger.js.map +1 -0
- package/dist/core/ResourceScope.d.ts +18 -0
- package/dist/core/ResourceScope.d.ts.map +1 -0
- package/dist/core/ResourceScope.js +53 -0
- package/dist/core/ResourceScope.js.map +1 -0
- package/dist/core/Scheduler.d.ts +31 -0
- package/dist/core/Scheduler.d.ts.map +1 -0
- package/dist/core/Scheduler.js +77 -0
- package/dist/core/Scheduler.js.map +1 -0
- package/dist/core/TaskQueue.d.ts +13 -0
- package/dist/core/TaskQueue.d.ts.map +1 -0
- package/dist/core/TaskQueue.js +42 -0
- package/dist/core/TaskQueue.js.map +1 -0
- package/dist/core/Time.d.ts +24 -0
- package/dist/core/Time.d.ts.map +1 -0
- package/dist/core/Time.js +45 -0
- package/dist/core/Time.js.map +1 -0
- package/dist/core/VersionedSerialization.d.ts +96 -0
- package/dist/core/VersionedSerialization.d.ts.map +1 -0
- package/dist/core/VersionedSerialization.js +278 -0
- package/dist/core/VersionedSerialization.js.map +1 -0
- package/dist/core/index.d.ts +15 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +15 -0
- package/dist/core/index.js.map +1 -0
- package/dist/create-aura3d/cli.d.ts +3 -0
- package/dist/create-aura3d/cli.d.ts.map +1 -0
- package/dist/create-aura3d/cli.js +27 -0
- package/dist/create-aura3d/cli.js.map +1 -0
- package/dist/create-aura3d/index.d.ts +16 -0
- package/dist/create-aura3d/index.d.ts.map +1 -0
- package/dist/create-aura3d/index.js +63 -0
- package/dist/create-aura3d/index.js.map +1 -0
- package/dist/debug/AnimationInspector.d.ts +25 -0
- package/dist/debug/AnimationInspector.d.ts.map +1 -0
- package/dist/debug/AnimationInspector.js +46 -0
- package/dist/debug/AnimationInspector.js.map +1 -0
- package/dist/debug/ChromeTraceExporter.d.ts +35 -0
- package/dist/debug/ChromeTraceExporter.d.ts.map +1 -0
- package/dist/debug/ChromeTraceExporter.js +110 -0
- package/dist/debug/ChromeTraceExporter.js.map +1 -0
- package/dist/debug/DebugLineCanvasRenderer.d.ts +24 -0
- package/dist/debug/DebugLineCanvasRenderer.d.ts.map +1 -0
- package/dist/debug/DebugLineCanvasRenderer.js +58 -0
- package/dist/debug/DebugLineCanvasRenderer.js.map +1 -0
- package/dist/debug/DebugOverlay.d.ts +18 -0
- package/dist/debug/DebugOverlay.d.ts.map +1 -0
- package/dist/debug/DebugOverlay.js +19 -0
- package/dist/debug/DebugOverlay.js.map +1 -0
- package/dist/debug/DrawCallTracker.d.ts +22 -0
- package/dist/debug/DrawCallTracker.d.ts.map +1 -0
- package/dist/debug/DrawCallTracker.js +28 -0
- package/dist/debug/DrawCallTracker.js.map +1 -0
- package/dist/debug/ECSInspector.d.ts +16 -0
- package/dist/debug/ECSInspector.d.ts.map +1 -0
- package/dist/debug/ECSInspector.js +12 -0
- package/dist/debug/ECSInspector.js.map +1 -0
- package/dist/debug/GPUProfiler.d.ts +22 -0
- package/dist/debug/GPUProfiler.d.ts.map +1 -0
- package/dist/debug/GPUProfiler.js +32 -0
- package/dist/debug/GPUProfiler.js.map +1 -0
- package/dist/debug/MaterialDiagnostics.d.ts +17 -0
- package/dist/debug/MaterialDiagnostics.d.ts.map +1 -0
- package/dist/debug/MaterialDiagnostics.js +43 -0
- package/dist/debug/MaterialDiagnostics.js.map +1 -0
- package/dist/debug/PhysicsDebugAdapter.d.ts +29 -0
- package/dist/debug/PhysicsDebugAdapter.d.ts.map +1 -0
- package/dist/debug/PhysicsDebugAdapter.js +57 -0
- package/dist/debug/PhysicsDebugAdapter.js.map +1 -0
- package/dist/debug/Profiler.d.ts +24 -0
- package/dist/debug/Profiler.d.ts.map +1 -0
- package/dist/debug/Profiler.js +56 -0
- package/dist/debug/Profiler.js.map +1 -0
- package/dist/debug/RenderStateInspector.d.ts +19 -0
- package/dist/debug/RenderStateInspector.d.ts.map +1 -0
- package/dist/debug/RenderStateInspector.js +33 -0
- package/dist/debug/RenderStateInspector.js.map +1 -0
- package/dist/debug/ReportExporter.d.ts +12 -0
- package/dist/debug/ReportExporter.d.ts.map +1 -0
- package/dist/debug/ReportExporter.js +27 -0
- package/dist/debug/ReportExporter.js.map +1 -0
- package/dist/debug/ResourceTracker.d.ts +23 -0
- package/dist/debug/ResourceTracker.d.ts.map +1 -0
- package/dist/debug/ResourceTracker.js +41 -0
- package/dist/debug/ResourceTracker.js.map +1 -0
- package/dist/debug/SceneHelpers.d.ts +46 -0
- package/dist/debug/SceneHelpers.d.ts.map +1 -0
- package/dist/debug/SceneHelpers.js +137 -0
- package/dist/debug/SceneHelpers.js.map +1 -0
- package/dist/debug/ShaderDiagnostics.d.ts +20 -0
- package/dist/debug/ShaderDiagnostics.d.ts.map +1 -0
- package/dist/debug/ShaderDiagnostics.js +49 -0
- package/dist/debug/ShaderDiagnostics.js.map +1 -0
- package/dist/debug/index.d.ts +31 -0
- package/dist/debug/index.d.ts.map +1 -0
- package/dist/debug/index.js +16 -0
- package/dist/debug/index.js.map +1 -0
- package/dist/ecs/Archetype.d.ts +11 -0
- package/dist/ecs/Archetype.d.ts.map +1 -0
- package/dist/ecs/Archetype.js +19 -0
- package/dist/ecs/Archetype.js.map +1 -0
- package/dist/ecs/Bitset.d.ts +12 -0
- package/dist/ecs/Bitset.d.ts.map +1 -0
- package/dist/ecs/Bitset.js +43 -0
- package/dist/ecs/Bitset.js.map +1 -0
- package/dist/ecs/CommandBuffer.d.ts +16 -0
- package/dist/ecs/CommandBuffer.d.ts.map +1 -0
- package/dist/ecs/CommandBuffer.js +86 -0
- package/dist/ecs/CommandBuffer.js.map +1 -0
- package/dist/ecs/Component.d.ts +18 -0
- package/dist/ecs/Component.d.ts.map +1 -0
- package/dist/ecs/Component.js +7 -0
- package/dist/ecs/Component.js.map +1 -0
- package/dist/ecs/ComponentRegistry.d.ts +12 -0
- package/dist/ecs/ComponentRegistry.d.ts.map +1 -0
- package/dist/ecs/ComponentRegistry.js +36 -0
- package/dist/ecs/ComponentRegistry.js.map +1 -0
- package/dist/ecs/ComponentStore.d.ts +21 -0
- package/dist/ecs/ComponentStore.d.ts.map +1 -0
- package/dist/ecs/ComponentStore.js +66 -0
- package/dist/ecs/ComponentStore.js.map +1 -0
- package/dist/ecs/ECSProfiler.d.ts +12 -0
- package/dist/ecs/ECSProfiler.d.ts.map +1 -0
- package/dist/ecs/ECSProfiler.js +13 -0
- package/dist/ecs/ECSProfiler.js.map +1 -0
- package/dist/ecs/ECSSerializer.d.ts +18 -0
- package/dist/ecs/ECSSerializer.d.ts.map +1 -0
- package/dist/ecs/ECSSerializer.js +37 -0
- package/dist/ecs/ECSSerializer.js.map +1 -0
- package/dist/ecs/Entity.d.ts +8 -0
- package/dist/ecs/Entity.d.ts.map +1 -0
- package/dist/ecs/Entity.js +14 -0
- package/dist/ecs/Entity.js.map +1 -0
- package/dist/ecs/EntityManager.d.ts +12 -0
- package/dist/ecs/EntityManager.d.ts.map +1 -0
- package/dist/ecs/EntityManager.js +33 -0
- package/dist/ecs/EntityManager.js.map +1 -0
- package/dist/ecs/Query.d.ts +24 -0
- package/dist/ecs/Query.d.ts.map +1 -0
- package/dist/ecs/Query.js +47 -0
- package/dist/ecs/Query.js.map +1 -0
- package/dist/ecs/SparseSet.d.ts +14 -0
- package/dist/ecs/SparseSet.d.ts.map +1 -0
- package/dist/ecs/SparseSet.js +50 -0
- package/dist/ecs/SparseSet.js.map +1 -0
- package/dist/ecs/System.d.ts +18 -0
- package/dist/ecs/System.d.ts.map +1 -0
- package/dist/ecs/System.js +2 -0
- package/dist/ecs/System.js.map +1 -0
- package/dist/ecs/SystemScheduler.d.ts +10 -0
- package/dist/ecs/SystemScheduler.d.ts.map +1 -0
- package/dist/ecs/SystemScheduler.js +79 -0
- package/dist/ecs/SystemScheduler.js.map +1 -0
- package/dist/ecs/World.d.ts +27 -0
- package/dist/ecs/World.d.ts.map +1 -0
- package/dist/ecs/World.js +68 -0
- package/dist/ecs/World.js.map +1 -0
- package/dist/ecs/components/ActiveComponent.d.ts +16 -0
- package/dist/ecs/components/ActiveComponent.d.ts.map +1 -0
- package/dist/ecs/components/ActiveComponent.js +46 -0
- package/dist/ecs/components/ActiveComponent.js.map +1 -0
- package/dist/ecs/components/HierarchyComponent.d.ts +34 -0
- package/dist/ecs/components/HierarchyComponent.d.ts.map +1 -0
- package/dist/ecs/components/HierarchyComponent.js +103 -0
- package/dist/ecs/components/HierarchyComponent.js.map +1 -0
- package/dist/ecs/components/NameComponent.d.ts +5 -0
- package/dist/ecs/components/NameComponent.d.ts.map +1 -0
- package/dist/ecs/components/NameComponent.js +10 -0
- package/dist/ecs/components/NameComponent.js.map +1 -0
- package/dist/ecs/components/TagComponent.d.ts +5 -0
- package/dist/ecs/components/TagComponent.d.ts.map +1 -0
- package/dist/ecs/components/TagComponent.js +10 -0
- package/dist/ecs/components/TagComponent.js.map +1 -0
- package/dist/ecs/components/TransformComponent.d.ts +18 -0
- package/dist/ecs/components/TransformComponent.d.ts.map +1 -0
- package/dist/ecs/components/TransformComponent.js +27 -0
- package/dist/ecs/components/TransformComponent.js.map +1 -0
- package/dist/ecs/index.d.ts +22 -0
- package/dist/ecs/index.d.ts.map +1 -0
- package/dist/ecs/index.js +22 -0
- package/dist/ecs/index.js.map +1 -0
- package/dist/ecs/systems/ActiveSystem.d.ts +16 -0
- package/dist/ecs/systems/ActiveSystem.d.ts.map +1 -0
- package/dist/ecs/systems/ActiveSystem.js +61 -0
- package/dist/ecs/systems/ActiveSystem.js.map +1 -0
- package/dist/ecs/systems/HierarchySystem.d.ts +25 -0
- package/dist/ecs/systems/HierarchySystem.d.ts.map +1 -0
- package/dist/ecs/systems/HierarchySystem.js +185 -0
- package/dist/ecs/systems/HierarchySystem.js.map +1 -0
- package/dist/ecs/systems/index.d.ts +3 -0
- package/dist/ecs/systems/index.d.ts.map +1 -0
- package/dist/ecs/systems/index.js +3 -0
- package/dist/ecs/systems/index.js.map +1 -0
- package/dist/editor/index.d.ts +2 -0
- package/dist/editor/index.d.ts.map +1 -0
- package/dist/editor/index.js +2 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/editor-runtime/Command.d.ts +11 -0
- package/dist/editor-runtime/Command.d.ts.map +1 -0
- package/dist/editor-runtime/Command.js +2 -0
- package/dist/editor-runtime/Command.js.map +1 -0
- package/dist/editor-runtime/CommandHistory.d.ts +20 -0
- package/dist/editor-runtime/CommandHistory.d.ts.map +1 -0
- package/dist/editor-runtime/CommandHistory.js +124 -0
- package/dist/editor-runtime/CommandHistory.js.map +1 -0
- package/dist/editor-runtime/DiagnosticsOverlayModel.d.ts +30 -0
- package/dist/editor-runtime/DiagnosticsOverlayModel.d.ts.map +1 -0
- package/dist/editor-runtime/DiagnosticsOverlayModel.js +57 -0
- package/dist/editor-runtime/DiagnosticsOverlayModel.js.map +1 -0
- package/dist/editor-runtime/EditorPluginHost.d.ts +46 -0
- package/dist/editor-runtime/EditorPluginHost.d.ts.map +1 -0
- package/dist/editor-runtime/EditorPluginHost.js +57 -0
- package/dist/editor-runtime/EditorPluginHost.js.map +1 -0
- package/dist/editor-runtime/EditorRuntime.d.ts +95 -0
- package/dist/editor-runtime/EditorRuntime.d.ts.map +1 -0
- package/dist/editor-runtime/EditorRuntime.js +277 -0
- package/dist/editor-runtime/EditorRuntime.js.map +1 -0
- package/dist/editor-runtime/EditorStateModel.d.ts +93 -0
- package/dist/editor-runtime/EditorStateModel.d.ts.map +1 -0
- package/dist/editor-runtime/EditorStateModel.js +251 -0
- package/dist/editor-runtime/EditorStateModel.js.map +1 -0
- package/dist/editor-runtime/Gizmo.d.ts +43 -0
- package/dist/editor-runtime/Gizmo.d.ts.map +1 -0
- package/dist/editor-runtime/Gizmo.js +60 -0
- package/dist/editor-runtime/Gizmo.js.map +1 -0
- package/dist/editor-runtime/HierarchyModel.d.ts +21 -0
- package/dist/editor-runtime/HierarchyModel.d.ts.map +1 -0
- package/dist/editor-runtime/HierarchyModel.js +32 -0
- package/dist/editor-runtime/HierarchyModel.js.map +1 -0
- package/dist/editor-runtime/InspectorModel.d.ts +16 -0
- package/dist/editor-runtime/InspectorModel.d.ts.map +1 -0
- package/dist/editor-runtime/InspectorModel.js +53 -0
- package/dist/editor-runtime/InspectorModel.js.map +1 -0
- package/dist/editor-runtime/LocalizationAccessibilityFixtures.d.ts +70 -0
- package/dist/editor-runtime/LocalizationAccessibilityFixtures.d.ts.map +1 -0
- package/dist/editor-runtime/LocalizationAccessibilityFixtures.js +275 -0
- package/dist/editor-runtime/LocalizationAccessibilityFixtures.js.map +1 -0
- package/dist/editor-runtime/MaterialVariantWorkflow.d.ts +19 -0
- package/dist/editor-runtime/MaterialVariantWorkflow.d.ts.map +1 -0
- package/dist/editor-runtime/MaterialVariantWorkflow.js +82 -0
- package/dist/editor-runtime/MaterialVariantWorkflow.js.map +1 -0
- package/dist/editor-runtime/PickingService.d.ts +58 -0
- package/dist/editor-runtime/PickingService.d.ts.map +1 -0
- package/dist/editor-runtime/PickingService.js +119 -0
- package/dist/editor-runtime/PickingService.js.map +1 -0
- package/dist/editor-runtime/PlayModeBridge.d.ts +14 -0
- package/dist/editor-runtime/PlayModeBridge.d.ts.map +1 -0
- package/dist/editor-runtime/PlayModeBridge.js +23 -0
- package/dist/editor-runtime/PlayModeBridge.js.map +1 -0
- package/dist/editor-runtime/PrefabRegistry.d.ts +41 -0
- package/dist/editor-runtime/PrefabRegistry.d.ts.map +1 -0
- package/dist/editor-runtime/PrefabRegistry.js +119 -0
- package/dist/editor-runtime/PrefabRegistry.js.map +1 -0
- package/dist/editor-runtime/ProjectSerializer.d.ts +9 -0
- package/dist/editor-runtime/ProjectSerializer.d.ts.map +1 -0
- package/dist/editor-runtime/ProjectSerializer.js +14 -0
- package/dist/editor-runtime/ProjectSerializer.js.map +1 -0
- package/dist/editor-runtime/RotateGizmo.d.ts +5 -0
- package/dist/editor-runtime/RotateGizmo.d.ts.map +1 -0
- package/dist/editor-runtime/RotateGizmo.js +37 -0
- package/dist/editor-runtime/RotateGizmo.js.map +1 -0
- package/dist/editor-runtime/ScaleGizmo.d.ts +5 -0
- package/dist/editor-runtime/ScaleGizmo.d.ts.map +1 -0
- package/dist/editor-runtime/ScaleGizmo.js +42 -0
- package/dist/editor-runtime/ScaleGizmo.js.map +1 -0
- package/dist/editor-runtime/Selection.d.ts +20 -0
- package/dist/editor-runtime/Selection.d.ts.map +1 -0
- package/dist/editor-runtime/Selection.js +46 -0
- package/dist/editor-runtime/Selection.js.map +1 -0
- package/dist/editor-runtime/ShaderGraphModel.d.ts +69 -0
- package/dist/editor-runtime/ShaderGraphModel.d.ts.map +1 -0
- package/dist/editor-runtime/ShaderGraphModel.js +172 -0
- package/dist/editor-runtime/ShaderGraphModel.js.map +1 -0
- package/dist/editor-runtime/StaticExportRuntime.d.ts +13 -0
- package/dist/editor-runtime/StaticExportRuntime.d.ts.map +1 -0
- package/dist/editor-runtime/StaticExportRuntime.js +307 -0
- package/dist/editor-runtime/StaticExportRuntime.js.map +1 -0
- package/dist/editor-runtime/TimelineModel.d.ts +157 -0
- package/dist/editor-runtime/TimelineModel.d.ts.map +1 -0
- package/dist/editor-runtime/TimelineModel.js +271 -0
- package/dist/editor-runtime/TimelineModel.js.map +1 -0
- package/dist/editor-runtime/TranslateGizmo.d.ts +5 -0
- package/dist/editor-runtime/TranslateGizmo.d.ts.map +1 -0
- package/dist/editor-runtime/TranslateGizmo.js +41 -0
- package/dist/editor-runtime/TranslateGizmo.js.map +1 -0
- package/dist/editor-runtime/commands/CreateNodeCommand.d.ts +14 -0
- package/dist/editor-runtime/commands/CreateNodeCommand.d.ts.map +1 -0
- package/dist/editor-runtime/commands/CreateNodeCommand.js +16 -0
- package/dist/editor-runtime/commands/CreateNodeCommand.js.map +1 -0
- package/dist/editor-runtime/commands/DeleteNodeCommand.d.ts +13 -0
- package/dist/editor-runtime/commands/DeleteNodeCommand.d.ts.map +1 -0
- package/dist/editor-runtime/commands/DeleteNodeCommand.js +55 -0
- package/dist/editor-runtime/commands/DeleteNodeCommand.js.map +1 -0
- package/dist/editor-runtime/commands/ReparentNodeCommand.d.ts +24 -0
- package/dist/editor-runtime/commands/ReparentNodeCommand.d.ts.map +1 -0
- package/dist/editor-runtime/commands/ReparentNodeCommand.js +39 -0
- package/dist/editor-runtime/commands/ReparentNodeCommand.js.map +1 -0
- package/dist/editor-runtime/commands/SetPropertyCommand.d.ts +14 -0
- package/dist/editor-runtime/commands/SetPropertyCommand.d.ts.map +1 -0
- package/dist/editor-runtime/commands/SetPropertyCommand.js +43 -0
- package/dist/editor-runtime/commands/SetPropertyCommand.js.map +1 -0
- package/dist/editor-runtime/commands/TransformCommand.d.ts +42 -0
- package/dist/editor-runtime/commands/TransformCommand.d.ts.map +1 -0
- package/dist/editor-runtime/commands/TransformCommand.js +72 -0
- package/dist/editor-runtime/commands/TransformCommand.js.map +1 -0
- package/dist/editor-runtime/index.d.ts +47 -0
- package/dist/editor-runtime/index.d.ts.map +1 -0
- package/dist/editor-runtime/index.js +28 -0
- package/dist/editor-runtime/index.js.map +1 -0
- package/dist/engine/A3DApp.d.ts +3 -0
- package/dist/engine/A3DApp.d.ts.map +1 -0
- package/dist/engine/A3DApp.js +2 -0
- package/dist/engine/A3DApp.js.map +1 -0
- package/dist/engine/A3DQualityPresets.d.ts +7 -0
- package/dist/engine/A3DQualityPresets.d.ts.map +1 -0
- package/dist/engine/A3DQualityPresets.js +9 -0
- package/dist/engine/A3DQualityPresets.js.map +1 -0
- package/dist/engine/advanced-runtime/A3DAppLifecycle.d.ts +26 -0
- package/dist/engine/advanced-runtime/A3DAppLifecycle.d.ts.map +1 -0
- package/dist/engine/advanced-runtime/A3DAppLifecycle.js +77 -0
- package/dist/engine/advanced-runtime/A3DAppLifecycle.js.map +1 -0
- package/dist/engine/advanced-runtime/A3DRenderer.d.ts +22 -0
- package/dist/engine/advanced-runtime/A3DRenderer.d.ts.map +1 -0
- package/dist/engine/advanced-runtime/A3DRenderer.js +85 -0
- package/dist/engine/advanced-runtime/A3DRenderer.js.map +1 -0
- package/dist/engine/advanced-runtime/A3DScene.d.ts +29 -0
- package/dist/engine/advanced-runtime/A3DScene.d.ts.map +1 -0
- package/dist/engine/advanced-runtime/A3DScene.js +83 -0
- package/dist/engine/advanced-runtime/A3DScene.js.map +1 -0
- package/dist/engine/advanced-runtime/index.d.ts +11 -0
- package/dist/engine/advanced-runtime/index.d.ts.map +1 -0
- package/dist/engine/advanced-runtime/index.js +6 -0
- package/dist/engine/advanced-runtime/index.js.map +1 -0
- package/dist/engine/agent-api/assets/humanoid-fixture.glb +0 -0
- package/dist/engine/agent-api/assets/player-fixture.glb +0 -0
- package/dist/engine/agent-api/humanoid-walk-runtime.d.ts +89 -0
- package/dist/engine/agent-api/humanoid-walk-runtime.d.ts.map +1 -0
- package/dist/engine/agent-api/humanoid-walk-runtime.js +287 -0
- package/dist/engine/agent-api/humanoid-walk-runtime.js.map +1 -0
- package/dist/engine/agent-api/index.d.ts +1592 -0
- package/dist/engine/agent-api/index.d.ts.map +1 -0
- package/dist/engine/agent-api/index.js +8493 -0
- package/dist/engine/agent-api/index.js.map +1 -0
- package/dist/engine/agent-api/particle-fountain-runtime.d.ts +91 -0
- package/dist/engine/agent-api/particle-fountain-runtime.d.ts.map +1 -0
- package/dist/engine/agent-api/particle-fountain-runtime.js +299 -0
- package/dist/engine/agent-api/particle-fountain-runtime.js.map +1 -0
- package/dist/engine/agent-api/product-viewer-runtime.d.ts +115 -0
- package/dist/engine/agent-api/product-viewer-runtime.d.ts.map +1 -0
- package/dist/engine/agent-api/product-viewer-runtime.js +338 -0
- package/dist/engine/agent-api/product-viewer-runtime.js.map +1 -0
- package/dist/engine/devtools/AuraAssetPanel.d.ts +9 -0
- package/dist/engine/devtools/AuraAssetPanel.d.ts.map +1 -0
- package/dist/engine/devtools/AuraAssetPanel.js +9 -0
- package/dist/engine/devtools/AuraAssetPanel.js.map +1 -0
- package/dist/engine/devtools/AuraDiagnosticsOverlay.d.ts +8 -0
- package/dist/engine/devtools/AuraDiagnosticsOverlay.d.ts.map +1 -0
- package/dist/engine/devtools/AuraDiagnosticsOverlay.js +42 -0
- package/dist/engine/devtools/AuraDiagnosticsOverlay.js.map +1 -0
- package/dist/engine/devtools/AuraPerformancePanel.d.ts +10 -0
- package/dist/engine/devtools/AuraPerformancePanel.d.ts.map +1 -0
- package/dist/engine/devtools/AuraPerformancePanel.js +10 -0
- package/dist/engine/devtools/AuraPerformancePanel.js.map +1 -0
- package/dist/engine/index.d.ts +91 -0
- package/dist/engine/index.d.ts.map +1 -0
- package/dist/engine/index.js +136 -0
- package/dist/engine/index.js.map +1 -0
- package/dist/engine/production-runtime/index.d.ts +492 -0
- package/dist/engine/production-runtime/index.d.ts.map +1 -0
- package/dist/engine/production-runtime/index.js +1267 -0
- package/dist/engine/production-runtime/index.js.map +1 -0
- package/dist/engine/testing/routeHealth.d.ts +10 -0
- package/dist/engine/testing/routeHealth.d.ts.map +1 -0
- package/dist/engine/testing/routeHealth.js +16 -0
- package/dist/engine/testing/routeHealth.js.map +1 -0
- package/dist/engine/testing/screenshot.d.ts +4 -0
- package/dist/engine/testing/screenshot.d.ts.map +1 -0
- package/dist/engine/testing/screenshot.js +10 -0
- package/dist/engine/testing/screenshot.js.map +1 -0
- package/dist/engine/threejs-example-parity/FlagshipFoundation.d.ts +158 -0
- package/dist/engine/threejs-example-parity/FlagshipFoundation.d.ts.map +1 -0
- package/dist/engine/threejs-example-parity/FlagshipFoundation.js +332 -0
- package/dist/engine/threejs-example-parity/FlagshipFoundation.js.map +1 -0
- package/dist/engine/threejs-example-parity/index.d.ts +113 -0
- package/dist/engine/threejs-example-parity/index.d.ts.map +1 -0
- package/dist/engine/threejs-example-parity/index.js +737 -0
- package/dist/engine/threejs-example-parity/index.js.map +1 -0
- package/dist/environments/EnvironmentPreview.d.ts +13 -0
- package/dist/environments/EnvironmentPreview.d.ts.map +1 -0
- package/dist/environments/EnvironmentPreview.js +16 -0
- package/dist/environments/EnvironmentPreview.js.map +1 -0
- package/dist/environments/EnvironmentRegistry.d.ts +35 -0
- package/dist/environments/EnvironmentRegistry.d.ts.map +1 -0
- package/dist/environments/EnvironmentRegistry.js +39 -0
- package/dist/environments/EnvironmentRegistry.js.map +1 -0
- package/dist/environments/HDRIEnvironment.d.ts +38 -0
- package/dist/environments/HDRIEnvironment.d.ts.map +1 -0
- package/dist/environments/HDRIEnvironment.js +34 -0
- package/dist/environments/HDRIEnvironment.js.map +1 -0
- package/dist/environments/PMREMPreset.d.ts +14 -0
- package/dist/environments/PMREMPreset.d.ts.map +1 -0
- package/dist/environments/PMREMPreset.js +16 -0
- package/dist/environments/PMREMPreset.js.map +1 -0
- package/dist/environments/index.d.ts +11 -0
- package/dist/environments/index.d.ts.map +1 -0
- package/dist/environments/index.js +6 -0
- package/dist/environments/index.js.map +1 -0
- package/dist/environments/production-runtime/ProductionEnvironmentCorpus.d.ts +78 -0
- package/dist/environments/production-runtime/ProductionEnvironmentCorpus.d.ts.map +1 -0
- package/dist/environments/production-runtime/ProductionEnvironmentCorpus.js +67 -0
- package/dist/environments/production-runtime/ProductionEnvironmentCorpus.js.map +1 -0
- package/dist/environments/production-runtime/index.d.ts +3 -0
- package/dist/environments/production-runtime/index.d.ts.map +1 -0
- package/dist/environments/production-runtime/index.js +2 -0
- package/dist/environments/production-runtime/index.js.map +1 -0
- package/dist/environments/threejs-example-parity/index.d.ts +17 -0
- package/dist/environments/threejs-example-parity/index.d.ts.map +1 -0
- package/dist/environments/threejs-example-parity/index.js +49 -0
- package/dist/environments/threejs-example-parity/index.js.map +1 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +24 -0
- package/dist/input/ActionMap.d.ts +44 -0
- package/dist/input/ActionMap.d.ts.map +1 -0
- package/dist/input/ActionMap.js +74 -0
- package/dist/input/ActionMap.js.map +1 -0
- package/dist/input/GamepadDevice.d.ts +17 -0
- package/dist/input/GamepadDevice.d.ts.map +1 -0
- package/dist/input/GamepadDevice.js +27 -0
- package/dist/input/GamepadDevice.js.map +1 -0
- package/dist/input/GamepadInput.d.ts +3 -0
- package/dist/input/GamepadInput.d.ts.map +1 -0
- package/dist/input/GamepadInput.js +2 -0
- package/dist/input/GamepadInput.js.map +1 -0
- package/dist/input/GestureControls.d.ts +3 -0
- package/dist/input/GestureControls.d.ts.map +1 -0
- package/dist/input/GestureControls.js +2 -0
- package/dist/input/GestureControls.js.map +1 -0
- package/dist/input/GestureHapticsFixtures.d.ts +57 -0
- package/dist/input/GestureHapticsFixtures.d.ts.map +1 -0
- package/dist/input/GestureHapticsFixtures.js +115 -0
- package/dist/input/GestureHapticsFixtures.js.map +1 -0
- package/dist/input/GestureRecognizer.d.ts +19 -0
- package/dist/input/GestureRecognizer.d.ts.map +1 -0
- package/dist/input/GestureRecognizer.js +32 -0
- package/dist/input/GestureRecognizer.js.map +1 -0
- package/dist/input/InputActionBindingFixtures.d.ts +44 -0
- package/dist/input/InputActionBindingFixtures.d.ts.map +1 -0
- package/dist/input/InputActionBindingFixtures.js +86 -0
- package/dist/input/InputActionBindingFixtures.js.map +1 -0
- package/dist/input/InputReplay.d.ts +97 -0
- package/dist/input/InputReplay.d.ts.map +1 -0
- package/dist/input/InputReplay.js +189 -0
- package/dist/input/InputReplay.js.map +1 -0
- package/dist/input/InputSnapshot.d.ts +44 -0
- package/dist/input/InputSnapshot.d.ts.map +1 -0
- package/dist/input/InputSnapshot.js +44 -0
- package/dist/input/InputSnapshot.js.map +1 -0
- package/dist/input/InputSystem.d.ts +24 -0
- package/dist/input/InputSystem.d.ts.map +1 -0
- package/dist/input/InputSystem.js +77 -0
- package/dist/input/InputSystem.js.map +1 -0
- package/dist/input/InteractionSystem.d.ts +42 -0
- package/dist/input/InteractionSystem.d.ts.map +1 -0
- package/dist/input/InteractionSystem.js +80 -0
- package/dist/input/InteractionSystem.js.map +1 -0
- package/dist/input/KeyboardDevice.d.ts +18 -0
- package/dist/input/KeyboardDevice.d.ts.map +1 -0
- package/dist/input/KeyboardDevice.js +22 -0
- package/dist/input/KeyboardDevice.js.map +1 -0
- package/dist/input/PickingRay.d.ts +10 -0
- package/dist/input/PickingRay.d.ts.map +1 -0
- package/dist/input/PickingRay.js +27 -0
- package/dist/input/PickingRay.js.map +1 -0
- package/dist/input/PointerDevice.d.ts +51 -0
- package/dist/input/PointerDevice.d.ts.map +1 -0
- package/dist/input/PointerDevice.js +75 -0
- package/dist/input/PointerDevice.js.map +1 -0
- package/dist/input/VirtualTouchControls.d.ts +57 -0
- package/dist/input/VirtualTouchControls.d.ts.map +1 -0
- package/dist/input/VirtualTouchControls.js +127 -0
- package/dist/input/VirtualTouchControls.js.map +1 -0
- package/dist/input/WebXRSessionController.d.ts +108 -0
- package/dist/input/WebXRSessionController.d.ts.map +1 -0
- package/dist/input/WebXRSessionController.js +143 -0
- package/dist/input/WebXRSessionController.js.map +1 -0
- package/dist/input/XRFixtures.d.ts +65 -0
- package/dist/input/XRFixtures.d.ts.map +1 -0
- package/dist/input/XRFixtures.js +136 -0
- package/dist/input/XRFixtures.js.map +1 -0
- package/dist/input/controls/CameraRig.d.ts +12 -0
- package/dist/input/controls/CameraRig.d.ts.map +1 -0
- package/dist/input/controls/CameraRig.js +32 -0
- package/dist/input/controls/CameraRig.js.map +1 -0
- package/dist/input/controls/ControlTypes.d.ts +17 -0
- package/dist/input/controls/ControlTypes.d.ts.map +1 -0
- package/dist/input/controls/ControlTypes.js +4 -0
- package/dist/input/controls/ControlTypes.js.map +1 -0
- package/dist/input/controls/EditorFlyControls.d.ts +20 -0
- package/dist/input/controls/EditorFlyControls.d.ts.map +1 -0
- package/dist/input/controls/EditorFlyControls.js +44 -0
- package/dist/input/controls/EditorFlyControls.js.map +1 -0
- package/dist/input/controls/FirstPersonControls.d.ts +22 -0
- package/dist/input/controls/FirstPersonControls.d.ts.map +1 -0
- package/dist/input/controls/FirstPersonControls.js +44 -0
- package/dist/input/controls/FirstPersonControls.js.map +1 -0
- package/dist/input/controls/OrbitControls.d.ts +49 -0
- package/dist/input/controls/OrbitControls.d.ts.map +1 -0
- package/dist/input/controls/OrbitControls.js +131 -0
- package/dist/input/controls/OrbitControls.js.map +1 -0
- package/dist/input/controls/PointerLockControls.d.ts +11 -0
- package/dist/input/controls/PointerLockControls.d.ts.map +1 -0
- package/dist/input/controls/PointerLockControls.js +19 -0
- package/dist/input/controls/PointerLockControls.js.map +1 -0
- package/dist/input/controls/SceneCameraAdapter.d.ts +10 -0
- package/dist/input/controls/SceneCameraAdapter.d.ts.map +1 -0
- package/dist/input/controls/SceneCameraAdapter.js +90 -0
- package/dist/input/controls/SceneCameraAdapter.js.map +1 -0
- package/dist/input/controls/ThirdPersonFollowControls.d.ts +20 -0
- package/dist/input/controls/ThirdPersonFollowControls.d.ts.map +1 -0
- package/dist/input/controls/ThirdPersonFollowControls.js +33 -0
- package/dist/input/controls/ThirdPersonFollowControls.js.map +1 -0
- package/dist/input/index.d.ts +47 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input/index.js +25 -0
- package/dist/input/index.js.map +1 -0
- package/dist/materials/MaterialPreset.d.ts +30 -0
- package/dist/materials/MaterialPreset.d.ts.map +1 -0
- package/dist/materials/MaterialPreset.js +2 -0
- package/dist/materials/MaterialPreset.js.map +1 -0
- package/dist/materials/MaterialPresets.d.ts +3 -0
- package/dist/materials/MaterialPresets.d.ts.map +1 -0
- package/dist/materials/MaterialPresets.js +2 -0
- package/dist/materials/MaterialPresets.js.map +1 -0
- package/dist/materials/MaterialPreviewScene.d.ts +12 -0
- package/dist/materials/MaterialPreviewScene.d.ts.map +1 -0
- package/dist/materials/MaterialPreviewScene.js +20 -0
- package/dist/materials/MaterialPreviewScene.js.map +1 -0
- package/dist/materials/MaterialValidation.d.ts +14 -0
- package/dist/materials/MaterialValidation.d.ts.map +1 -0
- package/dist/materials/MaterialValidation.js +26 -0
- package/dist/materials/MaterialValidation.js.map +1 -0
- package/dist/materials/NodeMaterial.d.ts +11 -0
- package/dist/materials/NodeMaterial.d.ts.map +1 -0
- package/dist/materials/NodeMaterial.js +15 -0
- package/dist/materials/NodeMaterial.js.map +1 -0
- package/dist/materials/PBRMaterialLibrary.d.ts +7 -0
- package/dist/materials/PBRMaterialLibrary.d.ts.map +1 -0
- package/dist/materials/PBRMaterialLibrary.js +89 -0
- package/dist/materials/PBRMaterialLibrary.js.map +1 -0
- package/dist/materials/TextureSet.d.ts +17 -0
- package/dist/materials/TextureSet.d.ts.map +1 -0
- package/dist/materials/TextureSet.js +40 -0
- package/dist/materials/TextureSet.js.map +1 -0
- package/dist/materials/browser-index.d.ts +9 -0
- package/dist/materials/browser-index.d.ts.map +1 -0
- package/dist/materials/browser-index.js +6 -0
- package/dist/materials/browser-index.js.map +1 -0
- package/dist/materials/index.d.ts +11 -0
- package/dist/materials/index.d.ts.map +1 -0
- package/dist/materials/index.js +7 -0
- package/dist/materials/index.js.map +1 -0
- package/dist/math/Box3.d.ts +19 -0
- package/dist/math/Box3.d.ts.map +1 -0
- package/dist/math/Box3.js +61 -0
- package/dist/math/Box3.js.map +1 -0
- package/dist/math/Color.d.ts +15 -0
- package/dist/math/Color.d.ts.map +1 -0
- package/dist/math/Color.js +41 -0
- package/dist/math/Color.js.map +1 -0
- package/dist/math/Curves.d.ts +22 -0
- package/dist/math/Curves.d.ts.map +1 -0
- package/dist/math/Curves.js +74 -0
- package/dist/math/Curves.js.map +1 -0
- package/dist/math/Easing.d.ts +7 -0
- package/dist/math/Easing.d.ts.map +1 -0
- package/dist/math/Easing.js +24 -0
- package/dist/math/Easing.js.map +1 -0
- package/dist/math/Euler.d.ts +12 -0
- package/dist/math/Euler.d.ts.map +1 -0
- package/dist/math/Euler.js +30 -0
- package/dist/math/Euler.js.map +1 -0
- package/dist/math/Frustum.d.ts +14 -0
- package/dist/math/Frustum.d.ts.map +1 -0
- package/dist/math/Frustum.js +40 -0
- package/dist/math/Frustum.js.map +1 -0
- package/dist/math/Interpolation.d.ts +11 -0
- package/dist/math/Interpolation.d.ts.map +1 -0
- package/dist/math/Interpolation.js +30 -0
- package/dist/math/Interpolation.js.map +1 -0
- package/dist/math/Matrix3.d.ts +9 -0
- package/dist/math/Matrix3.d.ts.map +1 -0
- package/dist/math/Matrix3.js +51 -0
- package/dist/math/Matrix3.js.map +1 -0
- package/dist/math/Matrix4.d.ts +45 -0
- package/dist/math/Matrix4.d.ts.map +1 -0
- package/dist/math/Matrix4.js +204 -0
- package/dist/math/Matrix4.js.map +1 -0
- package/dist/math/Plane.d.ts +11 -0
- package/dist/math/Plane.d.ts.map +1 -0
- package/dist/math/Plane.js +31 -0
- package/dist/math/Plane.js.map +1 -0
- package/dist/math/Quaternion.d.ts +25 -0
- package/dist/math/Quaternion.d.ts.map +1 -0
- package/dist/math/Quaternion.js +121 -0
- package/dist/math/Quaternion.js.map +1 -0
- package/dist/math/Random.d.ts +9 -0
- package/dist/math/Random.d.ts.map +1 -0
- package/dist/math/Random.js +30 -0
- package/dist/math/Random.js.map +1 -0
- package/dist/math/Ray.d.ts +14 -0
- package/dist/math/Ray.d.ts.map +1 -0
- package/dist/math/Ray.js +67 -0
- package/dist/math/Ray.js.map +1 -0
- package/dist/math/Sphere.d.ts +9 -0
- package/dist/math/Sphere.d.ts.map +1 -0
- package/dist/math/Sphere.js +18 -0
- package/dist/math/Sphere.js.map +1 -0
- package/dist/math/Transform.d.ts +14 -0
- package/dist/math/Transform.d.ts.map +1 -0
- package/dist/math/Transform.js +28 -0
- package/dist/math/Transform.js.map +1 -0
- package/dist/math/Vector2.d.ts +22 -0
- package/dist/math/Vector2.d.ts.map +1 -0
- package/dist/math/Vector2.js +54 -0
- package/dist/math/Vector2.js.map +1 -0
- package/dist/math/Vector3.d.ts +34 -0
- package/dist/math/Vector3.d.ts.map +1 -0
- package/dist/math/Vector3.js +77 -0
- package/dist/math/Vector3.js.map +1 -0
- package/dist/math/Vector4.d.ts +19 -0
- package/dist/math/Vector4.d.ts.map +1 -0
- package/dist/math/Vector4.js +43 -0
- package/dist/math/Vector4.js.map +1 -0
- package/dist/math/index.d.ts +19 -0
- package/dist/math/index.d.ts.map +1 -0
- package/dist/math/index.js +19 -0
- package/dist/math/index.js.map +1 -0
- package/dist/physics/CharacterController.d.ts +52 -0
- package/dist/physics/CharacterController.d.ts.map +1 -0
- package/dist/physics/CharacterController.js +146 -0
- package/dist/physics/CharacterController.js.map +1 -0
- package/dist/physics/ClothFixtures.d.ts +87 -0
- package/dist/physics/ClothFixtures.d.ts.map +1 -0
- package/dist/physics/ClothFixtures.js +264 -0
- package/dist/physics/ClothFixtures.js.map +1 -0
- package/dist/physics/Collider.d.ts +27 -0
- package/dist/physics/Collider.d.ts.map +1 -0
- package/dist/physics/Collider.js +45 -0
- package/dist/physics/Collider.js.map +1 -0
- package/dist/physics/CollisionEvents.d.ts +26 -0
- package/dist/physics/CollisionEvents.d.ts.map +1 -0
- package/dist/physics/CollisionEvents.js +46 -0
- package/dist/physics/CollisionEvents.js.map +1 -0
- package/dist/physics/Constraint.d.ts +31 -0
- package/dist/physics/Constraint.d.ts.map +1 -0
- package/dist/physics/Constraint.js +103 -0
- package/dist/physics/Constraint.js.map +1 -0
- package/dist/physics/Constraints.d.ts +2 -0
- package/dist/physics/Constraints.d.ts.map +1 -0
- package/dist/physics/Constraints.js +2 -0
- package/dist/physics/Constraints.js.map +1 -0
- package/dist/physics/Crowd.d.ts +64 -0
- package/dist/physics/Crowd.d.ts.map +1 -0
- package/dist/physics/Crowd.js +209 -0
- package/dist/physics/Crowd.js.map +1 -0
- package/dist/physics/ECSPhysicsBridge.d.ts +17 -0
- package/dist/physics/ECSPhysicsBridge.d.ts.map +1 -0
- package/dist/physics/ECSPhysicsBridge.js +37 -0
- package/dist/physics/ECSPhysicsBridge.js.map +1 -0
- package/dist/physics/FireSmokeFixtures.d.ts +103 -0
- package/dist/physics/FireSmokeFixtures.d.ts.map +1 -0
- package/dist/physics/FireSmokeFixtures.js +271 -0
- package/dist/physics/FireSmokeFixtures.js.map +1 -0
- package/dist/physics/FluidFixtures.d.ts +75 -0
- package/dist/physics/FluidFixtures.d.ts.map +1 -0
- package/dist/physics/FluidFixtures.js +219 -0
- package/dist/physics/FluidFixtures.js.map +1 -0
- package/dist/physics/FractureFixtures.d.ts +68 -0
- package/dist/physics/FractureFixtures.d.ts.map +1 -0
- package/dist/physics/FractureFixtures.js +199 -0
- package/dist/physics/FractureFixtures.js.map +1 -0
- package/dist/physics/Navigation.d.ts +67 -0
- package/dist/physics/Navigation.d.ts.map +1 -0
- package/dist/physics/Navigation.js +261 -0
- package/dist/physics/Navigation.js.map +1 -0
- package/dist/physics/PhysicsDebugDraw.d.ts +11 -0
- package/dist/physics/PhysicsDebugDraw.d.ts.map +1 -0
- package/dist/physics/PhysicsDebugDraw.js +64 -0
- package/dist/physics/PhysicsDebugDraw.js.map +1 -0
- package/dist/physics/PhysicsSandboxFixtures.d.ts +53 -0
- package/dist/physics/PhysicsSandboxFixtures.d.ts.map +1 -0
- package/dist/physics/PhysicsSandboxFixtures.js +280 -0
- package/dist/physics/PhysicsSandboxFixtures.js.map +1 -0
- package/dist/physics/PhysicsStepper.d.ts +15 -0
- package/dist/physics/PhysicsStepper.d.ts.map +1 -0
- package/dist/physics/PhysicsStepper.js +37 -0
- package/dist/physics/PhysicsStepper.js.map +1 -0
- package/dist/physics/PhysicsWorld.d.ts +101 -0
- package/dist/physics/PhysicsWorld.d.ts.map +1 -0
- package/dist/physics/PhysicsWorld.js +868 -0
- package/dist/physics/PhysicsWorld.js.map +1 -0
- package/dist/physics/PlatformerFixtures.d.ts +70 -0
- package/dist/physics/PlatformerFixtures.d.ts.map +1 -0
- package/dist/physics/PlatformerFixtures.js +120 -0
- package/dist/physics/PlatformerFixtures.js.map +1 -0
- package/dist/physics/Raycast.d.ts +23 -0
- package/dist/physics/Raycast.d.ts.map +1 -0
- package/dist/physics/Raycast.js +271 -0
- package/dist/physics/Raycast.js.map +1 -0
- package/dist/physics/RigidBody.d.ts +69 -0
- package/dist/physics/RigidBody.d.ts.map +1 -0
- package/dist/physics/RigidBody.js +255 -0
- package/dist/physics/RigidBody.js.map +1 -0
- package/dist/physics/ScenePhysicsBridge.d.ts +42 -0
- package/dist/physics/ScenePhysicsBridge.d.ts.map +1 -0
- package/dist/physics/ScenePhysicsBridge.js +168 -0
- package/dist/physics/ScenePhysicsBridge.js.map +1 -0
- package/dist/physics/Shape.d.ts +50 -0
- package/dist/physics/Shape.d.ts.map +1 -0
- package/dist/physics/Shape.js +128 -0
- package/dist/physics/Shape.js.map +1 -0
- package/dist/physics/SoftBodyFixtures.d.ts +70 -0
- package/dist/physics/SoftBodyFixtures.d.ts.map +1 -0
- package/dist/physics/SoftBodyFixtures.js +272 -0
- package/dist/physics/SoftBodyFixtures.js.map +1 -0
- package/dist/physics/Steering.d.ts +161 -0
- package/dist/physics/Steering.d.ts.map +1 -0
- package/dist/physics/Steering.js +347 -0
- package/dist/physics/Steering.js.map +1 -0
- package/dist/physics/VehicleDynamics.d.ts +152 -0
- package/dist/physics/VehicleDynamics.d.ts.map +1 -0
- package/dist/physics/VehicleDynamics.js +335 -0
- package/dist/physics/VehicleDynamics.js.map +1 -0
- package/dist/physics/index.d.ts +25 -0
- package/dist/physics/index.d.ts.map +1 -0
- package/dist/physics/index.js +25 -0
- package/dist/physics/index.js.map +1 -0
- package/dist/product-studio/ProductAsset.d.ts +2 -0
- package/dist/product-studio/ProductAsset.d.ts.map +1 -0
- package/dist/product-studio/ProductAsset.js +2 -0
- package/dist/product-studio/ProductAsset.js.map +1 -0
- package/dist/product-studio/ProductAssetLoader.d.ts +3 -0
- package/dist/product-studio/ProductAssetLoader.d.ts.map +1 -0
- package/dist/product-studio/ProductAssetLoader.js +77 -0
- package/dist/product-studio/ProductAssetLoader.js.map +1 -0
- package/dist/product-studio/ProductCamera.d.ts +4 -0
- package/dist/product-studio/ProductCamera.d.ts.map +1 -0
- package/dist/product-studio/ProductCamera.js +45 -0
- package/dist/product-studio/ProductCamera.js.map +1 -0
- package/dist/product-studio/ProductDiagnostics.d.ts +4 -0
- package/dist/product-studio/ProductDiagnostics.d.ts.map +1 -0
- package/dist/product-studio/ProductDiagnostics.js +21 -0
- package/dist/product-studio/ProductDiagnostics.js.map +1 -0
- package/dist/product-studio/ProductExport.d.ts +4 -0
- package/dist/product-studio/ProductExport.d.ts.map +1 -0
- package/dist/product-studio/ProductExport.js +40 -0
- package/dist/product-studio/ProductExport.js.map +1 -0
- package/dist/product-studio/ProductFloor.d.ts +4 -0
- package/dist/product-studio/ProductFloor.d.ts.map +1 -0
- package/dist/product-studio/ProductFloor.js +15 -0
- package/dist/product-studio/ProductFloor.js.map +1 -0
- package/dist/product-studio/ProductLighting.d.ts +3 -0
- package/dist/product-studio/ProductLighting.d.ts.map +1 -0
- package/dist/product-studio/ProductLighting.js +42 -0
- package/dist/product-studio/ProductLighting.js.map +1 -0
- package/dist/product-studio/ProductMaterials.d.ts +5 -0
- package/dist/product-studio/ProductMaterials.d.ts.map +1 -0
- package/dist/product-studio/ProductMaterials.js +41 -0
- package/dist/product-studio/ProductMaterials.js.map +1 -0
- package/dist/product-studio/ProductRenderScene.d.ts +4 -0
- package/dist/product-studio/ProductRenderScene.d.ts.map +1 -0
- package/dist/product-studio/ProductRenderScene.js +46 -0
- package/dist/product-studio/ProductRenderScene.js.map +1 -0
- package/dist/product-studio/ProductShowcaseLayout.d.ts +32 -0
- package/dist/product-studio/ProductShowcaseLayout.d.ts.map +1 -0
- package/dist/product-studio/ProductShowcaseLayout.js +54 -0
- package/dist/product-studio/ProductShowcaseLayout.js.map +1 -0
- package/dist/product-studio/ProductStudio.d.ts +3 -0
- package/dist/product-studio/ProductStudio.d.ts.map +1 -0
- package/dist/product-studio/ProductStudio.js +51 -0
- package/dist/product-studio/ProductStudio.js.map +1 -0
- package/dist/product-studio/ProductTypes.d.ts +133 -0
- package/dist/product-studio/ProductTypes.d.ts.map +1 -0
- package/dist/product-studio/ProductTypes.js +2 -0
- package/dist/product-studio/ProductTypes.js.map +1 -0
- package/dist/product-studio/index.d.ts +13 -0
- package/dist/product-studio/index.d.ts.map +1 -0
- package/dist/product-studio/index.js +11 -0
- package/dist/product-studio/index.js.map +1 -0
- package/dist/react/index.d.ts +44 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +116 -0
- package/dist/react/index.js.map +1 -0
- package/dist/rendering/ArchitecturalLightingFixtures.d.ts +40 -0
- package/dist/rendering/ArchitecturalLightingFixtures.d.ts.map +1 -0
- package/dist/rendering/ArchitecturalLightingFixtures.js +171 -0
- package/dist/rendering/ArchitecturalLightingFixtures.js.map +1 -0
- package/dist/rendering/ArchitecturalMaterialCatalog.d.ts +30 -0
- package/dist/rendering/ArchitecturalMaterialCatalog.d.ts.map +1 -0
- package/dist/rendering/ArchitecturalMaterialCatalog.js +90 -0
- package/dist/rendering/ArchitecturalMaterialCatalog.js.map +1 -0
- package/dist/rendering/ArchitecturalMeasurementFixtures.d.ts +30 -0
- package/dist/rendering/ArchitecturalMeasurementFixtures.d.ts.map +1 -0
- package/dist/rendering/ArchitecturalMeasurementFixtures.js +115 -0
- package/dist/rendering/ArchitecturalMeasurementFixtures.js.map +1 -0
- package/dist/rendering/BRDFLut.d.ts +13 -0
- package/dist/rendering/BRDFLut.d.ts.map +1 -0
- package/dist/rendering/BRDFLut.js +34 -0
- package/dist/rendering/BRDFLut.js.map +1 -0
- package/dist/rendering/CameraFraming.d.ts +31 -0
- package/dist/rendering/CameraFraming.d.ts.map +1 -0
- package/dist/rendering/CameraFraming.js +143 -0
- package/dist/rendering/CameraFraming.js.map +1 -0
- package/dist/rendering/CanonicalSceneFixtures.d.ts +13 -0
- package/dist/rendering/CanonicalSceneFixtures.d.ts.map +1 -0
- package/dist/rendering/CanonicalSceneFixtures.js +78 -0
- package/dist/rendering/CanonicalSceneFixtures.js.map +1 -0
- package/dist/rendering/CascadedShadowMaps.d.ts +121 -0
- package/dist/rendering/CascadedShadowMaps.d.ts.map +1 -0
- package/dist/rendering/CascadedShadowMaps.js +315 -0
- package/dist/rendering/CascadedShadowMaps.js.map +1 -0
- package/dist/rendering/ColorManagement.d.ts +33 -0
- package/dist/rendering/ColorManagement.d.ts.map +1 -0
- package/dist/rendering/ColorManagement.js +71 -0
- package/dist/rendering/ColorManagement.js.map +1 -0
- package/dist/rendering/CullingFixtures.d.ts +70 -0
- package/dist/rendering/CullingFixtures.d.ts.map +1 -0
- package/dist/rendering/CullingFixtures.js +191 -0
- package/dist/rendering/CullingFixtures.js.map +1 -0
- package/dist/rendering/DecalGeometry.d.ts +3 -0
- package/dist/rendering/DecalGeometry.d.ts.map +1 -0
- package/dist/rendering/DecalGeometry.js +2 -0
- package/dist/rendering/DecalGeometry.js.map +1 -0
- package/dist/rendering/DepthPass.d.ts +23 -0
- package/dist/rendering/DepthPass.d.ts.map +1 -0
- package/dist/rendering/DepthPass.js +99 -0
- package/dist/rendering/DepthPass.js.map +1 -0
- package/dist/rendering/EnvironmentBackgroundPass.d.ts +27 -0
- package/dist/rendering/EnvironmentBackgroundPass.d.ts.map +1 -0
- package/dist/rendering/EnvironmentBackgroundPass.js +167 -0
- package/dist/rendering/EnvironmentBackgroundPass.js.map +1 -0
- package/dist/rendering/EnvironmentBackgroundResources.d.ts +31 -0
- package/dist/rendering/EnvironmentBackgroundResources.d.ts.map +1 -0
- package/dist/rendering/EnvironmentBackgroundResources.js +237 -0
- package/dist/rendering/EnvironmentBackgroundResources.js.map +1 -0
- package/dist/rendering/EnvironmentLighting.d.ts +10 -0
- package/dist/rendering/EnvironmentLighting.d.ts.map +1 -0
- package/dist/rendering/EnvironmentLighting.js +64 -0
- package/dist/rendering/EnvironmentLighting.js.map +1 -0
- package/dist/rendering/EnvironmentMapResources.d.ts +98 -0
- package/dist/rendering/EnvironmentMapResources.d.ts.map +1 -0
- package/dist/rendering/EnvironmentMapResources.js +794 -0
- package/dist/rendering/EnvironmentMapResources.js.map +1 -0
- package/dist/rendering/EnvironmentPipeline.d.ts +21 -0
- package/dist/rendering/EnvironmentPipeline.d.ts.map +1 -0
- package/dist/rendering/EnvironmentPipeline.js +43 -0
- package/dist/rendering/EnvironmentPipeline.js.map +1 -0
- package/dist/rendering/EnvironmentPlatform.d.ts +185 -0
- package/dist/rendering/EnvironmentPlatform.d.ts.map +1 -0
- package/dist/rendering/EnvironmentPlatform.js +922 -0
- package/dist/rendering/EnvironmentPlatform.js.map +1 -0
- package/dist/rendering/EnvironmentPreset.d.ts +35 -0
- package/dist/rendering/EnvironmentPreset.d.ts.map +1 -0
- package/dist/rendering/EnvironmentPreset.js +96 -0
- package/dist/rendering/EnvironmentPreset.js.map +1 -0
- package/dist/rendering/Exposure.d.ts +19 -0
- package/dist/rendering/Exposure.d.ts.map +1 -0
- package/dist/rendering/Exposure.js +34 -0
- package/dist/rendering/Exposure.js.map +1 -0
- package/dist/rendering/ExternalParityRenderPreset.d.ts +149 -0
- package/dist/rendering/ExternalParityRenderPreset.d.ts.map +1 -0
- package/dist/rendering/ExternalParityRenderPreset.js +519 -0
- package/dist/rendering/ExternalParityRenderPreset.js.map +1 -0
- package/dist/rendering/ForwardPass.d.ts +122 -0
- package/dist/rendering/ForwardPass.d.ts.map +1 -0
- package/dist/rendering/ForwardPass.js +1352 -0
- package/dist/rendering/ForwardPass.js.map +1 -0
- package/dist/rendering/FrameVisualMetrics.d.ts +60 -0
- package/dist/rendering/FrameVisualMetrics.d.ts.map +1 -0
- package/dist/rendering/FrameVisualMetrics.js +146 -0
- package/dist/rendering/FrameVisualMetrics.js.map +1 -0
- package/dist/rendering/Geometry.d.ts +50 -0
- package/dist/rendering/Geometry.d.ts.map +1 -0
- package/dist/rendering/Geometry.js +385 -0
- package/dist/rendering/Geometry.js.map +1 -0
- package/dist/rendering/GeometryPrimitives.d.ts +3 -0
- package/dist/rendering/GeometryPrimitives.d.ts.map +1 -0
- package/dist/rendering/GeometryPrimitives.js +2 -0
- package/dist/rendering/GeometryPrimitives.js.map +1 -0
- package/dist/rendering/HDRRenderPipeline.d.ts +27 -0
- package/dist/rendering/HDRRenderPipeline.d.ts.map +1 -0
- package/dist/rendering/HDRRenderPipeline.js +67 -0
- package/dist/rendering/HDRRenderPipeline.js.map +1 -0
- package/dist/rendering/IBL.d.ts +37 -0
- package/dist/rendering/IBL.d.ts.map +1 -0
- package/dist/rendering/IBL.js +48 -0
- package/dist/rendering/IBL.js.map +1 -0
- package/dist/rendering/IndexBuffer.d.ts +15 -0
- package/dist/rendering/IndexBuffer.d.ts.map +1 -0
- package/dist/rendering/IndexBuffer.js +51 -0
- package/dist/rendering/IndexBuffer.js.map +1 -0
- package/dist/rendering/InstancedPBRMaterial.d.ts +33 -0
- package/dist/rendering/InstancedPBRMaterial.d.ts.map +1 -0
- package/dist/rendering/InstancedPBRMaterial.js +147 -0
- package/dist/rendering/InstancedPBRMaterial.js.map +1 -0
- package/dist/rendering/InstancedUnlitMaterial.d.ts +11 -0
- package/dist/rendering/InstancedUnlitMaterial.d.ts.map +1 -0
- package/dist/rendering/InstancedUnlitMaterial.js +50 -0
- package/dist/rendering/InstancedUnlitMaterial.js.map +1 -0
- package/dist/rendering/Instancing.d.ts +7 -0
- package/dist/rendering/Instancing.d.ts.map +1 -0
- package/dist/rendering/Instancing.js +14 -0
- package/dist/rendering/Instancing.js.map +1 -0
- package/dist/rendering/LightCollector.d.ts +24 -0
- package/dist/rendering/LightCollector.d.ts.map +1 -0
- package/dist/rendering/LightCollector.js +56 -0
- package/dist/rendering/LightCollector.js.map +1 -0
- package/dist/rendering/LightUniforms.d.ts +14 -0
- package/dist/rendering/LightUniforms.d.ts.map +1 -0
- package/dist/rendering/LightUniforms.js +37 -0
- package/dist/rendering/LightUniforms.js.map +1 -0
- package/dist/rendering/LightingDebug.d.ts +13 -0
- package/dist/rendering/LightingDebug.d.ts.map +1 -0
- package/dist/rendering/LightingDebug.js +69 -0
- package/dist/rendering/LightingDebug.js.map +1 -0
- package/dist/rendering/LightingDefaults.d.ts +13 -0
- package/dist/rendering/LightingDefaults.d.ts.map +1 -0
- package/dist/rendering/LightingDefaults.js +64 -0
- package/dist/rendering/LightingDefaults.js.map +1 -0
- package/dist/rendering/LightingRig.d.ts +53 -0
- package/dist/rendering/LightingRig.d.ts.map +1 -0
- package/dist/rendering/LightingRig.js +197 -0
- package/dist/rendering/LightingRig.js.map +1 -0
- package/dist/rendering/LineGeometry.d.ts +3 -0
- package/dist/rendering/LineGeometry.d.ts.map +1 -0
- package/dist/rendering/LineGeometry.js +2 -0
- package/dist/rendering/LineGeometry.js.map +1 -0
- package/dist/rendering/Material.d.ts +77 -0
- package/dist/rendering/Material.d.ts.map +1 -0
- package/dist/rendering/Material.js +137 -0
- package/dist/rendering/Material.js.map +1 -0
- package/dist/rendering/MaterialBinding.d.ts +17 -0
- package/dist/rendering/MaterialBinding.d.ts.map +1 -0
- package/dist/rendering/MaterialBinding.js +119 -0
- package/dist/rendering/MaterialBinding.js.map +1 -0
- package/dist/rendering/MaterialInstance.d.ts +16 -0
- package/dist/rendering/MaterialInstance.d.ts.map +1 -0
- package/dist/rendering/MaterialInstance.js +53 -0
- package/dist/rendering/MaterialInstance.js.map +1 -0
- package/dist/rendering/MaterialPresets.d.ts +31 -0
- package/dist/rendering/MaterialPresets.d.ts.map +1 -0
- package/dist/rendering/MaterialPresets.js +219 -0
- package/dist/rendering/MaterialPresets.js.map +1 -0
- package/dist/rendering/MorphTarget.d.ts +10 -0
- package/dist/rendering/MorphTarget.d.ts.map +1 -0
- package/dist/rendering/MorphTarget.js +101 -0
- package/dist/rendering/MorphTarget.js.map +1 -0
- package/dist/rendering/MorphUnlitMaterial.d.ts +11 -0
- package/dist/rendering/MorphUnlitMaterial.d.ts.map +1 -0
- package/dist/rendering/MorphUnlitMaterial.js +45 -0
- package/dist/rendering/MorphUnlitMaterial.js.map +1 -0
- package/dist/rendering/NormalMappedPBRMaterial.d.ts +37 -0
- package/dist/rendering/NormalMappedPBRMaterial.d.ts.map +1 -0
- package/dist/rendering/NormalMappedPBRMaterial.js +148 -0
- package/dist/rendering/NormalMappedPBRMaterial.js.map +1 -0
- package/dist/rendering/OceanFixtures.d.ts +62 -0
- package/dist/rendering/OceanFixtures.d.ts.map +1 -0
- package/dist/rendering/OceanFixtures.js +240 -0
- package/dist/rendering/OceanFixtures.js.map +1 -0
- package/dist/rendering/PBRLightingDefaults.d.ts +4 -0
- package/dist/rendering/PBRLightingDefaults.d.ts.map +1 -0
- package/dist/rendering/PBRLightingDefaults.js +10 -0
- package/dist/rendering/PBRLightingDefaults.js.map +1 -0
- package/dist/rendering/PBRMaterial.d.ts +84 -0
- package/dist/rendering/PBRMaterial.d.ts.map +1 -0
- package/dist/rendering/PBRMaterial.js +349 -0
- package/dist/rendering/PBRMaterial.js.map +1 -0
- package/dist/rendering/PMREM.d.ts +26 -0
- package/dist/rendering/PMREM.d.ts.map +1 -0
- package/dist/rendering/PMREM.js +26 -0
- package/dist/rendering/PMREM.js.map +1 -0
- package/dist/rendering/PbrReference.d.ts +153 -0
- package/dist/rendering/PbrReference.d.ts.map +1 -0
- package/dist/rendering/PbrReference.js +500 -0
- package/dist/rendering/PbrReference.js.map +1 -0
- package/dist/rendering/PostProcessPass.d.ts +439 -0
- package/dist/rendering/PostProcessPass.d.ts.map +1 -0
- package/dist/rendering/PostProcessPass.js +1834 -0
- package/dist/rendering/PostProcessPass.js.map +1 -0
- package/dist/rendering/ProceduralTextureFixtures.d.ts +27 -0
- package/dist/rendering/ProceduralTextureFixtures.d.ts.map +1 -0
- package/dist/rendering/ProceduralTextureFixtures.js +336 -0
- package/dist/rendering/ProceduralTextureFixtures.js.map +1 -0
- package/dist/rendering/ProductTurntableFixtures.d.ts +96 -0
- package/dist/rendering/ProductTurntableFixtures.d.ts.map +1 -0
- package/dist/rendering/ProductTurntableFixtures.js +559 -0
- package/dist/rendering/ProductTurntableFixtures.js.map +1 -0
- package/dist/rendering/Raycaster.d.ts +14 -0
- package/dist/rendering/Raycaster.d.ts.map +1 -0
- package/dist/rendering/Raycaster.js +10 -0
- package/dist/rendering/Raycaster.js.map +1 -0
- package/dist/rendering/ReflectionProbe.d.ts +8 -0
- package/dist/rendering/ReflectionProbe.d.ts.map +1 -0
- package/dist/rendering/ReflectionProbe.js +10 -0
- package/dist/rendering/ReflectionProbe.js.map +1 -0
- package/dist/rendering/ReflectionSurfaces.d.ts +35 -0
- package/dist/rendering/ReflectionSurfaces.d.ts.map +1 -0
- package/dist/rendering/ReflectionSurfaces.js +155 -0
- package/dist/rendering/ReflectionSurfaces.js.map +1 -0
- package/dist/rendering/RenderBackend.d.ts +14 -0
- package/dist/rendering/RenderBackend.d.ts.map +1 -0
- package/dist/rendering/RenderBackend.js +33 -0
- package/dist/rendering/RenderBackend.js.map +1 -0
- package/dist/rendering/RenderDebugViews.d.ts +26 -0
- package/dist/rendering/RenderDebugViews.d.ts.map +1 -0
- package/dist/rendering/RenderDebugViews.js +97 -0
- package/dist/rendering/RenderDebugViews.js.map +1 -0
- package/dist/rendering/RenderDevice.d.ts +280 -0
- package/dist/rendering/RenderDevice.d.ts.map +1 -0
- package/dist/rendering/RenderDevice.js +561 -0
- package/dist/rendering/RenderDevice.js.map +1 -0
- package/dist/rendering/RenderGraph.d.ts +22 -0
- package/dist/rendering/RenderGraph.d.ts.map +1 -0
- package/dist/rendering/RenderGraph.js +159 -0
- package/dist/rendering/RenderGraph.js.map +1 -0
- package/dist/rendering/RenderPass.d.ts +23 -0
- package/dist/rendering/RenderPass.d.ts.map +1 -0
- package/dist/rendering/RenderPass.js +14 -0
- package/dist/rendering/RenderPass.js.map +1 -0
- package/dist/rendering/RenderPipeline.d.ts +39 -0
- package/dist/rendering/RenderPipeline.d.ts.map +1 -0
- package/dist/rendering/RenderPipeline.js +67 -0
- package/dist/rendering/RenderPipeline.js.map +1 -0
- package/dist/rendering/RenderQueue.d.ts +3 -0
- package/dist/rendering/RenderQueue.d.ts.map +1 -0
- package/dist/rendering/RenderQueue.js +2 -0
- package/dist/rendering/RenderQueue.js.map +1 -0
- package/dist/rendering/RenderState.d.ts +3 -0
- package/dist/rendering/RenderState.d.ts.map +1 -0
- package/dist/rendering/RenderState.js +2 -0
- package/dist/rendering/RenderState.js.map +1 -0
- package/dist/rendering/Renderer.d.ts +265 -0
- package/dist/rendering/Renderer.d.ts.map +1 -0
- package/dist/rendering/Renderer.js +2094 -0
- package/dist/rendering/Renderer.js.map +1 -0
- package/dist/rendering/RendererDebugOverlay.d.ts +20 -0
- package/dist/rendering/RendererDebugOverlay.d.ts.map +1 -0
- package/dist/rendering/RendererDebugOverlay.js +54 -0
- package/dist/rendering/RendererDebugOverlay.js.map +1 -0
- package/dist/rendering/RendererFeatureGates.d.ts +17 -0
- package/dist/rendering/RendererFeatureGates.d.ts.map +1 -0
- package/dist/rendering/RendererFeatureGates.js +92 -0
- package/dist/rendering/RendererFeatureGates.js.map +1 -0
- package/dist/rendering/RendererPostprocessPlan.d.ts +59 -0
- package/dist/rendering/RendererPostprocessPlan.d.ts.map +1 -0
- package/dist/rendering/RendererPostprocessPlan.js +155 -0
- package/dist/rendering/RendererPostprocessPlan.js.map +1 -0
- package/dist/rendering/RendererTiming.d.ts +53 -0
- package/dist/rendering/RendererTiming.d.ts.map +1 -0
- package/dist/rendering/RendererTiming.js +186 -0
- package/dist/rendering/RendererTiming.js.map +1 -0
- package/dist/rendering/RendererVisualPipelineReport.d.ts +224 -0
- package/dist/rendering/RendererVisualPipelineReport.d.ts.map +1 -0
- package/dist/rendering/RendererVisualPipelineReport.js +499 -0
- package/dist/rendering/RendererVisualPipelineReport.js.map +1 -0
- package/dist/rendering/ResourceLifecycle.d.ts +8 -0
- package/dist/rendering/ResourceLifecycle.d.ts.map +1 -0
- package/dist/rendering/ResourceLifecycle.js +18 -0
- package/dist/rendering/ResourceLifecycle.js.map +1 -0
- package/dist/rendering/Sampler.d.ts +20 -0
- package/dist/rendering/Sampler.d.ts.map +1 -0
- package/dist/rendering/Sampler.js +19 -0
- package/dist/rendering/Sampler.js.map +1 -0
- package/dist/rendering/SceneOptimization.d.ts +127 -0
- package/dist/rendering/SceneOptimization.d.ts.map +1 -0
- package/dist/rendering/SceneOptimization.js +342 -0
- package/dist/rendering/SceneOptimization.js.map +1 -0
- package/dist/rendering/ShaderChunks.d.ts +8 -0
- package/dist/rendering/ShaderChunks.d.ts.map +1 -0
- package/dist/rendering/ShaderChunks.js +386 -0
- package/dist/rendering/ShaderChunks.js.map +1 -0
- package/dist/rendering/ShaderLibrary.d.ts +63 -0
- package/dist/rendering/ShaderLibrary.d.ts.map +1 -0
- package/dist/rendering/ShaderLibrary.js +2707 -0
- package/dist/rendering/ShaderLibrary.js.map +1 -0
- package/dist/rendering/ShaderModule.d.ts +14 -0
- package/dist/rendering/ShaderModule.d.ts.map +1 -0
- package/dist/rendering/ShaderModule.js +33 -0
- package/dist/rendering/ShaderModule.js.map +1 -0
- package/dist/rendering/ShaderPreprocessor.d.ts +19 -0
- package/dist/rendering/ShaderPreprocessor.d.ts.map +1 -0
- package/dist/rendering/ShaderPreprocessor.js +212 -0
- package/dist/rendering/ShaderPreprocessor.js.map +1 -0
- package/dist/rendering/ShaderReflection.d.ts +23 -0
- package/dist/rendering/ShaderReflection.d.ts.map +1 -0
- package/dist/rendering/ShaderReflection.js +134 -0
- package/dist/rendering/ShaderReflection.js.map +1 -0
- package/dist/rendering/ShadowMap.d.ts +58 -0
- package/dist/rendering/ShadowMap.d.ts.map +1 -0
- package/dist/rendering/ShadowMap.js +183 -0
- package/dist/rendering/ShadowMap.js.map +1 -0
- package/dist/rendering/ShadowPass.d.ts +44 -0
- package/dist/rendering/ShadowPass.d.ts.map +1 -0
- package/dist/rendering/ShadowPass.js +162 -0
- package/dist/rendering/ShadowPass.js.map +1 -0
- package/dist/rendering/ShadowProjection.d.ts +15 -0
- package/dist/rendering/ShadowProjection.d.ts.map +1 -0
- package/dist/rendering/ShadowProjection.js +90 -0
- package/dist/rendering/ShadowProjection.js.map +1 -0
- package/dist/rendering/SkinnedLitMaterial.d.ts +63 -0
- package/dist/rendering/SkinnedLitMaterial.d.ts.map +1 -0
- package/dist/rendering/SkinnedLitMaterial.js +296 -0
- package/dist/rendering/SkinnedLitMaterial.js.map +1 -0
- package/dist/rendering/SkinnedUnlitMaterial.d.ts +13 -0
- package/dist/rendering/SkinnedUnlitMaterial.d.ts.map +1 -0
- package/dist/rendering/SkinnedUnlitMaterial.js +52 -0
- package/dist/rendering/SkinnedUnlitMaterial.js.map +1 -0
- package/dist/rendering/SkinningBounds.d.ts +10 -0
- package/dist/rendering/SkinningBounds.d.ts.map +1 -0
- package/dist/rendering/SkinningBounds.js +107 -0
- package/dist/rendering/SkinningBounds.js.map +1 -0
- package/dist/rendering/SpaceEnvironmentFixtures.d.ts +59 -0
- package/dist/rendering/SpaceEnvironmentFixtures.d.ts.map +1 -0
- package/dist/rendering/SpaceEnvironmentFixtures.js +132 -0
- package/dist/rendering/SpaceEnvironmentFixtures.js.map +1 -0
- package/dist/rendering/SpriteGeometry.d.ts +3 -0
- package/dist/rendering/SpriteGeometry.d.ts.map +1 -0
- package/dist/rendering/SpriteGeometry.js +21 -0
- package/dist/rendering/SpriteGeometry.js.map +1 -0
- package/dist/rendering/StereoCameraRig.d.ts +34 -0
- package/dist/rendering/StereoCameraRig.d.ts.map +1 -0
- package/dist/rendering/StereoCameraRig.js +79 -0
- package/dist/rendering/StereoCameraRig.js.map +1 -0
- package/dist/rendering/StereoEffects.d.ts +90 -0
- package/dist/rendering/StereoEffects.d.ts.map +1 -0
- package/dist/rendering/StereoEffects.js +171 -0
- package/dist/rendering/StereoEffects.js.map +1 -0
- package/dist/rendering/TerrainFixtures.d.ts +36 -0
- package/dist/rendering/TerrainFixtures.d.ts.map +1 -0
- package/dist/rendering/TerrainFixtures.js +143 -0
- package/dist/rendering/TerrainFixtures.js.map +1 -0
- package/dist/rendering/Texture.d.ts +64 -0
- package/dist/rendering/Texture.d.ts.map +1 -0
- package/dist/rendering/Texture.js +257 -0
- package/dist/rendering/Texture.js.map +1 -0
- package/dist/rendering/TextureBinding.d.ts +38 -0
- package/dist/rendering/TextureBinding.d.ts.map +1 -0
- package/dist/rendering/TextureBinding.js +66 -0
- package/dist/rendering/TextureBinding.js.map +1 -0
- package/dist/rendering/TexturedPBRMaterial.d.ts +206 -0
- package/dist/rendering/TexturedPBRMaterial.d.ts.map +1 -0
- package/dist/rendering/TexturedPBRMaterial.js +842 -0
- package/dist/rendering/TexturedPBRMaterial.js.map +1 -0
- package/dist/rendering/TexturedUnlitMaterial.d.ts +19 -0
- package/dist/rendering/TexturedUnlitMaterial.d.ts.map +1 -0
- package/dist/rendering/TexturedUnlitMaterial.js +52 -0
- package/dist/rendering/TexturedUnlitMaterial.js.map +1 -0
- package/dist/rendering/ToneMapping.d.ts +19 -0
- package/dist/rendering/ToneMapping.d.ts.map +1 -0
- package/dist/rendering/ToneMapping.js +53 -0
- package/dist/rendering/ToneMapping.js.map +1 -0
- package/dist/rendering/UniformBinder.d.ts +7 -0
- package/dist/rendering/UniformBinder.d.ts.map +1 -0
- package/dist/rendering/UniformBinder.js +14 -0
- package/dist/rendering/UniformBinder.js.map +1 -0
- package/dist/rendering/UniformLayout.d.ts +19 -0
- package/dist/rendering/UniformLayout.d.ts.map +1 -0
- package/dist/rendering/UniformLayout.js +107 -0
- package/dist/rendering/UniformLayout.js.map +1 -0
- package/dist/rendering/UnlitMaterial.d.ts +16 -0
- package/dist/rendering/UnlitMaterial.d.ts.map +1 -0
- package/dist/rendering/UnlitMaterial.js +60 -0
- package/dist/rendering/UnlitMaterial.js.map +1 -0
- package/dist/rendering/VegetationFixtures.d.ts +68 -0
- package/dist/rendering/VegetationFixtures.d.ts.map +1 -0
- package/dist/rendering/VegetationFixtures.js +241 -0
- package/dist/rendering/VegetationFixtures.js.map +1 -0
- package/dist/rendering/VertexBuffer.d.ts +29 -0
- package/dist/rendering/VertexBuffer.d.ts.map +1 -0
- package/dist/rendering/VertexBuffer.js +106 -0
- package/dist/rendering/VertexBuffer.js.map +1 -0
- package/dist/rendering/VertexFormat.d.ts +36 -0
- package/dist/rendering/VertexFormat.d.ts.map +1 -0
- package/dist/rendering/VertexFormat.js +127 -0
- package/dist/rendering/VertexFormat.js.map +1 -0
- package/dist/rendering/VoxelWorldFixtures.d.ts +54 -0
- package/dist/rendering/VoxelWorldFixtures.d.ts.map +1 -0
- package/dist/rendering/VoxelWorldFixtures.js +186 -0
- package/dist/rendering/VoxelWorldFixtures.js.map +1 -0
- package/dist/rendering/WeatherFixtures.d.ts +46 -0
- package/dist/rendering/WeatherFixtures.d.ts.map +1 -0
- package/dist/rendering/WeatherFixtures.js +142 -0
- package/dist/rendering/WeatherFixtures.js.map +1 -0
- package/dist/rendering/WebGL2Device.d.ts +137 -0
- package/dist/rendering/WebGL2Device.d.ts.map +1 -0
- package/dist/rendering/WebGL2Device.js +2107 -0
- package/dist/rendering/WebGL2Device.js.map +1 -0
- package/dist/rendering/WebGL2StateCache.d.ts +89 -0
- package/dist/rendering/WebGL2StateCache.d.ts.map +1 -0
- package/dist/rendering/WebGL2StateCache.js +265 -0
- package/dist/rendering/WebGL2StateCache.js.map +1 -0
- package/dist/rendering/WebGPUDevice.d.ts +287 -0
- package/dist/rendering/WebGPUDevice.d.ts.map +1 -0
- package/dist/rendering/WebGPUDevice.js +2403 -0
- package/dist/rendering/WebGPUDevice.js.map +1 -0
- package/dist/rendering/WebGPURenderToTextureProof.d.ts +29 -0
- package/dist/rendering/WebGPURenderToTextureProof.d.ts.map +1 -0
- package/dist/rendering/WebGPURenderToTextureProof.js +96 -0
- package/dist/rendering/WebGPURenderToTextureProof.js.map +1 -0
- package/dist/rendering/advanced-runtime/AdvancedRenderer.d.ts +23 -0
- package/dist/rendering/advanced-runtime/AdvancedRenderer.d.ts.map +1 -0
- package/dist/rendering/advanced-runtime/AdvancedRenderer.js +45 -0
- package/dist/rendering/advanced-runtime/AdvancedRenderer.js.map +1 -0
- package/dist/rendering/advanced-runtime/index.d.ts +10 -0
- package/dist/rendering/advanced-runtime/index.d.ts.map +1 -0
- package/dist/rendering/advanced-runtime/index.js +9 -0
- package/dist/rendering/advanced-runtime/index.js.map +1 -0
- package/dist/rendering/cinematic/BloomPass.d.ts +10 -0
- package/dist/rendering/cinematic/BloomPass.d.ts.map +1 -0
- package/dist/rendering/cinematic/BloomPass.js +18 -0
- package/dist/rendering/cinematic/BloomPass.js.map +1 -0
- package/dist/rendering/cinematic/CinematicDepthComposition.d.ts +12 -0
- package/dist/rendering/cinematic/CinematicDepthComposition.d.ts.map +1 -0
- package/dist/rendering/cinematic/CinematicDepthComposition.js +22 -0
- package/dist/rendering/cinematic/CinematicDepthComposition.js.map +1 -0
- package/dist/rendering/cinematic/CinematicEvidence.d.ts +43 -0
- package/dist/rendering/cinematic/CinematicEvidence.d.ts.map +1 -0
- package/dist/rendering/cinematic/CinematicEvidence.js +55 -0
- package/dist/rendering/cinematic/CinematicEvidence.js.map +1 -0
- package/dist/rendering/cinematic/CinematicLightingRig.d.ts +32 -0
- package/dist/rendering/cinematic/CinematicLightingRig.d.ts.map +1 -0
- package/dist/rendering/cinematic/CinematicLightingRig.js +90 -0
- package/dist/rendering/cinematic/CinematicLightingRig.js.map +1 -0
- package/dist/rendering/cinematic/CinematicMaterialPresets.d.ts +16 -0
- package/dist/rendering/cinematic/CinematicMaterialPresets.d.ts.map +1 -0
- package/dist/rendering/cinematic/CinematicMaterialPresets.js +114 -0
- package/dist/rendering/cinematic/CinematicMaterialPresets.js.map +1 -0
- package/dist/rendering/cinematic/CinematicPostProcess.d.ts +25 -0
- package/dist/rendering/cinematic/CinematicPostProcess.d.ts.map +1 -0
- package/dist/rendering/cinematic/CinematicPostProcess.js +64 -0
- package/dist/rendering/cinematic/CinematicPostProcess.js.map +1 -0
- package/dist/rendering/cinematic/DepthHazePass.d.ts +12 -0
- package/dist/rendering/cinematic/DepthHazePass.d.ts.map +1 -0
- package/dist/rendering/cinematic/DepthHazePass.js +20 -0
- package/dist/rendering/cinematic/DepthHazePass.js.map +1 -0
- package/dist/rendering/cinematic/EmissivePracticalLightSystem.d.ts +18 -0
- package/dist/rendering/cinematic/EmissivePracticalLightSystem.d.ts.map +1 -0
- package/dist/rendering/cinematic/EmissivePracticalLightSystem.js +25 -0
- package/dist/rendering/cinematic/EmissivePracticalLightSystem.js.map +1 -0
- package/dist/rendering/cinematic/FilmGrainPass.d.ts +9 -0
- package/dist/rendering/cinematic/FilmGrainPass.d.ts.map +1 -0
- package/dist/rendering/cinematic/FilmGrainPass.js +17 -0
- package/dist/rendering/cinematic/FilmGrainPass.js.map +1 -0
- package/dist/rendering/cinematic/FogVolumeSystem.d.ts +12 -0
- package/dist/rendering/cinematic/FogVolumeSystem.d.ts.map +1 -0
- package/dist/rendering/cinematic/FogVolumeSystem.js +20 -0
- package/dist/rendering/cinematic/FogVolumeSystem.js.map +1 -0
- package/dist/rendering/cinematic/GlowCardSystem.d.ts +17 -0
- package/dist/rendering/cinematic/GlowCardSystem.d.ts.map +1 -0
- package/dist/rendering/cinematic/GlowCardSystem.js +28 -0
- package/dist/rendering/cinematic/GlowCardSystem.js.map +1 -0
- package/dist/rendering/cinematic/RainParticleSystem.d.ts +22 -0
- package/dist/rendering/cinematic/RainParticleSystem.d.ts.map +1 -0
- package/dist/rendering/cinematic/RainParticleSystem.js +114 -0
- package/dist/rendering/cinematic/RainParticleSystem.js.map +1 -0
- package/dist/rendering/cinematic/VignettePass.d.ts +10 -0
- package/dist/rendering/cinematic/VignettePass.d.ts.map +1 -0
- package/dist/rendering/cinematic/VignettePass.js +17 -0
- package/dist/rendering/cinematic/VignettePass.js.map +1 -0
- package/dist/rendering/cinematic/WetReflectionApproximation.d.ts +13 -0
- package/dist/rendering/cinematic/WetReflectionApproximation.d.ts.map +1 -0
- package/dist/rendering/cinematic/WetReflectionApproximation.js +18 -0
- package/dist/rendering/cinematic/WetReflectionApproximation.js.map +1 -0
- package/dist/rendering/cinematic/index.d.ts +15 -0
- package/dist/rendering/cinematic/index.d.ts.map +1 -0
- package/dist/rendering/cinematic/index.js +15 -0
- package/dist/rendering/cinematic/index.js.map +1 -0
- package/dist/rendering/effects/CollisionModule.d.ts +15 -0
- package/dist/rendering/effects/CollisionModule.d.ts.map +1 -0
- package/dist/rendering/effects/CollisionModule.js +46 -0
- package/dist/rendering/effects/CollisionModule.js.map +1 -0
- package/dist/rendering/effects/ColorModule.d.ts +15 -0
- package/dist/rendering/effects/ColorModule.d.ts.map +1 -0
- package/dist/rendering/effects/ColorModule.js +45 -0
- package/dist/rendering/effects/ColorModule.js.map +1 -0
- package/dist/rendering/effects/ForceModule.d.ts +11 -0
- package/dist/rendering/effects/ForceModule.d.ts.map +1 -0
- package/dist/rendering/effects/ForceModule.js +17 -0
- package/dist/rendering/effects/ForceModule.js.map +1 -0
- package/dist/rendering/effects/GPUParticleBackend.d.ts +153 -0
- package/dist/rendering/effects/GPUParticleBackend.d.ts.map +1 -0
- package/dist/rendering/effects/GPUParticleBackend.js +397 -0
- package/dist/rendering/effects/GPUParticleBackend.js.map +1 -0
- package/dist/rendering/effects/Particle.d.ts +49 -0
- package/dist/rendering/effects/Particle.d.ts.map +1 -0
- package/dist/rendering/effects/Particle.js +56 -0
- package/dist/rendering/effects/Particle.js.map +1 -0
- package/dist/rendering/effects/ParticleDiagnostics.d.ts +58 -0
- package/dist/rendering/effects/ParticleDiagnostics.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleDiagnostics.js +145 -0
- package/dist/rendering/effects/ParticleDiagnostics.js.map +1 -0
- package/dist/rendering/effects/ParticleEffectPresets.d.ts +8 -0
- package/dist/rendering/effects/ParticleEffectPresets.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleEffectPresets.js +137 -0
- package/dist/rendering/effects/ParticleEffectPresets.js.map +1 -0
- package/dist/rendering/effects/ParticleEmitter.d.ts +87 -0
- package/dist/rendering/effects/ParticleEmitter.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleEmitter.js +254 -0
- package/dist/rendering/effects/ParticleEmitter.js.map +1 -0
- package/dist/rendering/effects/ParticleModule.d.ts +15 -0
- package/dist/rendering/effects/ParticleModule.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleModule.js +6 -0
- package/dist/rendering/effects/ParticleModule.js.map +1 -0
- package/dist/rendering/effects/ParticleRenderPass.d.ts +35 -0
- package/dist/rendering/effects/ParticleRenderPass.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleRenderPass.js +91 -0
- package/dist/rendering/effects/ParticleRenderPass.js.map +1 -0
- package/dist/rendering/effects/ParticleRenderer.d.ts +34 -0
- package/dist/rendering/effects/ParticleRenderer.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleRenderer.js +93 -0
- package/dist/rendering/effects/ParticleRenderer.js.map +1 -0
- package/dist/rendering/effects/ParticleSystem.d.ts +51 -0
- package/dist/rendering/effects/ParticleSystem.d.ts.map +1 -0
- package/dist/rendering/effects/ParticleSystem.js +261 -0
- package/dist/rendering/effects/ParticleSystem.js.map +1 -0
- package/dist/rendering/effects/SizeModule.d.ts +14 -0
- package/dist/rendering/effects/SizeModule.d.ts.map +1 -0
- package/dist/rendering/effects/SizeModule.js +42 -0
- package/dist/rendering/effects/SizeModule.js.map +1 -0
- package/dist/rendering/effects/TrailModule.d.ts +22 -0
- package/dist/rendering/effects/TrailModule.d.ts.map +1 -0
- package/dist/rendering/effects/TrailModule.js +50 -0
- package/dist/rendering/effects/TrailModule.js.map +1 -0
- package/dist/rendering/effects/VelocityModule.d.ts +15 -0
- package/dist/rendering/effects/VelocityModule.d.ts.map +1 -0
- package/dist/rendering/effects/VelocityModule.js +57 -0
- package/dist/rendering/effects/VelocityModule.js.map +1 -0
- package/dist/rendering/effects/index.d.ts +16 -0
- package/dist/rendering/effects/index.d.ts.map +1 -0
- package/dist/rendering/effects/index.js +16 -0
- package/dist/rendering/effects/index.js.map +1 -0
- package/dist/rendering/index.d.ts +260 -0
- package/dist/rendering/index.d.ts.map +1 -0
- package/dist/rendering/index.js +155 -0
- package/dist/rendering/index.js.map +1 -0
- package/dist/rendering/materials/AlphaSorting.d.ts +8 -0
- package/dist/rendering/materials/AlphaSorting.d.ts.map +1 -0
- package/dist/rendering/materials/AlphaSorting.js +26 -0
- package/dist/rendering/materials/AlphaSorting.js.map +1 -0
- package/dist/rendering/materials/MaterialExtensions.d.ts +10 -0
- package/dist/rendering/materials/MaterialExtensions.d.ts.map +1 -0
- package/dist/rendering/materials/MaterialExtensions.js +20 -0
- package/dist/rendering/materials/MaterialExtensions.js.map +1 -0
- package/dist/rendering/materials/PhysicalMaterial.d.ts +36 -0
- package/dist/rendering/materials/PhysicalMaterial.d.ts.map +1 -0
- package/dist/rendering/materials/PhysicalMaterial.js +79 -0
- package/dist/rendering/materials/PhysicalMaterial.js.map +1 -0
- package/dist/rendering/materials/TransmissionPass.d.ts +16 -0
- package/dist/rendering/materials/TransmissionPass.d.ts.map +1 -0
- package/dist/rendering/materials/TransmissionPass.js +30 -0
- package/dist/rendering/materials/TransmissionPass.js.map +1 -0
- package/dist/rendering/performance/BVH.d.ts +3 -0
- package/dist/rendering/performance/BVH.d.ts.map +1 -0
- package/dist/rendering/performance/BVH.js +2 -0
- package/dist/rendering/performance/BVH.js.map +1 -0
- package/dist/rendering/performance/Batcher.d.ts +3 -0
- package/dist/rendering/performance/Batcher.d.ts.map +1 -0
- package/dist/rendering/performance/Batcher.js +2 -0
- package/dist/rendering/performance/Batcher.js.map +1 -0
- package/dist/rendering/performance/FrustumCuller.d.ts +3 -0
- package/dist/rendering/performance/FrustumCuller.d.ts.map +1 -0
- package/dist/rendering/performance/FrustumCuller.js +5 -0
- package/dist/rendering/performance/FrustumCuller.js.map +1 -0
- package/dist/rendering/performance/LOD.d.ts +8 -0
- package/dist/rendering/performance/LOD.d.ts.map +1 -0
- package/dist/rendering/performance/LOD.js +15 -0
- package/dist/rendering/performance/LOD.js.map +1 -0
- package/dist/rendering/performance/Octree.d.ts +7 -0
- package/dist/rendering/performance/Octree.d.ts.map +1 -0
- package/dist/rendering/performance/Octree.js +4 -0
- package/dist/rendering/performance/Octree.js.map +1 -0
- package/dist/rendering/performance/RenderItemSorting.d.ts +43 -0
- package/dist/rendering/performance/RenderItemSorting.d.ts.map +1 -0
- package/dist/rendering/performance/RenderItemSorting.js +111 -0
- package/dist/rendering/performance/RenderItemSorting.js.map +1 -0
- package/dist/rendering/performance/RendererStats.d.ts +23 -0
- package/dist/rendering/performance/RendererStats.d.ts.map +1 -0
- package/dist/rendering/performance/RendererStats.js +23 -0
- package/dist/rendering/performance/RendererStats.js.map +1 -0
- package/dist/rendering/performance/ResourceBudget.d.ts +19 -0
- package/dist/rendering/performance/ResourceBudget.d.ts.map +1 -0
- package/dist/rendering/performance/ResourceBudget.js +21 -0
- package/dist/rendering/performance/ResourceBudget.js.map +1 -0
- package/dist/rendering/postprocess/BloomPass.d.ts +11 -0
- package/dist/rendering/postprocess/BloomPass.d.ts.map +1 -0
- package/dist/rendering/postprocess/BloomPass.js +14 -0
- package/dist/rendering/postprocess/BloomPass.js.map +1 -0
- package/dist/rendering/postprocess/CinematicDiagnostics.d.ts +112 -0
- package/dist/rendering/postprocess/CinematicDiagnostics.d.ts.map +1 -0
- package/dist/rendering/postprocess/CinematicDiagnostics.js +492 -0
- package/dist/rendering/postprocess/CinematicDiagnostics.js.map +1 -0
- package/dist/rendering/postprocess/ColorGradingPass.d.ts +4 -0
- package/dist/rendering/postprocess/ColorGradingPass.d.ts.map +1 -0
- package/dist/rendering/postprocess/ColorGradingPass.js +15 -0
- package/dist/rendering/postprocess/ColorGradingPass.js.map +1 -0
- package/dist/rendering/postprocess/DepthOfFieldPass.d.ts +3 -0
- package/dist/rendering/postprocess/DepthOfFieldPass.d.ts.map +1 -0
- package/dist/rendering/postprocess/DepthOfFieldPass.js +7 -0
- package/dist/rendering/postprocess/DepthOfFieldPass.js.map +1 -0
- package/dist/rendering/postprocess/EffectComposer.d.ts +110 -0
- package/dist/rendering/postprocess/EffectComposer.d.ts.map +1 -0
- package/dist/rendering/postprocess/EffectComposer.js +249 -0
- package/dist/rendering/postprocess/EffectComposer.js.map +1 -0
- package/dist/rendering/postprocess/SSAOPass.d.ts +6 -0
- package/dist/rendering/postprocess/SSAOPass.d.ts.map +1 -0
- package/dist/rendering/postprocess/SSAOPass.js +18 -0
- package/dist/rendering/postprocess/SSAOPass.js.map +1 -0
- package/dist/rendering/postprocess/index.d.ts +11 -0
- package/dist/rendering/postprocess/index.d.ts.map +1 -0
- package/dist/rendering/postprocess/index.js +7 -0
- package/dist/rendering/postprocess/index.js.map +1 -0
- package/dist/rendering/production-runtime/AnimationControlsPipeline.d.ts +37 -0
- package/dist/rendering/production-runtime/AnimationControlsPipeline.d.ts.map +1 -0
- package/dist/rendering/production-runtime/AnimationControlsPipeline.js +41 -0
- package/dist/rendering/production-runtime/AnimationControlsPipeline.js.map +1 -0
- package/dist/rendering/production-runtime/PBRHDRPipeline.d.ts +81 -0
- package/dist/rendering/production-runtime/PBRHDRPipeline.d.ts.map +1 -0
- package/dist/rendering/production-runtime/PBRHDRPipeline.js +279 -0
- package/dist/rendering/production-runtime/PBRHDRPipeline.js.map +1 -0
- package/dist/rendering/production-runtime/ProductionEffectsPipeline.d.ts +20 -0
- package/dist/rendering/production-runtime/ProductionEffectsPipeline.d.ts.map +1 -0
- package/dist/rendering/production-runtime/ProductionEffectsPipeline.js +65 -0
- package/dist/rendering/production-runtime/ProductionEffectsPipeline.js.map +1 -0
- package/dist/rendering/production-runtime/ProductionRendererTypes.d.ts +97 -0
- package/dist/rendering/production-runtime/ProductionRendererTypes.d.ts.map +1 -0
- package/dist/rendering/production-runtime/ProductionRendererTypes.js +29 -0
- package/dist/rendering/production-runtime/ProductionRendererTypes.js.map +1 -0
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.d.ts +36 -0
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.js +124 -0
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.js.map +1 -0
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.d.ts +51 -0
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.js +269 -0
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.js.map +1 -0
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.d.ts +69 -0
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.js +313 -0
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.js.map +1 -0
- package/dist/rendering/production-runtime/TransmissionBackdropCapture.d.ts +11 -0
- package/dist/rendering/production-runtime/TransmissionBackdropCapture.d.ts.map +1 -0
- package/dist/rendering/production-runtime/TransmissionBackdropCapture.js +119 -0
- package/dist/rendering/production-runtime/TransmissionBackdropCapture.js.map +1 -0
- package/dist/rendering/production-runtime/animation/MorphTargetRenderer.d.ts +7 -0
- package/dist/rendering/production-runtime/animation/MorphTargetRenderer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/animation/MorphTargetRenderer.js +2 -0
- package/dist/rendering/production-runtime/animation/MorphTargetRenderer.js.map +1 -0
- package/dist/rendering/production-runtime/animation/SkinningRenderer.d.ts +7 -0
- package/dist/rendering/production-runtime/animation/SkinningRenderer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/animation/SkinningRenderer.js +2 -0
- package/dist/rendering/production-runtime/animation/SkinningRenderer.js.map +1 -0
- package/dist/rendering/production-runtime/backends/RendererBackend.d.ts +16 -0
- package/dist/rendering/production-runtime/backends/RendererBackend.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/RendererBackend.js +2 -0
- package/dist/rendering/production-runtime/backends/RendererBackend.js.map +1 -0
- package/dist/rendering/production-runtime/backends/WebGL2RendererBackend.d.ts +15 -0
- package/dist/rendering/production-runtime/backends/WebGL2RendererBackend.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/WebGL2RendererBackend.js +25 -0
- package/dist/rendering/production-runtime/backends/WebGL2RendererBackend.js.map +1 -0
- package/dist/rendering/production-runtime/backends/WebGPURendererBackend.d.ts +20 -0
- package/dist/rendering/production-runtime/backends/WebGPURendererBackend.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/WebGPURendererBackend.js +19 -0
- package/dist/rendering/production-runtime/backends/WebGPURendererBackend.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Buffer.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Buffer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Buffer.js +8 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Buffer.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Capabilities.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Capabilities.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Capabilities.js +8 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Capabilities.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2RenderTarget.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2RenderTarget.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2RenderTarget.js +8 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2RenderTarget.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Shader.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Shader.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Shader.js +8 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Shader.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2StateCache.d.ts +2 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2StateCache.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2StateCache.js +2 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2StateCache.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Texture.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Texture.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Texture.js +8 -0
- package/dist/rendering/production-runtime/backends/webgl2/WebGL2Texture.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUBuffer.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUBuffer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUBuffer.js +8 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUBuffer.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUCapabilities.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUCapabilities.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUCapabilities.js +8 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUCapabilities.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPURenderTarget.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPURenderTarget.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPURenderTarget.js +8 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPURenderTarget.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUShader.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUShader.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUShader.js +8 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUShader.js.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUTexture.d.ts +11 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUTexture.d.ts.map +1 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUTexture.js +8 -0
- package/dist/rendering/production-runtime/backends/webgpu/WebGPUTexture.js.map +1 -0
- package/dist/rendering/production-runtime/color/ColorManagement.d.ts +4 -0
- package/dist/rendering/production-runtime/color/ColorManagement.d.ts.map +1 -0
- package/dist/rendering/production-runtime/color/ColorManagement.js +3 -0
- package/dist/rendering/production-runtime/color/ColorManagement.js.map +1 -0
- package/dist/rendering/production-runtime/color/ToneMapping.d.ts +3 -0
- package/dist/rendering/production-runtime/color/ToneMapping.d.ts.map +1 -0
- package/dist/rendering/production-runtime/color/ToneMapping.js +9 -0
- package/dist/rendering/production-runtime/color/ToneMapping.js.map +1 -0
- package/dist/rendering/production-runtime/diagnostics/FrameCapture.d.ts +7 -0
- package/dist/rendering/production-runtime/diagnostics/FrameCapture.d.ts.map +1 -0
- package/dist/rendering/production-runtime/diagnostics/FrameCapture.js +2 -0
- package/dist/rendering/production-runtime/diagnostics/FrameCapture.js.map +1 -0
- package/dist/rendering/production-runtime/diagnostics/GPUCapabilities.d.ts +9 -0
- package/dist/rendering/production-runtime/diagnostics/GPUCapabilities.d.ts.map +1 -0
- package/dist/rendering/production-runtime/diagnostics/GPUCapabilities.js +2 -0
- package/dist/rendering/production-runtime/diagnostics/GPUCapabilities.js.map +1 -0
- package/dist/rendering/production-runtime/diagnostics/RendererStats.d.ts +9 -0
- package/dist/rendering/production-runtime/diagnostics/RendererStats.d.ts.map +1 -0
- package/dist/rendering/production-runtime/diagnostics/RendererStats.js +2 -0
- package/dist/rendering/production-runtime/diagnostics/RendererStats.js.map +1 -0
- package/dist/rendering/production-runtime/environment/EnvironmentMap.d.ts +8 -0
- package/dist/rendering/production-runtime/environment/EnvironmentMap.d.ts.map +1 -0
- package/dist/rendering/production-runtime/environment/EnvironmentMap.js +2 -0
- package/dist/rendering/production-runtime/environment/EnvironmentMap.js.map +1 -0
- package/dist/rendering/production-runtime/environment/HDRLoader.d.ts +19 -0
- package/dist/rendering/production-runtime/environment/HDRLoader.d.ts.map +1 -0
- package/dist/rendering/production-runtime/environment/HDRLoader.js +22 -0
- package/dist/rendering/production-runtime/environment/HDRLoader.js.map +1 -0
- package/dist/rendering/production-runtime/environment/PMREMGenerator.d.ts +99 -0
- package/dist/rendering/production-runtime/environment/PMREMGenerator.d.ts.map +1 -0
- package/dist/rendering/production-runtime/environment/PMREMGenerator.js +534 -0
- package/dist/rendering/production-runtime/environment/PMREMGenerator.js.map +1 -0
- package/dist/rendering/production-runtime/framegraph/FrameGraph.d.ts +8 -0
- package/dist/rendering/production-runtime/framegraph/FrameGraph.d.ts.map +1 -0
- package/dist/rendering/production-runtime/framegraph/FrameGraph.js +14 -0
- package/dist/rendering/production-runtime/framegraph/FrameGraph.js.map +1 -0
- package/dist/rendering/production-runtime/framegraph/RenderPass.d.ts +14 -0
- package/dist/rendering/production-runtime/framegraph/RenderPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/framegraph/RenderPass.js +2 -0
- package/dist/rendering/production-runtime/framegraph/RenderPass.js.map +1 -0
- package/dist/rendering/production-runtime/geometry/ProjectedDecalGeometry.d.ts +53 -0
- package/dist/rendering/production-runtime/geometry/ProjectedDecalGeometry.d.ts.map +1 -0
- package/dist/rendering/production-runtime/geometry/ProjectedDecalGeometry.js +340 -0
- package/dist/rendering/production-runtime/geometry/ProjectedDecalGeometry.js.map +1 -0
- package/dist/rendering/production-runtime/index.d.ts +73 -0
- package/dist/rendering/production-runtime/index.d.ts.map +1 -0
- package/dist/rendering/production-runtime/index.js +67 -0
- package/dist/rendering/production-runtime/index.js.map +1 -0
- package/dist/rendering/production-runtime/lights/LightManager.d.ts +8 -0
- package/dist/rendering/production-runtime/lights/LightManager.d.ts.map +1 -0
- package/dist/rendering/production-runtime/lights/LightManager.js +7 -0
- package/dist/rendering/production-runtime/lights/LightManager.js.map +1 -0
- package/dist/rendering/production-runtime/lights/ShadowMapRenderer.d.ts +8 -0
- package/dist/rendering/production-runtime/lights/ShadowMapRenderer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/lights/ShadowMapRenderer.js +4 -0
- package/dist/rendering/production-runtime/lights/ShadowMapRenderer.js.map +1 -0
- package/dist/rendering/production-runtime/materials/GLTFMaterialAdapter.d.ts +14 -0
- package/dist/rendering/production-runtime/materials/GLTFMaterialAdapter.d.ts.map +1 -0
- package/dist/rendering/production-runtime/materials/GLTFMaterialAdapter.js +5 -0
- package/dist/rendering/production-runtime/materials/GLTFMaterialAdapter.js.map +1 -0
- package/dist/rendering/production-runtime/materials/GLTFPBRMaterialAdapter.d.ts +3 -0
- package/dist/rendering/production-runtime/materials/GLTFPBRMaterialAdapter.d.ts.map +1 -0
- package/dist/rendering/production-runtime/materials/GLTFPBRMaterialAdapter.js +2 -0
- package/dist/rendering/production-runtime/materials/GLTFPBRMaterialAdapter.js.map +1 -0
- package/dist/rendering/production-runtime/materials/MaterialCompiler.d.ts +9 -0
- package/dist/rendering/production-runtime/materials/MaterialCompiler.d.ts.map +1 -0
- package/dist/rendering/production-runtime/materials/MaterialCompiler.js +5 -0
- package/dist/rendering/production-runtime/materials/MaterialCompiler.js.map +1 -0
- package/dist/rendering/production-runtime/materials/MaterialTextureBindings.d.ts +8 -0
- package/dist/rendering/production-runtime/materials/MaterialTextureBindings.d.ts.map +1 -0
- package/dist/rendering/production-runtime/materials/MaterialTextureBindings.js +4 -0
- package/dist/rendering/production-runtime/materials/MaterialTextureBindings.js.map +1 -0
- package/dist/rendering/production-runtime/materials/PBRMaterial.d.ts +23 -0
- package/dist/rendering/production-runtime/materials/PBRMaterial.d.ts.map +1 -0
- package/dist/rendering/production-runtime/materials/PBRMaterial.js +2 -0
- package/dist/rendering/production-runtime/materials/PBRMaterial.js.map +1 -0
- package/dist/rendering/production-runtime/materials/PBRShaderFeatures.d.ts +13 -0
- package/dist/rendering/production-runtime/materials/PBRShaderFeatures.d.ts.map +1 -0
- package/dist/rendering/production-runtime/materials/PBRShaderFeatures.js +2 -0
- package/dist/rendering/production-runtime/materials/PBRShaderFeatures.js.map +1 -0
- package/dist/rendering/production-runtime/passes/ContactShadowPass.d.ts +40 -0
- package/dist/rendering/production-runtime/passes/ContactShadowPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/ContactShadowPass.js +126 -0
- package/dist/rendering/production-runtime/passes/ContactShadowPass.js.map +1 -0
- package/dist/rendering/production-runtime/passes/DepthPrepass.d.ts +8 -0
- package/dist/rendering/production-runtime/passes/DepthPrepass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/DepthPrepass.js +7 -0
- package/dist/rendering/production-runtime/passes/DepthPrepass.js.map +1 -0
- package/dist/rendering/production-runtime/passes/OpaquePass.d.ts +8 -0
- package/dist/rendering/production-runtime/passes/OpaquePass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/OpaquePass.js +7 -0
- package/dist/rendering/production-runtime/passes/OpaquePass.js.map +1 -0
- package/dist/rendering/production-runtime/passes/ShadowPass.d.ts +8 -0
- package/dist/rendering/production-runtime/passes/ShadowPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/ShadowPass.js +7 -0
- package/dist/rendering/production-runtime/passes/ShadowPass.js.map +1 -0
- package/dist/rendering/production-runtime/passes/SkyboxPass.d.ts +8 -0
- package/dist/rendering/production-runtime/passes/SkyboxPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/SkyboxPass.js +7 -0
- package/dist/rendering/production-runtime/passes/SkyboxPass.js.map +1 -0
- package/dist/rendering/production-runtime/passes/ToneMappingPass.d.ts +8 -0
- package/dist/rendering/production-runtime/passes/ToneMappingPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/ToneMappingPass.js +7 -0
- package/dist/rendering/production-runtime/passes/ToneMappingPass.js.map +1 -0
- package/dist/rendering/production-runtime/passes/TransparentPass.d.ts +8 -0
- package/dist/rendering/production-runtime/passes/TransparentPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/passes/TransparentPass.js +7 -0
- package/dist/rendering/production-runtime/passes/TransparentPass.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/BloomPass.d.ts +15 -0
- package/dist/rendering/production-runtime/postprocess/BloomPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/BloomPass.js +37 -0
- package/dist/rendering/production-runtime/postprocess/BloomPass.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/ColorGradingPass.d.ts +16 -0
- package/dist/rendering/production-runtime/postprocess/ColorGradingPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/ColorGradingPass.js +34 -0
- package/dist/rendering/production-runtime/postprocess/ColorGradingPass.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/DOFPass.d.ts +16 -0
- package/dist/rendering/production-runtime/postprocess/DOFPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/DOFPass.js +31 -0
- package/dist/rendering/production-runtime/postprocess/DOFPass.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/FXAAPass.d.ts +16 -0
- package/dist/rendering/production-runtime/postprocess/FXAAPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/FXAAPass.js +39 -0
- package/dist/rendering/production-runtime/postprocess/FXAAPass.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/ProductionEffectComposer.d.ts +21 -0
- package/dist/rendering/production-runtime/postprocess/ProductionEffectComposer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/ProductionEffectComposer.js +53 -0
- package/dist/rendering/production-runtime/postprocess/ProductionEffectComposer.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/ProductionPostProcessTypes.d.ts +37 -0
- package/dist/rendering/production-runtime/postprocess/ProductionPostProcessTypes.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/ProductionPostProcessTypes.js +124 -0
- package/dist/rendering/production-runtime/postprocess/ProductionPostProcessTypes.js.map +1 -0
- package/dist/rendering/production-runtime/postprocess/SSAOPass.d.ts +15 -0
- package/dist/rendering/production-runtime/postprocess/SSAOPass.d.ts.map +1 -0
- package/dist/rendering/production-runtime/postprocess/SSAOPass.js +30 -0
- package/dist/rendering/production-runtime/postprocess/SSAOPass.js.map +1 -0
- package/dist/rendering/production-runtime/resources/GPUBuffer.d.ts +10 -0
- package/dist/rendering/production-runtime/resources/GPUBuffer.d.ts.map +1 -0
- package/dist/rendering/production-runtime/resources/GPUBuffer.js +7 -0
- package/dist/rendering/production-runtime/resources/GPUBuffer.js.map +1 -0
- package/dist/rendering/production-runtime/resources/GPUTexture.d.ts +12 -0
- package/dist/rendering/production-runtime/resources/GPUTexture.d.ts.map +1 -0
- package/dist/rendering/production-runtime/resources/GPUTexture.js +7 -0
- package/dist/rendering/production-runtime/resources/GPUTexture.js.map +1 -0
- package/dist/rendering/production-runtime/resources/RenderTarget.d.ts +11 -0
- package/dist/rendering/production-runtime/resources/RenderTarget.d.ts.map +1 -0
- package/dist/rendering/production-runtime/resources/RenderTarget.js +7 -0
- package/dist/rendering/production-runtime/resources/RenderTarget.js.map +1 -0
- package/dist/rendering/production-runtime/resources/ResourceCache.d.ts +8 -0
- package/dist/rendering/production-runtime/resources/ResourceCache.d.ts.map +1 -0
- package/dist/rendering/production-runtime/resources/ResourceCache.js +8 -0
- package/dist/rendering/production-runtime/resources/ResourceCache.js.map +1 -0
- package/dist/rendering/production-runtime/scene/Camera.d.ts +8 -0
- package/dist/rendering/production-runtime/scene/Camera.d.ts.map +1 -0
- package/dist/rendering/production-runtime/scene/Camera.js +2 -0
- package/dist/rendering/production-runtime/scene/Camera.js.map +1 -0
- package/dist/rendering/production-runtime/scene/Lights.d.ts +9 -0
- package/dist/rendering/production-runtime/scene/Lights.d.ts.map +1 -0
- package/dist/rendering/production-runtime/scene/Lights.js +2 -0
- package/dist/rendering/production-runtime/scene/Lights.js.map +1 -0
- package/dist/rendering/production-runtime/scene/RenderableMesh.d.ts +8 -0
- package/dist/rendering/production-runtime/scene/RenderableMesh.d.ts.map +1 -0
- package/dist/rendering/production-runtime/scene/RenderableMesh.js +2 -0
- package/dist/rendering/production-runtime/scene/RenderableMesh.js.map +1 -0
- package/dist/rendering/production-runtime/scene/RenderablePrimitive.d.ts +8 -0
- package/dist/rendering/production-runtime/scene/RenderablePrimitive.d.ts.map +1 -0
- package/dist/rendering/production-runtime/scene/RenderablePrimitive.js +2 -0
- package/dist/rendering/production-runtime/scene/RenderablePrimitive.js.map +1 -0
- package/dist/rendering/production-runtime/scene/RenderableScene.d.ts +11 -0
- package/dist/rendering/production-runtime/scene/RenderableScene.d.ts.map +1 -0
- package/dist/rendering/production-runtime/scene/RenderableScene.js +2 -0
- package/dist/rendering/production-runtime/scene/RenderableScene.js.map +1 -0
- package/dist/rendering/production-runtime/shaders/ShaderProgramLibrary.d.ts +12 -0
- package/dist/rendering/production-runtime/shaders/ShaderProgramLibrary.d.ts.map +1 -0
- package/dist/rendering/production-runtime/shaders/ShaderProgramLibrary.js +7 -0
- package/dist/rendering/production-runtime/shaders/ShaderProgramLibrary.js.map +1 -0
- package/dist/rendering/shadows/CascadedShadowPipeline.d.ts +25 -0
- package/dist/rendering/shadows/CascadedShadowPipeline.d.ts.map +1 -0
- package/dist/rendering/shadows/CascadedShadowPipeline.js +31 -0
- package/dist/rendering/shadows/CascadedShadowPipeline.js.map +1 -0
- package/dist/rendering/shadows/ContactShadows.d.ts +37 -0
- package/dist/rendering/shadows/ContactShadows.d.ts.map +1 -0
- package/dist/rendering/shadows/ContactShadows.js +68 -0
- package/dist/rendering/shadows/ContactShadows.js.map +1 -0
- package/dist/rendering/shadows/ShadowDebugViews.d.ts +12 -0
- package/dist/rendering/shadows/ShadowDebugViews.d.ts.map +1 -0
- package/dist/rendering/shadows/ShadowDebugViews.js +35 -0
- package/dist/rendering/shadows/ShadowDebugViews.js.map +1 -0
- package/dist/rendering/threejs-compatibility/InstancingSystem.d.ts +10 -0
- package/dist/rendering/threejs-compatibility/InstancingSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/InstancingSystem.js +11 -0
- package/dist/rendering/threejs-compatibility/InstancingSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/LightingSystem.d.ts +11 -0
- package/dist/rendering/threejs-compatibility/LightingSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/LightingSystem.js +14 -0
- package/dist/rendering/threejs-compatibility/LightingSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/MaterialSystem.d.ts +6 -0
- package/dist/rendering/threejs-compatibility/MaterialSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/MaterialSystem.js +7 -0
- package/dist/rendering/threejs-compatibility/MaterialSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/RenderTargetSystem.d.ts +16 -0
- package/dist/rendering/threejs-compatibility/RenderTargetSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/RenderTargetSystem.js +23 -0
- package/dist/rendering/threejs-compatibility/RenderTargetSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/RendererDiagnostics.d.ts +27 -0
- package/dist/rendering/threejs-compatibility/RendererDiagnostics.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/RendererDiagnostics.js +41 -0
- package/dist/rendering/threejs-compatibility/RendererDiagnostics.js.map +1 -0
- package/dist/rendering/threejs-compatibility/SceneRenderer.d.ts +19 -0
- package/dist/rendering/threejs-compatibility/SceneRenderer.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/SceneRenderer.js +18 -0
- package/dist/rendering/threejs-compatibility/SceneRenderer.js.map +1 -0
- package/dist/rendering/threejs-compatibility/ShadowSystem.d.ts +11 -0
- package/dist/rendering/threejs-compatibility/ShadowSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/ShadowSystem.js +12 -0
- package/dist/rendering/threejs-compatibility/ShadowSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/TextureSystem.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/TextureSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/TextureSystem.js +14 -0
- package/dist/rendering/threejs-compatibility/TextureSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.d.ts +37 -0
- package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.js +77 -0
- package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.js.map +1 -0
- package/dist/rendering/threejs-compatibility/TransparencySystem.d.ts +11 -0
- package/dist/rendering/threejs-compatibility/TransparencySystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/TransparencySystem.js +12 -0
- package/dist/rendering/threejs-compatibility/TransparencySystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/index.d.ts +25 -0
- package/dist/rendering/threejs-compatibility/index.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/index.js +15 -0
- package/dist/rendering/threejs-compatibility/index.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/BVH.d.ts +11 -0
- package/dist/rendering/threejs-compatibility/performance/BVH.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/BVH.js +10 -0
- package/dist/rendering/threejs-compatibility/performance/BVH.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/FrustumCulling.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/performance/FrustumCulling.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/FrustumCulling.js +5 -0
- package/dist/rendering/threejs-compatibility/performance/FrustumCulling.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/Instancing.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/performance/Instancing.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/Instancing.js +10 -0
- package/dist/rendering/threejs-compatibility/performance/Instancing.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/LODSystem.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/performance/LODSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/LODSystem.js +11 -0
- package/dist/rendering/threejs-compatibility/performance/LODSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.d.ts +3 -0
- package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.js +5 -0
- package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.d.ts +8 -0
- package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.js +11 -0
- package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/RendererProfiler.d.ts +11 -0
- package/dist/rendering/threejs-compatibility/performance/RendererProfiler.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/RendererProfiler.js +10 -0
- package/dist/rendering/threejs-compatibility/performance/RendererProfiler.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/TextureStreaming.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/performance/TextureStreaming.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/TextureStreaming.js +10 -0
- package/dist/rendering/threejs-compatibility/performance/TextureStreaming.js.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/index.d.ts +13 -0
- package/dist/rendering/threejs-compatibility/performance/index.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/performance/index.js +9 -0
- package/dist/rendering/threejs-compatibility/performance/index.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/BloomPass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/BloomPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/BloomPass.js +14 -0
- package/dist/rendering/threejs-compatibility/postprocess/BloomPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.d.ts +10 -0
- package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.js +16 -0
- package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.js +19 -0
- package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.js +11 -0
- package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.js +10 -0
- package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.js +18 -0
- package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.js +19 -0
- package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.d.ts +42 -0
- package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.js +123 -0
- package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/RenderPass.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/postprocess/RenderPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/RenderPass.js +8 -0
- package/dist/rendering/threejs-compatibility/postprocess/RenderPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.js +10 -0
- package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.js +19 -0
- package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.js +11 -0
- package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/TAAPass.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/postprocess/TAAPass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/TAAPass.js +10 -0
- package/dist/rendering/threejs-compatibility/postprocess/TAAPass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/VignettePass.d.ts +9 -0
- package/dist/rendering/threejs-compatibility/postprocess/VignettePass.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/VignettePass.js +14 -0
- package/dist/rendering/threejs-compatibility/postprocess/VignettePass.js.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/index.d.ts +16 -0
- package/dist/rendering/threejs-compatibility/postprocess/index.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/postprocess/index.js +15 -0
- package/dist/rendering/threejs-compatibility/postprocess/index.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.d.ts +14 -0
- package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.js +15 -0
- package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.d.ts +6 -0
- package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.js +6 -0
- package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.js +12 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.d.ts +12 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.js +20 -0
- package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.js +7 -0
- package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/Uniforms.d.ts +8 -0
- package/dist/rendering/threejs-compatibility/shaders/Uniforms.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/Uniforms.js +14 -0
- package/dist/rendering/threejs-compatibility/shaders/Uniforms.js.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/index.d.ts +10 -0
- package/dist/rendering/threejs-compatibility/shaders/index.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/shaders/index.js +7 -0
- package/dist/rendering/threejs-compatibility/shaders/index.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.d.ts +7 -0
- package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.js +12 -0
- package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/LineRenderer.d.ts +10 -0
- package/dist/rendering/threejs-compatibility/vfx/LineRenderer.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/LineRenderer.js +7 -0
- package/dist/rendering/threejs-compatibility/vfx/LineRenderer.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.d.ts +12 -0
- package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.js +15 -0
- package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.d.ts +11 -0
- package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.js +7 -0
- package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.d.ts +5 -0
- package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.js +9 -0
- package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.d.ts +21 -0
- package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.js +12 -0
- package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.js.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/index.d.ts +10 -0
- package/dist/rendering/threejs-compatibility/vfx/index.d.ts.map +1 -0
- package/dist/rendering/threejs-compatibility/vfx/index.js +7 -0
- package/dist/rendering/threejs-compatibility/vfx/index.js.map +1 -0
- package/dist/rendering/threejs-example-parity/index.d.ts +57 -0
- package/dist/rendering/threejs-example-parity/index.d.ts.map +1 -0
- package/dist/rendering/threejs-example-parity/index.js +139 -0
- package/dist/rendering/threejs-example-parity/index.js.map +1 -0
- package/dist/rendering/webgpu/WebGPUBuffer.d.ts +2 -0
- package/dist/rendering/webgpu/WebGPUBuffer.d.ts.map +1 -0
- package/dist/rendering/webgpu/WebGPUBuffer.js +2 -0
- package/dist/rendering/webgpu/WebGPUBuffer.js.map +1 -0
- package/dist/rendering/webgpu/WebGPUCompute.d.ts +3 -0
- package/dist/rendering/webgpu/WebGPUCompute.d.ts.map +1 -0
- package/dist/rendering/webgpu/WebGPUCompute.js +2 -0
- package/dist/rendering/webgpu/WebGPUCompute.js.map +1 -0
- package/dist/rendering/webgpu/WebGPUPipelineCache.d.ts +6 -0
- package/dist/rendering/webgpu/WebGPUPipelineCache.d.ts.map +1 -0
- package/dist/rendering/webgpu/WebGPUPipelineCache.js +15 -0
- package/dist/rendering/webgpu/WebGPUPipelineCache.js.map +1 -0
- package/dist/rendering/webgpu/WebGPUPostProcess.d.ts +3 -0
- package/dist/rendering/webgpu/WebGPUPostProcess.d.ts.map +1 -0
- package/dist/rendering/webgpu/WebGPUPostProcess.js +2 -0
- package/dist/rendering/webgpu/WebGPUPostProcess.js.map +1 -0
- package/dist/rendering/webgpu/WebGPUTexture.d.ts +3 -0
- package/dist/rendering/webgpu/WebGPUTexture.d.ts.map +1 -0
- package/dist/rendering/webgpu/WebGPUTexture.js +2 -0
- package/dist/rendering/webgpu/WebGPUTexture.js.map +1 -0
- package/dist/scene/Bounds.d.ts +18 -0
- package/dist/scene/Bounds.d.ts.map +1 -0
- package/dist/scene/Bounds.js +55 -0
- package/dist/scene/Bounds.js.map +1 -0
- package/dist/scene/Camera.d.ts +22 -0
- package/dist/scene/Camera.d.ts.map +1 -0
- package/dist/scene/Camera.js +44 -0
- package/dist/scene/Camera.js.map +1 -0
- package/dist/scene/DirectionalLight.d.ts +7 -0
- package/dist/scene/DirectionalLight.d.ts.map +1 -0
- package/dist/scene/DirectionalLight.js +12 -0
- package/dist/scene/DirectionalLight.js.map +1 -0
- package/dist/scene/Hierarchy.d.ts +6 -0
- package/dist/scene/Hierarchy.d.ts.map +1 -0
- package/dist/scene/Hierarchy.js +19 -0
- package/dist/scene/Hierarchy.js.map +1 -0
- package/dist/scene/Layers.d.ts +8 -0
- package/dist/scene/Layers.d.ts.map +1 -0
- package/dist/scene/Layers.js +21 -0
- package/dist/scene/Layers.js.map +1 -0
- package/dist/scene/Light.d.ts +14 -0
- package/dist/scene/Light.d.ts.map +1 -0
- package/dist/scene/Light.js +23 -0
- package/dist/scene/Light.js.map +1 -0
- package/dist/scene/Lights.d.ts +6 -0
- package/dist/scene/Lights.d.ts.map +1 -0
- package/dist/scene/Lights.js +5 -0
- package/dist/scene/Lights.js.map +1 -0
- package/dist/scene/MathTypes.d.ts +52 -0
- package/dist/scene/MathTypes.d.ts.map +1 -0
- package/dist/scene/MathTypes.js +119 -0
- package/dist/scene/MathTypes.js.map +1 -0
- package/dist/scene/Object3D.d.ts +48 -0
- package/dist/scene/Object3D.d.ts.map +1 -0
- package/dist/scene/Object3D.js +122 -0
- package/dist/scene/Object3D.js.map +1 -0
- package/dist/scene/OrthographicCamera.d.ts +29 -0
- package/dist/scene/OrthographicCamera.d.ts.map +1 -0
- package/dist/scene/OrthographicCamera.js +59 -0
- package/dist/scene/OrthographicCamera.js.map +1 -0
- package/dist/scene/PerspectiveCamera.d.ts +20 -0
- package/dist/scene/PerspectiveCamera.d.ts.map +1 -0
- package/dist/scene/PerspectiveCamera.js +42 -0
- package/dist/scene/PerspectiveCamera.js.map +1 -0
- package/dist/scene/PointLight.d.ts +10 -0
- package/dist/scene/PointLight.d.ts.map +1 -0
- package/dist/scene/PointLight.js +22 -0
- package/dist/scene/PointLight.js.map +1 -0
- package/dist/scene/Renderable.d.ts +30 -0
- package/dist/scene/Renderable.d.ts.map +1 -0
- package/dist/scene/Renderable.js +54 -0
- package/dist/scene/Renderable.js.map +1 -0
- package/dist/scene/Scene.d.ts +45 -0
- package/dist/scene/Scene.d.ts.map +1 -0
- package/dist/scene/Scene.js +117 -0
- package/dist/scene/Scene.js.map +1 -0
- package/dist/scene/SceneMetadata.d.ts +79 -0
- package/dist/scene/SceneMetadata.d.ts.map +1 -0
- package/dist/scene/SceneMetadata.js +130 -0
- package/dist/scene/SceneMetadata.js.map +1 -0
- package/dist/scene/SceneNode.d.ts +42 -0
- package/dist/scene/SceneNode.d.ts.map +1 -0
- package/dist/scene/SceneNode.js +126 -0
- package/dist/scene/SceneNode.js.map +1 -0
- package/dist/scene/SceneQuery.d.ts +16 -0
- package/dist/scene/SceneQuery.d.ts.map +1 -0
- package/dist/scene/SceneQuery.js +37 -0
- package/dist/scene/SceneQuery.js.map +1 -0
- package/dist/scene/SceneSerializer.d.ts +59 -0
- package/dist/scene/SceneSerializer.d.ts.map +1 -0
- package/dist/scene/SceneSerializer.js +127 -0
- package/dist/scene/SceneSerializer.js.map +1 -0
- package/dist/scene/SpotLight.d.ts +14 -0
- package/dist/scene/SpotLight.d.ts.map +1 -0
- package/dist/scene/SpotLight.js +35 -0
- package/dist/scene/SpotLight.js.map +1 -0
- package/dist/scene/TransformNode.d.ts +26 -0
- package/dist/scene/TransformNode.d.ts.map +1 -0
- package/dist/scene/TransformNode.js +98 -0
- package/dist/scene/TransformNode.js.map +1 -0
- package/dist/scene/index.d.ts +21 -0
- package/dist/scene/index.d.ts.map +1 -0
- package/dist/scene/index.js +21 -0
- package/dist/scene/index.js.map +1 -0
- package/dist/scripting/AdaptiveDifficultyFixtures.d.ts +58 -0
- package/dist/scripting/AdaptiveDifficultyFixtures.d.ts.map +1 -0
- package/dist/scripting/AdaptiveDifficultyFixtures.js +228 -0
- package/dist/scripting/AdaptiveDifficultyFixtures.js.map +1 -0
- package/dist/scripting/AnalyticsPrivacyFixtures.d.ts +63 -0
- package/dist/scripting/AnalyticsPrivacyFixtures.d.ts.map +1 -0
- package/dist/scripting/AnalyticsPrivacyFixtures.js +120 -0
- package/dist/scripting/AnalyticsPrivacyFixtures.js.map +1 -0
- package/dist/scripting/Behavior.d.ts +10 -0
- package/dist/scripting/Behavior.d.ts.map +1 -0
- package/dist/scripting/Behavior.js +2 -0
- package/dist/scripting/Behavior.js.map +1 -0
- package/dist/scripting/BehaviorHost.d.ts +17 -0
- package/dist/scripting/BehaviorHost.d.ts.map +1 -0
- package/dist/scripting/BehaviorHost.js +39 -0
- package/dist/scripting/BehaviorHost.js.map +1 -0
- package/dist/scripting/BehaviorRegistry.d.ts +8 -0
- package/dist/scripting/BehaviorRegistry.d.ts.map +1 -0
- package/dist/scripting/BehaviorRegistry.js +17 -0
- package/dist/scripting/BehaviorRegistry.js.map +1 -0
- package/dist/scripting/BehaviorSystem.d.ts +26 -0
- package/dist/scripting/BehaviorSystem.d.ts.map +1 -0
- package/dist/scripting/BehaviorSystem.js +76 -0
- package/dist/scripting/BehaviorSystem.js.map +1 -0
- package/dist/scripting/BehaviorTree.d.ts +75 -0
- package/dist/scripting/BehaviorTree.d.ts.map +1 -0
- package/dist/scripting/BehaviorTree.js +204 -0
- package/dist/scripting/BehaviorTree.js.map +1 -0
- package/dist/scripting/CloudServiceFixtures.d.ts +81 -0
- package/dist/scripting/CloudServiceFixtures.d.ts.map +1 -0
- package/dist/scripting/CloudServiceFixtures.js +144 -0
- package/dist/scripting/CloudServiceFixtures.js.map +1 -0
- package/dist/scripting/CulturalBehaviorFixtures.d.ts +75 -0
- package/dist/scripting/CulturalBehaviorFixtures.d.ts.map +1 -0
- package/dist/scripting/CulturalBehaviorFixtures.js +180 -0
- package/dist/scripting/CulturalBehaviorFixtures.js.map +1 -0
- package/dist/scripting/DecisionTree.d.ts +42 -0
- package/dist/scripting/DecisionTree.d.ts.map +1 -0
- package/dist/scripting/DecisionTree.js +125 -0
- package/dist/scripting/DecisionTree.js.map +1 -0
- package/dist/scripting/GOAP.d.ts +51 -0
- package/dist/scripting/GOAP.d.ts.map +1 -0
- package/dist/scripting/GOAP.js +105 -0
- package/dist/scripting/GOAP.js.map +1 -0
- package/dist/scripting/HTN.d.ts +58 -0
- package/dist/scripting/HTN.d.ts.map +1 -0
- package/dist/scripting/HTN.js +115 -0
- package/dist/scripting/HTN.js.map +1 -0
- package/dist/scripting/LearningAgentFixtures.d.ts +60 -0
- package/dist/scripting/LearningAgentFixtures.d.ts.map +1 -0
- package/dist/scripting/LearningAgentFixtures.js +122 -0
- package/dist/scripting/LearningAgentFixtures.js.map +1 -0
- package/dist/scripting/NetworkReplicationFixtures.d.ts +82 -0
- package/dist/scripting/NetworkReplicationFixtures.d.ts.map +1 -0
- package/dist/scripting/NetworkReplicationFixtures.js +330 -0
- package/dist/scripting/NetworkReplicationFixtures.js.map +1 -0
- package/dist/scripting/Perception.d.ts +58 -0
- package/dist/scripting/Perception.d.ts.map +1 -0
- package/dist/scripting/Perception.js +111 -0
- package/dist/scripting/Perception.js.map +1 -0
- package/dist/scripting/PlayerBehaviorTelemetryFixtures.d.ts +74 -0
- package/dist/scripting/PlayerBehaviorTelemetryFixtures.d.ts.map +1 -0
- package/dist/scripting/PlayerBehaviorTelemetryFixtures.js +189 -0
- package/dist/scripting/PlayerBehaviorTelemetryFixtures.js.map +1 -0
- package/dist/scripting/ProceduralContentAdaptationFixtures.d.ts +52 -0
- package/dist/scripting/ProceduralContentAdaptationFixtures.d.ts.map +1 -0
- package/dist/scripting/ProceduralContentAdaptationFixtures.js +149 -0
- package/dist/scripting/ProceduralContentAdaptationFixtures.js.map +1 -0
- package/dist/scripting/ScriptContext.d.ts +18 -0
- package/dist/scripting/ScriptContext.d.ts.map +1 -0
- package/dist/scripting/ScriptContext.js +21 -0
- package/dist/scripting/ScriptContext.js.map +1 -0
- package/dist/scripting/StateMachine.d.ts +52 -0
- package/dist/scripting/StateMachine.d.ts.map +1 -0
- package/dist/scripting/StateMachine.js +117 -0
- package/dist/scripting/StateMachine.js.map +1 -0
- package/dist/scripting/UtilityAI.d.ts +55 -0
- package/dist/scripting/UtilityAI.d.ts.map +1 -0
- package/dist/scripting/UtilityAI.js +113 -0
- package/dist/scripting/UtilityAI.js.map +1 -0
- package/dist/scripting/VisualGraph.d.ts +19 -0
- package/dist/scripting/VisualGraph.d.ts.map +1 -0
- package/dist/scripting/VisualGraph.js +74 -0
- package/dist/scripting/VisualGraph.js.map +1 -0
- package/dist/scripting/VisualGraphExecutor.d.ts +11 -0
- package/dist/scripting/VisualGraphExecutor.d.ts.map +1 -0
- package/dist/scripting/VisualGraphExecutor.js +214 -0
- package/dist/scripting/VisualGraphExecutor.js.map +1 -0
- package/dist/scripting/VisualNode.d.ts +17 -0
- package/dist/scripting/VisualNode.d.ts.map +1 -0
- package/dist/scripting/VisualNode.js +24 -0
- package/dist/scripting/VisualNode.js.map +1 -0
- package/dist/scripting/VisualNodeCatalog.d.ts +14 -0
- package/dist/scripting/VisualNodeCatalog.d.ts.map +1 -0
- package/dist/scripting/VisualNodeCatalog.js +82 -0
- package/dist/scripting/VisualNodeCatalog.js.map +1 -0
- package/dist/scripting/WeaponSystem.d.ts +228 -0
- package/dist/scripting/WeaponSystem.d.ts.map +1 -0
- package/dist/scripting/WeaponSystem.js +530 -0
- package/dist/scripting/WeaponSystem.js.map +1 -0
- package/dist/scripting/index.d.ts +50 -0
- package/dist/scripting/index.d.ts.map +1 -0
- package/dist/scripting/index.js +25 -0
- package/dist/scripting/index.js.map +1 -0
- package/dist/three-compat/ThreeApiInventory.d.ts +18 -0
- package/dist/three-compat/ThreeApiInventory.d.ts.map +1 -0
- package/dist/three-compat/ThreeApiInventory.js +99 -0
- package/dist/three-compat/ThreeApiInventory.js.map +1 -0
- package/dist/three-compat/ThreeCompatibilityMatrix.d.ts +30 -0
- package/dist/three-compat/ThreeCompatibilityMatrix.d.ts.map +1 -0
- package/dist/three-compat/ThreeCompatibilityMatrix.js +69 -0
- package/dist/three-compat/ThreeCompatibilityMatrix.js.map +1 -0
- package/dist/three-compat/animation/index.d.ts +3 -0
- package/dist/three-compat/animation/index.d.ts.map +1 -0
- package/dist/three-compat/animation/index.js +2 -0
- package/dist/three-compat/animation/index.js.map +1 -0
- package/dist/three-compat/cameras/index.d.ts +24 -0
- package/dist/three-compat/cameras/index.d.ts.map +1 -0
- package/dist/three-compat/cameras/index.js +44 -0
- package/dist/three-compat/cameras/index.js.map +1 -0
- package/dist/three-compat/controls/index.d.ts +3 -0
- package/dist/three-compat/controls/index.d.ts.map +1 -0
- package/dist/three-compat/controls/index.js +2 -0
- package/dist/three-compat/controls/index.js.map +1 -0
- package/dist/three-compat/core/Object3DCompat.d.ts +62 -0
- package/dist/three-compat/core/Object3DCompat.d.ts.map +1 -0
- package/dist/three-compat/core/Object3DCompat.js +112 -0
- package/dist/three-compat/core/Object3DCompat.js.map +1 -0
- package/dist/three-compat/core/RaycasterCompat.d.ts +18 -0
- package/dist/three-compat/core/RaycasterCompat.d.ts.map +1 -0
- package/dist/three-compat/core/RaycasterCompat.js +28 -0
- package/dist/three-compat/core/RaycasterCompat.js.map +1 -0
- package/dist/three-compat/core/SceneCompat.d.ts +8 -0
- package/dist/three-compat/core/SceneCompat.d.ts.map +1 -0
- package/dist/three-compat/core/SceneCompat.js +8 -0
- package/dist/three-compat/core/SceneCompat.js.map +1 -0
- package/dist/three-compat/geometries/index.d.ts +67 -0
- package/dist/three-compat/geometries/index.d.ts.map +1 -0
- package/dist/three-compat/geometries/index.js +114 -0
- package/dist/three-compat/geometries/index.js.map +1 -0
- package/dist/three-compat/helpers/index.d.ts +40 -0
- package/dist/three-compat/helpers/index.d.ts.map +1 -0
- package/dist/three-compat/helpers/index.js +129 -0
- package/dist/three-compat/helpers/index.js.map +1 -0
- package/dist/three-compat/index.d.ts +32 -0
- package/dist/three-compat/index.d.ts.map +1 -0
- package/dist/three-compat/index.js +22 -0
- package/dist/three-compat/index.js.map +1 -0
- package/dist/three-compat/lights/index.d.ts +35 -0
- package/dist/three-compat/lights/index.d.ts.map +1 -0
- package/dist/three-compat/lights/index.js +39 -0
- package/dist/three-compat/lights/index.js.map +1 -0
- package/dist/three-compat/loaders/index.d.ts +54 -0
- package/dist/three-compat/loaders/index.d.ts.map +1 -0
- package/dist/three-compat/loaders/index.js +79 -0
- package/dist/three-compat/loaders/index.js.map +1 -0
- package/dist/three-compat/materials/index.d.ts +70 -0
- package/dist/three-compat/materials/index.d.ts.map +1 -0
- package/dist/three-compat/materials/index.js +85 -0
- package/dist/three-compat/materials/index.js.map +1 -0
- package/dist/three-compat/math/index.d.ts +34 -0
- package/dist/three-compat/math/index.d.ts.map +1 -0
- package/dist/three-compat/math/index.js +90 -0
- package/dist/three-compat/math/index.js.map +1 -0
- package/dist/three-compat/migration/CompatibilityWarnings.d.ts +6 -0
- package/dist/three-compat/migration/CompatibilityWarnings.d.ts.map +1 -0
- package/dist/three-compat/migration/CompatibilityWarnings.js +8 -0
- package/dist/three-compat/migration/CompatibilityWarnings.js.map +1 -0
- package/dist/three-compat/migration/ImportMap.d.ts +2 -0
- package/dist/three-compat/migration/ImportMap.d.ts.map +1 -0
- package/dist/three-compat/migration/ImportMap.js +10 -0
- package/dist/three-compat/migration/ImportMap.js.map +1 -0
- package/dist/three-compat/migration/ThreeToA3DAdapter.d.ts +8 -0
- package/dist/three-compat/migration/ThreeToA3DAdapter.d.ts.map +1 -0
- package/dist/three-compat/migration/ThreeToA3DAdapter.js +20 -0
- package/dist/three-compat/migration/ThreeToA3DAdapter.js.map +1 -0
- package/dist/three-compat/postprocessing/index.d.ts +2 -0
- package/dist/three-compat/postprocessing/index.d.ts.map +1 -0
- package/dist/three-compat/postprocessing/index.js +2 -0
- package/dist/three-compat/postprocessing/index.js.map +1 -0
- package/dist/three-compat/render-targets/index.d.ts +17 -0
- package/dist/three-compat/render-targets/index.d.ts.map +1 -0
- package/dist/three-compat/render-targets/index.js +29 -0
- package/dist/three-compat/render-targets/index.js.map +1 -0
- package/dist/three-compat/shaders/index.d.ts +3 -0
- package/dist/three-compat/shaders/index.d.ts.map +1 -0
- package/dist/three-compat/shaders/index.js +3 -0
- package/dist/three-compat/shaders/index.js.map +1 -0
- package/dist/three-compat/textures/index.d.ts +19 -0
- package/dist/three-compat/textures/index.d.ts.map +1 -0
- package/dist/three-compat/textures/index.js +24 -0
- package/dist/three-compat/textures/index.js.map +1 -0
- package/dist/workflows/AnimationLabWorkflow.d.ts +3 -0
- package/dist/workflows/AnimationLabWorkflow.d.ts.map +1 -0
- package/dist/workflows/AnimationLabWorkflow.js +156 -0
- package/dist/workflows/AnimationLabWorkflow.js.map +1 -0
- package/dist/workflows/AssetViewerWorkflow.d.ts +3 -0
- package/dist/workflows/AssetViewerWorkflow.d.ts.map +1 -0
- package/dist/workflows/AssetViewerWorkflow.js +35 -0
- package/dist/workflows/AssetViewerWorkflow.js.map +1 -0
- package/dist/workflows/ComparisonWorkflow.d.ts +3 -0
- package/dist/workflows/ComparisonWorkflow.d.ts.map +1 -0
- package/dist/workflows/ComparisonWorkflow.js +67 -0
- package/dist/workflows/ComparisonWorkflow.js.map +1 -0
- package/dist/workflows/InteractiveSceneWorkflow.d.ts +3 -0
- package/dist/workflows/InteractiveSceneWorkflow.d.ts.map +1 -0
- package/dist/workflows/InteractiveSceneWorkflow.js +43 -0
- package/dist/workflows/InteractiveSceneWorkflow.js.map +1 -0
- package/dist/workflows/MaterialStudioWorkflow.d.ts +3 -0
- package/dist/workflows/MaterialStudioWorkflow.d.ts.map +1 -0
- package/dist/workflows/MaterialStudioWorkflow.js +47 -0
- package/dist/workflows/MaterialStudioWorkflow.js.map +1 -0
- package/dist/workflows/ProductConfiguratorWorkflow.d.ts +3 -0
- package/dist/workflows/ProductConfiguratorWorkflow.d.ts.map +1 -0
- package/dist/workflows/ProductConfiguratorWorkflow.js +25 -0
- package/dist/workflows/ProductConfiguratorWorkflow.js.map +1 -0
- package/dist/workflows/SceneShowcaseWorkflow.d.ts +3 -0
- package/dist/workflows/SceneShowcaseWorkflow.d.ts.map +1 -0
- package/dist/workflows/SceneShowcaseWorkflow.js +44 -0
- package/dist/workflows/SceneShowcaseWorkflow.js.map +1 -0
- package/dist/workflows/WorkflowDiagnostics.d.ts +11 -0
- package/dist/workflows/WorkflowDiagnostics.d.ts.map +1 -0
- package/dist/workflows/WorkflowDiagnostics.js +34 -0
- package/dist/workflows/WorkflowDiagnostics.js.map +1 -0
- package/dist/workflows/WorkflowTypes.d.ts +90 -0
- package/dist/workflows/WorkflowTypes.d.ts.map +1 -0
- package/dist/workflows/WorkflowTypes.js +2 -0
- package/dist/workflows/WorkflowTypes.js.map +1 -0
- package/dist/workflows/index.d.ts +13 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +11 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/production-runtime/ArchitectureWorkflow.d.ts +7 -0
- package/dist/workflows/production-runtime/ArchitectureWorkflow.d.ts.map +1 -0
- package/dist/workflows/production-runtime/ArchitectureWorkflow.js +2 -0
- package/dist/workflows/production-runtime/ArchitectureWorkflow.js.map +1 -0
- package/dist/workflows/production-runtime/AssetInspectionWorkflow.d.ts +7 -0
- package/dist/workflows/production-runtime/AssetInspectionWorkflow.d.ts.map +1 -0
- package/dist/workflows/production-runtime/AssetInspectionWorkflow.js +2 -0
- package/dist/workflows/production-runtime/AssetInspectionWorkflow.js.map +1 -0
- package/dist/workflows/production-runtime/CinematicWorkflow.d.ts +7 -0
- package/dist/workflows/production-runtime/CinematicWorkflow.d.ts.map +1 -0
- package/dist/workflows/production-runtime/CinematicWorkflow.js +2 -0
- package/dist/workflows/production-runtime/CinematicWorkflow.js.map +1 -0
- package/dist/workflows/production-runtime/MaterialAuthoringWorkflow.d.ts +7 -0
- package/dist/workflows/production-runtime/MaterialAuthoringWorkflow.d.ts.map +1 -0
- package/dist/workflows/production-runtime/MaterialAuthoringWorkflow.js +2 -0
- package/dist/workflows/production-runtime/MaterialAuthoringWorkflow.js.map +1 -0
- package/dist/workflows/production-runtime/ProductRenderWorkflow.d.ts +7 -0
- package/dist/workflows/production-runtime/ProductRenderWorkflow.d.ts.map +1 -0
- package/dist/workflows/production-runtime/ProductRenderWorkflow.js +2 -0
- package/dist/workflows/production-runtime/ProductRenderWorkflow.js.map +1 -0
- package/dist/workflows/production-runtime/ProductionExampleRuntime.d.ts +66 -0
- package/dist/workflows/production-runtime/ProductionExampleRuntime.d.ts.map +1 -0
- package/dist/workflows/production-runtime/ProductionExampleRuntime.js +189 -0
- package/dist/workflows/production-runtime/ProductionExampleRuntime.js.map +1 -0
- package/dist/workflows/production-runtime/ProductionWorkflows.d.ts +69 -0
- package/dist/workflows/production-runtime/ProductionWorkflows.d.ts.map +1 -0
- package/dist/workflows/production-runtime/ProductionWorkflows.js +128 -0
- package/dist/workflows/production-runtime/ProductionWorkflows.js.map +1 -0
- package/dist/workflows/production-runtime/WorkflowDiagnostics.d.ts +7 -0
- package/dist/workflows/production-runtime/WorkflowDiagnostics.d.ts.map +1 -0
- package/dist/workflows/production-runtime/WorkflowDiagnostics.js +2 -0
- package/dist/workflows/production-runtime/WorkflowDiagnostics.js.map +1 -0
- package/dist/workflows/production-runtime/index.d.ts +11 -0
- package/dist/workflows/production-runtime/index.d.ts.map +1 -0
- package/dist/workflows/production-runtime/index.js +9 -0
- package/dist/workflows/production-runtime/index.js.map +1 -0
- package/dist/workflows/workflow-foundation/index.d.ts +26 -0
- package/dist/workflows/workflow-foundation/index.d.ts.map +1 -0
- package/dist/workflows/workflow-foundation/index.js +25 -0
- package/dist/workflows/workflow-foundation/index.js.map +1 -0
- package/package.json +490 -0
- package/templates/cinematic-scene/README.md +11 -0
- package/templates/cinematic-scene/index.html +13 -0
- package/templates/cinematic-scene/package.json +21 -0
- package/templates/cinematic-scene/playwright.config.ts +14 -0
- package/templates/cinematic-scene/public/aura-assets/hero-fixture.glb +0 -0
- package/templates/cinematic-scene/public/aura-assets/hero.thumb.svg +1 -0
- package/templates/cinematic-scene/src/aura-assets.ts +17 -0
- package/templates/cinematic-scene/src/main.ts +27 -0
- package/templates/cinematic-scene/tests/route-health.spec.ts +16 -0
- package/templates/cinematic-scene/tests/screenshot.spec.ts +56 -0
- package/templates/cinematic-scene/tsconfig.json +15 -0
- package/templates/mini-game/README.md +10 -0
- package/templates/mini-game/index.html +13 -0
- package/templates/mini-game/package.json +21 -0
- package/templates/mini-game/playwright.config.ts +14 -0
- package/templates/mini-game/public/aura-assets/player-fixture.glb +0 -0
- package/templates/mini-game/public/aura-assets/player.thumb.svg +8 -0
- package/templates/mini-game/src/aura-assets.ts +17 -0
- package/templates/mini-game/src/main.ts +27 -0
- package/templates/mini-game/tests/route-health.spec.ts +16 -0
- package/templates/mini-game/tests/screenshot.spec.ts +63 -0
- package/templates/mini-game/tsconfig.json +15 -0
- package/templates/product-viewer/README.md +16 -0
- package/templates/product-viewer/index.html +16 -0
- package/templates/product-viewer/package.json +21 -0
- package/templates/product-viewer/playwright.config.ts +14 -0
- package/templates/product-viewer/public/aura-assets/product-fixture.glb +0 -0
- package/templates/product-viewer/public/aura-assets/product.thumb.svg +1 -0
- package/templates/product-viewer/src/aura-assets.ts +17 -0
- package/templates/product-viewer/src/main.ts +27 -0
- package/templates/product-viewer/tests/route-health.spec.ts +16 -0
- package/templates/product-viewer/tests/screenshot.spec.ts +60 -0
- package/templates/product-viewer/tsconfig.json +15 -0
|
@@ -0,0 +1,1267 @@
|
|
|
1
|
+
import { ProductionRuntimeRenderer, createContactShadowPass, createProductionEnvironmentLightingResources, createProductionPbrHdrPipelineFromRadiance, resolveProductionRuntimeRendererBackend, summarizeProductionProductionProof } from "../../rendering/index.js";
|
|
2
|
+
import { createGLTFSceneAnimationRuntime, createProductionGLTFRenderMetadata, loadProductionGLTFRenderPipeline } from "../../assets/index.js";
|
|
3
|
+
import { AnimationAction, AnimationLayer, AnimationMixer } from "../../animation/index.js";
|
|
4
|
+
import { PhysicsWorld, Shape } from "../../physics/index.js";
|
|
5
|
+
import { Geometry, Material, PBRMaterial, TextureBinding, computePerspectiveCameraFrame, createDefaultShaderLibrary } from "../../rendering/index.js";
|
|
6
|
+
import { DirectionalLight, composeMat4 } from "../../scene/index.js";
|
|
7
|
+
export * as productionRendering from "../../rendering/index.js";
|
|
8
|
+
export * as productionWorkflows from "../../workflows/index.js";
|
|
9
|
+
export const productionAssets = {
|
|
10
|
+
createProductionGLTFRenderMetadata,
|
|
11
|
+
loadProductionGLTFRenderPipeline
|
|
12
|
+
};
|
|
13
|
+
export const AURA3D_ENGINE_PRODUCTION_PRODUCT_SURFACE = "a3d-renderer-production-runtime-sdk";
|
|
14
|
+
export const A3D_THREEJS_EXAMPLE_PARITY_TARGETS = {
|
|
15
|
+
keyframes: "webgl_animation_keyframes",
|
|
16
|
+
skinningBlending: "webgl_animation_skinning_blending",
|
|
17
|
+
additiveBlending: "webgl_animation_skinning_additive_blending",
|
|
18
|
+
skinningIk: "webgl_animation_skinning_ik",
|
|
19
|
+
skinningMorph: "webgl_animation_skinning_morph",
|
|
20
|
+
multipleAnimations: "webgl_animation_multiple",
|
|
21
|
+
walkCycle: "webgl_animation_walk",
|
|
22
|
+
decals: "webgl_decals",
|
|
23
|
+
parallaxBarrier: "webgl_effects_parallaxbarrier",
|
|
24
|
+
stereo: "webgl_effects_stereo"
|
|
25
|
+
};
|
|
26
|
+
export class A3DRenderer {
|
|
27
|
+
renderer;
|
|
28
|
+
viewport;
|
|
29
|
+
backend;
|
|
30
|
+
backendSelection;
|
|
31
|
+
constructor(renderer, viewport) {
|
|
32
|
+
this.renderer = renderer;
|
|
33
|
+
this.viewport = viewport;
|
|
34
|
+
this.backend = renderer.backend;
|
|
35
|
+
this.backendSelection = renderer.backendSelection;
|
|
36
|
+
}
|
|
37
|
+
static async create(options) {
|
|
38
|
+
const backendSelection = resolveProductionRuntimeRendererBackend(options);
|
|
39
|
+
return new A3DRenderer(await ProductionRuntimeRenderer.create({ ...options, backend: backendSelection.requestedBackend }), { width: options.width, height: options.height });
|
|
40
|
+
}
|
|
41
|
+
captureProof(input) {
|
|
42
|
+
if (this.backend === "webgpu") {
|
|
43
|
+
throw new Error("A3DRenderer Production WebGPU proof capture uses captureProofAsync() so native texture-to-buffer readback can be awaited.");
|
|
44
|
+
}
|
|
45
|
+
const viewport = input.viewport ?? this.defaultViewport();
|
|
46
|
+
const rendererInput = input.scene.createRendererInput({
|
|
47
|
+
viewport,
|
|
48
|
+
environment: input.environment,
|
|
49
|
+
environmentLighting: input.environmentLighting,
|
|
50
|
+
renderItems: input.renderItems,
|
|
51
|
+
collectedLights: input.collectedLights,
|
|
52
|
+
shadow: input.shadow,
|
|
53
|
+
postprocess: input.postprocess
|
|
54
|
+
});
|
|
55
|
+
const proof = this.renderer.captureProof({
|
|
56
|
+
source: rendererInput.source,
|
|
57
|
+
camera: input.camera ?? rendererInput.camera,
|
|
58
|
+
metadata: this.metadataForRender(input.scene, input.environment)
|
|
59
|
+
});
|
|
60
|
+
return { proof, summary: summarizeProductionProductionProof(proof) };
|
|
61
|
+
}
|
|
62
|
+
render(input) {
|
|
63
|
+
return this.captureProof(input);
|
|
64
|
+
}
|
|
65
|
+
renderInteractiveFrame(input) {
|
|
66
|
+
if (this.backend === "webgpu") {
|
|
67
|
+
throw new Error("A3DRenderer Production WebGPU interactive rendering uses renderInteractiveFrameAsync() so native render submission can be awaited.");
|
|
68
|
+
}
|
|
69
|
+
const viewport = input.viewport ?? this.defaultViewport();
|
|
70
|
+
const rendererInput = input.scene.createRendererInput({
|
|
71
|
+
viewport,
|
|
72
|
+
environment: input.environment,
|
|
73
|
+
environmentLighting: input.environmentLighting,
|
|
74
|
+
renderItems: input.renderItems,
|
|
75
|
+
collectedLights: input.collectedLights,
|
|
76
|
+
shadow: input.shadow,
|
|
77
|
+
postprocess: input.postprocess
|
|
78
|
+
});
|
|
79
|
+
const result = this.renderer.renderInteractiveFrame({
|
|
80
|
+
source: rendererInput.source,
|
|
81
|
+
camera: input.camera ?? rendererInput.camera,
|
|
82
|
+
metadata: this.metadataForRender(input.scene, input.environment)
|
|
83
|
+
});
|
|
84
|
+
return {
|
|
85
|
+
backend: result.backend,
|
|
86
|
+
diagnostics: result.diagnostics,
|
|
87
|
+
features: result.features,
|
|
88
|
+
...(result.timing ? { timing: result.timing } : {})
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
renderFrame(input) {
|
|
92
|
+
return this.renderInteractiveFrame(input);
|
|
93
|
+
}
|
|
94
|
+
async captureProofAsync(input) {
|
|
95
|
+
const viewport = input.viewport ?? this.defaultViewport();
|
|
96
|
+
const rendererInput = input.scene.createRendererInput({
|
|
97
|
+
viewport,
|
|
98
|
+
environment: input.environment,
|
|
99
|
+
environmentLighting: input.environmentLighting,
|
|
100
|
+
renderItems: input.renderItems,
|
|
101
|
+
collectedLights: input.collectedLights,
|
|
102
|
+
shadow: input.shadow,
|
|
103
|
+
postprocess: input.postprocess
|
|
104
|
+
});
|
|
105
|
+
const proof = await this.renderer.captureProofAsync({
|
|
106
|
+
source: rendererInput.source,
|
|
107
|
+
camera: input.camera ?? rendererInput.camera,
|
|
108
|
+
metadata: this.metadataForRender(input.scene, input.environment)
|
|
109
|
+
});
|
|
110
|
+
return { proof, summary: summarizeProductionProductionProof(proof) };
|
|
111
|
+
}
|
|
112
|
+
async renderAsync(input) {
|
|
113
|
+
// ProductionRuntimeRenderer keeps renderImportedAssetAsync as a backwards-compatible alias for captureProofAsync.
|
|
114
|
+
return this.captureProofAsync(input);
|
|
115
|
+
}
|
|
116
|
+
async renderInteractiveFrameAsync(input) {
|
|
117
|
+
const viewport = input.viewport ?? this.defaultViewport();
|
|
118
|
+
const rendererInput = input.scene.createRendererInput({
|
|
119
|
+
viewport,
|
|
120
|
+
environment: input.environment,
|
|
121
|
+
environmentLighting: input.environmentLighting,
|
|
122
|
+
renderItems: input.renderItems,
|
|
123
|
+
collectedLights: input.collectedLights,
|
|
124
|
+
shadow: input.shadow,
|
|
125
|
+
postprocess: input.postprocess
|
|
126
|
+
});
|
|
127
|
+
const result = await this.renderer.renderInteractiveFrameAsync({
|
|
128
|
+
source: rendererInput.source,
|
|
129
|
+
camera: input.camera ?? rendererInput.camera,
|
|
130
|
+
metadata: this.metadataForRender(input.scene, input.environment)
|
|
131
|
+
});
|
|
132
|
+
return {
|
|
133
|
+
backend: result.backend,
|
|
134
|
+
diagnostics: result.diagnostics,
|
|
135
|
+
features: result.features,
|
|
136
|
+
...(result.timing ? { timing: result.timing } : {})
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
async renderFrameAsync(input) {
|
|
140
|
+
return this.renderInteractiveFrameAsync(input);
|
|
141
|
+
}
|
|
142
|
+
getDiagnostics() {
|
|
143
|
+
return this.renderer.getDiagnostics();
|
|
144
|
+
}
|
|
145
|
+
dispose() {
|
|
146
|
+
this.renderer.dispose();
|
|
147
|
+
}
|
|
148
|
+
defaultViewport() {
|
|
149
|
+
return this.viewport;
|
|
150
|
+
}
|
|
151
|
+
metadataForRender(scene, environment) {
|
|
152
|
+
return {
|
|
153
|
+
assetId: scene.metadata.assetId,
|
|
154
|
+
assetName: scene.metadata.assetName,
|
|
155
|
+
assetUri: scene.metadata.assetUri,
|
|
156
|
+
meshCount: scene.metadata.meshCount,
|
|
157
|
+
primitiveCount: scene.metadata.primitiveCount,
|
|
158
|
+
materialCount: scene.metadata.materialCount,
|
|
159
|
+
textureCount: scene.metadata.textureCount,
|
|
160
|
+
imageCount: scene.metadata.imageCount,
|
|
161
|
+
animationCount: scene.metadata.animationCount,
|
|
162
|
+
skinCount: scene.metadata.skinCount,
|
|
163
|
+
morphTargetCount: scene.metadata.morphTargetCount,
|
|
164
|
+
extensionsUsed: scene.metadata.extensionsUsed,
|
|
165
|
+
...(environment ? {
|
|
166
|
+
environmentId: environment.id,
|
|
167
|
+
hdrEnvironmentUri: environment.url
|
|
168
|
+
} : {})
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
export function createDirectionalLight(options = {}) {
|
|
173
|
+
const source = new DirectionalLight(options.name ?? "a3d-production-runtime-directional-light");
|
|
174
|
+
const color = options.color ?? [1, 1, 1];
|
|
175
|
+
source.color = [color[0], color[1], color[2]];
|
|
176
|
+
source.intensity = clamp(options.intensity ?? 1, 0, 64);
|
|
177
|
+
source.castsShadow = options.castsShadow ?? false;
|
|
178
|
+
return collectedDirectionalLight(source, options.direction ?? [0, -1, 0], source.castsShadow);
|
|
179
|
+
}
|
|
180
|
+
export function createStudioLighting(options = {}) {
|
|
181
|
+
const scale = clamp(options.intensityScale ?? 1, 0, 16);
|
|
182
|
+
const shadows = options.shadows ?? true;
|
|
183
|
+
switch (options.preset ?? "product") {
|
|
184
|
+
case "inspection":
|
|
185
|
+
return [
|
|
186
|
+
createDirectionalLight({ name: "a3d-production-runtime-inspection-key", direction: [-0.35, -0.72, -0.46], color: [1, 0.98, 0.92], intensity: 2.1 * scale, castsShadow: shadows }),
|
|
187
|
+
createDirectionalLight({ name: "a3d-production-runtime-inspection-fill", direction: [0.55, -0.48, -0.34], color: [0.62, 0.74, 1], intensity: 0.72 * scale }),
|
|
188
|
+
createDirectionalLight({ name: "a3d-production-runtime-inspection-rim", direction: [0.14, -0.34, 0.93], color: [1, 0.82, 0.62], intensity: 1.16 * scale })
|
|
189
|
+
];
|
|
190
|
+
case "softbox":
|
|
191
|
+
return [
|
|
192
|
+
createDirectionalLight({ name: "a3d-production-runtime-softbox-key", direction: [-0.2, -0.9, -0.32], color: [1, 0.97, 0.91], intensity: 1.75 * scale, castsShadow: shadows }),
|
|
193
|
+
createDirectionalLight({ name: "a3d-production-runtime-softbox-fill", direction: [0.44, -0.52, -0.42], color: [0.74, 0.82, 1], intensity: 1.04 * scale })
|
|
194
|
+
];
|
|
195
|
+
case "product":
|
|
196
|
+
default:
|
|
197
|
+
return [
|
|
198
|
+
createDirectionalLight({ name: "a3d-production-runtime-product-key-shadow", direction: [-0.42, -0.82, -0.38], color: [1, 0.95, 0.86], intensity: 2.75 * scale, castsShadow: shadows }),
|
|
199
|
+
createDirectionalLight({ name: "a3d-production-runtime-product-fill", direction: [0.62, -0.42, -0.34], color: [0.55, 0.68, 1], intensity: 0.48 * scale }),
|
|
200
|
+
createDirectionalLight({ name: "a3d-production-runtime-product-rim", direction: [0.18, -0.34, 0.92], color: [1, 0.82, 0.55], intensity: 1.05 * scale })
|
|
201
|
+
];
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
export function createGroundedStage(bounds, options = {}) {
|
|
205
|
+
const labelPrefix = options.labelPrefix ?? "a3d-production-runtime-grounded-stage";
|
|
206
|
+
const width = Math.max(3.8, (bounds.max[0] - bounds.min[0]) * 2.4);
|
|
207
|
+
const height = Math.max(2.6, (bounds.max[1] - bounds.min[1]) * 2.35);
|
|
208
|
+
const depth = Math.max(3.2, (bounds.max[2] - bounds.min[2]) * 3.2 + 1.35);
|
|
209
|
+
const centerX = (bounds.min[0] + bounds.max[0]) / 2;
|
|
210
|
+
const centerY = (bounds.min[1] + bounds.max[1]) / 2;
|
|
211
|
+
const centerZ = (bounds.min[2] + bounds.max[2]) / 2;
|
|
212
|
+
const floorY = bounds.min[1] - 0.05;
|
|
213
|
+
const backZ = bounds.min[2] - depth * 0.42;
|
|
214
|
+
const stageGeometry = Geometry.litCube(1);
|
|
215
|
+
const floorMaterial = new PBRMaterial({
|
|
216
|
+
name: `${labelPrefix}-floor-material`,
|
|
217
|
+
baseColor: options.floorColor ?? [0.022, 0.024, 0.029, 1],
|
|
218
|
+
metallic: clamp(options.floorMetallic ?? 0, 0, 1),
|
|
219
|
+
roughness: clamp(options.floorRoughness ?? 0.46, 0.02, 1),
|
|
220
|
+
environmentIntensity: 0.82
|
|
221
|
+
});
|
|
222
|
+
const backdropMaterial = new PBRMaterial({
|
|
223
|
+
name: `${labelPrefix}-backdrop-material`,
|
|
224
|
+
baseColor: options.backdropColor ?? [0.006, 0.008, 0.012, 1],
|
|
225
|
+
metallic: 0,
|
|
226
|
+
roughness: clamp(options.backdropRoughness ?? 0.58, 0.02, 1),
|
|
227
|
+
environmentIntensity: 0.54
|
|
228
|
+
});
|
|
229
|
+
const contactShadow = options.contactShadows === false ? undefined : createContactShadowPass({
|
|
230
|
+
bounds,
|
|
231
|
+
floorY,
|
|
232
|
+
labelPrefix: `${labelPrefix}-contact-shadow`,
|
|
233
|
+
opacity: 1,
|
|
234
|
+
lightDirection: options.shadowLightDirection ?? [-0.42, -0.82, -0.38],
|
|
235
|
+
softness: 0.82
|
|
236
|
+
});
|
|
237
|
+
const groundingItems = [
|
|
238
|
+
{
|
|
239
|
+
label: `${labelPrefix}-floor`,
|
|
240
|
+
geometry: stageGeometry,
|
|
241
|
+
material: floorMaterial,
|
|
242
|
+
modelMatrix: composeMat4([centerX, floorY, centerZ + depth * 0.12], [0, 0, 0, 1], [width, 0.035, depth])
|
|
243
|
+
},
|
|
244
|
+
...(contactShadow?.renderItems ?? [])
|
|
245
|
+
];
|
|
246
|
+
const backgroundItems = options.background === false ? [] : [
|
|
247
|
+
{
|
|
248
|
+
label: `${labelPrefix}-backdrop`,
|
|
249
|
+
geometry: stageGeometry,
|
|
250
|
+
material: backdropMaterial,
|
|
251
|
+
modelMatrix: composeMat4([centerX, centerY + height * 0.9, backZ], [0, 0, 0, 1], [width * 1.35, height * 2.8, 0.05])
|
|
252
|
+
}
|
|
253
|
+
];
|
|
254
|
+
const diagnostics = {
|
|
255
|
+
labelPrefix,
|
|
256
|
+
floorY,
|
|
257
|
+
floorItemCount: groundingItems.length,
|
|
258
|
+
backgroundItemCount: backgroundItems.length,
|
|
259
|
+
...(contactShadow ? { contactShadow: contactShadow.diagnostics } : {})
|
|
260
|
+
};
|
|
261
|
+
return {
|
|
262
|
+
groundingItems,
|
|
263
|
+
backgroundItems,
|
|
264
|
+
floorY,
|
|
265
|
+
diagnostics,
|
|
266
|
+
update(settings = {}) {
|
|
267
|
+
const blur = clamp(settings.backgroundBlur ?? 0.08, 0, 1);
|
|
268
|
+
const visible = settings.backgroundVisible === false ? 0 : 1;
|
|
269
|
+
backdropMaterial.roughness = clamp((options.backdropRoughness ?? 0.52) + blur * 0.32, 0.02, 1);
|
|
270
|
+
backdropMaterial.environmentIntensity = visible * (0.58 - blur * 0.18);
|
|
271
|
+
},
|
|
272
|
+
renderItems(renderOptions = {}) {
|
|
273
|
+
return [
|
|
274
|
+
...(renderOptions.shadows === false ? [] : groundingItems),
|
|
275
|
+
...(renderOptions.backgroundVisible === false ? [] : backgroundItems)
|
|
276
|
+
];
|
|
277
|
+
},
|
|
278
|
+
dispose() {
|
|
279
|
+
stageGeometry.dispose();
|
|
280
|
+
contactShadow?.dispose();
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
export function createCameraFrame(options) {
|
|
285
|
+
const preset = options.preset ?? "product-hero";
|
|
286
|
+
const base = productViewerCameraPreset(preset);
|
|
287
|
+
const targetOffset = productViewerTargetOffset(options.bounds, options.target ?? [0, 0, 0], preset);
|
|
288
|
+
const framedBounds = offsetBounds(options.bounds, targetOffset);
|
|
289
|
+
const yawRadians = base.yawRadians + (options.yawRadians ?? 0);
|
|
290
|
+
const pitchRadians = clamp(base.pitchRadians + (options.pitchRadians ?? 0), -1.2, 1.2);
|
|
291
|
+
const zoom = clamp(options.zoom ?? 1, 0.25, 4);
|
|
292
|
+
const paddingRatio = clamp(options.paddingRatio ?? base.paddingRatio * zoom, 0.02, 1.2);
|
|
293
|
+
const frame = computePerspectiveCameraFrame(framedBounds, options.viewport, {
|
|
294
|
+
...base,
|
|
295
|
+
yawRadians,
|
|
296
|
+
pitchRadians,
|
|
297
|
+
paddingRatio,
|
|
298
|
+
minDistance: base.minDistance * zoom
|
|
299
|
+
});
|
|
300
|
+
return {
|
|
301
|
+
camera: {
|
|
302
|
+
viewProjectionMatrix: frame.viewProjectionMatrix,
|
|
303
|
+
viewMatrix: frame.viewMatrix,
|
|
304
|
+
projectionMatrix: frame.projectionMatrix
|
|
305
|
+
},
|
|
306
|
+
diagnostics: {
|
|
307
|
+
preset,
|
|
308
|
+
yawRadians,
|
|
309
|
+
pitchRadians,
|
|
310
|
+
paddingRatio,
|
|
311
|
+
cameraPosition: frame.cameraPosition,
|
|
312
|
+
targetOffset,
|
|
313
|
+
zoom
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
export function createProductionRenderOptions(options) {
|
|
318
|
+
const extraRenderItems = options.extraRenderItems ? [...options.extraRenderItems] : [];
|
|
319
|
+
const stageItems = options.stage?.renderItems({
|
|
320
|
+
shadows: options.shadows !== false,
|
|
321
|
+
backgroundVisible: options.backgroundVisible ?? true
|
|
322
|
+
});
|
|
323
|
+
const renderItems = [
|
|
324
|
+
...extraRenderItems,
|
|
325
|
+
...(stageItems ? [...stageItems] : [])
|
|
326
|
+
];
|
|
327
|
+
return {
|
|
328
|
+
scene: options.scene,
|
|
329
|
+
...(options.environment ? { environment: options.environment } : {}),
|
|
330
|
+
...(options.environmentLighting ? { environmentLighting: options.environmentLighting } : {}),
|
|
331
|
+
...(renderItems.length > 0 ? { renderItems } : {}),
|
|
332
|
+
collectedLights: options.lights ?? createStudioLighting({ preset: "product", shadows: options.shadows !== false }),
|
|
333
|
+
shadow: options.shadows ?? true,
|
|
334
|
+
camera: options.camera ?? (options.cameraFrame ? createCameraFrame(options.cameraFrame).camera : undefined),
|
|
335
|
+
viewport: options.viewport,
|
|
336
|
+
...(options.postprocess !== undefined ? { postprocess: options.postprocess } : {})
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
export function createImportedAnimationRuntime(scene) {
|
|
340
|
+
const runtime = createGLTFSceneAnimationRuntime({
|
|
341
|
+
scene: scene.resources.scene,
|
|
342
|
+
clips: scene.asset.animations,
|
|
343
|
+
asset: scene.asset
|
|
344
|
+
});
|
|
345
|
+
return {
|
|
346
|
+
scene,
|
|
347
|
+
runtime,
|
|
348
|
+
applyClip(name, time) {
|
|
349
|
+
return runtime.applyClipByName(name, time);
|
|
350
|
+
},
|
|
351
|
+
blendClips(samples) {
|
|
352
|
+
return runtime.applyClips(samples);
|
|
353
|
+
},
|
|
354
|
+
solveTwoBoneIK(options) {
|
|
355
|
+
return runtime.solveImportedSkeletonTwoBoneIK(options);
|
|
356
|
+
},
|
|
357
|
+
snapshot() {
|
|
358
|
+
return runtime.snapshot();
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
export function createAnimationController(options = {}) {
|
|
363
|
+
const mixer = new AnimationMixer(options.target, {
|
|
364
|
+
applyRootMotion: options.applyRootMotion,
|
|
365
|
+
rootMotionTrack: options.rootMotionTrack,
|
|
366
|
+
rootMotionScale: options.rootMotionScale
|
|
367
|
+
});
|
|
368
|
+
const clips = new Map();
|
|
369
|
+
const actions = new Map();
|
|
370
|
+
const layers = new Map();
|
|
371
|
+
let updateCount = 0;
|
|
372
|
+
let crossFadeCount = 0;
|
|
373
|
+
let lastEvents = [];
|
|
374
|
+
for (const clip of options.clips ?? [])
|
|
375
|
+
clips.set(clip.name, clip);
|
|
376
|
+
const controller = {
|
|
377
|
+
mixer,
|
|
378
|
+
registerClip(clip) {
|
|
379
|
+
clips.set(clip.name, clip);
|
|
380
|
+
return clip;
|
|
381
|
+
},
|
|
382
|
+
play(clipInput, actionOptions = {}) {
|
|
383
|
+
const clip = typeof clipInput === "string" ? resolveAnimationClip(clips, clipInput) : controller.registerClip(clipInput);
|
|
384
|
+
let action = actions.get(clip.name);
|
|
385
|
+
if (!action) {
|
|
386
|
+
action = mixer.play(clip);
|
|
387
|
+
actions.set(clip.name, action);
|
|
388
|
+
}
|
|
389
|
+
else {
|
|
390
|
+
action.play();
|
|
391
|
+
}
|
|
392
|
+
if (actionOptions.weight !== undefined)
|
|
393
|
+
action.setWeight(actionOptions.weight);
|
|
394
|
+
if (actionOptions.timeScale !== undefined)
|
|
395
|
+
action.timeScale = actionOptions.timeScale;
|
|
396
|
+
if (actionOptions.loop !== undefined)
|
|
397
|
+
action.loopMode = actionOptions.loop;
|
|
398
|
+
if (actionOptions.layer || actionOptions.additive || (actionOptions.mask && actionOptions.mask.length > 0)) {
|
|
399
|
+
const layerName = actionOptions.layer ?? (actionOptions.additive ? "additive" : "masked");
|
|
400
|
+
let layer = layers.get(layerName);
|
|
401
|
+
if (!layer) {
|
|
402
|
+
layer = new AnimationLayer(layerName, {
|
|
403
|
+
additive: actionOptions.additive ?? false,
|
|
404
|
+
mask: actionOptions.mask ?? []
|
|
405
|
+
});
|
|
406
|
+
layers.set(layerName, layer);
|
|
407
|
+
mixer.addLayer(layer);
|
|
408
|
+
}
|
|
409
|
+
layer.add(action);
|
|
410
|
+
}
|
|
411
|
+
return action;
|
|
412
|
+
},
|
|
413
|
+
crossFade(fromInput, toInput, duration) {
|
|
414
|
+
const from = typeof fromInput === "string" ? resolveAnimationAction(actions, fromInput) : fromInput;
|
|
415
|
+
const to = toInput instanceof AnimationAction ? toInput : controller.play(toInput, { weight: 0 });
|
|
416
|
+
mixer.crossFade(from, to, duration);
|
|
417
|
+
actions.set(to.clip.name, to);
|
|
418
|
+
crossFadeCount += 1;
|
|
419
|
+
},
|
|
420
|
+
update(deltaSeconds) {
|
|
421
|
+
lastEvents = mixer.update(deltaSeconds);
|
|
422
|
+
updateCount += 1;
|
|
423
|
+
return lastEvents;
|
|
424
|
+
},
|
|
425
|
+
snapshot() {
|
|
426
|
+
const mixerSnapshot = mixer.snapshot();
|
|
427
|
+
return {
|
|
428
|
+
mixer: mixerSnapshot,
|
|
429
|
+
registeredClips: [...clips.keys()],
|
|
430
|
+
updateCount,
|
|
431
|
+
crossFadeCount,
|
|
432
|
+
lastEventCount: lastEvents.length,
|
|
433
|
+
parityTargets: A3D_THREEJS_EXAMPLE_PARITY_TARGETS,
|
|
434
|
+
capabilities: {
|
|
435
|
+
keyframes: true,
|
|
436
|
+
crossFade: true,
|
|
437
|
+
additiveLayers: mixerSnapshot.layers.some((layer) => layer.additive),
|
|
438
|
+
layerMasks: mixerSnapshot.layers.some((layer) => layer.mask.length > 0),
|
|
439
|
+
rootMotion: options.applyRootMotion === true,
|
|
440
|
+
importedGltfAnimationRuntime: true,
|
|
441
|
+
importedSkinningPaletteRefresh: true,
|
|
442
|
+
importedMorphWeightAnimation: true
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
},
|
|
446
|
+
dispose() {
|
|
447
|
+
mixer.dispose();
|
|
448
|
+
clips.clear();
|
|
449
|
+
actions.clear();
|
|
450
|
+
layers.clear();
|
|
451
|
+
lastEvents = [];
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
return controller;
|
|
455
|
+
}
|
|
456
|
+
export function createPhysicsScene(options = {}) {
|
|
457
|
+
const world = new PhysicsWorld(options);
|
|
458
|
+
const scene = {
|
|
459
|
+
world,
|
|
460
|
+
createBody(bodyOptions = {}) {
|
|
461
|
+
const body = world.createRigidBody({
|
|
462
|
+
type: bodyOptions.type,
|
|
463
|
+
position: bodyOptions.position,
|
|
464
|
+
velocity: bodyOptions.velocity,
|
|
465
|
+
mass: bodyOptions.mass,
|
|
466
|
+
restitution: bodyOptions.restitution,
|
|
467
|
+
friction: bodyOptions.friction
|
|
468
|
+
});
|
|
469
|
+
if (bodyOptions.shape) {
|
|
470
|
+
world.createCollider(body, {
|
|
471
|
+
shape: resolvePhysicsShape(bodyOptions.shape),
|
|
472
|
+
sensor: bodyOptions.sensor
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
return body;
|
|
476
|
+
},
|
|
477
|
+
createGroundPlane(constant = 0) {
|
|
478
|
+
const body = world.createRigidBody({ type: "static" });
|
|
479
|
+
world.createCollider(body, { shape: Shape.plane([0, 1, 0], constant) });
|
|
480
|
+
return body;
|
|
481
|
+
},
|
|
482
|
+
addConstraint(constraintOptions) {
|
|
483
|
+
return world.createConstraint({
|
|
484
|
+
type: constraintOptions.type,
|
|
485
|
+
bodyA: constraintOptions.bodyA,
|
|
486
|
+
bodyB: constraintOptions.bodyB,
|
|
487
|
+
localAnchorA: constraintOptions.localAnchorA,
|
|
488
|
+
localAnchorB: constraintOptions.localAnchorB,
|
|
489
|
+
restLength: constraintOptions.restLength,
|
|
490
|
+
stiffness: constraintOptions.stiffness,
|
|
491
|
+
axis: constraintOptions.axis
|
|
492
|
+
});
|
|
493
|
+
},
|
|
494
|
+
step(stepOptions = {}) {
|
|
495
|
+
const resolved = typeof stepOptions === "number" ? { dt: stepOptions, steps: 1 } : stepOptions;
|
|
496
|
+
const steps = resolved.steps ?? 1;
|
|
497
|
+
const dt = resolved.dt ?? world.fixedDelta;
|
|
498
|
+
let events = [];
|
|
499
|
+
for (let i = 0; i < steps; i += 1)
|
|
500
|
+
events = world.step(dt);
|
|
501
|
+
return events;
|
|
502
|
+
},
|
|
503
|
+
raycast(origin, direction, maxDistance) {
|
|
504
|
+
return world.raycast(origin, direction, maxDistance === undefined ? {} : { maxDistance });
|
|
505
|
+
},
|
|
506
|
+
sphereCast(origin, radius, direction, maxDistance) {
|
|
507
|
+
return world.sphereCast(origin, radius, direction, maxDistance === undefined ? {} : { maxDistance });
|
|
508
|
+
},
|
|
509
|
+
snapshot() {
|
|
510
|
+
return {
|
|
511
|
+
world: world.snapshot(),
|
|
512
|
+
parityTargets: { walkCycle: A3D_THREEJS_EXAMPLE_PARITY_TARGETS.walkCycle },
|
|
513
|
+
capabilities: {
|
|
514
|
+
dynamicRigidBodies: true,
|
|
515
|
+
staticColliders: true,
|
|
516
|
+
constraints: true,
|
|
517
|
+
contacts: true,
|
|
518
|
+
raycast: true,
|
|
519
|
+
sphereCast: true
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
return scene;
|
|
525
|
+
}
|
|
526
|
+
export class A3DGltfScene {
|
|
527
|
+
pipeline;
|
|
528
|
+
constructor(pipeline) {
|
|
529
|
+
this.pipeline = pipeline;
|
|
530
|
+
}
|
|
531
|
+
get asset() {
|
|
532
|
+
return this.pipeline.asset;
|
|
533
|
+
}
|
|
534
|
+
get resources() {
|
|
535
|
+
return this.pipeline.resources;
|
|
536
|
+
}
|
|
537
|
+
get metadata() {
|
|
538
|
+
return this.pipeline.metadata;
|
|
539
|
+
}
|
|
540
|
+
createRendererInput(options) {
|
|
541
|
+
const environmentLighting = options.environmentLighting ?? options.environment?.lighting.lighting;
|
|
542
|
+
const input = this.pipeline.resources.toRendererInput(options.viewport, {
|
|
543
|
+
qualityPreset: environmentLighting ? "hdr-studio-preview" : "studio-preview",
|
|
544
|
+
cameraPolicy: "require",
|
|
545
|
+
...(environmentLighting ? { environmentLighting } : {}),
|
|
546
|
+
...(options.renderItems ? { renderItems: options.renderItems } : {}),
|
|
547
|
+
...(options.collectedLights ? { collectedLights: options.collectedLights } : {}),
|
|
548
|
+
...(options.shadow !== undefined ? { shadow: options.shadow } : {}),
|
|
549
|
+
...(options.postprocess !== undefined ? { postprocess: options.postprocess } : {})
|
|
550
|
+
});
|
|
551
|
+
return {
|
|
552
|
+
source: input.source,
|
|
553
|
+
camera: input.camera,
|
|
554
|
+
bounds: input.bounds
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
dispose() {
|
|
558
|
+
this.pipeline.dispose();
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
export async function loadGltfScene(input) {
|
|
562
|
+
const options = typeof input === "string" ? { url: input } : input;
|
|
563
|
+
const viewport = options.viewport ?? { width: 1024, height: 1024 };
|
|
564
|
+
const assetId = options.assetId ?? assetIdFromUrl(options.url);
|
|
565
|
+
const pipeline = await loadProductionGLTFRenderPipeline({
|
|
566
|
+
url: options.url,
|
|
567
|
+
assetId,
|
|
568
|
+
assetName: options.assetName ?? assetId,
|
|
569
|
+
width: viewport.width,
|
|
570
|
+
height: viewport.height,
|
|
571
|
+
...(options.materialVariant !== undefined ? { materialVariant: options.materialVariant } : {}),
|
|
572
|
+
...(options.materialRenderStateOverrides ? { materialRenderStateOverrides: options.materialRenderStateOverrides } : {}),
|
|
573
|
+
...(options.sceneIndex !== undefined ? { sceneIndex: options.sceneIndex } : {}),
|
|
574
|
+
...(options.sceneName !== undefined ? { sceneName: options.sceneName } : {}),
|
|
575
|
+
...(options.rendererInput ? { rendererInput: options.rendererInput } : {})
|
|
576
|
+
});
|
|
577
|
+
return new A3DGltfScene(pipeline);
|
|
578
|
+
}
|
|
579
|
+
export class A3DHdrEnvironment {
|
|
580
|
+
id;
|
|
581
|
+
label;
|
|
582
|
+
url;
|
|
583
|
+
pipeline;
|
|
584
|
+
lighting;
|
|
585
|
+
constructor(options) {
|
|
586
|
+
this.id = options.id;
|
|
587
|
+
this.label = options.label;
|
|
588
|
+
this.url = options.url;
|
|
589
|
+
this.pipeline = options.pipeline;
|
|
590
|
+
this.lighting = options.lighting;
|
|
591
|
+
}
|
|
592
|
+
get environmentLighting() {
|
|
593
|
+
return this.lighting.lighting;
|
|
594
|
+
}
|
|
595
|
+
dispose() {
|
|
596
|
+
this.lighting.dispose();
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
export async function loadHdrEnvironment(input) {
|
|
600
|
+
const options = typeof input === "string" ? { url: input } : input;
|
|
601
|
+
const data = options.data ?? await fetchArrayBuffer(options.url);
|
|
602
|
+
const id = options.id ?? assetIdFromUrl(options.url);
|
|
603
|
+
const pipeline = createProductionPbrHdrPipelineFromRadiance(data, {
|
|
604
|
+
id,
|
|
605
|
+
label: options.label ?? id,
|
|
606
|
+
intensity: options.intensity ?? 1,
|
|
607
|
+
backgroundIntensity: options.backgroundIntensity ?? 0.85,
|
|
608
|
+
rotation: options.rotation ?? 0,
|
|
609
|
+
...(options.toneMapping ? { toneMapping: options.toneMapping } : {})
|
|
610
|
+
});
|
|
611
|
+
return new A3DHdrEnvironment({
|
|
612
|
+
id,
|
|
613
|
+
label: options.label ?? id,
|
|
614
|
+
url: options.url,
|
|
615
|
+
pipeline,
|
|
616
|
+
lighting: createProductionEnvironmentLightingResources(pipeline)
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
export function createOrbitControls(options = {}) {
|
|
620
|
+
const initial = {
|
|
621
|
+
target: options.target ?? [0, 0, 0],
|
|
622
|
+
position: options.position ?? [0, 0, 5],
|
|
623
|
+
rotation: [0, 0],
|
|
624
|
+
zoom: 1,
|
|
625
|
+
enabled: options.enabled ?? true
|
|
626
|
+
};
|
|
627
|
+
let state = cloneOrbitSnapshot(initial);
|
|
628
|
+
const flags = {
|
|
629
|
+
enablePan: options.enablePan ?? true,
|
|
630
|
+
enableZoom: options.enableZoom ?? true,
|
|
631
|
+
enableRotate: options.enableRotate ?? true
|
|
632
|
+
};
|
|
633
|
+
return {
|
|
634
|
+
rotate(deltaX, deltaY) {
|
|
635
|
+
if (state.enabled && flags.enableRotate) {
|
|
636
|
+
state = { ...state, rotation: [state.rotation[0] + deltaY, state.rotation[1] + deltaX] };
|
|
637
|
+
}
|
|
638
|
+
return cloneOrbitSnapshot(state);
|
|
639
|
+
},
|
|
640
|
+
pan(deltaX, deltaY) {
|
|
641
|
+
if (state.enabled && flags.enablePan) {
|
|
642
|
+
state = { ...state, target: [state.target[0] + deltaX, state.target[1] + deltaY, state.target[2]] };
|
|
643
|
+
}
|
|
644
|
+
return cloneOrbitSnapshot(state);
|
|
645
|
+
},
|
|
646
|
+
dolly(scale) {
|
|
647
|
+
if (state.enabled && flags.enableZoom) {
|
|
648
|
+
state = { ...state, zoom: state.zoom * scale, position: [state.position[0], state.position[1], state.position[2] * scale] };
|
|
649
|
+
}
|
|
650
|
+
return cloneOrbitSnapshot(state);
|
|
651
|
+
},
|
|
652
|
+
reset() {
|
|
653
|
+
state = cloneOrbitSnapshot(initial);
|
|
654
|
+
return cloneOrbitSnapshot(state);
|
|
655
|
+
},
|
|
656
|
+
snapshot() {
|
|
657
|
+
return cloneOrbitSnapshot(state);
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
export function createFirstPersonControls(options = {}) {
|
|
662
|
+
const initial = createNavigationSnapshot(options);
|
|
663
|
+
let state = cloneNavigationSnapshot(initial);
|
|
664
|
+
return {
|
|
665
|
+
moveForward(distance) {
|
|
666
|
+
if (state.enabled)
|
|
667
|
+
state = { ...state, position: [state.position[0], state.position[1], state.position[2] - distance * state.movementSpeed] };
|
|
668
|
+
return cloneNavigationSnapshot(state);
|
|
669
|
+
},
|
|
670
|
+
strafe(distance) {
|
|
671
|
+
if (state.enabled)
|
|
672
|
+
state = { ...state, position: [state.position[0] + distance * state.movementSpeed, state.position[1], state.position[2]] };
|
|
673
|
+
return cloneNavigationSnapshot(state);
|
|
674
|
+
},
|
|
675
|
+
look(deltaX, deltaY) {
|
|
676
|
+
if (state.enabled)
|
|
677
|
+
state = { ...state, rotation: [state.rotation[0] + deltaY, state.rotation[1] + deltaX, state.rotation[2]] };
|
|
678
|
+
return cloneNavigationSnapshot(state);
|
|
679
|
+
},
|
|
680
|
+
reset() {
|
|
681
|
+
state = cloneNavigationSnapshot(initial);
|
|
682
|
+
return cloneNavigationSnapshot(state);
|
|
683
|
+
},
|
|
684
|
+
snapshot() {
|
|
685
|
+
return cloneNavigationSnapshot(state);
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
export function createMapControls(options = {}) {
|
|
690
|
+
const initial = {
|
|
691
|
+
target: options.target ?? [0, 0, 0],
|
|
692
|
+
position: options.position ?? [0, 0, 5],
|
|
693
|
+
rotation: [0, 0],
|
|
694
|
+
zoom: 1,
|
|
695
|
+
enabled: options.enabled ?? true
|
|
696
|
+
};
|
|
697
|
+
let state = cloneOrbitSnapshot(initial);
|
|
698
|
+
const flags = {
|
|
699
|
+
enablePan: options.enablePan ?? true,
|
|
700
|
+
enableZoom: options.enableZoom ?? true,
|
|
701
|
+
enableRotate: options.enableRotate ?? true
|
|
702
|
+
};
|
|
703
|
+
return {
|
|
704
|
+
rotate(deltaX, deltaY) {
|
|
705
|
+
if (state.enabled && flags.enableRotate) {
|
|
706
|
+
state = { ...state, rotation: [state.rotation[0] + deltaY, state.rotation[1] + deltaX] };
|
|
707
|
+
}
|
|
708
|
+
return cloneOrbitSnapshot(state);
|
|
709
|
+
},
|
|
710
|
+
pan(deltaX, deltaY) {
|
|
711
|
+
if (state.enabled && flags.enablePan) {
|
|
712
|
+
state = { ...state, target: [state.target[0] + deltaX, state.target[1] + deltaY, state.target[2]] };
|
|
713
|
+
}
|
|
714
|
+
return cloneOrbitSnapshot(state);
|
|
715
|
+
},
|
|
716
|
+
dolly(scale) {
|
|
717
|
+
if (state.enabled && flags.enableZoom) {
|
|
718
|
+
state = { ...state, zoom: state.zoom * scale, position: [state.position[0], state.position[1], state.position[2] * scale] };
|
|
719
|
+
}
|
|
720
|
+
return cloneOrbitSnapshot(state);
|
|
721
|
+
},
|
|
722
|
+
truck(deltaX, deltaZ) {
|
|
723
|
+
if (state.enabled && flags.enablePan) {
|
|
724
|
+
state = { ...state, target: [state.target[0] + deltaX, state.target[1], state.target[2] + deltaZ] };
|
|
725
|
+
}
|
|
726
|
+
return cloneOrbitSnapshot(state);
|
|
727
|
+
},
|
|
728
|
+
reset() {
|
|
729
|
+
state = cloneOrbitSnapshot(initial);
|
|
730
|
+
return cloneOrbitSnapshot(state);
|
|
731
|
+
},
|
|
732
|
+
snapshot() {
|
|
733
|
+
return cloneOrbitSnapshot(state);
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
}
|
|
737
|
+
export function createTrackballControls(options = {}) {
|
|
738
|
+
const orbit = createOrbitControls(options);
|
|
739
|
+
let rollRadians = 0;
|
|
740
|
+
return {
|
|
741
|
+
rotate(deltaX, deltaY) {
|
|
742
|
+
return orbit.rotate(deltaX, deltaY);
|
|
743
|
+
},
|
|
744
|
+
pan(deltaX, deltaY) {
|
|
745
|
+
return orbit.pan(deltaX, deltaY);
|
|
746
|
+
},
|
|
747
|
+
dolly(scale) {
|
|
748
|
+
return orbit.dolly(scale);
|
|
749
|
+
},
|
|
750
|
+
roll(delta) {
|
|
751
|
+
rollRadians += delta;
|
|
752
|
+
const current = orbit.snapshot();
|
|
753
|
+
return {
|
|
754
|
+
...current,
|
|
755
|
+
rotation: [current.rotation[0], current.rotation[1] + rollRadians]
|
|
756
|
+
};
|
|
757
|
+
},
|
|
758
|
+
reset() {
|
|
759
|
+
rollRadians = 0;
|
|
760
|
+
return orbit.reset();
|
|
761
|
+
},
|
|
762
|
+
snapshot() {
|
|
763
|
+
const current = orbit.snapshot();
|
|
764
|
+
return {
|
|
765
|
+
...current,
|
|
766
|
+
rotation: [current.rotation[0], current.rotation[1] + rollRadians]
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
export function createPointerLockControls(options = {}) {
|
|
772
|
+
const initial = createNavigationSnapshot({ ...options, locked: options.locked ?? false });
|
|
773
|
+
let state = cloneNavigationSnapshot(initial);
|
|
774
|
+
return {
|
|
775
|
+
lock() {
|
|
776
|
+
state = { ...state, locked: true };
|
|
777
|
+
return cloneNavigationSnapshot(state);
|
|
778
|
+
},
|
|
779
|
+
unlock() {
|
|
780
|
+
state = { ...state, locked: false };
|
|
781
|
+
return cloneNavigationSnapshot(state);
|
|
782
|
+
},
|
|
783
|
+
look(deltaX, deltaY) {
|
|
784
|
+
if (state.enabled && state.locked) {
|
|
785
|
+
state = { ...state, rotation: [state.rotation[0] + deltaY, state.rotation[1] + deltaX, state.rotation[2]] };
|
|
786
|
+
}
|
|
787
|
+
return cloneNavigationSnapshot(state);
|
|
788
|
+
},
|
|
789
|
+
reset() {
|
|
790
|
+
state = cloneNavigationSnapshot(initial);
|
|
791
|
+
return cloneNavigationSnapshot(state);
|
|
792
|
+
},
|
|
793
|
+
snapshot() {
|
|
794
|
+
return cloneNavigationSnapshot(state);
|
|
795
|
+
}
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
export async function createProductViewer(options) {
|
|
799
|
+
const width = options.width ?? options.canvas.width;
|
|
800
|
+
const height = options.height ?? options.canvas.height;
|
|
801
|
+
const renderer = await A3DRenderer.create({
|
|
802
|
+
backend: options.backend,
|
|
803
|
+
canvas: options.canvas,
|
|
804
|
+
width,
|
|
805
|
+
height,
|
|
806
|
+
preserveDrawingBuffer: true,
|
|
807
|
+
clearColor: [0.012, 0.015, 0.02, 1],
|
|
808
|
+
shaderLibrary: createProductViewerShaderLibrary()
|
|
809
|
+
});
|
|
810
|
+
const controls = createOrbitControls({
|
|
811
|
+
enabled: options.camera?.orbit ?? true
|
|
812
|
+
});
|
|
813
|
+
const viewport = { width, height };
|
|
814
|
+
let currentEnvironment = options.environment;
|
|
815
|
+
let settings = {
|
|
816
|
+
exposure: options.postprocess?.exposure ?? 0.9,
|
|
817
|
+
iblIntensity: currentEnvironment.environmentLighting.environmentMapIntensity ?? currentEnvironment.pipeline.intensity,
|
|
818
|
+
specularIntensity: Math.max(currentEnvironment.environmentLighting.environmentMapSpecularIntensity ?? 0, currentEnvironment.pipeline.intensity * 1.08),
|
|
819
|
+
environmentRotation: currentEnvironment.environmentLighting.environmentMapRotation ?? currentEnvironment.pipeline.rotation,
|
|
820
|
+
backgroundVisible: true,
|
|
821
|
+
backgroundBlur: 0.025,
|
|
822
|
+
shadows: options.lighting?.shadows ?? true,
|
|
823
|
+
toneMapping: options.postprocess?.toneMapping ?? "filmic",
|
|
824
|
+
bloom: options.postprocess?.bloom !== false,
|
|
825
|
+
ssao: options.postprocess?.ssao !== false,
|
|
826
|
+
fxaa: options.postprocess?.fxaa !== false,
|
|
827
|
+
colorGrade: options.postprocess?.colorGrade !== false
|
|
828
|
+
};
|
|
829
|
+
let lastCamera;
|
|
830
|
+
const stage = createGroundedStage(options.asset.resources.bounds, {
|
|
831
|
+
labelPrefix: "a3d-production-product-viewer",
|
|
832
|
+
shadowLightDirection: [-0.42, -0.82, -0.38]
|
|
833
|
+
});
|
|
834
|
+
const skyboxGeometry = Geometry.uvSphere(1, 128, 64);
|
|
835
|
+
const skyboxMaterial = new A3DVisibleHdrSkyboxMaterial({
|
|
836
|
+
texture: currentEnvironment.environmentLighting.environmentMapTexture ?? new TextureBinding({ name: "u_environmentMapTexture", required: false }),
|
|
837
|
+
rotation: settings.environmentRotation,
|
|
838
|
+
exposure: settings.exposure * currentEnvironment.pipeline.backgroundIntensity
|
|
839
|
+
});
|
|
840
|
+
return {
|
|
841
|
+
renderer,
|
|
842
|
+
asset: options.asset,
|
|
843
|
+
get environment() {
|
|
844
|
+
return currentEnvironment;
|
|
845
|
+
},
|
|
846
|
+
controls,
|
|
847
|
+
render() {
|
|
848
|
+
const controlsState = controls.snapshot();
|
|
849
|
+
const camera = createCameraFrame({
|
|
850
|
+
bounds: options.asset.resources.bounds,
|
|
851
|
+
viewport,
|
|
852
|
+
target: controlsState.target,
|
|
853
|
+
yawRadians: controlsState.rotation[1],
|
|
854
|
+
pitchRadians: controlsState.rotation[0],
|
|
855
|
+
zoom: controlsState.zoom,
|
|
856
|
+
preset: options.camera?.preset ?? "product-hero"
|
|
857
|
+
});
|
|
858
|
+
lastCamera = camera.diagnostics;
|
|
859
|
+
stage.update({
|
|
860
|
+
backgroundBlur: settings.backgroundBlur,
|
|
861
|
+
backgroundVisible: settings.backgroundVisible
|
|
862
|
+
});
|
|
863
|
+
const skyboxItems = settings.backgroundVisible
|
|
864
|
+
? [createProductViewerSkyboxItem(skyboxGeometry, skyboxMaterial, camera.diagnostics.cameraPosition, options.asset.resources.bounds, currentEnvironment, settings)]
|
|
865
|
+
: [];
|
|
866
|
+
return renderer.render(createProductionRenderOptions({
|
|
867
|
+
scene: options.asset,
|
|
868
|
+
...(options.lighting?.ibl === false ? {} : {
|
|
869
|
+
environment: currentEnvironment,
|
|
870
|
+
environmentLighting: createProductViewerEnvironmentLighting(currentEnvironment, settings)
|
|
871
|
+
}),
|
|
872
|
+
stage,
|
|
873
|
+
backgroundVisible: false,
|
|
874
|
+
extraRenderItems: skyboxItems,
|
|
875
|
+
lights: createStudioLighting({ preset: "product", shadows: settings.shadows }),
|
|
876
|
+
shadows: createProductViewerShadowOptions(settings),
|
|
877
|
+
camera: camera.camera,
|
|
878
|
+
viewport,
|
|
879
|
+
postprocess: createProductViewerPostprocess(settings)
|
|
880
|
+
}));
|
|
881
|
+
},
|
|
882
|
+
async renderAsync() {
|
|
883
|
+
const controlsState = controls.snapshot();
|
|
884
|
+
const camera = createCameraFrame({
|
|
885
|
+
bounds: options.asset.resources.bounds,
|
|
886
|
+
viewport,
|
|
887
|
+
target: controlsState.target,
|
|
888
|
+
yawRadians: controlsState.rotation[1],
|
|
889
|
+
pitchRadians: controlsState.rotation[0],
|
|
890
|
+
zoom: controlsState.zoom,
|
|
891
|
+
preset: options.camera?.preset ?? "product-hero"
|
|
892
|
+
});
|
|
893
|
+
lastCamera = camera.diagnostics;
|
|
894
|
+
stage.update({
|
|
895
|
+
backgroundBlur: settings.backgroundBlur,
|
|
896
|
+
backgroundVisible: settings.backgroundVisible
|
|
897
|
+
});
|
|
898
|
+
const skyboxItems = settings.backgroundVisible
|
|
899
|
+
? [createProductViewerSkyboxItem(skyboxGeometry, skyboxMaterial, camera.diagnostics.cameraPosition, options.asset.resources.bounds, currentEnvironment, settings)]
|
|
900
|
+
: [];
|
|
901
|
+
return renderer.renderAsync(createProductionRenderOptions({
|
|
902
|
+
scene: options.asset,
|
|
903
|
+
...(options.lighting?.ibl === false ? {} : {
|
|
904
|
+
environment: currentEnvironment,
|
|
905
|
+
environmentLighting: createProductViewerEnvironmentLighting(currentEnvironment, settings)
|
|
906
|
+
}),
|
|
907
|
+
stage,
|
|
908
|
+
backgroundVisible: false,
|
|
909
|
+
extraRenderItems: skyboxItems,
|
|
910
|
+
lights: createStudioLighting({ preset: "product", shadows: settings.shadows }),
|
|
911
|
+
shadows: createProductViewerShadowOptions(settings),
|
|
912
|
+
camera: camera.camera,
|
|
913
|
+
viewport,
|
|
914
|
+
postprocess: createProductViewerPostprocess(settings)
|
|
915
|
+
}));
|
|
916
|
+
},
|
|
917
|
+
setSettings(next) {
|
|
918
|
+
settings = sanitizeProductViewerSettings({ ...settings, ...next });
|
|
919
|
+
return settings;
|
|
920
|
+
},
|
|
921
|
+
setEnvironment(environment) {
|
|
922
|
+
currentEnvironment = environment;
|
|
923
|
+
settings = sanitizeProductViewerSettings({
|
|
924
|
+
...settings,
|
|
925
|
+
iblIntensity: environment.environmentLighting.environmentMapIntensity ?? environment.pipeline.intensity,
|
|
926
|
+
specularIntensity: Math.max(environment.environmentLighting.environmentMapSpecularIntensity ?? 0, environment.pipeline.intensity * 1.08),
|
|
927
|
+
environmentRotation: environment.environmentLighting.environmentMapRotation ?? environment.pipeline.rotation
|
|
928
|
+
});
|
|
929
|
+
return currentEnvironment;
|
|
930
|
+
},
|
|
931
|
+
getSettings() {
|
|
932
|
+
return { ...settings };
|
|
933
|
+
},
|
|
934
|
+
captureScreenshot(type = "image/png", quality) {
|
|
935
|
+
if ("toDataURL" in options.canvas && typeof options.canvas.toDataURL === "function") {
|
|
936
|
+
return options.canvas.toDataURL(type, quality);
|
|
937
|
+
}
|
|
938
|
+
return undefined;
|
|
939
|
+
},
|
|
940
|
+
diagnostics() {
|
|
941
|
+
return {
|
|
942
|
+
asset: options.asset.metadata,
|
|
943
|
+
environment: {
|
|
944
|
+
id: currentEnvironment.id,
|
|
945
|
+
url: currentEnvironment.url,
|
|
946
|
+
realRadianceHdr: currentEnvironment.pipeline.diagnostics.realRadianceHdr,
|
|
947
|
+
specularPrefilter: currentEnvironment.pipeline.diagnostics.specularPrefilter,
|
|
948
|
+
cubemapPMREM: currentEnvironment.pipeline.diagnostics.cubemapPMREM,
|
|
949
|
+
cubemapPMREMShaderSampling: currentEnvironment.pipeline.diagnostics.cubemapPMREMShaderSampling,
|
|
950
|
+
cubemapFaceSize: currentEnvironment.pipeline.diagnostics.cubemapFaceSize,
|
|
951
|
+
cubemapMipCount: currentEnvironment.pipeline.diagnostics.cubemapMipCount,
|
|
952
|
+
brdfLut: currentEnvironment.pipeline.diagnostics.brdfLut
|
|
953
|
+
},
|
|
954
|
+
controls: controls.snapshot(),
|
|
955
|
+
settings,
|
|
956
|
+
...(lastCamera ? { camera: lastCamera } : {}),
|
|
957
|
+
stage: {
|
|
958
|
+
enabled: settings.shadows,
|
|
959
|
+
itemCount: settings.shadows ? stage.groundingItems.length : 0,
|
|
960
|
+
floorY: stage.floorY,
|
|
961
|
+
directionalShadowMap: settings.shadows,
|
|
962
|
+
softFiltering: settings.shadows ? "pcf-16" : "off",
|
|
963
|
+
depthAwareAmbientOcclusion: settings.ssao,
|
|
964
|
+
contactShadow: stage.diagnostics.contactShadow
|
|
965
|
+
},
|
|
966
|
+
background: {
|
|
967
|
+
enabled: settings.backgroundVisible,
|
|
968
|
+
itemCount: settings.backgroundVisible ? 1 : 0,
|
|
969
|
+
mode: "visible-hdr-studio-skybox",
|
|
970
|
+
blur: settings.backgroundBlur,
|
|
971
|
+
environmentRotation: settings.environmentRotation
|
|
972
|
+
}
|
|
973
|
+
};
|
|
974
|
+
},
|
|
975
|
+
dispose() {
|
|
976
|
+
renderer.dispose();
|
|
977
|
+
skyboxGeometry.dispose();
|
|
978
|
+
stage.dispose();
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
function createProductViewerPostprocess(options) {
|
|
983
|
+
return {
|
|
984
|
+
targetFormat: "rgba16f",
|
|
985
|
+
toneMapping: {
|
|
986
|
+
operator: options.toneMapping,
|
|
987
|
+
exposure: options.exposure,
|
|
988
|
+
whitePoint: 1.25,
|
|
989
|
+
inputColorSpace: "linear",
|
|
990
|
+
outputColorSpace: "srgb"
|
|
991
|
+
},
|
|
992
|
+
bloom: options.bloom ? { threshold: 0.86, intensity: 0.13, radius: 3 } : false,
|
|
993
|
+
ssao: options.ssao ? { radius: 4, intensity: 0.68, bias: 0.008 } : false,
|
|
994
|
+
fxaa: options.fxaa ? { edgeThreshold: 0.09, subpixelBlend: 0.24 } : false,
|
|
995
|
+
colorGrade: options.colorGrade ? {
|
|
996
|
+
contrast: 1.16,
|
|
997
|
+
saturation: 1.1,
|
|
998
|
+
vibrance: 0.2,
|
|
999
|
+
vignette: 0.16,
|
|
1000
|
+
sharpening: 0.86
|
|
1001
|
+
} : false
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
const A3D_VISIBLE_HDR_SKYBOX_SHADER_NAME = "a3d-production-runtime/visible-hdr-studio-skybox";
|
|
1005
|
+
const A3D_VISIBLE_HDR_SKYBOX_SHADER_MARKER = "@aura3d-production-runtime-shader:visible-hdr-studio-skybox";
|
|
1006
|
+
function createProductViewerShaderLibrary() {
|
|
1007
|
+
const library = createDefaultShaderLibrary();
|
|
1008
|
+
library.register({
|
|
1009
|
+
name: A3D_VISIBLE_HDR_SKYBOX_SHADER_NAME,
|
|
1010
|
+
marker: A3D_VISIBLE_HDR_SKYBOX_SHADER_MARKER,
|
|
1011
|
+
vertex: `#version 300 es
|
|
1012
|
+
// ${A3D_VISIBLE_HDR_SKYBOX_SHADER_MARKER}
|
|
1013
|
+
precision highp float;
|
|
1014
|
+
layout(location = 0) in vec3 a_position;
|
|
1015
|
+
uniform mat4 u_modelViewProjection;
|
|
1016
|
+
out vec3 v_direction;
|
|
1017
|
+
void main() {
|
|
1018
|
+
v_direction = normalize(a_position);
|
|
1019
|
+
gl_Position = u_modelViewProjection * vec4(a_position, 1.0);
|
|
1020
|
+
}
|
|
1021
|
+
`,
|
|
1022
|
+
fragment: `#version 300 es
|
|
1023
|
+
// ${A3D_VISIBLE_HDR_SKYBOX_SHADER_MARKER}
|
|
1024
|
+
precision highp float;
|
|
1025
|
+
uniform sampler2D u_environmentMapTexture;
|
|
1026
|
+
uniform float u_environmentSkyboxRotation;
|
|
1027
|
+
uniform float u_environmentSkyboxExposure;
|
|
1028
|
+
uniform float u_environmentSkyboxBlur;
|
|
1029
|
+
in vec3 v_direction;
|
|
1030
|
+
out vec4 outColor;
|
|
1031
|
+
|
|
1032
|
+
const float PI = 3.141592653589793;
|
|
1033
|
+
|
|
1034
|
+
vec2 a3dProductViewerEquirectUv(vec3 direction, float rotation) {
|
|
1035
|
+
vec3 d = normalize(direction);
|
|
1036
|
+
float u = atan(d.z, d.x) / (2.0 * PI) + 0.5 + rotation;
|
|
1037
|
+
float v = acos(clamp(d.y, -1.0, 1.0)) / PI;
|
|
1038
|
+
return vec2(fract(u), clamp(v, 0.0, 1.0));
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
vec3 a3dProductViewerFilmic(vec3 color) {
|
|
1042
|
+
color = max(color, vec3(0.0));
|
|
1043
|
+
return clamp((color * (2.51 * color + 0.03)) / (color * (2.43 * color + 0.59) + 0.14), vec3(0.0), vec3(1.0));
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
vec3 a3dProductViewerLinearToSrgb(vec3 color) {
|
|
1047
|
+
vec3 lo = color * 12.92;
|
|
1048
|
+
vec3 hi = 1.055 * pow(max(color, vec3(0.0)), vec3(1.0 / 2.4)) - 0.055;
|
|
1049
|
+
return mix(lo, hi, step(vec3(0.0031308), color));
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
void main() {
|
|
1053
|
+
vec2 uv = a3dProductViewerEquirectUv(v_direction, u_environmentSkyboxRotation);
|
|
1054
|
+
float lod = clamp(u_environmentSkyboxBlur * 6.0, 0.0, 8.0);
|
|
1055
|
+
vec3 hdr = textureLod(u_environmentMapTexture, uv, lod).rgb * u_environmentSkyboxExposure;
|
|
1056
|
+
vec3 mapped = a3dProductViewerLinearToSrgb(a3dProductViewerFilmic(hdr));
|
|
1057
|
+
outColor = vec4(mapped, 1.0);
|
|
1058
|
+
}
|
|
1059
|
+
`
|
|
1060
|
+
});
|
|
1061
|
+
return library;
|
|
1062
|
+
}
|
|
1063
|
+
class A3DVisibleHdrSkyboxMaterial extends Material {
|
|
1064
|
+
constructor(options) {
|
|
1065
|
+
super({
|
|
1066
|
+
name: "a3d-production-runtime-visible-hdr-studio-skybox",
|
|
1067
|
+
shaderKey: A3D_VISIBLE_HDR_SKYBOX_SHADER_NAME,
|
|
1068
|
+
renderState: {
|
|
1069
|
+
depthTest: false,
|
|
1070
|
+
depthWrite: false,
|
|
1071
|
+
cullMode: "front"
|
|
1072
|
+
},
|
|
1073
|
+
parameters: {
|
|
1074
|
+
u_modelViewProjection: identityMatrix(),
|
|
1075
|
+
u_environmentMapTexture: options.texture,
|
|
1076
|
+
u_environmentSkyboxRotation: options.rotation,
|
|
1077
|
+
u_environmentSkyboxExposure: options.exposure,
|
|
1078
|
+
u_environmentSkyboxBlur: 0.025
|
|
1079
|
+
},
|
|
1080
|
+
requiredAttributes: ["a_position"],
|
|
1081
|
+
uniformSchema: [
|
|
1082
|
+
{ name: "u_modelViewProjection", kind: "mat4" },
|
|
1083
|
+
{ name: "u_environmentMapTexture", kind: "texture2d", required: false },
|
|
1084
|
+
{ name: "u_environmentSkyboxRotation", kind: "float" },
|
|
1085
|
+
{ name: "u_environmentSkyboxExposure", kind: "float" },
|
|
1086
|
+
{ name: "u_environmentSkyboxBlur", kind: "float" }
|
|
1087
|
+
]
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
function createProductViewerSkyboxItem(geometry, material, cameraPosition, bounds, environment, settings) {
|
|
1092
|
+
material.setParameter("u_environmentMapTexture", environment.environmentLighting.environmentMapTexture ?? new TextureBinding({ name: "u_environmentMapTexture", required: false }));
|
|
1093
|
+
material.setParameter("u_environmentSkyboxRotation", settings.environmentRotation);
|
|
1094
|
+
material.setParameter("u_environmentSkyboxExposure", settings.exposure * environment.pipeline.backgroundIntensity);
|
|
1095
|
+
material.setParameter("u_environmentSkyboxBlur", settings.backgroundBlur);
|
|
1096
|
+
const extent = Math.max(1, bounds.max[0] - bounds.min[0], bounds.max[1] - bounds.min[1], bounds.max[2] - bounds.min[2]);
|
|
1097
|
+
const radius = extent * 80;
|
|
1098
|
+
return {
|
|
1099
|
+
geometry,
|
|
1100
|
+
material,
|
|
1101
|
+
label: "a3d-production-runtime-visible-hdr-studio-skybox",
|
|
1102
|
+
includeInAutoFrame: false,
|
|
1103
|
+
modelMatrix: composeMat4([cameraPosition[0], cameraPosition[1], cameraPosition[2]], [0, 0, 0, 1], [radius, radius, radius])
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
function createProductViewerShadowOptions(settings) {
|
|
1107
|
+
if (!settings.shadows)
|
|
1108
|
+
return false;
|
|
1109
|
+
return {
|
|
1110
|
+
enabled: true,
|
|
1111
|
+
size: 2048,
|
|
1112
|
+
strength: 0.62,
|
|
1113
|
+
bias: 0.0018,
|
|
1114
|
+
slopeBias: 1,
|
|
1115
|
+
filter: "pcf",
|
|
1116
|
+
pcfRadius: 1.65,
|
|
1117
|
+
pcfSamples: 16,
|
|
1118
|
+
pcfDistribution: "poisson",
|
|
1119
|
+
label: "a3d-production-product-viewer-directional-shadow"
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
function collectedDirectionalLight(source, direction, castsShadow) {
|
|
1123
|
+
return {
|
|
1124
|
+
kind: "directional",
|
|
1125
|
+
color: source.color,
|
|
1126
|
+
intensity: source.intensity,
|
|
1127
|
+
position: [0, 0, 0],
|
|
1128
|
+
direction: normalizeTuple3(direction),
|
|
1129
|
+
range: 0,
|
|
1130
|
+
spotAngle: 0,
|
|
1131
|
+
penumbra: 0,
|
|
1132
|
+
castsShadow,
|
|
1133
|
+
layerMask: source.layerMask,
|
|
1134
|
+
source
|
|
1135
|
+
};
|
|
1136
|
+
}
|
|
1137
|
+
function createProductViewerEnvironmentLighting(environment, settings) {
|
|
1138
|
+
const lighting = environment.environmentLighting;
|
|
1139
|
+
return {
|
|
1140
|
+
...lighting,
|
|
1141
|
+
proceduralMap: settings.backgroundVisible ? lighting.proceduralMap : undefined,
|
|
1142
|
+
environmentMapIntensity: settings.iblIntensity,
|
|
1143
|
+
environmentMapSpecularIntensity: settings.specularIntensity,
|
|
1144
|
+
environmentMapRotation: settings.environmentRotation
|
|
1145
|
+
};
|
|
1146
|
+
}
|
|
1147
|
+
function productViewerCameraPreset(preset) {
|
|
1148
|
+
switch (preset) {
|
|
1149
|
+
case "asset-inspection":
|
|
1150
|
+
return { fovYRadians: Math.PI / 3, paddingRatio: 0.2, minDistance: 0.65, nearPadding: 0.12, farPadding: 2.4, yawRadians: -0.28, pitchRadians: -0.1 };
|
|
1151
|
+
case "material-inspection":
|
|
1152
|
+
return { fovYRadians: 0.82, paddingRatio: 0.12, minDistance: 0.55, nearPadding: 0.1, farPadding: 2.2, yawRadians: -0.34, pitchRadians: -0.08 };
|
|
1153
|
+
case "product-hero":
|
|
1154
|
+
default:
|
|
1155
|
+
return { fovYRadians: 0.45, paddingRatio: 0.024, minDistance: 0.58, nearPadding: 0.1, farPadding: 3.3, yawRadians: -0.34, pitchRadians: -0.08 };
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
function productViewerTargetOffset(bounds, target, preset) {
|
|
1159
|
+
const extent = Math.max(0.001, bounds.max[0] - bounds.min[0], bounds.max[1] - bounds.min[1], bounds.max[2] - bounds.min[2]);
|
|
1160
|
+
const presetVerticalOffset = preset === "product-hero" ? -0.1 : 0;
|
|
1161
|
+
const presetHorizontalOffset = preset === "product-hero" ? 0.16 : 0;
|
|
1162
|
+
return [
|
|
1163
|
+
target[0] * extent * 0.05 + presetHorizontalOffset * extent,
|
|
1164
|
+
target[1] * extent * 0.05 + presetVerticalOffset * extent,
|
|
1165
|
+
target[2] * extent * 0.05
|
|
1166
|
+
];
|
|
1167
|
+
}
|
|
1168
|
+
function offsetBounds(bounds, offset) {
|
|
1169
|
+
return {
|
|
1170
|
+
min: [bounds.min[0] + offset[0], bounds.min[1] + offset[1], bounds.min[2] + offset[2]],
|
|
1171
|
+
max: [bounds.max[0] + offset[0], bounds.max[1] + offset[1], bounds.max[2] + offset[2]]
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
function sanitizeProductViewerSettings(settings) {
|
|
1175
|
+
return {
|
|
1176
|
+
...settings,
|
|
1177
|
+
exposure: clamp(settings.exposure, 0, 4),
|
|
1178
|
+
iblIntensity: clamp(settings.iblIntensity, 0, 4),
|
|
1179
|
+
specularIntensity: clamp(settings.specularIntensity, 0, 4),
|
|
1180
|
+
environmentRotation: clamp(settings.environmentRotation, -1, 1),
|
|
1181
|
+
backgroundBlur: clamp(settings.backgroundBlur, 0, 1)
|
|
1182
|
+
};
|
|
1183
|
+
}
|
|
1184
|
+
function resolveAnimationClip(clips, name) {
|
|
1185
|
+
const clip = clips.get(name);
|
|
1186
|
+
if (!clip) {
|
|
1187
|
+
throw new Error(`A3D animation clip "${name}" is not registered.`);
|
|
1188
|
+
}
|
|
1189
|
+
return clip;
|
|
1190
|
+
}
|
|
1191
|
+
function resolveAnimationAction(actions, name) {
|
|
1192
|
+
const action = actions.get(name);
|
|
1193
|
+
if (!action) {
|
|
1194
|
+
throw new Error(`A3D animation action "${name}" has not been played.`);
|
|
1195
|
+
}
|
|
1196
|
+
return action;
|
|
1197
|
+
}
|
|
1198
|
+
function resolvePhysicsShape(shape) {
|
|
1199
|
+
if (shape.kind === "box") {
|
|
1200
|
+
const halfExtents = shape.halfExtents ?? [0.5, 0.5, 0.5];
|
|
1201
|
+
return Shape.box(halfExtents[0], halfExtents[1], halfExtents[2]);
|
|
1202
|
+
}
|
|
1203
|
+
if (shape.kind === "sphere") {
|
|
1204
|
+
return Shape.sphere(shape.radius ?? 0.5);
|
|
1205
|
+
}
|
|
1206
|
+
return Shape.capsule(shape.radius ?? 0.35, shape.halfHeight ?? 0.75);
|
|
1207
|
+
}
|
|
1208
|
+
function clamp(value, min, max) {
|
|
1209
|
+
return Math.min(max, Math.max(min, Number.isFinite(value) ? value : min));
|
|
1210
|
+
}
|
|
1211
|
+
function identityMatrix() {
|
|
1212
|
+
return new Float32Array([
|
|
1213
|
+
1, 0, 0, 0,
|
|
1214
|
+
0, 1, 0, 0,
|
|
1215
|
+
0, 0, 1, 0,
|
|
1216
|
+
0, 0, 0, 1
|
|
1217
|
+
]);
|
|
1218
|
+
}
|
|
1219
|
+
function normalizeTuple3(value) {
|
|
1220
|
+
const length = Math.hypot(value[0], value[1], value[2]);
|
|
1221
|
+
if (!Number.isFinite(length) || length <= 0)
|
|
1222
|
+
return [0, -1, 0];
|
|
1223
|
+
return [value[0] / length, value[1] / length, value[2] / length];
|
|
1224
|
+
}
|
|
1225
|
+
async function fetchArrayBuffer(url) {
|
|
1226
|
+
if (typeof fetch !== "function") {
|
|
1227
|
+
throw new Error("loadHdrEnvironment(url) requires fetch; pass { url, data } when loading HDR data outside the browser.");
|
|
1228
|
+
}
|
|
1229
|
+
const response = await fetch(url);
|
|
1230
|
+
if (!response.ok) {
|
|
1231
|
+
throw new Error(`Failed to fetch HDR environment ${url}: ${response.status}`);
|
|
1232
|
+
}
|
|
1233
|
+
return response.arrayBuffer();
|
|
1234
|
+
}
|
|
1235
|
+
function assetIdFromUrl(url) {
|
|
1236
|
+
const clean = url.split(/[?#]/)[0] ?? url;
|
|
1237
|
+
const basename = clean.split("/").filter(Boolean).pop() ?? "asset";
|
|
1238
|
+
return basename.replace(/\.[^.]+$/, "").replace(/[^a-zA-Z0-9_-]+/g, "-").toLowerCase();
|
|
1239
|
+
}
|
|
1240
|
+
function cloneOrbitSnapshot(snapshot) {
|
|
1241
|
+
return {
|
|
1242
|
+
target: [...snapshot.target],
|
|
1243
|
+
position: [...snapshot.position],
|
|
1244
|
+
rotation: [...snapshot.rotation],
|
|
1245
|
+
zoom: snapshot.zoom,
|
|
1246
|
+
enabled: snapshot.enabled
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
function createNavigationSnapshot(options) {
|
|
1250
|
+
return {
|
|
1251
|
+
position: options.position ?? [0, 0, 0],
|
|
1252
|
+
rotation: options.rotation ?? [0, 0, 0],
|
|
1253
|
+
movementSpeed: options.movementSpeed ?? 1,
|
|
1254
|
+
enabled: options.enabled ?? true,
|
|
1255
|
+
locked: options.locked ?? false
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
function cloneNavigationSnapshot(snapshot) {
|
|
1259
|
+
return {
|
|
1260
|
+
position: [...snapshot.position],
|
|
1261
|
+
rotation: [...snapshot.rotation],
|
|
1262
|
+
movementSpeed: snapshot.movementSpeed,
|
|
1263
|
+
enabled: snapshot.enabled,
|
|
1264
|
+
locked: snapshot.locked
|
|
1265
|
+
};
|
|
1266
|
+
}
|
|
1267
|
+
//# sourceMappingURL=index.js.map
|