@galacean/engine-loader 1.0.0 → 1.0.1

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.
Files changed (65) hide show
  1. package/dist/main.js +1764 -1208
  2. package/dist/main.js.map +1 -1
  3. package/dist/miniprogram.js +1784 -1228
  4. package/dist/module.js +1751 -1210
  5. package/dist/module.js.map +1 -1
  6. package/package.json +5 -5
  7. package/types/AnimationClipLoader.d.ts +1 -0
  8. package/types/GLTFContentRestorer.d.ts +92 -0
  9. package/types/GLTFLoader.d.ts +3 -0
  10. package/types/ProjectLoader.d.ts +1 -0
  11. package/types/Texture2DContentRestorer.d.ts +11 -0
  12. package/types/TextureCubeContentRestorer.d.ts +11 -0
  13. package/types/gltf/GLTFPipeline.d.ts +23 -0
  14. package/types/gltf/GLTFResource.d.ts +7 -15
  15. package/types/gltf/GLTFSchema.d.ts +816 -0
  16. package/types/gltf/GLTFUtil.d.ts +4 -4
  17. package/types/gltf/GLTFUtils.d.ts +48 -0
  18. package/types/gltf/extensions/GALACEAN_animation_event.d.ts +1 -0
  19. package/types/gltf/extensions/GLTFExtensionParser.d.ts +52 -0
  20. package/types/gltf/extensions/GLTFExtensionSchema.d.ts +149 -0
  21. package/types/gltf/extensions/KHR_materials_ior.d.ts +1 -0
  22. package/types/gltf/extensions/KHR_materials_variants.d.ts +6 -1
  23. package/types/gltf/extensions/index.d.ts +5 -1
  24. package/types/gltf/index.d.ts +6 -0
  25. package/types/gltf/parser/GLTFAnimationParser.d.ts +12 -0
  26. package/types/gltf/parser/GLTFBufferParser.d.ts +7 -0
  27. package/types/gltf/parser/GLTFEntityParser.d.ts +9 -0
  28. package/types/gltf/parser/GLTFMaterialParser.d.ts +15 -0
  29. package/types/gltf/parser/GLTFMeshParser.d.ts +19 -0
  30. package/types/gltf/parser/GLTFParser.d.ts +63 -0
  31. package/types/gltf/parser/GLTFParserContext.d.ts +53 -0
  32. package/types/gltf/parser/GLTFSceneParser.d.ts +11 -0
  33. package/types/gltf/parser/GLTFSchemaParser.d.ts +7 -0
  34. package/types/gltf/parser/GLTFSkinParser.d.ts +7 -0
  35. package/types/gltf/parser/GLTFTextureParser.d.ts +9 -0
  36. package/types/gltf/parser/GLTFValidator.d.ts +6 -0
  37. package/types/gltf/parser/index.d.ts +11 -0
  38. package/types/index.d.ts +2 -2
  39. package/types/ktx2/BinomialLLCTranscoder/BinomialLLCTranscoder.d.ts +13 -0
  40. package/types/ktx2/BinomialLLCTranscoder/TranscodeWorkerCode.d.ts +33 -0
  41. package/types/ktx2/KTX2Container.d.ts +72 -0
  42. package/types/ktx2/KTX2Loader.d.ts +53 -0
  43. package/types/ktx2/KTX2TargetFormat.d.ts +21 -0
  44. package/types/ktx2/KhronosTranscoder/KhronosTranscoder.d.ts +17 -0
  45. package/types/ktx2/KhronosTranscoder/TranscoderWorkerCode.d.ts +34 -0
  46. package/types/ktx2/TranscodeResult.d.ts +10 -0
  47. package/types/ktx2/WorkerPool.d.ts +32 -0
  48. package/types/ktx2/constants.d.ts +7 -0
  49. package/types/ktx2/transcoder/AbstractTranscoder.d.ts +55 -0
  50. package/types/ktx2/transcoder/BinomialLLCTranscoder.d.ts +8 -0
  51. package/types/ktx2/transcoder/BinomialLLCWorkerCode.d.ts +2 -0
  52. package/types/ktx2/transcoder/KhronosTranscoder.d.ts +13 -0
  53. package/types/ktx2/transcoder/KhronosWorkerCode.d.ts +1 -0
  54. package/types/ktx2/zstddec.d.ts +62 -0
  55. package/types/resource-deserialize/index.d.ts +3 -3
  56. package/types/resource-deserialize/resources/mesh/MeshDecoder.d.ts +1 -1
  57. package/types/resource-deserialize/resources/parser/PrefabParser.d.ts +5 -0
  58. package/types/resource-deserialize/resources/parser/ReflectionParser.d.ts +14 -0
  59. package/types/resource-deserialize/resources/scene/SceneParser.d.ts +1 -1
  60. package/types/resource-deserialize/resources/scene/SceneParserContext.d.ts +1 -1
  61. package/types/resource-deserialize/resources/schema/BasicSchema.d.ts +61 -0
  62. package/types/resource-deserialize/resources/schema/MaterialSchema.d.ts +91 -0
  63. package/types/resource-deserialize/resources/schema/ProjectSchema.d.ts +9 -0
  64. package/types/resource-deserialize/resources/schema/SceneSchema.d.ts +41 -0
  65. package/types/resource-deserialize/resources/schema/index.d.ts +3 -0
@@ -0,0 +1,41 @@
1
+ import { BackgroundMode, DiffuseMode, ShadowCascadesMode, ShadowResolution } from "@galacean/engine-core";
2
+ import type { IReferable } from "@galacean/engine-core/types/asset/IReferable";
3
+ import type { IColor, IPrefabFile } from "./BasicSchema";
4
+ export declare enum SpecularMode {
5
+ Sky = "Sky",
6
+ Custom = "Custom"
7
+ }
8
+ export interface IScene extends IPrefabFile {
9
+ scene: {
10
+ background: {
11
+ mode: BackgroundMode;
12
+ color: IColor;
13
+ texture?: IReferable;
14
+ skyMesh?: IReferable;
15
+ skyMaterial?: IReferable;
16
+ };
17
+ ambient: {
18
+ diffuseMode: DiffuseMode;
19
+ ambientLight: IReferable;
20
+ customAmbientLight: IReferable;
21
+ customSpecularTexture: IReferable;
22
+ diffuseSolidColor: IColor;
23
+ diffuseIntensity: number;
24
+ specularIntensity: number;
25
+ specularMode: SpecularMode;
26
+ bakerResolution: number;
27
+ };
28
+ shadow?: {
29
+ castShadows: boolean;
30
+ shadowResolution: ShadowResolution;
31
+ shadowDistance: number;
32
+ shadowCascades: ShadowCascadesMode;
33
+ };
34
+ };
35
+ files: Array<{
36
+ id: string;
37
+ type: string;
38
+ virtualPath: string;
39
+ path: string;
40
+ }>;
41
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./BasicSchema";
2
+ export * from "./MaterialSchema";
3
+ export * from "./SceneSchema";