@galacean/engine-core 1.1.0-beta.27 → 1.1.0-beta.29

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 (70) hide show
  1. package/dist/main.js +46 -20
  2. package/dist/main.js.map +1 -1
  3. package/dist/miniprogram.js +46 -20
  4. package/dist/module.js +46 -20
  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/xr/XRManager.d.ts +5 -0
  11. package/types/xr/XRPose.d.ts +15 -0
  12. package/types/xr/feature/XRFeature.d.ts +16 -0
  13. package/types/xr/feature/XRFeatureManager.d.ts +65 -0
  14. package/types/xr/feature/XRFeatureType.d.ts +13 -0
  15. package/types/xr/feature/camera/XRCameraManager.d.ts +26 -0
  16. package/types/xr/feature/hitTest/TrackableType.d.ts +10 -0
  17. package/types/xr/feature/hitTest/XRHitResult.d.ts +19 -0
  18. package/types/xr/feature/hitTest/XRHitTest.d.ts +39 -0
  19. package/types/xr/feature/hitTest/XRHitTestManager.d.ts +38 -0
  20. package/types/xr/feature/hitTest/XRHitTestType.d.ts +16 -0
  21. package/types/xr/feature/movementTracking/XRMovementTracking.d.ts +18 -0
  22. package/types/xr/feature/movementTracking/XRMovementTrackingManager.d.ts +10 -0
  23. package/types/xr/feature/movementTracking/XRMovementTrackingMode.d.ts +5 -0
  24. package/types/xr/feature/trackable/XRRequestTracking.d.ts +1 -0
  25. package/types/xr/feature/trackable/XRRequestTrackingState.d.ts +11 -0
  26. package/types/xr/feature/trackable/XRTrackableFeature.d.ts +38 -0
  27. package/types/xr/feature/trackable/XRTrackableManager.d.ts +41 -0
  28. package/types/xr/feature/trackable/XRTracked.d.ts +1 -0
  29. package/types/xr/feature/trackable/anchor/XRAnchor.d.ts +6 -0
  30. package/types/xr/feature/trackable/anchor/XRAnchorTracking.d.ts +37 -0
  31. package/types/xr/feature/trackable/anchor/XRAnchorTrackingManager.d.ts +20 -0
  32. package/types/xr/feature/trackable/anchor/XRRequestAnchor.d.ts +15 -0
  33. package/types/xr/feature/trackable/image/XRImageTracking.d.ts +24 -0
  34. package/types/xr/feature/trackable/image/XRImageTrackingManager.d.ts +31 -0
  35. package/types/xr/feature/trackable/image/XRReferenceImage.d.ts +11 -0
  36. package/types/xr/feature/trackable/image/XRRequestImage.d.ts +13 -0
  37. package/types/xr/feature/trackable/image/XRTrackedImage.d.ts +8 -0
  38. package/types/xr/feature/trackable/plane/XRPlaneMode.d.ts +13 -0
  39. package/types/xr/feature/trackable/plane/XRPlaneTracking.d.ts +23 -0
  40. package/types/xr/feature/trackable/plane/XRPlaneTrackingManager.d.ts +11 -0
  41. package/types/xr/feature/trackable/plane/XRRequestPlane.d.ts +12 -0
  42. package/types/xr/feature/trackable/plane/XRTrackedPlane.d.ts +20 -0
  43. package/types/xr/index.d.ts +25 -0
  44. package/types/xr/input/XRCamera.d.ts +15 -0
  45. package/types/xr/input/XRController.d.ts +38 -0
  46. package/types/xr/input/XRControllerPoseMode.d.ts +9 -0
  47. package/types/xr/input/XRInput.d.ts +8 -0
  48. package/types/xr/input/XRInputButton.d.ts +19 -0
  49. package/types/xr/input/XRInputEvent.d.ts +24 -0
  50. package/types/xr/input/XRInputEventType.d.ts +11 -0
  51. package/types/xr/input/XRInputManager.d.ts +31 -0
  52. package/types/xr/input/XRInputType.d.ts +23 -0
  53. package/types/xr/input/XRTargetRayMode.d.ts +12 -0
  54. package/types/xr/input/XRTrackedInputDevice.d.ts +21 -0
  55. package/types/xr/input/XRTrackedUpdateFlag.d.ts +11 -0
  56. package/types/xr/input/XRTrackingState.d.ts +11 -0
  57. package/types/xr/session/XRSessionManager.d.ts +45 -0
  58. package/types/xr/session/XRSessionMode.d.ts +8 -0
  59. package/types/xr/session/XRSessionState.d.ts +13 -0
  60. package/types/RenderPipeline/MeshRenderData.d.ts +0 -17
  61. package/types/RenderPipeline/MeshRenderElement.d.ts +0 -19
  62. package/types/RenderPipeline/SpriteElement.d.ts +0 -15
  63. package/types/RenderPipeline/SpriteMaskElement.d.ts +0 -12
  64. package/types/RenderPipeline/TextRenderElement.d.ts +0 -8
  65. package/types/asset/IRefObject.d.ts +0 -2
  66. package/types/asset/RefObject.d.ts +0 -27
  67. package/types/base/Event.d.ts +0 -24
  68. package/types/base/Util.d.ts +0 -14
  69. package/types/physics/PhysicsManager.d.ts +0 -78
  70. /package/types/{2d/data/RenderData2D.d.ts → enums/CameraType.d.ts} +0 -0
