@galacean/engine-core 1.0.3 → 1.0.5

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 (159) hide show
  1. package/dist/main.js +3 -2
  2. package/dist/main.js.map +1 -1
  3. package/dist/miniprogram.js +3 -2
  4. package/dist/module.js +3 -2
  5. package/dist/module.js.map +1 -1
  6. package/package.json +3 -3
  7. package/types/animation/AnimatorLayerMask.d.ts +45 -0
  8. package/types/animation/LayerPathMask.d.ts +16 -0
  9. package/types/animation/animationCurve/AnimationStringCurve.d.ts +7 -0
  10. package/types/particle/ParticleGenerator.d.ts +0 -2
  11. package/types/particle/modules/EmissionModule.d.ts +0 -1
  12. package/types/particle/modules/MainModule.d.ts +0 -1
  13. package/types/particle/modules/ParticleGeneratorModule.d.ts +0 -1
  14. package/types/particle/modules/ParticleGradient.d.ts +38 -18
  15. package/types/xr/XRManager.d.ts +3 -29
  16. package/types/xr/XRPose.d.ts +15 -0
  17. package/types/xr/feature/XRFeature.d.ts +13 -26
  18. package/types/xr/feature/XRFeatureManager.d.ts +65 -0
  19. package/types/xr/feature/XRFeatureType.d.ts +13 -0
  20. package/types/xr/feature/camera/XRCameraManager.d.ts +26 -0
  21. package/types/xr/feature/hitTest/TrackableType.d.ts +10 -0
  22. package/types/xr/feature/hitTest/XRHitResult.d.ts +19 -0
  23. package/types/xr/feature/hitTest/XRHitTest.d.ts +39 -0
  24. package/types/xr/feature/hitTest/XRHitTestManager.d.ts +38 -0
  25. package/types/xr/feature/hitTest/XRHitTestType.d.ts +16 -0
  26. package/types/xr/feature/movementTracking/XRMovementTracking.d.ts +18 -0
  27. package/types/xr/feature/movementTracking/XRMovementTrackingManager.d.ts +10 -0
  28. package/types/xr/feature/movementTracking/XRMovementTrackingMode.d.ts +5 -0
  29. package/types/xr/feature/trackable/XRRequestTrackingState.d.ts +11 -0
  30. package/types/xr/feature/trackable/XRTrackableFeature.d.ts +38 -0
  31. package/types/xr/feature/trackable/XRTrackableManager.d.ts +41 -0
  32. package/types/xr/feature/trackable/anchor/XRAnchor.d.ts +6 -0
  33. package/types/xr/feature/trackable/anchor/XRAnchorTracking.d.ts +37 -0
  34. package/types/xr/feature/trackable/anchor/XRAnchorTrackingManager.d.ts +20 -0
  35. package/types/xr/feature/trackable/anchor/XRRequestAnchor.d.ts +15 -0
  36. package/types/xr/feature/trackable/image/XRImageTracking.d.ts +24 -0
  37. package/types/xr/feature/trackable/image/XRImageTrackingManager.d.ts +31 -0
  38. package/types/xr/feature/trackable/image/XRReferenceImage.d.ts +11 -0
  39. package/types/xr/feature/trackable/image/XRRequestImage.d.ts +13 -0
  40. package/types/xr/feature/trackable/image/XRTrackedImage.d.ts +8 -0
  41. package/types/xr/feature/trackable/plane/XRPlaneMode.d.ts +13 -0
  42. package/types/xr/feature/trackable/plane/XRPlaneTracking.d.ts +23 -0
  43. package/types/xr/feature/trackable/plane/XRPlaneTrackingManager.d.ts +11 -0
  44. package/types/xr/feature/trackable/plane/XRRequestPlane.d.ts +12 -0
  45. package/types/xr/feature/trackable/plane/XRTrackedPlane.d.ts +20 -0
  46. package/types/xr/index.d.ts +25 -18
  47. package/types/xr/input/XRCamera.d.ts +15 -0
  48. package/types/xr/input/XRController.d.ts +38 -0
  49. package/types/xr/input/XRControllerPoseMode.d.ts +9 -0
  50. package/types/xr/input/XRInput.d.ts +8 -0
  51. package/types/xr/input/XRInputButton.d.ts +19 -0
  52. package/types/xr/input/XRInputEvent.d.ts +24 -0
  53. package/types/xr/input/XRInputEventType.d.ts +11 -0
  54. package/types/xr/input/XRInputManager.d.ts +31 -0
  55. package/types/xr/input/XRInputType.d.ts +23 -0
  56. package/types/xr/input/XRTargetRayMode.d.ts +12 -0
  57. package/types/xr/input/XRTrackedInputDevice.d.ts +21 -0
  58. package/types/xr/input/XRTrackedUpdateFlag.d.ts +11 -0
  59. package/types/xr/input/XRTrackingState.d.ts +11 -0
  60. package/types/xr/session/XRSessionManager.d.ts +45 -0
  61. package/types/xr/session/XRSessionMode.d.ts +8 -0
  62. package/types/xr/session/XRSessionState.d.ts +13 -0
  63. package/types/RenderPipeline/MeshRenderElement.d.ts +0 -19
  64. package/types/RenderPipeline/RenderElementX.d.ts +0 -12
  65. package/types/RenderPipeline/SpriteElement.d.ts +0 -15
  66. package/types/RenderPipeline/SpriteMaskElement.d.ts +0 -12
  67. package/types/RenderPipeline/TextRenderElement.d.ts +0 -8
  68. package/types/SafeLoopArray.d.ts +0 -37
  69. package/types/Ticker.d.ts +0 -30
  70. package/types/asset/IRefObject.d.ts +0 -2
  71. package/types/asset/RefObject.d.ts +0 -27
  72. package/types/base/Event.d.ts +0 -24
  73. package/types/base/Util.d.ts +0 -14
  74. package/types/particle/ParticleData.d.ts +0 -1
  75. package/types/particle/ParticleMesh.d.ts +0 -289
  76. package/types/particle/ParticleShaderDeclaration.d.ts +0 -1
  77. package/types/particle/ParticleShaderMacro.d.ts +0 -1
  78. package/types/particle/ParticleShaderProperty.d.ts +0 -1
  79. package/types/particle/ParticleSystem.d.ts +0 -41
  80. package/types/particle/ParticleVertexElements.d.ts +0 -1
  81. package/types/particle/ParticleVertexUtils.d.ts +0 -1
  82. package/types/particle/enum/ParticleAnimationRowMode.d.ts +0 -9
  83. package/types/particle/enum/ParticleAnimationType.d.ts +0 -9
  84. package/types/particle/enum/ParticleCurveMode.d.ts +0 -13
  85. package/types/particle/enum/ParticleGradientMode.d.ts +0 -13
  86. package/types/particle/enum/ParticleRenderMode.d.ts +0 -17
  87. package/types/particle/enum/ParticleScaleMode.d.ts +0 -11
  88. package/types/particle/enum/ParticleShapeMultiModeValue.d.ts +0 -9
  89. package/types/particle/enum/ParticleShapeType.d.ts +0 -15
  90. package/types/particle/enum/ParticleSimulationSpace.d.ts +0 -9
  91. package/types/particle/enum/index.d.ts +0 -9
  92. package/types/particle/module/Burst.d.ts +0 -38
  93. package/types/particle/module/ColorGradient.d.ts +0 -75
  94. package/types/particle/module/ColorOverLifetimeModule.d.ts +0 -20
  95. package/types/particle/module/EmissionModule.d.ts +0 -63
  96. package/types/particle/module/FrameOverTime.d.ts +0 -73
  97. package/types/particle/module/ParticleCurve.d.ts +0 -37
  98. package/types/particle/module/RotationOverLifetimeModule.d.ts +0 -21
  99. package/types/particle/module/RotationVelocityGradient.d.ts +0 -184
  100. package/types/particle/module/SizeGradient.d.ts +0 -151
  101. package/types/particle/module/SizeOverLifetimeModule.d.ts +0 -21
  102. package/types/particle/module/StartFrame.d.ts +0 -46
  103. package/types/particle/module/TextureSheetAnimationModule.d.ts +0 -37
  104. package/types/particle/module/VelocityGradient.d.ts +0 -110
  105. package/types/particle/module/VelocityOverLifetimeModule.d.ts +0 -22
  106. package/types/particle/module/index.d.ts +0 -15
  107. package/types/particle/module/shape/BaseShape.d.ts +0 -26
  108. package/types/particle/module/shape/BoxShape.d.ts +0 -20
  109. package/types/particle/module/shape/CircleShape.d.ts +0 -27
  110. package/types/particle/module/shape/ConeShape.d.ts +0 -35
  111. package/types/particle/module/shape/HemisphereShape.d.ts +0 -23
  112. package/types/particle/module/shape/ShapeUtils.d.ts +0 -1
  113. package/types/particle/module/shape/SphereShape.d.ts +0 -23
  114. package/types/particle/module/shape/index.d.ts +0 -5
  115. package/types/particle/modules/ShapeModule.d.ts +0 -9
  116. package/types/particle/modules/shape/enums/ParticleShapeMultiModeValue.d.ts +0 -9
  117. package/types/particle/moudules/Burst.d.ts +0 -25
  118. package/types/particle/moudules/Emission.d.ts +0 -47
  119. package/types/particle/moudules/EmissionModule.d.ts +0 -49
  120. package/types/particle/moudules/MainModule.d.ts +0 -59
  121. package/types/particle/moudules/ParticleCurve.d.ts +0 -27
  122. package/types/particle/moudules/ParticleGradient.d.ts +0 -28
  123. package/types/particle/moudules/ShapeModule.d.ts +0 -7
  124. package/types/particle/moudules/shape/BaseShape.d.ts +0 -28
  125. package/types/particle/moudules/shape/BoxShape.d.ts +0 -20
  126. package/types/particle/moudules/shape/CircleShape.d.ts +0 -27
  127. package/types/particle/moudules/shape/ConeShape.d.ts +0 -35
  128. package/types/particle/moudules/shape/HemisphereShape.d.ts +0 -23
  129. package/types/particle/moudules/shape/ShapeUtils.d.ts +0 -1
  130. package/types/particle/moudules/shape/SphereShape.d.ts +0 -23
  131. package/types/particle/moudules/shape/enums/ParticleShapeMultiModeValue.d.ts +0 -9
  132. package/types/particle/moudules/shape/enums/ParticleShapeType.d.ts +0 -15
  133. package/types/particle/moudules/shape/index.d.ts +0 -5
  134. package/types/shadow/PipelinePass.d.ts +0 -16
  135. package/types/utils/BoolUpdateFlag.d.ts +0 -12
  136. package/types/utils/DisorderedArray.d.ts +0 -18
  137. package/types/utils/UpdateFlag.d.ts +0 -20
  138. package/types/utils/UpdateFlagManager.d.ts +0 -1
  139. package/types/utils/Utils.d.ts +0 -31
  140. package/types/xr/component/XRPoseDriver.d.ts +0 -10
  141. package/types/xr/data/XRCamera.d.ts +0 -6
  142. package/types/xr/data/XRDevice.d.ts +0 -9
  143. package/types/xr/data/XRHandle.d.ts +0 -10
  144. package/types/xr/enum/EnumXRButton.d.ts +0 -5
  145. package/types/xr/enum/EnumXRDevicePhase.d.ts +0 -4
  146. package/types/xr/enum/EnumXRFeature.d.ts +0 -9
  147. package/types/xr/enum/EnumXRInputSource.d.ts +0 -8
  148. package/types/xr/enum/EnumXRMode.d.ts +0 -7
  149. package/types/xr/enum/EnumXRSubsystem.d.ts +0 -4
  150. package/types/xr/enum/EnumXRTrackingMode.d.ts +0 -7
  151. package/types/xr/feature/XRCameraManager.d.ts +0 -21
  152. package/types/xr/feature/XRImageTrackManager.d.ts +0 -10
  153. package/types/xr/feature/XRInputManager.d.ts +0 -16
  154. package/types/xr/provider/XRProvider.d.ts +0 -19
  155. package/types/xr/subsystem/XRInputSubsystem.d.ts +0 -5
  156. package/types/xr/subsystem/XRSubsystem.d.ts +0 -30
  157. /package/types/{2d/data/RenderData2D.d.ts → enums/CameraType.d.ts} +0 -0
  158. /package/types/{animation/internal/AnimationCurveOwnerLayerData.d.ts → xr/feature/trackable/XRRequestTracking.d.ts} +0 -0
  159. /package/types/{graphic/PrimitiveVertexBinding.d.ts → xr/feature/trackable/XRTracked.d.ts} +0 -0
@@ -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
- }