@galacean/engine-core 0.0.0-experimental-1.4-small-language.4 → 0.0.0-experimental-backup.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 (397) hide show
  1. package/package.json +3 -3
  2. package/dist/main.js +0 -36304
  3. package/dist/main.js.map +0 -1
  4. package/dist/module.js +0 -36023
  5. package/dist/module.js.map +0 -1
  6. package/types/2d/assembler/ISpriteAssembler.d.ts +0 -11
  7. package/types/2d/assembler/ISpriteRenderer.d.ts +0 -16
  8. package/types/2d/assembler/SimpleSpriteAssembler.d.ts +0 -13
  9. package/types/2d/assembler/SlicedSpriteAssembler.d.ts +0 -15
  10. package/types/2d/assembler/TiledSpriteAssembler.d.ts +0 -17
  11. package/types/2d/atlas/FontAtlas.d.ts +0 -1
  12. package/types/2d/atlas/SpriteAtlas.d.ts +0 -32
  13. package/types/2d/atlas/types.d.ts +0 -69
  14. package/types/2d/enums/FontStyle.d.ts +0 -11
  15. package/types/2d/enums/SpriteDrawMode.d.ts +0 -11
  16. package/types/2d/enums/SpriteMaskInteraction.d.ts +0 -11
  17. package/types/2d/enums/SpriteModifyFlags.d.ts +0 -23
  18. package/types/2d/enums/SpriteTileMode.d.ts +0 -11
  19. package/types/2d/enums/TextAlignment.d.ts +0 -22
  20. package/types/2d/enums/TextOverflow.d.ts +0 -9
  21. package/types/2d/index.d.ts +0 -17
  22. package/types/2d/sprite/Sprite.d.ts +0 -106
  23. package/types/2d/sprite/SpriteMask.d.ts +0 -70
  24. package/types/2d/sprite/SpriteRenderer.d.ts +0 -95
  25. package/types/2d/sprite/index.d.ts +0 -3
  26. package/types/2d/text/CharInfo.d.ts +0 -1
  27. package/types/2d/text/CharRenderInfo.d.ts +0 -1
  28. package/types/2d/text/Font.d.ts +0 -21
  29. package/types/2d/text/ITextRenderer.d.ts +0 -8
  30. package/types/2d/text/SubFont.d.ts +0 -1
  31. package/types/2d/text/TextRenderer.d.ts +0 -139
  32. package/types/2d/text/TextUtils.d.ts +0 -1
  33. package/types/2d/text/index.d.ts +0 -5
  34. package/types/Background.d.ts +0 -51
  35. package/types/BasicResources.d.ts +0 -2
  36. package/types/BoolUpdateFlag.d.ts +0 -12
  37. package/types/Camera.d.ts +0 -307
  38. package/types/Canvas.d.ts +0 -19
  39. package/types/Component.d.ts +0 -27
  40. package/types/ComponentsDependencies.d.ts +0 -25
  41. package/types/ComponentsManager.d.ts +0 -52
  42. package/types/Engine.d.ts +0 -155
  43. package/types/EngineSettings.d.ts +0 -8
  44. package/types/Entity.d.ts +0 -170
  45. package/types/Layer.d.ts +0 -73
  46. package/types/Platform.d.ts +0 -15
  47. package/types/Polyfill.d.ts +0 -1
  48. package/types/RenderPipeline/BasicRenderPipeline.d.ts +0 -54
  49. package/types/RenderPipeline/BatchUtils.d.ts +0 -1
  50. package/types/RenderPipeline/BatcherManager.d.ts +0 -1
  51. package/types/RenderPipeline/Blitter.d.ts +0 -28
  52. package/types/RenderPipeline/CullingResults.d.ts +0 -1
  53. package/types/RenderPipeline/DepthOnlyPass.d.ts +0 -1
  54. package/types/RenderPipeline/MaskManager.d.ts +0 -1
  55. package/types/RenderPipeline/OpaqueTexturePass.d.ts +0 -1
  56. package/types/RenderPipeline/PipelinePass.d.ts +0 -16
  57. package/types/RenderPipeline/PipelineUtils.d.ts +0 -1
  58. package/types/RenderPipeline/PrimitiveChunk.d.ts +0 -1
  59. package/types/RenderPipeline/PrimitiveChunkManager.d.ts +0 -1
  60. package/types/RenderPipeline/RenderContext.d.ts +0 -1
  61. package/types/RenderPipeline/RenderElement.d.ts +0 -12
  62. package/types/RenderPipeline/RenderQueue.d.ts +0 -1
  63. package/types/RenderPipeline/SubPrimitiveChunk.d.ts +0 -1
  64. package/types/RenderPipeline/SubRenderElement.d.ts +0 -22
  65. package/types/RenderPipeline/VertexArea.d.ts +0 -1
  66. package/types/RenderPipeline/enums/PipelineStage.d.ts +0 -11
  67. package/types/RenderPipeline/enums/RenderQueueMaskType.d.ts +0 -1
  68. package/types/RenderPipeline/index.d.ts +0 -5
  69. package/types/Renderer.d.ts +0 -135
  70. package/types/Scene.d.ts +0 -176
  71. package/types/SceneManager.d.ts +0 -51
  72. package/types/Script.d.ts +0 -144
  73. package/types/SystemInfo.d.ts +0 -16
  74. package/types/Transform.d.ts +0 -266
  75. package/types/UpdateFlag.d.ts +0 -20
  76. package/types/UpdateFlagManager.d.ts +0 -1
  77. package/types/Utils.d.ts +0 -37
  78. package/types/VirtualCamera.d.ts +0 -1
  79. package/types/animation/AnimationClip.d.ts +0 -87
  80. package/types/animation/AnimationClipCurveBinding.d.ts +0 -31
  81. package/types/animation/AnimationEvent.d.ts +0 -11
  82. package/types/animation/Animator.d.ts +0 -153
  83. package/types/animation/AnimatorCondition.d.ts +0 -13
  84. package/types/animation/AnimatorController.d.ts +0 -72
  85. package/types/animation/AnimatorControllerLayer.d.ts +0 -21
  86. package/types/animation/AnimatorControllerParameter.d.ts +0 -14
  87. package/types/animation/AnimatorLayerMask.d.ts +0 -45
  88. package/types/animation/AnimatorState.d.ts +0 -69
  89. package/types/animation/AnimatorStateMachine.d.ts +0 -85
  90. package/types/animation/AnimatorStateTransition.d.ts +0 -59
  91. package/types/animation/AnimatorStateTransitionCollection.d.ts +0 -1
  92. package/types/animation/Keyframe.d.ts +0 -20
  93. package/types/animation/LayerPathMask.d.ts +0 -16
  94. package/types/animation/StateMachineScript.d.ts +0 -32
  95. package/types/animation/animationCurve/AnimationArrayCurve.d.ts +0 -7
  96. package/types/animation/animationCurve/AnimationBoolCurve.d.ts +0 -7
  97. package/types/animation/animationCurve/AnimationColorCurve.d.ts +0 -8
  98. package/types/animation/animationCurve/AnimationCurve.d.ts +0 -39
  99. package/types/animation/animationCurve/AnimationFloatArrayCurve.d.ts +0 -11
  100. package/types/animation/animationCurve/AnimationFloatCurve.d.ts +0 -7
  101. package/types/animation/animationCurve/AnimationQuaternionCurve.d.ts +0 -8
  102. package/types/animation/animationCurve/AnimationRectCurve.d.ts +0 -8
  103. package/types/animation/animationCurve/AnimationRefCurve.d.ts +0 -8
  104. package/types/animation/animationCurve/AnimationStringCurve.d.ts +0 -7
  105. package/types/animation/animationCurve/AnimationVector2Curve.d.ts +0 -8
  106. package/types/animation/animationCurve/AnimationVector3Curve.d.ts +0 -8
  107. package/types/animation/animationCurve/AnimationVector4Curve.d.ts +0 -8
  108. package/types/animation/animationCurve/index.d.ts +0 -13
  109. package/types/animation/animationCurve/interfaces/IAnimationCurveCalculator.d.ts +0 -1
  110. package/types/animation/enums/AnimatorConditionMode.d.ts +0 -17
  111. package/types/animation/enums/AnimatorCullingMode.d.ts +0 -9
  112. package/types/animation/enums/AnimatorLayerBlendingMode.d.ts +0 -4
  113. package/types/animation/enums/AnimatorStatePlayState.d.ts +0 -1
  114. package/types/animation/enums/InterpolationType.d.ts +0 -13
  115. package/types/animation/enums/LayerState.d.ts +0 -15
  116. package/types/animation/enums/PlayState.d.ts +0 -13
  117. package/types/animation/enums/WrapMode.d.ts +0 -9
  118. package/types/animation/index.d.ts +0 -25
  119. package/types/animation/internal/AnimationCurveLayerOwner.d.ts +0 -1
  120. package/types/animation/internal/AnimationEventHandler.d.ts +0 -1
  121. package/types/animation/internal/AnimatorLayerData.d.ts +0 -1
  122. package/types/animation/internal/AnimatorStateData.d.ts +0 -1
  123. package/types/animation/internal/AnimatorStatePlayData.d.ts +0 -1
  124. package/types/animation/internal/AnimatorTempValue.d.ts +0 -1
  125. package/types/animation/internal/animationCurveOwner/AnimationCurveOwner.d.ts +0 -5
  126. package/types/animation/internal/animationCurveOwner/assembler/BlendShapeWeightsAnimationCurveOwnerAssembler.d.ts +0 -1
  127. package/types/animation/internal/animationCurveOwner/assembler/IAnimationCurveOwnerAssembler.d.ts +0 -1
  128. package/types/animation/internal/animationCurveOwner/assembler/PositionAnimationCurveOwnerAssembler.d.ts +0 -1
  129. package/types/animation/internal/animationCurveOwner/assembler/RotationAnimationCurveOwnerAssembler.d.ts +0 -1
  130. package/types/animation/internal/animationCurveOwner/assembler/ScaleAnimationCurveOwnerAssembler.d.ts +0 -1
  131. package/types/animation/internal/animationCurveOwner/assembler/UniversalAnimationCurveOwnerAssembler.d.ts +0 -1
  132. package/types/asset/AssetPromise.d.ts +0 -87
  133. package/types/asset/AssetType.d.ts +0 -66
  134. package/types/asset/ContentRestorer.d.ts +0 -17
  135. package/types/asset/GraphicsResource.d.ts +0 -9
  136. package/types/asset/IReferable.d.ts +0 -2
  137. package/types/asset/LoadItem.d.ts +0 -40
  138. package/types/asset/Loader.d.ts +0 -37
  139. package/types/asset/ReferResource.d.ts +0 -23
  140. package/types/asset/ResourceManager.d.ts +0 -121
  141. package/types/asset/request.d.ts +0 -36
  142. package/types/audio/AudioClip.d.ts +0 -24
  143. package/types/audio/AudioManager.d.ts +0 -1
  144. package/types/audio/AudioSource.d.ts +0 -72
  145. package/types/audio/index.d.ts +0 -3
  146. package/types/base/Constant.d.ts +0 -113
  147. package/types/base/EngineObject.d.ts +0 -25
  148. package/types/base/EventDispatcher.d.ts +0 -66
  149. package/types/base/Logger.d.ts +0 -11
  150. package/types/base/StaticInterfaceImplement.d.ts +0 -5
  151. package/types/base/Time.d.ts +0 -44
  152. package/types/base/index.d.ts +0 -5
  153. package/types/clone/CloneManager.d.ts +0 -31
  154. package/types/clone/ComponentCloner.d.ts +0 -17
  155. package/types/clone/enums/CloneMode.d.ts +0 -13
  156. package/types/enums/ActiveChangeFlag.d.ts +0 -6
  157. package/types/enums/BackgroundMode.d.ts +0 -9
  158. package/types/enums/BackgroundTextureFillMode.d.ts +0 -8
  159. package/types/enums/CameraClearFlags.d.ts +0 -13
  160. package/types/enums/CameraModifyFlags.d.ts +0 -17
  161. package/types/enums/CameraType.d.ts +0 -1
  162. package/types/enums/ColorSpace.d.ts +0 -9
  163. package/types/enums/DepthTextureMode.d.ts +0 -7
  164. package/types/enums/Downsampling.d.ts +0 -11
  165. package/types/enums/EntityModifyFlags.d.ts +0 -9
  166. package/types/enums/FogMode.d.ts +0 -13
  167. package/types/enums/MSAASamples.d.ts +0 -13
  168. package/types/enums/ReplacementFailureStrategy.d.ts +0 -9
  169. package/types/enums/SpriteMaskLayer.d.ts +0 -73
  170. package/types/env-probe/CubeProbe.d.ts +0 -27
  171. package/types/env-probe/Probe.d.ts +0 -52
  172. package/types/env-probe/index.d.ts +0 -2
  173. package/types/graphic/Buffer.d.ts +0 -114
  174. package/types/graphic/BufferUtil.d.ts +0 -12
  175. package/types/graphic/IndexBufferBinding.d.ts +0 -21
  176. package/types/graphic/Mesh.d.ts +0 -58
  177. package/types/graphic/Primitive.d.ts +0 -1
  178. package/types/graphic/SubMesh.d.ts +0 -8
  179. package/types/graphic/SubPrimitive.d.ts +0 -19
  180. package/types/graphic/VertexBufferBinding.d.ts +0 -20
  181. package/types/graphic/VertexElement.d.ts +0 -48
  182. package/types/graphic/enums/BufferBindFlag.d.ts +0 -9
  183. package/types/graphic/enums/BufferUsage.d.ts +0 -11
  184. package/types/graphic/enums/IndexFormat.d.ts +0 -11
  185. package/types/graphic/enums/MeshTopology.d.ts +0 -19
  186. package/types/graphic/enums/SetDataOptions.d.ts +0 -9
  187. package/types/graphic/enums/VertexElementFormat.d.ts +0 -37
  188. package/types/graphic/index.d.ts +0 -15
  189. package/types/index.d.ts +0 -67
  190. package/types/input/InputManager.d.ts +0 -65
  191. package/types/input/enums/Keys.d.ts +0 -398
  192. package/types/input/enums/PointerButton.d.ts +0 -33
  193. package/types/input/enums/PointerPhase.d.ts +0 -15
  194. package/types/input/index.d.ts +0 -8
  195. package/types/input/interface/IInput.d.ts +0 -10
  196. package/types/input/keyboard/KeyboardManager.d.ts +0 -1
  197. package/types/input/pointer/Pointer.d.ts +0 -31
  198. package/types/input/pointer/PointerEventData.d.ts +0 -12
  199. package/types/input/pointer/PointerManager.d.ts +0 -9
  200. package/types/input/pointer/emitter/IHitResult.d.ts +0 -1
  201. package/types/input/pointer/emitter/PhysicsPointerEventEmitter.d.ts +0 -1
  202. package/types/input/pointer/emitter/PointerEventEmitter.d.ts +0 -30
  203. package/types/input/wheel/WheelManager.d.ts +0 -1
  204. package/types/lighting/AmbientLight.d.ts +0 -70
  205. package/types/lighting/DirectLight.d.ts +0 -32
  206. package/types/lighting/KHR_lights.d.ts +0 -4
  207. package/types/lighting/Light.d.ts +0 -47
  208. package/types/lighting/LightManager.d.ts +0 -12
  209. package/types/lighting/PointLight.d.ts +0 -26
  210. package/types/lighting/SpotLight.d.ts +0 -46
  211. package/types/lighting/enums/DiffuseMode.d.ts +0 -13
  212. package/types/lighting/index.d.ts +0 -6
  213. package/types/material/BaseMaterial.d.ts +0 -88
  214. package/types/material/BlinnPhongMaterial.d.ts +0 -68
  215. package/types/material/Material.d.ts +0 -52
  216. package/types/material/PBRBaseMaterial.d.ts +0 -101
  217. package/types/material/PBRMaterial.d.ts +0 -198
  218. package/types/material/PBRSpecularMaterial.d.ts +0 -38
  219. package/types/material/UnlitMaterial.d.ts +0 -33
  220. package/types/material/enums/BlendMode.d.ts +0 -9
  221. package/types/material/enums/Refraction.d.ts +0 -9
  222. package/types/material/enums/RenderFace.d.ts +0 -11
  223. package/types/material/enums/TextureCoordinate.d.ts +0 -13
  224. package/types/material/index.d.ts +0 -11
  225. package/types/material/utils/PrefilteredDFG.d.ts +0 -7
  226. package/types/mesh/BlendShape.d.ts +0 -39
  227. package/types/mesh/BlendShapeFrame.d.ts +0 -44
  228. package/types/mesh/BlendShapeManager.d.ts +0 -1
  229. package/types/mesh/BufferMesh.d.ts +0 -59
  230. package/types/mesh/MeshRenderer.d.ts +0 -25
  231. package/types/mesh/ModelMesh.d.ts +0 -254
  232. package/types/mesh/PrimitiveMesh.d.ts +0 -112
  233. package/types/mesh/PrimitiveMeshRestorer.d.ts +0 -1
  234. package/types/mesh/Skin.d.ts +0 -35
  235. package/types/mesh/SkinnedMeshRenderer.d.ts +0 -50
  236. package/types/mesh/enums/VertexAttribute.d.ts +0 -33
  237. package/types/mesh/index.d.ts +0 -9
  238. package/types/particle/ParticleBufferUtils.d.ts +0 -1
  239. package/types/particle/ParticleGenerator.d.ts +0 -91
  240. package/types/particle/ParticleMaterial.d.ts +0 -28
  241. package/types/particle/ParticleRenderer.d.ts +0 -47
  242. package/types/particle/enums/ParticleCurveMode.d.ts +0 -9
  243. package/types/particle/enums/ParticleGradientMode.d.ts +0 -9
  244. package/types/particle/enums/ParticleRandomSubSeeds.d.ts +0 -1
  245. package/types/particle/enums/ParticleRenderMode.d.ts +0 -17
  246. package/types/particle/enums/ParticleScaleMode.d.ts +0 -11
  247. package/types/particle/enums/ParticleSimulationSpace.d.ts +0 -9
  248. package/types/particle/enums/ParticleStopMode.d.ts +0 -6
  249. package/types/particle/enums/attributes/BillboardParticleVertexAttribute.d.ts +0 -1
  250. package/types/particle/enums/attributes/MeshParticleVertexAttribute.d.ts +0 -5
  251. package/types/particle/enums/attributes/ParticleInstanceVertexAttribute.d.ts +0 -1
  252. package/types/particle/index.d.ts +0 -22
  253. package/types/particle/modules/Burst.d.ts +0 -14
  254. package/types/particle/modules/ColorOverLifetimeModule.d.ts +0 -20
  255. package/types/particle/modules/EmissionModule.d.ts +0 -48
  256. package/types/particle/modules/MainModule.d.ts +0 -104
  257. package/types/particle/modules/ParticleCompositeCurve.d.ts +0 -81
  258. package/types/particle/modules/ParticleCompositeGradient.d.ts +0 -55
  259. package/types/particle/modules/ParticleCurve.d.ts +0 -63
  260. package/types/particle/modules/ParticleGeneratorModule.d.ts +0 -15
  261. package/types/particle/modules/ParticleGradient.d.ts +0 -114
  262. package/types/particle/modules/RotationOverLifetimeModule.d.ts +0 -34
  263. package/types/particle/modules/SizeOverLifetimeModule.d.ts +0 -53
  264. package/types/particle/modules/TextureSheetAnimationModule.d.ts +0 -36
  265. package/types/particle/modules/VelocityOverLifetimeModule.d.ts +0 -55
  266. package/types/particle/modules/shape/BaseShape.d.ts +0 -22
  267. package/types/particle/modules/shape/BoxShape.d.ts +0 -17
  268. package/types/particle/modules/shape/CircleShape.d.ts +0 -35
  269. package/types/particle/modules/shape/ConeShape.d.ts +0 -45
  270. package/types/particle/modules/shape/HemisphereShape.d.ts +0 -14
  271. package/types/particle/modules/shape/ShapeUtils.d.ts +0 -1
  272. package/types/particle/modules/shape/SphereShape.d.ts +0 -14
  273. package/types/particle/modules/shape/enums/ParticleShapeArcMode.d.ts +0 -9
  274. package/types/particle/modules/shape/enums/ParticleShapeType.d.ts +0 -15
  275. package/types/particle/modules/shape/index.d.ts +0 -7
  276. package/types/physics/CharacterController.d.ts +0 -51
  277. package/types/physics/Collider.d.ts +0 -33
  278. package/types/physics/Collision.d.ts +0 -22
  279. package/types/physics/ContactPoint.d.ts +0 -14
  280. package/types/physics/DynamicCollider.d.ts +0 -192
  281. package/types/physics/HitResult.d.ts +0 -18
  282. package/types/physics/PhysicsMaterial.d.ts +0 -42
  283. package/types/physics/PhysicsScene.d.ts +0 -79
  284. package/types/physics/StaticCollider.d.ts +0 -7
  285. package/types/physics/enums/ColliderShapeUpAxis.d.ts +0 -11
  286. package/types/physics/enums/ControllerCollisionFlag.d.ts +0 -11
  287. package/types/physics/enums/ControllerNonWalkableMode.d.ts +0 -9
  288. package/types/physics/enums/HingeJointFlag.d.ts +0 -1
  289. package/types/physics/enums/PhysicsMaterialCombineMode.d.ts +0 -13
  290. package/types/physics/enums/index.d.ts +0 -4
  291. package/types/physics/index.d.ts +0 -12
  292. package/types/physics/joint/FixedJoint.d.ts +0 -4
  293. package/types/physics/joint/HingeJoint.d.ts +0 -61
  294. package/types/physics/joint/Joint.d.ts +0 -81
  295. package/types/physics/joint/JointLimits.d.ts +0 -39
  296. package/types/physics/joint/JointMotor.d.ts +0 -32
  297. package/types/physics/joint/SpringJoint.d.ts +0 -38
  298. package/types/physics/joint/index.d.ts +0 -6
  299. package/types/physics/shape/BoxColliderShape.d.ts +0 -16
  300. package/types/physics/shape/CapsuleColliderShape.d.ts +0 -27
  301. package/types/physics/shape/ColliderShape.d.ts +0 -60
  302. package/types/physics/shape/PlaneColliderShape.d.ts +0 -9
  303. package/types/physics/shape/SphereColliderShape.d.ts +0 -14
  304. package/types/physics/shape/index.d.ts +0 -5
  305. package/types/postProcess/PostProcess.d.ts +0 -64
  306. package/types/postProcess/PostProcessEffect.d.ts +0 -26
  307. package/types/postProcess/PostProcessEffectParameter.d.ts +0 -119
  308. package/types/postProcess/PostProcessManager.d.ts +0 -37
  309. package/types/postProcess/PostProcessPass.d.ts +0 -50
  310. package/types/postProcess/PostProcessUberPass.d.ts +0 -25
  311. package/types/postProcess/effects/BloomEffect.d.ts +0 -50
  312. package/types/postProcess/effects/TonemappingEffect.d.ts +0 -25
  313. package/types/postProcess/effects/index.d.ts +0 -2
  314. package/types/postProcess/index.d.ts +0 -7
  315. package/types/renderingHardwareInterface/IPlatformBuffer.d.ts +0 -7
  316. package/types/renderingHardwareInterface/IPlatformRenderTarget.d.ts +0 -20
  317. package/types/renderingHardwareInterface/IPlatformTexture.d.ts +0 -36
  318. package/types/renderingHardwareInterface/IPlatformTexture2D.d.ts +0 -37
  319. package/types/renderingHardwareInterface/IPlatformTexture2DArray.d.ts +0 -40
  320. package/types/renderingHardwareInterface/IPlatformTextureCube.d.ts +0 -41
  321. package/types/renderingHardwareInterface/index.d.ts +0 -6
  322. package/types/shader/Shader.d.ts +0 -116
  323. package/types/shader/ShaderData.d.ts +0 -350
  324. package/types/shader/ShaderMacro.d.ts +0 -26
  325. package/types/shader/ShaderMacroCollection.d.ts +0 -1
  326. package/types/shader/ShaderPart.d.ts +0 -46
  327. package/types/shader/ShaderPass.d.ts +0 -34
  328. package/types/shader/ShaderPool.d.ts +0 -1
  329. package/types/shader/ShaderProgram.d.ts +0 -1
  330. package/types/shader/ShaderProgramPool.d.ts +0 -1
  331. package/types/shader/ShaderProperty.d.ts +0 -20
  332. package/types/shader/ShaderTagKey.d.ts +0 -16
  333. package/types/shader/ShaderUniform.d.ts +0 -1
  334. package/types/shader/ShaderUniformBlock.d.ts +0 -1
  335. package/types/shader/SubShader.d.ts +0 -18
  336. package/types/shader/enums/BlendFactor.d.ts +0 -32
  337. package/types/shader/enums/BlendOperation.d.ts +0 -16
  338. package/types/shader/enums/ColorWriteMask.d.ts +0 -18
  339. package/types/shader/enums/CompareFunction.d.ts +0 -22
  340. package/types/shader/enums/CullMode.d.ts +0 -12
  341. package/types/shader/enums/RenderQueueType.d.ts +0 -11
  342. package/types/shader/enums/RenderStateElementKey.d.ts +0 -60
  343. package/types/shader/enums/ShaderDataGroup.d.ts +0 -15
  344. package/types/shader/enums/ShaderPlatformTarget.d.ts +0 -4
  345. package/types/shader/enums/ShaderPropertyType.d.ts +0 -27
  346. package/types/shader/enums/ShaderType.d.ts +0 -1
  347. package/types/shader/enums/StencilOperation.d.ts +0 -22
  348. package/types/shader/index.d.ts +0 -19
  349. package/types/shader/state/BlendState.d.ts +0 -16
  350. package/types/shader/state/DepthState.d.ts +0 -14
  351. package/types/shader/state/RasterState.d.ts +0 -13
  352. package/types/shader/state/RenderState.d.ts +0 -21
  353. package/types/shader/state/RenderTargetBlendState.d.ts +0 -24
  354. package/types/shader/state/StencilState.d.ts +0 -34
  355. package/types/shader/state/index.d.ts +0 -6
  356. package/types/shaderlib/ShaderFactory.d.ts +0 -20
  357. package/types/shaderlib/ShaderLib.d.ts +0 -70
  358. package/types/shaderlib/index.d.ts +0 -1
  359. package/types/shaderlib/particle/index.d.ts +0 -14
  360. package/types/shaderlib/pbr/index.d.ts +0 -11
  361. package/types/shaderlib/shadow/index.d.ts +0 -8
  362. package/types/shadow/CascadedShadowCasterPass.d.ts +0 -45
  363. package/types/shadow/ShadowSliceData.d.ts +0 -1
  364. package/types/shadow/ShadowUtils.d.ts +0 -1
  365. package/types/shadow/enum/ShadowCascadesMode.d.ts +0 -11
  366. package/types/shadow/enum/ShadowResolution.d.ts +0 -13
  367. package/types/shadow/enum/ShadowType.d.ts +0 -13
  368. package/types/shadow/index.d.ts +0 -3
  369. package/types/sky/Sky.d.ts +0 -22
  370. package/types/sky/SkyBoxMaterial.d.ts +0 -43
  371. package/types/sky/SkyProceduralMaterial.d.ts +0 -72
  372. package/types/sky/index.d.ts +0 -3
  373. package/types/texture/RenderTarget.d.ts +0 -91
  374. package/types/texture/Texture.d.ts +0 -80
  375. package/types/texture/Texture2D.d.ts +0 -70
  376. package/types/texture/Texture2DArray.d.ts +0 -81
  377. package/types/texture/TextureCube.d.ts +0 -70
  378. package/types/texture/enums/RenderBufferDepthFormat.d.ts +0 -23
  379. package/types/texture/enums/TextureCubeFace.d.ts +0 -17
  380. package/types/texture/enums/TextureDepthCompareFunction.d.ts +0 -21
  381. package/types/texture/enums/TextureFilterMode.d.ts +0 -11
  382. package/types/texture/enums/TextureFormat.d.ts +0 -81
  383. package/types/texture/enums/TextureUsage.d.ts +0 -9
  384. package/types/texture/enums/TextureWrapMode.d.ts +0 -11
  385. package/types/texture/index.d.ts +0 -12
  386. package/types/trail/TrailMaterial.d.ts +0 -5
  387. package/types/trail/TrailRenderer.d.ts +0 -35
  388. package/types/trail/index.d.ts +0 -2
  389. package/types/ui/IUICanvas.d.ts +0 -1
  390. package/types/ui/UIUtils.d.ts +0 -11
  391. package/types/utils/ClearableObjectPool.d.ts +0 -16
  392. package/types/utils/DisorderedArray.d.ts +0 -70
  393. package/types/utils/ObjectPool.d.ts +0 -16
  394. package/types/utils/ReturnableObjectPool.d.ts +0 -16
  395. package/types/utils/SafeLoopArray.d.ts +0 -46
  396. package/types/utils/index.d.ts +0 -4
  397. package/types/xr/XRManager.d.ts +0 -5
