@galacean/engine-core 1.1.0-beta.8 → 1.2.0-alpha.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.
Files changed (132) hide show
  1. package/dist/main.js +18336 -17474
  2. package/dist/main.js.map +1 -1
  3. package/dist/miniprogram.js +18336 -17474
  4. package/dist/module.js +18335 -17476
  5. package/dist/module.js.map +1 -1
  6. package/package.json +3 -3
  7. package/types/2d/atlas/types.d.ts +3 -0
  8. package/types/2d/enums/SpriteModifyFlags.d.ts +2 -1
  9. package/types/Camera.d.ts +1 -1
  10. package/types/Canvas.d.ts +14 -5
  11. package/types/Component.d.ts +2 -0
  12. package/types/ComponentsManager.d.ts +3 -0
  13. package/types/DisorderedArray.d.ts +1 -0
  14. package/types/Engine.d.ts +6 -2
  15. package/types/Entity.d.ts +1 -0
  16. package/types/RenderPipeline/BasicRenderPipeline.d.ts +3 -1
  17. package/types/RenderPipeline/RenderQueue.d.ts +0 -7
  18. package/types/Scene.d.ts +9 -2
  19. package/types/Utils.d.ts +1 -0
  20. package/types/animation/AnimationClip.d.ts +32 -4
  21. package/types/animation/AnimationClipCurveBinding.d.ts +12 -2
  22. package/types/animation/AnimatorControllerLayer.d.ts +3 -0
  23. package/types/animation/AnimatorLayerMask.d.ts +45 -0
  24. package/types/animation/Keyframe.d.ts +1 -1
  25. package/types/animation/LayerPathMask.d.ts +16 -0
  26. package/types/animation/animationCurve/AnimationStringCurve.d.ts +7 -0
  27. package/types/animation/animationCurve/index.d.ts +1 -0
  28. package/types/animation/index.d.ts +1 -0
  29. package/types/asset/AssetPromise.d.ts +10 -4
  30. package/types/asset/ReferResource.d.ts +3 -2
  31. package/types/asset/ResourceManager.d.ts +0 -1
  32. package/types/index.d.ts +3 -1
  33. package/types/lighting/Light.d.ts +0 -1
  34. package/types/lighting/LightManager.d.ts +0 -1
  35. package/types/material/PBRMaterial.d.ts +23 -0
  36. package/types/mesh/SkinnedMeshRenderer.d.ts +1 -1
  37. package/types/particle/modules/EmissionModule.d.ts +0 -1
  38. package/types/particle/modules/MainModule.d.ts +0 -1
  39. package/types/particle/modules/ParticleGradient.d.ts +38 -18
  40. package/types/renderingHardwareInterface/index.d.ts +0 -1
  41. package/types/shader/Shader.d.ts +16 -3
  42. package/types/xr/XRManager.d.ts +3 -29
  43. package/types/RenderPipeline/RenderElementX.d.ts +0 -12
  44. package/types/SafeLoopArray.d.ts +0 -37
  45. package/types/Ticker.d.ts +0 -30
  46. package/types/graphic/PrimitiveVertexBinding.d.ts +0 -1
  47. package/types/particle/ParticleData.d.ts +0 -1
  48. package/types/particle/ParticleMesh.d.ts +0 -289
  49. package/types/particle/ParticleShaderDeclaration.d.ts +0 -1
  50. package/types/particle/ParticleShaderMacro.d.ts +0 -1
  51. package/types/particle/ParticleShaderProperty.d.ts +0 -1
  52. package/types/particle/ParticleSystem.d.ts +0 -41
  53. package/types/particle/ParticleVertexElements.d.ts +0 -1
  54. package/types/particle/ParticleVertexUtils.d.ts +0 -1
  55. package/types/particle/enum/ParticleAnimationRowMode.d.ts +0 -9
  56. package/types/particle/enum/ParticleAnimationType.d.ts +0 -9
  57. package/types/particle/enum/ParticleCurveMode.d.ts +0 -13
  58. package/types/particle/enum/ParticleGradientMode.d.ts +0 -13
  59. package/types/particle/enum/ParticleRenderMode.d.ts +0 -17
  60. package/types/particle/enum/ParticleScaleMode.d.ts +0 -11
  61. package/types/particle/enum/ParticleShapeMultiModeValue.d.ts +0 -9
  62. package/types/particle/enum/ParticleShapeType.d.ts +0 -15
  63. package/types/particle/enum/ParticleSimulationSpace.d.ts +0 -9
  64. package/types/particle/enum/index.d.ts +0 -9
  65. package/types/particle/module/Burst.d.ts +0 -38
  66. package/types/particle/module/ColorGradient.d.ts +0 -75
  67. package/types/particle/module/ColorOverLifetimeModule.d.ts +0 -20
  68. package/types/particle/module/EmissionModule.d.ts +0 -63
  69. package/types/particle/module/FrameOverTime.d.ts +0 -73
  70. package/types/particle/module/ParticleCurve.d.ts +0 -37
  71. package/types/particle/module/RotationOverLifetimeModule.d.ts +0 -21
  72. package/types/particle/module/RotationVelocityGradient.d.ts +0 -184
  73. package/types/particle/module/SizeGradient.d.ts +0 -151
  74. package/types/particle/module/SizeOverLifetimeModule.d.ts +0 -21
  75. package/types/particle/module/StartFrame.d.ts +0 -46
  76. package/types/particle/module/TextureSheetAnimationModule.d.ts +0 -37
  77. package/types/particle/module/VelocityGradient.d.ts +0 -110
  78. package/types/particle/module/VelocityOverLifetimeModule.d.ts +0 -22
  79. package/types/particle/module/index.d.ts +0 -15
  80. package/types/particle/module/shape/BaseShape.d.ts +0 -26
  81. package/types/particle/module/shape/BoxShape.d.ts +0 -20
  82. package/types/particle/module/shape/CircleShape.d.ts +0 -27
  83. package/types/particle/module/shape/ConeShape.d.ts +0 -35
  84. package/types/particle/module/shape/HemisphereShape.d.ts +0 -23
  85. package/types/particle/module/shape/ShapeUtils.d.ts +0 -1
  86. package/types/particle/module/shape/SphereShape.d.ts +0 -23
  87. package/types/particle/module/shape/index.d.ts +0 -5
  88. package/types/particle/modules/ShapeModule.d.ts +0 -9
  89. package/types/particle/modules/shape/enums/ParticleShapeMultiModeValue.d.ts +0 -9
  90. package/types/particle/moudules/Burst.d.ts +0 -25
  91. package/types/particle/moudules/Emission.d.ts +0 -47
  92. package/types/particle/moudules/EmissionModule.d.ts +0 -49
  93. package/types/particle/moudules/MainModule.d.ts +0 -59
  94. package/types/particle/moudules/ParticleCurve.d.ts +0 -27
  95. package/types/particle/moudules/ParticleGradient.d.ts +0 -28
  96. package/types/particle/moudules/ShapeModule.d.ts +0 -7
  97. package/types/particle/moudules/shape/BaseShape.d.ts +0 -28
  98. package/types/particle/moudules/shape/BoxShape.d.ts +0 -20
  99. package/types/particle/moudules/shape/CircleShape.d.ts +0 -27
  100. package/types/particle/moudules/shape/ConeShape.d.ts +0 -35
  101. package/types/particle/moudules/shape/HemisphereShape.d.ts +0 -23
  102. package/types/particle/moudules/shape/ShapeUtils.d.ts +0 -1
  103. package/types/particle/moudules/shape/SphereShape.d.ts +0 -23
  104. package/types/particle/moudules/shape/enums/ParticleShapeMultiModeValue.d.ts +0 -9
  105. package/types/particle/moudules/shape/enums/ParticleShapeType.d.ts +0 -15
  106. package/types/particle/moudules/shape/index.d.ts +0 -5
  107. package/types/shadow/PipelinePass.d.ts +0 -16
  108. package/types/utils/BoolUpdateFlag.d.ts +0 -12
  109. package/types/utils/DisorderedArray.d.ts +0 -18
  110. package/types/utils/UpdateFlag.d.ts +0 -20
  111. package/types/utils/UpdateFlagManager.d.ts +0 -1
  112. package/types/utils/Utils.d.ts +0 -31
  113. package/types/xr/component/XRPoseDriver.d.ts +0 -10
  114. package/types/xr/data/XRCamera.d.ts +0 -6
  115. package/types/xr/data/XRDevice.d.ts +0 -9
  116. package/types/xr/data/XRHandle.d.ts +0 -10
  117. package/types/xr/enum/EnumXRButton.d.ts +0 -5
  118. package/types/xr/enum/EnumXRDevicePhase.d.ts +0 -4
  119. package/types/xr/enum/EnumXRFeature.d.ts +0 -9
  120. package/types/xr/enum/EnumXRInputSource.d.ts +0 -8
  121. package/types/xr/enum/EnumXRMode.d.ts +0 -7
  122. package/types/xr/enum/EnumXRSubsystem.d.ts +0 -4
  123. package/types/xr/enum/EnumXRTrackingMode.d.ts +0 -7
  124. package/types/xr/feature/XRCameraManager.d.ts +0 -21
  125. package/types/xr/feature/XRFeature.d.ts +0 -29
  126. package/types/xr/feature/XRImageTrackManager.d.ts +0 -10
  127. package/types/xr/feature/XRInputManager.d.ts +0 -16
  128. package/types/xr/index.d.ts +0 -18
  129. package/types/xr/provider/XRProvider.d.ts +0 -19
  130. package/types/xr/subsystem/XRInputSubsystem.d.ts +0 -5
  131. package/types/xr/subsystem/XRSubsystem.d.ts +0 -30
  132. /package/types/{animation/internal/AnimationCurveOwnerLayerData.d.ts → enums/CameraType.d.ts} +0 -0