@@ -1,78 +0,0 @@
1
- import { Ray, Vector3 } from "@galacean/engine-math";
2
- import { Engine } from "../Engine";
3
- import { Layer } from "../Layer";
4
- import { HitResult } from "./HitResult";
5
- /**
6
- * A physics manager is a collection of colliders and constraints which can interact.
7
- */
8
- export declare class PhysicsManager {
9
- private static _collision;
10
- private _engine;
11
- private _restTime;
12
- private _fixedTimeStep;
13
- private _colliders;
14
- private _gravity;
15
- private _nativePhysicsManager;
16
- private _physicalObjectsMap;
17
- private _onContactEnter;
18
- private _onContactExit;
19
- private _onContactStay;
20
- private _onTriggerEnter;
21
- private _onTriggerExit;
22
- private _onTriggerStay;
23
- /**
24
- * The gravity of physics scene.
25
- */
26
- get gravity(): Vector3;
27
- set gravity(value: Vector3);
28
- /** The fixed time step in seconds at which physics are performed. */
29
- get fixedTimeStep(): number;
30
- set fixedTimeStep(value: number);
31
- constructor(engine: Engine);
32
- /**
33
- * Casts a ray through the Scene and returns the first hit.
34
- * @param ray - The ray
35
- * @returns Returns True if the ray intersects with a collider, otherwise false
36
- */
37
- raycast(ray: Ray): boolean;
38
- /**
39
- * Casts a ray through the Scene and returns the first hit.
40
- * @param ray - The ray
41
- * @param outHitResult - If true is returned, outHitResult will contain more detailed collision information
42
- * @returns Returns True if the ray intersects with a collider, otherwise false
43
- */
44
- raycast(ray: Ray, outHitResult: HitResult): boolean;
45
- /**
46
- * Casts a ray through the Scene and returns the first hit.
47
- * @param ray - The ray
48
- * @param distance - The max distance the ray should check
49
- * @returns Returns True if the ray intersects with a collider, otherwise false
50
- */
51
- raycast(ray: Ray, distance: number): boolean;
52
- /**
53
- * Casts a ray through the Scene and returns the first hit.
54
- * @param ray - The ray
55
- * @param distance - The max distance the ray should check
56
- * @param outHitResult - If true is returned, outHitResult will contain more detailed collision information
57
- * @returns Returns True if the ray intersects with a collider, otherwise false
58
- */
59
- raycast(ray: Ray, distance: number, outHitResult: HitResult): boolean;
60
- /**
61
- * Casts a ray through the Scene and returns the first hit.
62
- * @param ray - The ray
63
- * @param distance - The max distance the ray should check
64
- * @param layerMask - Layer mask that is used to selectively ignore Colliders when casting
65
- * @returns Returns True if the ray intersects with a collider, otherwise false
66
- */
67
- raycast(ray: Ray, distance: number, layerMask: Layer): boolean;
68
- /**
69
- * Casts a ray through the Scene and returns the first hit.
70
- * @param ray - The ray
71
- * @param distance - The max distance the ray should check
72
- * @param layerMask - Layer mask that is used to selectively ignore Colliders when casting
73
- * @param outHitResult - If true is returned, outHitResult will contain more detailed collision information
74
- * @returns Returns True if the ray intersects with a collider, otherwise false.
75
- */
76
- raycast(ray: Ray, distance: number, layerMask: Layer, outHitResult: HitResult): boolean;
77
- private _setGravity;
78
- }