@@ -1,15 +0,0 @@
1
- /**
2
- * The emission shape.
3
- */
4
- export declare enum ParticleShapeType {
5
- /** Emit from the volume of a box. */
6
- Box = 0,
7
- /** Emit from a circle. */
8
- Circle = 1,
9
- /** Emit from the base of a cone. */
10
- Cone = 2,
11
- /** Emit from a half-sphere. */
12
- Hemisphere = 3,
13
- /** Emit from a sphere. */
14
- Sphere = 4
15
- }
@@ -1,7 +0,0 @@
1
- export { BoxShape } from "./BoxShape";
2
- export { CircleShape } from "./CircleShape";
3
- export { ConeShape, ConeEmitType } from "./ConeShape";
4
- export { HemisphereShape } from "./HemisphereShape";
5
- export { SphereShape } from "./SphereShape";
6
- export { ParticleShapeArcMode } from "./enums/ParticleShapeArcMode";
7
- export { ParticleShapeType } from "./enums/ParticleShapeType";
@@ -1,51 +0,0 @@
1
- import { Vector3 } from "@galacean/engine-math";
2
- import { Collider } from "./Collider";
3
- import { ControllerNonWalkableMode } from "./enums/ControllerNonWalkableMode";
4
- import { ColliderShape } from "./shape";
5
- /**
6
- * The character controllers.
7
- */
8
- export declare class CharacterController extends Collider {
9
- private _stepOffset;
10
- private _nonWalkableMode;
11
- private _upDirection;
12
- private _slopeLimit;
13
- /**
14
- * The step offset for the controller, the value must be greater than or equal to 0.
15
- * @remarks Character can overcome obstacle less than the height(stepOffset + contractOffset of the shape).
16
- */
17
- get stepOffset(): number;
18
- set stepOffset(value: number);
19
- /**
20
- * The value of the non-walkable mode.
21
- */
22
- get nonWalkableMode(): ControllerNonWalkableMode;
23
- set nonWalkableMode(value: ControllerNonWalkableMode);
24
- /**
25
- * The up direction for the controller.
26
- */
27
- get upDirection(): Vector3;
28
- set upDirection(value: Vector3);
29
- /**
30
- * The slope limit in degrees for the controller, the value is the cosine value of the maximum slope angle.
31
- * @defaultValue 45 degrees
32
- */
33
- get slopeLimit(): number;
34
- set slopeLimit(value: number);
35
- /**
36
- * Moves the character using a "collide-and-slide" algorithm.
37
- * @param disp - Displacement vector
38
- * @param minDist - The minimum travelled distance to consider.
39
- * @param elapsedTime - Time elapsed since last call
40
- * @return flags - The ControllerCollisionFlag
41
- */
42
- move(disp: Vector3, minDist: number, elapsedTime: number): number;
43
- /**
44
- * Add collider shape on this controller.
45
- * @param shape - Collider shape
46
- */
47
- addShape(shape: ColliderShape): void;
48
- protected _syncNative(): void;
49
- private _syncWorldPositionFromPhysicalSpace;
50
- private _setUpDirection;
51
- }
@@ -1,33 +0,0 @@
1
- import { BoolUpdateFlag } from "../BoolUpdateFlag";
2
- import { Component } from "../Component";
3
- import { ColliderShape } from "./shape/ColliderShape";
4
- import { ICustomClone } from "../clone/ComponentCloner";
5
- /**
6
- * Base class for all colliders.
7
- * @decorator `@dependentComponents(Transform, DependentMode.CheckOnly)`
8
- */
9
- export declare class Collider extends Component implements ICustomClone {
10
- protected _updateFlag: BoolUpdateFlag;
11
- protected _shapes: ColliderShape[];
12
- /**
13
- * The shapes of this collider.
14
- */
15
- get shapes(): Readonly<ColliderShape[]>;
16
- /**
17
- * Add collider shape on this collider.
18
- * @param shape - Collider shape
19
- */
20
- addShape(shape: ColliderShape): void;
21
- /**
22
- * Remove a collider shape.
23
- * @param shape - The collider shape.
24
- */
25
- removeShape(shape: ColliderShape): void;
26
- /**
27
- * Remove all shape attached.
28
- */
29
- clearShapes(): void;
30
- protected _syncNative(): void;
31
- protected _addNativeShape(shape: ColliderShape): void;
32
- protected _removeNativeShape(shape: ColliderShape): void;
33
- }
@@ -1,22 +0,0 @@
1
- import { ContactPoint } from "./ContactPoint";
2
- import { ColliderShape } from "./shape";
3
- /**
4
- * Collision information between two shapes when they collide.
5
- */
6
- export declare class Collision {
7
- /** The target shape be collided. */
8
- shape: ColliderShape;
9
- /**
10
- * Count of contact points.
11
- */
12
- get contactCount(): number;
13
- /**
14
- * Get contact points.
15
- * @param outContacts - The result of contact points
16
- * @returns The actual count of contact points
17
- *
18
- * @remarks To optimize performance, the engine does not modify the length of the array you pass.
19
- * You need to obtain the actual number of contact points from the function's return value.
20
- */
21
- getContacts(outContacts: ContactPoint[]): number;
22
- }
@@ -1,14 +0,0 @@
1
- import { Vector3 } from "@galacean/engine-math";
2
- /**
3
- * Describes a contact point where the collision occurs.
4
- */
5
- export declare class ContactPoint {
6
- /** The position of the contact point between the shapes, in world space. */
7
- readonly position: Vector3;
8
- /** The normal of the contacting surfaces at the contact point. The normal direction points from the other shape to the self shape. */
9
- readonly normal: Vector3;
10
- /** The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value. */
11
- readonly impulse: Vector3;
12
- /** The separation of the shapes at the contact point. A negative separation denotes a penetration. */
13
- separation: number;
14
- }
@@ -1,192 +0,0 @@
1
- import { Quaternion, Vector3 } from "@galacean/engine-math";
2
- import { Collider } from "./Collider";
3
- /**
4
- * A dynamic collider can act with self-defined movement or physical force.
5
- */
6
- export declare class DynamicCollider extends Collider {
7
- private static _tempVector3;
8
- private static _tempQuat;
9
- private _linearDamping;
10
- private _angularDamping;
11
- private _linearVelocity;
12
- private _angularVelocity;
13
- private _mass;
14
- private _centerOfMass;
15
- private _inertiaTensor;
16
- private _maxAngularVelocity;
17
- private _maxDepenetrationVelocity;
18
- private _solverIterations;
19
- private _useGravity;
20
- private _isKinematic;
21
- private _constraints;
22
- private _collisionDetectionMode;
23
- private _sleepThreshold;
24
- private _automaticCenterOfMass;
25
- private _automaticInertiaTensor;
26
- /**
27
- * The linear damping of the dynamic collider.
28
- */
29
- get linearDamping(): number;
30
- set linearDamping(value: number);
31
- /**
32
- * The angular damping of the dynamic collider.
33
- */
34
- get angularDamping(): number;
35
- set angularDamping(value: number);
36
- /**
37
- * The linear velocity vector of the dynamic collider measured in world unit per second.
38
- */
39
- get linearVelocity(): Vector3;
40
- set linearVelocity(value: Vector3);
41
- /**
42
- * The angular velocity vector of the dynamic collider measured in degrees per second.
43
- */
44
- get angularVelocity(): Vector3;
45
- set angularVelocity(value: Vector3);
46
- /**
47
- * The mass of the dynamic collider.
48
- */
49
- get mass(): number;
50
- set mass(value: number);
51
- /**
52
- * Whether or not to calculate the center of mass automatically, if true, the center of mass will be calculated based on the associated shapes.
53
- * @remarks Affected by the position, rotation of the shapes.
54
- */
55
- get automaticCenterOfMass(): boolean;
56
- set automaticCenterOfMass(value: boolean);
57
- /**
58
- * The center of mass relative to the transform's origin.
59
- * @remarks The center of mass is automatically calculated, if you want to set it manually, please set automaticCenterOfMass to false.
60
- */
61
- get centerOfMass(): Vector3;
62
- set centerOfMass(value: Vector3);
63
- /**
64
- * Whether or not to calculate the inertia tensor automatically, if true, the inertia tensor will be calculated based on the associated shapes and mass.
65
- * @remarks Affected by the position, rotation of the shapes and the mass of the collider.
66
- */
67
- get automaticInertiaTensor(): boolean;
68
- set automaticInertiaTensor(value: boolean);
69
- /**
70
- * The diagonal inertia tensor of mass relative to the center of mass.
71
- * @remarks The inertia tensor is automatically calculated, if you want to set it manually, please set automaticInertiaTensor to false.
72
- */
73
- get inertiaTensor(): Vector3;
74
- set inertiaTensor(value: Vector3);
75
- /**
76
- * The maximum angular velocity of the collider measured in degrees per second.
77
- */
78
- get maxAngularVelocity(): number;
79
- set maxAngularVelocity(value: number);
80
- /**
81
- * Maximum velocity of a collider when moving out of penetrating state.
82
- */
83
- get maxDepenetrationVelocity(): number;
84
- set maxDepenetrationVelocity(value: number);
85
- /**
86
- * The mass-normalized energy threshold, below which objects start going to sleep.
87
- */
88
- get sleepThreshold(): number;
89
- set sleepThreshold(value: number);
90
- /**
91
- * The solverIterations determines how accurately collider joints and collision contacts are resolved.
92
- */
93
- get solverIterations(): number;
94
- set solverIterations(value: number);
95
- /**
96
- * Controls whether gravity affects the dynamic collider.
97
- */
98
- get useGravity(): boolean;
99
- set useGravity(value: boolean);
100
- /**
101
- * Controls whether physics affects the dynamic collider.
102
- */
103
- get isKinematic(): boolean;
104
- set isKinematic(value: boolean);
105
- /**
106
- * The particular rigid dynamic lock flag.
107
- */
108
- get constraints(): DynamicColliderConstraints;
109
- set constraints(value: DynamicColliderConstraints);
110
- /**
111
- * The colliders' collision detection mode.
112
- */
113
- get collisionDetectionMode(): CollisionDetectionMode;
114
- set collisionDetectionMode(value: CollisionDetectionMode);
115
- /**
116
- * Apply a force to the DynamicCollider.
117
- * @param force - The force make the collider move
118
- */
119
- applyForce(force: Vector3): void;
120
- /**
121
- * Apply a torque to the DynamicCollider.
122
- * @param torque - The force make the collider rotate
123
- */
124
- applyTorque(torque: Vector3): void;
125
- /**
126
- * Moves kinematically controlled dynamic actors through the game world.
127
- * @param position - The desired position for the kinematic actor
128
- */
129
- move(position: Vector3): void;
130
- /**
131
- * Moves kinematically controlled dynamic actors through the game world.
132
- * @param rotation - The desired rotation for the kinematic actor
133
- */
134
- move(rotation: Quaternion): void;
135
- /**
136
- * Moves kinematically controlled dynamic actors through the game world.
137
- * @param position - The desired position for the kinematic actor
138
- * @param rotation - The desired rotation for the kinematic actor
139
- */
140
- move(position: Vector3, rotation: Quaternion): void;
141
- /**
142
- * Forces a collider to sleep at least one frame.
143
- */
144
- sleep(): void;
145
- /**
146
- * Returns whether the collider is sleeping.
147
- * @returns True if the collider is sleeping, false otherwise.
148
- */
149
- isSleeping(): boolean;
150
- /**
151
- * Forces a collider to wake up.
152
- */
153
- wakeUp(): void;
154
- protected _syncNative(): void;
155
- private _setMassAndUpdateInertia;
156
- private _setLinearVelocity;
157
- private _setAngularVelocity;
158
- private _handleCenterOfMassChanged;
159
- private _handleInertiaTensorChanged;
160
- }
161
- /**
162
- * The collision detection mode constants.
163
- */
164
- export declare enum CollisionDetectionMode {
165
- /** Continuous collision detection is off for this dynamic collider. */
166
- Discrete = 0,
167
- /** Continuous collision detection is on for colliding with static mesh geometry. */
168
- Continuous = 1,
169
- /** Continuous collision detection is on for colliding with static and dynamic geometry. */
170
- ContinuousDynamic = 2,
171
- /** Speculative continuous collision detection is on for static and dynamic geometries */
172
- ContinuousSpeculative = 3
173
- }
174
- /**
175
- * Use these flags to constrain motion of dynamic collider.
176
- */
177
- export declare enum DynamicColliderConstraints {
178
- /** Not Freeze. */
179
- None = 0,
180
- /** Freeze motion along the X-axis. */
181
- FreezePositionX = 1,
182
- /** Freeze motion along the Y-axis. */
183
- FreezePositionY = 2,
184
- /** Freeze motion along the Z-axis. */
185
- FreezePositionZ = 4,
186
- /** Freeze rotation along the X-axis. */
187
- FreezeRotationX = 8,
188
- /** Freeze rotation along the Y-axis. */
189
- FreezeRotationY = 16,
190
- /** Freeze rotation along the Z-axis. */
191
- FreezeRotationZ = 32
192
- }
@@ -1,18 +0,0 @@
1
- import { Vector3 } from "@galacean/engine-math";
2
- import { Entity } from "../Entity";
3
- import { ColliderShape } from "./shape";
4
- /**
5
- * Structure used to get information back from a raycast or a sweep.
6
- */
7
- export declare class HitResult {
8
- /** The entity that was hit. */
9
- entity: Entity;
10
- /** The distance from the ray's origin to the impact point. */
11
- distance: number;
12
- /** The impact point in world space where the ray hit the collider. */
13
- point: Vector3;
14
- /** The normal of the surface the ray hit. */
15
- normal: Vector3;
16
- /** The shape of the collider that was hit. */
17
- shape: ColliderShape;
18
- }
@@ -1,42 +0,0 @@
1
- import { PhysicsMaterialCombineMode } from "./enums/PhysicsMaterialCombineMode";
2
- /**
3
- * Material class to represent a set of surface properties.
4
- */
5
- export declare class PhysicsMaterial {
6
- private _bounciness;
7
- private _dynamicFriction;
8
- private _staticFriction;
9
- private _bounceCombine;
10
- private _frictionCombine;
11
- private _destroyed;
12
- constructor();
13
- /**
14
- * The coefficient of bounciness, ranging from 0 to 1.
15
- */
16
- get bounciness(): number;
17
- set bounciness(value: number);
18
- /**
19
- * The DynamicFriction value.
20
- */
21
- get dynamicFriction(): number;
22
- set dynamicFriction(value: number);
23
- /**
24
- * The coefficient of static friction.
25
- */
26
- get staticFriction(): number;
27
- set staticFriction(value: number);
28
- /**
29
- * The restitution combine mode.
30
- */
31
- get bounceCombine(): PhysicsMaterialCombineMode;
32
- set bounceCombine(value: PhysicsMaterialCombineMode);
33
- /**
34
- * The friction combine mode.
35
- */
36
- get frictionCombine(): PhysicsMaterialCombineMode;
37
- set frictionCombine(value: PhysicsMaterialCombineMode);
38
- /**
39
- * Destroy the material when the material is no be used by any shape.
40
- */
41
- destroy(): void;
42
- }
@@ -1,79 +0,0 @@
1
- import { Ray, Vector3 } from "@galacean/engine-math";
2
- import { Layer } from "../Layer";
3
- import { Scene } from "../Scene";
4
- import { HitResult } from "./HitResult";
5
- /**
6
- * A physics scene is a collection of colliders and constraints which can interact.
7
- */
8
- export declare class PhysicsScene {
9
- private static _collision;
10
- private _scene;
11
- private _restTime;
12
- private _fixedTimeStep;
13
- private _colliders;
14
- private _gravity;
15
- private _nativePhysicsScene;
16
- private _onContactEnter;
17
- private _onContactExit;
18
- private _onContactStay;
19
- private _onTriggerEnter;
20
- private _onTriggerExit;
21
- private _onTriggerStay;
22
- /**
23
- * The gravity of physics scene.
24
- */
25
- get gravity(): Vector3;
26
- set gravity(value: Vector3);
27
- /**
28
- * The fixed time step in seconds at which physics are performed.
29
- */
30
- get fixedTimeStep(): number;
31
- set fixedTimeStep(value: number);
32
- constructor(scene: Scene);
33
- /**
34
- * Casts a ray through the Scene and returns the first hit.
35
- * @param ray - The ray
36
- * @returns Returns True if the ray intersects with a collider, otherwise false
37
- */
38
- raycast(ray: Ray): boolean;
39
- /**
40
- * Casts a ray through the Scene and returns the first hit.
41
- * @param ray - The ray
42
- * @param outHitResult - If true is returned, outHitResult will contain more detailed collision information
43
- * @returns Returns True if the ray intersects with a collider, otherwise false
44
- */
45
- raycast(ray: Ray, outHitResult: HitResult): boolean;
46
- /**
47
- * Casts a ray through the Scene and returns the first hit.
48
- * @param ray - The ray
49
- * @param distance - The max distance the ray should check
50
- * @returns Returns True if the ray intersects with a collider, otherwise false
51
- */
52
- raycast(ray: Ray, distance: number): boolean;
53
- /**
54
- * Casts a ray through the Scene and returns the first hit.
55
- * @param ray - The ray
56
- * @param distance - The max distance the ray should check
57
- * @param outHitResult - If true is returned, outHitResult will contain more detailed collision information
58
- * @returns Returns True if the ray intersects with a collider, otherwise false
59
- */
60
- raycast(ray: Ray, distance: number, outHitResult: HitResult): boolean;
61
- /**
62
- * Casts a ray through the Scene and returns the first hit.
63
- * @param ray - The ray
64
- * @param distance - The max distance the ray should check
65
- * @param layerMask - Layer mask that is used to selectively ignore Colliders when casting
66
- * @returns Returns True if the ray intersects with a collider, otherwise false
67
- */
68
- raycast(ray: Ray, distance: number, layerMask: Layer): boolean;
69
- /**
70
- * Casts a ray through the Scene and returns the first hit.
71
- * @param ray - The ray
72
- * @param distance - The max distance the ray should check
73
- * @param layerMask - Layer mask that is used to selectively ignore Colliders when casting
74
- * @param outHitResult - If true is returned, outHitResult will contain more detailed collision information
75
- * @returns Returns True if the ray intersects with a collider, otherwise false.
76
- */
77
- raycast(ray: Ray, distance: number, layerMask: Layer, outHitResult: HitResult): boolean;
78
- private _setGravity;
79
- }
@@ -1,7 +0,0 @@
1
- import { Collider } from "./Collider";
2
- /**
3
- * A static collider component that will not move.
4
- * @remarks Mostly used for object which always stays at the same place and never moves around.
5
- */
6
- export declare class StaticCollider extends Collider {
7
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * The up axis of the collider shape.
3
- */
4
- export declare enum ColliderShapeUpAxis {
5
- /** Up axis is X. */
6
- X = 0,
7
- /** Up axis is Y. */
8
- Y = 1,
9
- /** Up axis is Z. */
10
- Z = 2
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * The up axis of the collider shape.
3
- */
4
- export declare enum ControllerCollisionFlag {
5
- /** Character is colliding to the sides. */
6
- Sides = 1,
7
- /** Character has collision above. */
8
- Up = 2,
9
- /** Character has collision below. */
10
- Down = 4
11
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * The up axis of the collider shape.
3
- */
4
- export declare enum ControllerNonWalkableMode {
5
- /** Stops character from climbing up non-walkable slopes, but doesn't move it otherwise. */
6
- PreventClimbing = 0,
7
- /** Stops character from climbing up non-walkable slopes, and forces it to slide down those slopes. */
8
- PreventClimbingAndForceSliding = 1
9
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- /**
2
- * Describes how physics materials of the colliding objects are combined.
3
- */
4
- export declare enum PhysicsMaterialCombineMode {
5
- /** Averages the friction/bounce of the two colliding materials. */
6
- Average = 0,
7
- /** Uses the smaller friction/bounce of the two colliding materials. */
8
- Minimum = 1,
9
- /** Multiplies the friction/bounce of the two colliding materials. */
10
- Multiply = 2,
11
- /** Uses the larger friction/bounce of the two colliding materials. */
12
- Maximum = 3
13
- }
@@ -1,4 +0,0 @@
1
- export * from "./PhysicsMaterialCombineMode";
2
- export * from "./ColliderShapeUpAxis";
3
- export * from "./ControllerCollisionFlag";
4
- export * from "./ControllerNonWalkableMode";
@@ -1,12 +0,0 @@
1
- export { CharacterController } from "./CharacterController";
2
- export { Collider } from "./Collider";
3
- export { CollisionDetectionMode, DynamicCollider, DynamicColliderConstraints } from "./DynamicCollider";
4
- export { HitResult } from "./HitResult";
5
- export { PhysicsMaterial } from "./PhysicsMaterial";
6
- export { PhysicsScene } from "./PhysicsScene";
7
- export { StaticCollider } from "./StaticCollider";
8
- export { Collision } from "./Collision";
9
- export { ContactPoint } from "./ContactPoint";
10
- export * from "./enums";
11
- export * from "./joint";
12
- export * from "./shape";
@@ -1,4 +0,0 @@
1
- import { Joint } from "./Joint";
2
- export declare class FixedJoint extends Joint {
3
- protected _createJoint(): void;
4
- }
@@ -1,61 +0,0 @@
1
- import { Vector3 } from "@galacean/engine-math";
2
- import { Joint } from "./Joint";
3
- import { JointLimits } from "./JointLimits";
4
- import { JointMotor } from "./JointMotor";
5
- import { Entity } from "../../Entity";
6
- /**
7
- * A joint which behaves in a similar way to a hinge or axle.
8
- */
9
- export declare class HingeJoint extends Joint {
10
- private _axis;
11
- private _hingeFlags;
12
- private _useSpring;
13
- private _jointMotor;
14
- private _limits;
15
- private _angle;
16
- private _velocity;
17
- /**
18
- * The Direction of the axis around which the hingeJoint.
19
- */
20
- get axis(): Vector3;
21
- set axis(value: Vector3);
22
- /**
23
- * The current angle in degrees of the joint relative to its rest position.
24
- */
25
- get angle(): number;
26
- /**
27
- * The angular velocity of the joint in degrees per second.
28
- */
29
- get velocity(): Readonly<number>;
30
- /**
31
- * Enables the joint's limits. Disabled by default.
32
- */
33
- get useLimits(): boolean;
34
- set useLimits(value: boolean);
35
- /**
36
- * Enables the joint's motor. Disabled by default.
37
- */
38
- get useMotor(): boolean;
39
- set useMotor(value: boolean);
40
- /**
41
- * Enables the joint's spring. Disabled by default.
42
- */
43
- get useSpring(): boolean;
44
- set useSpring(value: boolean);
45
- /**
46
- * The motor will apply a force up to a maximum force to achieve the target velocity in degrees per second.
47
- */
48
- get motor(): JointMotor;
49
- set motor(value: JointMotor);
50
- /**
51
- * Limit of angular rotation (in degrees) on the hinge joint.
52
- */
53
- get limits(): JointLimits;
54
- set limits(value: JointLimits);
55
- constructor(entity: Entity);
56
- protected _createJoint(): void;
57
- protected _syncNative(): void;
58
- private _onMotorChanged;
59
- private _onLimitsChanged;
60
- private _onAxisChanged;
61
- }