@@ -1,18 +0,0 @@
1
- export { XRManager, registerFeature } from "./XRManager";
2
- export { EnumXRMode } from "./enum/EnumXRMode";
3
- export { EnumXRButton } from "./enum/EnumXRButton";
4
- export { EnumXRFeature } from "./enum/EnumXRFeature";
5
- export { EnumXRSubsystem } from "./enum/EnumXRSubsystem";
6
- export { EnumXRDevicePhase } from "./enum/EnumXRDevicePhase";
7
- export { EnumXRInputSource } from "./enum/EnumXRInputSource";
8
- export { EnumXRTrackingMode } from "./enum/EnumXRTrackingMode";
9
- export { XRInputManager } from "./feature/XRInputManager";
10
- export { XRCameraManager } from "./feature/XRCameraManager";
11
- export { XRImageTrackManager } from "./feature/XRImageTrackManager";
12
- export { XRSubsystem } from "./subsystem/XRSubsystem";
13
- export { XRInputSubsystem } from "./subsystem/XRInputSubsystem";
14
- export { XRProvider } from "./provider/XRProvider";
15
- export { XRPoseDriver } from "./component/XRPoseDriver";
16
- export { XRDevice } from "./data/XRDevice";
17
- export { XRCamera } from "./data/XRCamera";
18
- export { XRHandle } from "./data/XRHandle";
@@ -1,19 +0,0 @@
1
- import { EnumXRMode } from "../enum/EnumXRMode";
2
- import { EnumXRTrackingMode } from "../enum/EnumXRTrackingMode";
3
- import { XRSubsystem } from "../subsystem/XRSubsystem";
4
- import { Engine } from "../../Engine";
5
- import { EnumXRSubsystem } from "../enum/EnumXRSubsystem";
6
- export declare class XRProvider {
7
- name: string;
8
- protected _engine: Engine;
9
- isSupportedMode(mode: EnumXRMode): Promise<void>;
10
- isSupportedTrackingMode(mode: EnumXRTrackingMode): Promise<void>;
11
- isSupportedSubsystem(feature: number): Promise<void>;
12
- createSubsystem<T extends XRSubsystem>(feature: number): Promise<T>;
13
- initialize(mode: EnumXRMode, trackingMode: EnumXRTrackingMode, subsystems: EnumXRSubsystem[]): Promise<XRSubsystem[]>;
14
- start(): Promise<void>;
15
- onUpdate(): void;
16
- onLateUpdate(): void;
17
- onDestroy(): void;
18
- constructor(engine: Engine);
19
- }
@@ -1,5 +0,0 @@
1
- import { XRDevice } from "../data/XRDevice";
2
- import { XRSubsystem } from "./XRSubsystem";
3
- export declare abstract class XRInputSubsystem extends XRSubsystem {
4
- devices: XRDevice[];
5
- }
@@ -1,30 +0,0 @@
1
- import { Engine } from "../../Engine";
2
- export declare abstract class XRSubsystem {
3
- running: boolean;
4
- _engine: Engine;
5
- /**
6
- * Starts an instance of a system.
7
- * This method needs to be override.
8
- * @returns
9
- */
10
- start(): Promise<void>;
11
- /**
12
- * Stops an instance of a system.
13
- * This method needs to be override.
14
- * @returns
15
- */
16
- stop(): Promise<void>;
17
- /**
18
- * Destroys this instance of a system.
19
- * This method needs to be override.
20
- * @returns
21
- */
22
- destroy(): Promise<void>;
23
- /**
24
- * Update this instance of a system.
25
- * This method needs to be override.
26
- * @returns
27
- */
28
- update(): void;
29
- constructor(engine: Engine);
30
- }