@galacean/engine-core 1.6.7 → 1.6.8
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.
- package/package.json +3 -3
- package/dist/main.js +0 -37541
- package/dist/main.js.map +0 -1
- package/dist/module.js +0 -37259
- package/dist/module.js.map +0 -1
- package/types/2d/assembler/ISpriteAssembler.d.ts +0 -11
- package/types/2d/assembler/ISpriteRenderer.d.ts +0 -16
- package/types/2d/assembler/SimpleSpriteAssembler.d.ts +0 -13
- package/types/2d/assembler/SlicedSpriteAssembler.d.ts +0 -15
- package/types/2d/assembler/TiledSpriteAssembler.d.ts +0 -17
- package/types/2d/atlas/FontAtlas.d.ts +0 -1
- package/types/2d/atlas/SpriteAtlas.d.ts +0 -32
- package/types/2d/atlas/types.d.ts +0 -69
- package/types/2d/enums/FontStyle.d.ts +0 -11
- package/types/2d/enums/SpriteDrawMode.d.ts +0 -11
- package/types/2d/enums/SpriteMaskInteraction.d.ts +0 -11
- package/types/2d/enums/SpriteModifyFlags.d.ts +0 -23
- package/types/2d/enums/SpriteTileMode.d.ts +0 -11
- package/types/2d/enums/TextAlignment.d.ts +0 -22
- package/types/2d/enums/TextOverflow.d.ts +0 -9
- package/types/2d/index.d.ts +0 -16
- package/types/2d/sprite/Sprite.d.ts +0 -106
- package/types/2d/sprite/SpriteMask.d.ts +0 -70
- package/types/2d/sprite/SpriteRenderer.d.ts +0 -95
- package/types/2d/sprite/index.d.ts +0 -3
- package/types/2d/text/CharInfo.d.ts +0 -1
- package/types/2d/text/CharRenderInfo.d.ts +0 -1
- package/types/2d/text/Font.d.ts +0 -21
- package/types/2d/text/ITextRenderer.d.ts +0 -8
- package/types/2d/text/SubFont.d.ts +0 -1
- package/types/2d/text/TextRenderer.d.ts +0 -122
- package/types/2d/text/TextUtils.d.ts +0 -1
- package/types/2d/text/index.d.ts +0 -5
- package/types/Background.d.ts +0 -53
- package/types/BasicResources.d.ts +0 -2
- package/types/BoolUpdateFlag.d.ts +0 -12
- package/types/Camera.d.ts +0 -321
- package/types/Canvas.d.ts +0 -19
- package/types/Component.d.ts +0 -27
- package/types/ComponentsDependencies.d.ts +0 -25
- package/types/ComponentsManager.d.ts +0 -52
- package/types/Engine.d.ts +0 -150
- package/types/EngineSettings.d.ts +0 -5
- package/types/Entity.d.ts +0 -171
- package/types/Layer.d.ts +0 -73
- package/types/Platform.d.ts +0 -15
- package/types/Polyfill.d.ts +0 -1
- package/types/RenderPipeline/BasicRenderPipeline.d.ts +0 -55
- package/types/RenderPipeline/BatchUtils.d.ts +0 -1
- package/types/RenderPipeline/BatcherManager.d.ts +0 -1
- package/types/RenderPipeline/Blitter.d.ts +0 -28
- package/types/RenderPipeline/CullingResults.d.ts +0 -1
- package/types/RenderPipeline/DepthOnlyPass.d.ts +0 -1
- package/types/RenderPipeline/MaskManager.d.ts +0 -1
- package/types/RenderPipeline/OpaqueTexturePass.d.ts +0 -1
- package/types/RenderPipeline/PipelinePass.d.ts +0 -16
- package/types/RenderPipeline/PipelineUtils.d.ts +0 -1
- package/types/RenderPipeline/PrimitiveChunk.d.ts +0 -1
- package/types/RenderPipeline/PrimitiveChunkManager.d.ts +0 -1
- package/types/RenderPipeline/RenderContext.d.ts +0 -1
- package/types/RenderPipeline/RenderElement.d.ts +0 -12
- package/types/RenderPipeline/RenderQueue.d.ts +0 -1
- package/types/RenderPipeline/SubPrimitiveChunk.d.ts +0 -1
- package/types/RenderPipeline/SubRenderElement.d.ts +0 -22
- package/types/RenderPipeline/VertexArea.d.ts +0 -1
- package/types/RenderPipeline/enums/PipelineStage.d.ts +0 -11
- package/types/RenderPipeline/enums/RenderQueueMaskType.d.ts +0 -1
- package/types/RenderPipeline/index.d.ts +0 -5
- package/types/Renderer.d.ts +0 -135
- package/types/Scene.d.ts +0 -183
- package/types/SceneManager.d.ts +0 -51
- package/types/Script.d.ts +0 -144
- package/types/SystemInfo.d.ts +0 -27
- package/types/Transform.d.ts +0 -304
- package/types/UpdateFlag.d.ts +0 -20
- package/types/UpdateFlagManager.d.ts +0 -1
- package/types/Utils.d.ts +0 -37
- package/types/VirtualCamera.d.ts +0 -1
- package/types/animation/AnimationClip.d.ts +0 -87
- package/types/animation/AnimationClipCurveBinding.d.ts +0 -31
- package/types/animation/AnimationEvent.d.ts +0 -11
- package/types/animation/Animator.d.ts +0 -154
- package/types/animation/AnimatorCondition.d.ts +0 -13
- package/types/animation/AnimatorController.d.ts +0 -72
- package/types/animation/AnimatorControllerLayer.d.ts +0 -21
- package/types/animation/AnimatorControllerParameter.d.ts +0 -14
- package/types/animation/AnimatorLayerMask.d.ts +0 -45
- package/types/animation/AnimatorState.d.ts +0 -69
- package/types/animation/AnimatorStateMachine.d.ts +0 -85
- package/types/animation/AnimatorStateTransition.d.ts +0 -59
- package/types/animation/AnimatorStateTransitionCollection.d.ts +0 -1
- package/types/animation/Keyframe.d.ts +0 -20
- package/types/animation/LayerPathMask.d.ts +0 -16
- package/types/animation/StateMachineScript.d.ts +0 -32
- package/types/animation/animationCurve/AnimationArrayCurve.d.ts +0 -7
- package/types/animation/animationCurve/AnimationBoolCurve.d.ts +0 -7
- package/types/animation/animationCurve/AnimationColorCurve.d.ts +0 -8
- package/types/animation/animationCurve/AnimationCurve.d.ts +0 -39
- package/types/animation/animationCurve/AnimationFloatArrayCurve.d.ts +0 -11
- package/types/animation/animationCurve/AnimationFloatCurve.d.ts +0 -7
- package/types/animation/animationCurve/AnimationQuaternionCurve.d.ts +0 -8
- package/types/animation/animationCurve/AnimationRectCurve.d.ts +0 -8
- package/types/animation/animationCurve/AnimationRefCurve.d.ts +0 -8
- package/types/animation/animationCurve/AnimationStringCurve.d.ts +0 -7
- package/types/animation/animationCurve/AnimationVector2Curve.d.ts +0 -8
- package/types/animation/animationCurve/AnimationVector3Curve.d.ts +0 -8
- package/types/animation/animationCurve/AnimationVector4Curve.d.ts +0 -8
- package/types/animation/animationCurve/index.d.ts +0 -13
- package/types/animation/animationCurve/interfaces/IAnimationCurveCalculator.d.ts +0 -1
- package/types/animation/enums/AnimatorConditionMode.d.ts +0 -17
- package/types/animation/enums/AnimatorCullingMode.d.ts +0 -9
- package/types/animation/enums/AnimatorLayerBlendingMode.d.ts +0 -4
- package/types/animation/enums/AnimatorStatePlayState.d.ts +0 -1
- package/types/animation/enums/InterpolationType.d.ts +0 -13
- package/types/animation/enums/LayerState.d.ts +0 -15
- package/types/animation/enums/PlayState.d.ts +0 -13
- package/types/animation/enums/WrapMode.d.ts +0 -9
- package/types/animation/index.d.ts +0 -25
- package/types/animation/internal/AnimationCurveLayerOwner.d.ts +0 -1
- package/types/animation/internal/AnimationEventHandler.d.ts +0 -1
- package/types/animation/internal/AnimatorLayerData.d.ts +0 -1
- package/types/animation/internal/AnimatorStateData.d.ts +0 -1
- package/types/animation/internal/AnimatorStatePlayData.d.ts +0 -1
- package/types/animation/internal/AnimatorTempValue.d.ts +0 -1
- package/types/animation/internal/animationCurveOwner/AnimationCurveOwner.d.ts +0 -5
- package/types/animation/internal/animationCurveOwner/assembler/BlendShapeWeightsAnimationCurveOwnerAssembler.d.ts +0 -1
- package/types/animation/internal/animationCurveOwner/assembler/IAnimationCurveOwnerAssembler.d.ts +0 -1
- package/types/animation/internal/animationCurveOwner/assembler/PositionAnimationCurveOwnerAssembler.d.ts +0 -1
- package/types/animation/internal/animationCurveOwner/assembler/RotationAnimationCurveOwnerAssembler.d.ts +0 -1
- package/types/animation/internal/animationCurveOwner/assembler/ScaleAnimationCurveOwnerAssembler.d.ts +0 -1
- package/types/animation/internal/animationCurveOwner/assembler/UniversalAnimationCurveOwnerAssembler.d.ts +0 -1
- package/types/asset/AssetPromise.d.ts +0 -88
- package/types/asset/AssetType.d.ts +0 -66
- package/types/asset/ContentRestorer.d.ts +0 -17
- package/types/asset/GraphicsResource.d.ts +0 -9
- package/types/asset/IReferable.d.ts +0 -2
- package/types/asset/LoadItem.d.ts +0 -40
- package/types/asset/Loader.d.ts +0 -37
- package/types/asset/ReferResource.d.ts +0 -23
- package/types/asset/ResourceManager.d.ts +0 -121
- package/types/asset/request.d.ts +0 -36
- package/types/audio/AudioClip.d.ts +0 -24
- package/types/audio/AudioManager.d.ts +0 -1
- package/types/audio/AudioSource.d.ts +0 -72
- package/types/audio/index.d.ts +0 -3
- package/types/base/Constant.d.ts +0 -116
- package/types/base/EngineObject.d.ts +0 -25
- package/types/base/EventDispatcher.d.ts +0 -66
- package/types/base/Logger.d.ts +0 -11
- package/types/base/StaticInterfaceImplement.d.ts +0 -5
- package/types/base/Time.d.ts +0 -44
- package/types/base/index.d.ts +0 -5
- package/types/clone/CloneManager.d.ts +0 -31
- package/types/clone/ComponentCloner.d.ts +0 -17
- package/types/clone/enums/CloneMode.d.ts +0 -13
- package/types/enums/ActiveChangeFlag.d.ts +0 -6
- package/types/enums/AntiAliasing.d.ts +0 -7
- package/types/enums/BackgroundMode.d.ts +0 -9
- package/types/enums/BackgroundTextureFillMode.d.ts +0 -8
- package/types/enums/CameraClearFlags.d.ts +0 -13
- package/types/enums/CameraModifyFlags.d.ts +0 -17
- package/types/enums/CameraType.d.ts +0 -1
- package/types/enums/DepthTextureMode.d.ts +0 -7
- package/types/enums/Downsampling.d.ts +0 -11
- package/types/enums/EntityModifyFlags.d.ts +0 -9
- package/types/enums/FogMode.d.ts +0 -13
- package/types/enums/MSAASamples.d.ts +0 -13
- package/types/enums/ReplacementFailureStrategy.d.ts +0 -9
- package/types/enums/SpriteMaskLayer.d.ts +0 -73
- package/types/env-probe/CubeProbe.d.ts +0 -27
- package/types/env-probe/Probe.d.ts +0 -52
- package/types/env-probe/index.d.ts +0 -2
- package/types/graphic/Buffer.d.ts +0 -114
- package/types/graphic/BufferUtil.d.ts +0 -12
- package/types/graphic/IndexBufferBinding.d.ts +0 -21
- package/types/graphic/Mesh.d.ts +0 -58
- package/types/graphic/Primitive.d.ts +0 -1
- package/types/graphic/SubMesh.d.ts +0 -8
- package/types/graphic/SubPrimitive.d.ts +0 -19
- package/types/graphic/VertexBufferBinding.d.ts +0 -20
- package/types/graphic/VertexElement.d.ts +0 -48
- package/types/graphic/enums/BufferBindFlag.d.ts +0 -9
- package/types/graphic/enums/BufferUsage.d.ts +0 -11
- package/types/graphic/enums/IndexFormat.d.ts +0 -11
- package/types/graphic/enums/MeshTopology.d.ts +0 -19
- package/types/graphic/enums/SetDataOptions.d.ts +0 -9
- package/types/graphic/enums/VertexElementFormat.d.ts +0 -37
- package/types/graphic/index.d.ts +0 -15
- package/types/index.d.ts +0 -67
- package/types/input/InputManager.d.ts +0 -65
- package/types/input/enums/Keys.d.ts +0 -398
- package/types/input/enums/PointerButton.d.ts +0 -33
- package/types/input/enums/PointerPhase.d.ts +0 -15
- package/types/input/index.d.ts +0 -8
- package/types/input/interface/IInput.d.ts +0 -10
- package/types/input/keyboard/KeyboardManager.d.ts +0 -1
- package/types/input/pointer/Pointer.d.ts +0 -31
- package/types/input/pointer/PointerEventData.d.ts +0 -12
- package/types/input/pointer/PointerManager.d.ts +0 -9
- package/types/input/pointer/emitter/IHitResult.d.ts +0 -1
- package/types/input/pointer/emitter/PhysicsPointerEventEmitter.d.ts +0 -1
- package/types/input/pointer/emitter/PointerEventEmitter.d.ts +0 -30
- package/types/input/wheel/WheelManager.d.ts +0 -1
- package/types/lighting/AmbientLight.d.ts +0 -70
- package/types/lighting/DirectLight.d.ts +0 -32
- package/types/lighting/KHR_lights.d.ts +0 -4
- package/types/lighting/Light.d.ts +0 -45
- package/types/lighting/LightManager.d.ts +0 -12
- package/types/lighting/PointLight.d.ts +0 -26
- package/types/lighting/SpotLight.d.ts +0 -45
- package/types/lighting/ambientOcclusion/AmbientOcclusion.d.ts +0 -79
- package/types/lighting/ambientOcclusion/ScalableAmbientObscurancePass.d.ts +0 -1
- package/types/lighting/ambientOcclusion/index.d.ts +0 -2
- package/types/lighting/enums/AmbientOcclusionQuality.d.ts +0 -11
- package/types/lighting/enums/DiffuseMode.d.ts +0 -13
- package/types/lighting/index.d.ts +0 -7
- package/types/material/BaseMaterial.d.ts +0 -88
- package/types/material/BlinnPhongMaterial.d.ts +0 -68
- package/types/material/Material.d.ts +0 -52
- package/types/material/PBRMaterial.d.ts +0 -311
- package/types/material/UnlitMaterial.d.ts +0 -33
- package/types/material/enums/BlendMode.d.ts +0 -9
- package/types/material/enums/Refraction.d.ts +0 -9
- package/types/material/enums/RenderFace.d.ts +0 -11
- package/types/material/enums/TextureCoordinate.d.ts +0 -13
- package/types/material/index.d.ts +0 -9
- package/types/material/utils/PrefilteredDFG.d.ts +0 -7
- package/types/mesh/BlendShape.d.ts +0 -39
- package/types/mesh/BlendShapeFrame.d.ts +0 -44
- package/types/mesh/BlendShapeManager.d.ts +0 -1
- package/types/mesh/BufferMesh.d.ts +0 -59
- package/types/mesh/MeshRenderer.d.ts +0 -25
- package/types/mesh/ModelMesh.d.ts +0 -254
- package/types/mesh/PrimitiveMesh.d.ts +0 -112
- package/types/mesh/PrimitiveMeshRestorer.d.ts +0 -1
- package/types/mesh/Skin.d.ts +0 -35
- package/types/mesh/SkinnedMeshRenderer.d.ts +0 -50
- package/types/mesh/enums/VertexAttribute.d.ts +0 -33
- package/types/mesh/index.d.ts +0 -9
- package/types/particle/ParticleBufferUtils.d.ts +0 -1
- package/types/particle/ParticleGenerator.d.ts +0 -94
- package/types/particle/ParticleMaterial.d.ts +0 -38
- package/types/particle/ParticleRenderer.d.ts +0 -47
- package/types/particle/enums/ParticleCurveMode.d.ts +0 -9
- package/types/particle/enums/ParticleGradientMode.d.ts +0 -9
- package/types/particle/enums/ParticleRandomSubSeeds.d.ts +0 -1
- package/types/particle/enums/ParticleRenderMode.d.ts +0 -17
- package/types/particle/enums/ParticleScaleMode.d.ts +0 -11
- package/types/particle/enums/ParticleSimulationSpace.d.ts +0 -9
- package/types/particle/enums/ParticleStopMode.d.ts +0 -6
- package/types/particle/enums/attributes/BillboardParticleVertexAttribute.d.ts +0 -1
- package/types/particle/enums/attributes/MeshParticleVertexAttribute.d.ts +0 -5
- package/types/particle/enums/attributes/ParticleInstanceVertexAttribute.d.ts +0 -1
- package/types/particle/index.d.ts +0 -22
- package/types/particle/modules/Burst.d.ts +0 -14
- package/types/particle/modules/ColorOverLifetimeModule.d.ts +0 -20
- package/types/particle/modules/EmissionModule.d.ts +0 -48
- package/types/particle/modules/ForceOverLifetimeModule.d.ts +0 -51
- package/types/particle/modules/MainModule.d.ts +0 -104
- package/types/particle/modules/ParticleCompositeCurve.d.ts +0 -81
- package/types/particle/modules/ParticleCompositeGradient.d.ts +0 -55
- package/types/particle/modules/ParticleCurve.d.ts +0 -63
- package/types/particle/modules/ParticleGeneratorModule.d.ts +0 -17
- package/types/particle/modules/ParticleGradient.d.ts +0 -114
- package/types/particle/modules/RotationOverLifetimeModule.d.ts +0 -34
- package/types/particle/modules/SizeOverLifetimeModule.d.ts +0 -52
- package/types/particle/modules/TextureSheetAnimationModule.d.ts +0 -39
- package/types/particle/modules/VelocityOverLifetimeModule.d.ts +0 -54
- package/types/particle/modules/shape/BaseShape.d.ts +0 -22
- package/types/particle/modules/shape/BoxShape.d.ts +0 -17
- package/types/particle/modules/shape/CircleShape.d.ts +0 -35
- package/types/particle/modules/shape/ConeShape.d.ts +0 -45
- package/types/particle/modules/shape/HemisphereShape.d.ts +0 -14
- package/types/particle/modules/shape/MeshShape.d.ts +0 -21
- package/types/particle/modules/shape/ShapeUtils.d.ts +0 -1
- package/types/particle/modules/shape/SphereShape.d.ts +0 -14
- package/types/particle/modules/shape/enums/ParticleShapeArcMode.d.ts +0 -9
- package/types/particle/modules/shape/enums/ParticleShapeType.d.ts +0 -17
- package/types/particle/modules/shape/index.d.ts +0 -8
- package/types/physics/CharacterController.d.ts +0 -51
- package/types/physics/Collider.d.ts +0 -43
- package/types/physics/Collision.d.ts +0 -22
- package/types/physics/ContactPoint.d.ts +0 -14
- package/types/physics/DynamicCollider.d.ts +0 -192
- package/types/physics/HitResult.d.ts +0 -18
- package/types/physics/PhysicsMaterial.d.ts +0 -42
- package/types/physics/PhysicsScene.d.ts +0 -276
- package/types/physics/StaticCollider.d.ts +0 -7
- package/types/physics/enums/ColliderShapeChangeFlag.d.ts +0 -1
- package/types/physics/enums/ColliderShapeUpAxis.d.ts +0 -11
- package/types/physics/enums/ControllerCollisionFlag.d.ts +0 -11
- package/types/physics/enums/ControllerNonWalkableMode.d.ts +0 -9
- package/types/physics/enums/HingeJointFlag.d.ts +0 -1
- package/types/physics/enums/PhysicsMaterialCombineMode.d.ts +0 -13
- package/types/physics/enums/index.d.ts +0 -4
- package/types/physics/index.d.ts +0 -12
- package/types/physics/joint/FixedJoint.d.ts +0 -4
- package/types/physics/joint/HingeJoint.d.ts +0 -61
- package/types/physics/joint/Joint.d.ts +0 -81
- package/types/physics/joint/JointLimits.d.ts +0 -39
- package/types/physics/joint/JointMotor.d.ts +0 -32
- package/types/physics/joint/SpringJoint.d.ts +0 -38
- package/types/physics/joint/index.d.ts +0 -6
- package/types/physics/shape/BoxColliderShape.d.ts +0 -16
- package/types/physics/shape/CapsuleColliderShape.d.ts +0 -27
- package/types/physics/shape/ColliderShape.d.ts +0 -61
- package/types/physics/shape/PlaneColliderShape.d.ts +0 -9
- package/types/physics/shape/SphereColliderShape.d.ts +0 -14
- package/types/physics/shape/index.d.ts +0 -5
- package/types/postProcess/FinalPass.d.ts +0 -1
- package/types/postProcess/PostProcess.d.ts +0 -64
- package/types/postProcess/PostProcessEffect.d.ts +0 -26
- package/types/postProcess/PostProcessEffectParameter.d.ts +0 -119
- package/types/postProcess/PostProcessManager.d.ts +0 -38
- package/types/postProcess/PostProcessPass.d.ts +0 -50
- package/types/postProcess/PostProcessUberPass.d.ts +0 -25
- package/types/postProcess/effects/BloomEffect.d.ts +0 -50
- package/types/postProcess/effects/TonemappingEffect.d.ts +0 -25
- package/types/postProcess/effects/index.d.ts +0 -2
- package/types/postProcess/index.d.ts +0 -8
- package/types/renderingHardwareInterface/IPlatformBuffer.d.ts +0 -7
- package/types/renderingHardwareInterface/IPlatformRenderTarget.d.ts +0 -20
- package/types/renderingHardwareInterface/IPlatformTexture.d.ts +0 -36
- package/types/renderingHardwareInterface/IPlatformTexture2D.d.ts +0 -37
- package/types/renderingHardwareInterface/IPlatformTexture2DArray.d.ts +0 -40
- package/types/renderingHardwareInterface/IPlatformTextureCube.d.ts +0 -41
- package/types/renderingHardwareInterface/index.d.ts +0 -6
- package/types/shader/Shader.d.ts +0 -119
- package/types/shader/ShaderData.d.ts +0 -350
- package/types/shader/ShaderMacro.d.ts +0 -26
- package/types/shader/ShaderMacroCollection.d.ts +0 -1
- package/types/shader/ShaderPart.d.ts +0 -46
- package/types/shader/ShaderPass.d.ts +0 -25
- package/types/shader/ShaderPool.d.ts +0 -1
- package/types/shader/ShaderProgram.d.ts +0 -1
- package/types/shader/ShaderProgramPool.d.ts +0 -1
- package/types/shader/ShaderProperty.d.ts +0 -20
- package/types/shader/ShaderTagKey.d.ts +0 -16
- package/types/shader/ShaderUniform.d.ts +0 -1
- package/types/shader/ShaderUniformBlock.d.ts +0 -1
- package/types/shader/SubShader.d.ts +0 -18
- package/types/shader/enums/BlendFactor.d.ts +0 -32
- package/types/shader/enums/BlendOperation.d.ts +0 -16
- package/types/shader/enums/ColorWriteMask.d.ts +0 -18
- package/types/shader/enums/CompareFunction.d.ts +0 -22
- package/types/shader/enums/CullMode.d.ts +0 -12
- package/types/shader/enums/RenderQueueType.d.ts +0 -11
- package/types/shader/enums/RenderStateElementKey.d.ts +0 -60
- package/types/shader/enums/ShaderDataGroup.d.ts +0 -15
- package/types/shader/enums/ShaderLanguage.d.ts +0 -9
- package/types/shader/enums/ShaderPropertyType.d.ts +0 -27
- package/types/shader/enums/StencilOperation.d.ts +0 -22
- package/types/shader/index.d.ts +0 -19
- package/types/shader/state/BlendState.d.ts +0 -16
- package/types/shader/state/DepthState.d.ts +0 -14
- package/types/shader/state/RasterState.d.ts +0 -13
- package/types/shader/state/RenderState.d.ts +0 -21
- package/types/shader/state/RenderTargetBlendState.d.ts +0 -24
- package/types/shader/state/StencilState.d.ts +0 -34
- package/types/shader/state/index.d.ts +0 -6
- package/types/shaderlib/ShaderFactory.d.ts +0 -20
- package/types/shaderlib/ShaderLib.d.ts +0 -73
- package/types/shaderlib/index.d.ts +0 -1
- package/types/shaderlib/particle/index.d.ts +0 -15
- package/types/shaderlib/pbr/index.d.ts +0 -11
- package/types/shaderlib/shadow/index.d.ts +0 -8
- package/types/shadow/CascadedShadowCasterPass.d.ts +0 -45
- package/types/shadow/ShadowSliceData.d.ts +0 -1
- package/types/shadow/ShadowUtils.d.ts +0 -1
- package/types/shadow/enum/ShadowCascadesMode.d.ts +0 -11
- package/types/shadow/enum/ShadowResolution.d.ts +0 -13
- package/types/shadow/enum/ShadowType.d.ts +0 -13
- package/types/shadow/index.d.ts +0 -3
- package/types/sky/Sky.d.ts +0 -22
- package/types/sky/SkyBoxMaterial.d.ts +0 -43
- package/types/sky/SkyProceduralMaterial.d.ts +0 -72
- package/types/sky/index.d.ts +0 -3
- package/types/texture/RenderTarget.d.ts +0 -91
- package/types/texture/Texture.d.ts +0 -87
- package/types/texture/Texture2D.d.ts +0 -71
- package/types/texture/Texture2DArray.d.ts +0 -82
- package/types/texture/TextureCube.d.ts +0 -71
- package/types/texture/TextureUtils.d.ts +0 -1
- package/types/texture/enums/RenderBufferDepthFormat.d.ts +0 -23
- package/types/texture/enums/TextureCubeFace.d.ts +0 -17
- package/types/texture/enums/TextureDepthCompareFunction.d.ts +0 -21
- package/types/texture/enums/TextureFilterMode.d.ts +0 -11
- package/types/texture/enums/TextureFormat.d.ts +0 -87
- package/types/texture/enums/TextureUsage.d.ts +0 -9
- package/types/texture/enums/TextureWrapMode.d.ts +0 -11
- package/types/texture/index.d.ts +0 -13
- package/types/trail/TrailMaterial.d.ts +0 -5
- package/types/trail/TrailRenderer.d.ts +0 -35
- package/types/trail/index.d.ts +0 -2
- package/types/ui/IUICanvas.d.ts +0 -1
- package/types/ui/UIUtils.d.ts +0 -12
- package/types/utils/ClearableObjectPool.d.ts +0 -16
- package/types/utils/DisorderedArray.d.ts +0 -70
- package/types/utils/ObjectPool.d.ts +0 -16
- package/types/utils/ReturnableObjectPool.d.ts +0 -16
- package/types/utils/SafeLoopArray.d.ts +0 -46
- package/types/utils/index.d.ts +0 -4
- package/types/xr/XRManager.d.ts +0 -5
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { Component } from "../Component";
|
|
2
|
-
import { AudioClip } from "./AudioClip";
|
|
3
|
-
/**
|
|
4
|
-
* Audio Source Component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AudioSource extends Component {
|
|
7
|
-
/** If set to true, the audio component automatically begins to play on startup. */
|
|
8
|
-
playOnEnabled: boolean;
|
|
9
|
-
private _isPlaying;
|
|
10
|
-
private _clip;
|
|
11
|
-
private _gainNode;
|
|
12
|
-
private _sourceNode;
|
|
13
|
-
private _pausedTime;
|
|
14
|
-
private _playTime;
|
|
15
|
-
private _volume;
|
|
16
|
-
private _lastVolume;
|
|
17
|
-
private _playbackRate;
|
|
18
|
-
private _loop;
|
|
19
|
-
/**
|
|
20
|
-
* The audio clip to play.
|
|
21
|
-
*/
|
|
22
|
-
get clip(): AudioClip;
|
|
23
|
-
set clip(value: AudioClip);
|
|
24
|
-
/**
|
|
25
|
-
* Whether the clip playing right now.
|
|
26
|
-
*/
|
|
27
|
-
get isPlaying(): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The volume of the audio source, ranging from 0 to 1.
|
|
30
|
-
* @defaultValue `1`
|
|
31
|
-
*/
|
|
32
|
-
get volume(): number;
|
|
33
|
-
set volume(value: number);
|
|
34
|
-
/**
|
|
35
|
-
* The playback rate of the audio source.
|
|
36
|
-
* @defaultValue `1`
|
|
37
|
-
*/
|
|
38
|
-
get playbackRate(): number;
|
|
39
|
-
set playbackRate(value: number);
|
|
40
|
-
/**
|
|
41
|
-
* Mutes or unmute the audio source.
|
|
42
|
-
* Mute sets volume as 0, unmute restore volume.
|
|
43
|
-
*/
|
|
44
|
-
get mute(): boolean;
|
|
45
|
-
set mute(value: boolean);
|
|
46
|
-
/**
|
|
47
|
-
* Whether the audio clip looping.
|
|
48
|
-
* @defaultValue `false`
|
|
49
|
-
*/
|
|
50
|
-
get loop(): boolean;
|
|
51
|
-
set loop(value: boolean);
|
|
52
|
-
/**
|
|
53
|
-
* Playback position in seconds.
|
|
54
|
-
*/
|
|
55
|
-
get time(): number;
|
|
56
|
-
/**
|
|
57
|
-
* Play the clip.
|
|
58
|
-
*/
|
|
59
|
-
play(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Stops playing the clip.
|
|
62
|
-
*/
|
|
63
|
-
stop(): void;
|
|
64
|
-
/**
|
|
65
|
-
* Pauses playing the clip.
|
|
66
|
-
*/
|
|
67
|
-
pause(): void;
|
|
68
|
-
private _onPlayEnd;
|
|
69
|
-
private _initSourceNode;
|
|
70
|
-
private _clearSourceNode;
|
|
71
|
-
private _canPlay;
|
|
72
|
-
}
|
package/types/audio/index.d.ts
DELETED
package/types/base/Constant.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Data type enumeration
|
|
3
|
-
*/
|
|
4
|
-
export declare enum DataType {
|
|
5
|
-
/** Float */
|
|
6
|
-
FLOAT = 5126,// gl.FLOAT
|
|
7
|
-
/** Floating-point two-dimensional vector */
|
|
8
|
-
FLOAT_VEC2 = 35664,// gl.FLOAT_VEC2
|
|
9
|
-
/** Floating-point three-dimensional vector */
|
|
10
|
-
FLOAT_VEC3 = 35665,// gl.FLOAT_VEC3
|
|
11
|
-
/** Floating-point four-dimensional vector */
|
|
12
|
-
FLOAT_VEC4 = 35666,// gl.FLOAT_VEC4
|
|
13
|
-
/** Integer */
|
|
14
|
-
INT = 5124,// gl.INT
|
|
15
|
-
/** Integer two-dimensional vector */
|
|
16
|
-
INT_VEC2 = 35667,// gl.INT_VEC2
|
|
17
|
-
/** Integer three-dimensional vector */
|
|
18
|
-
INT_VEC3 = 35668,// gl.INT_VEC3
|
|
19
|
-
/** Integer four-dimensional vector */
|
|
20
|
-
INT_VEC4 = 35669,// gl.INT_VEC4
|
|
21
|
-
/** Boolean */
|
|
22
|
-
BOOL = 35670,// gl.BOOL
|
|
23
|
-
/** Boolean two-dimensional vector */
|
|
24
|
-
BOOL_VEC2 = 35671,// gl.BOOL_VEC2
|
|
25
|
-
/** Boolean three-dimensional vector */
|
|
26
|
-
BOOL_VEC3 = 35672,// gl.BOOL_VEC3
|
|
27
|
-
/** Boolean four-dimensional vector */
|
|
28
|
-
BOOL_VEC4 = 35673,// gl.BOOL_VEC4
|
|
29
|
-
/** Second-order matrix */
|
|
30
|
-
FLOAT_MAT2 = 35674,// gl.FLOAT_MAT2
|
|
31
|
-
/** Third-order matrix */
|
|
32
|
-
FLOAT_MAT3 = 35675,// gl.FLOAT_MAT3
|
|
33
|
-
/** Fourth-order matrix */
|
|
34
|
-
FLOAT_MAT4 = 35676,// gl.FLOAT_MAT4
|
|
35
|
-
/** Float array */
|
|
36
|
-
FLOAT_ARRAY = 35677,// gl.FLOAT_ARRAY
|
|
37
|
-
/** Floating-point two-dimensional vector array */
|
|
38
|
-
FLOAT_VEC2_ARRAY = 100000,
|
|
39
|
-
/** Floating-point three-dimensional vector array */
|
|
40
|
-
FLOAT_VEC3_ARRAY = 100001,
|
|
41
|
-
/** Floating-point four-dimensional vector array */
|
|
42
|
-
FLOAT_VEC4_ARRAY = 100002,
|
|
43
|
-
/** Integer array */
|
|
44
|
-
INT_ARRAY = 100003,
|
|
45
|
-
/** Integer two-dimensional vector array */
|
|
46
|
-
INT_VEC2_ARRAY = 100004,
|
|
47
|
-
/** Integer three-dimensional vector array */
|
|
48
|
-
INT_VEC3_ARRAY = 100005,
|
|
49
|
-
/** Integer four-dimensional vector array */
|
|
50
|
-
INT_VEC4_ARRAY = 100006,
|
|
51
|
-
/** Second-order matrix array */
|
|
52
|
-
FLOAT_MAT2_ARRAY = 100007,
|
|
53
|
-
/** Third-order matrix array */
|
|
54
|
-
FLOAT_MAT3_ARRAY = 100008,
|
|
55
|
-
/** Fourth-order matrix array */
|
|
56
|
-
FLOAT_MAT4_ARRAY = 100009,
|
|
57
|
-
/** 2D texture sampler array */
|
|
58
|
-
SAMPLER_2D_ARRAY = 100010,
|
|
59
|
-
/** Cube map texture sampler array */
|
|
60
|
-
SAMPLER_CUBE_ARRAY = 100011,
|
|
61
|
-
/** 2D sampler */
|
|
62
|
-
SAMPLER_2D = 35678,// gl.SAMPLER_2D
|
|
63
|
-
/** Cube map Texture sampler */
|
|
64
|
-
SAMPLER_CUBE = 35680,// gl.SAMPLER_CUBE
|
|
65
|
-
/** Byte */
|
|
66
|
-
BYTE = 5120,// gl.BYTE
|
|
67
|
-
/** Unsigned byte */
|
|
68
|
-
UNSIGNED_BYTE = 5121,// gl.UNSIGNED_BYTE
|
|
69
|
-
/** Short */
|
|
70
|
-
SHORT = 5122,// gl.SHORT
|
|
71
|
-
/** Unsigned short */
|
|
72
|
-
UNSIGNED_SHORT = 5123,// gl.UNSIGNED_SHORT
|
|
73
|
-
/** Unsigned int */
|
|
74
|
-
UNSIGNED_INT = 5125
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* GL Capabilities
|
|
78
|
-
* Some capabilities can be smoothed out by extension, and some capabilities must use WebGL 2.0.
|
|
79
|
-
* */
|
|
80
|
-
export declare enum GLCapabilityType {
|
|
81
|
-
shaderVertexID = "shaderVertexID",
|
|
82
|
-
standardDerivatives = "OES_standard_derivatives",
|
|
83
|
-
shaderTextureLod = "EXT_shader_texture_lod",
|
|
84
|
-
elementIndexUint = "OES_element_index_uint",
|
|
85
|
-
depthTexture = "WEBGL_depth_texture",
|
|
86
|
-
drawBuffers = "WEBGL_draw_buffers",
|
|
87
|
-
vertexArrayObject = "OES_vertex_array_object",
|
|
88
|
-
instancedArrays = "ANGLE_instanced_arrays",
|
|
89
|
-
multipleSample = "multipleSampleOnlySupportedInWebGL2",
|
|
90
|
-
textureFloat = "OES_texture_float",
|
|
91
|
-
textureFloatLinear = "OES_texture_float_linear",
|
|
92
|
-
textureHalfFloat = "OES_texture_half_float",
|
|
93
|
-
textureHalfFloatLinear = "OES_texture_half_float_linear",
|
|
94
|
-
WEBGL_colorBufferFloat = "WEBGL_color_buffer_float",
|
|
95
|
-
colorBufferFloat = "EXT_color_buffer_float",
|
|
96
|
-
colorBufferHalfFloat = "EXT_color_buffer_half_float",
|
|
97
|
-
textureFilterAnisotropic = "EXT_texture_filter_anisotropic",
|
|
98
|
-
blendMinMax = "EXT_blend_minmax",
|
|
99
|
-
fragDepth = "EXT_frag_depth",
|
|
100
|
-
astc = "WEBGL_compressed_texture_astc",
|
|
101
|
-
astc_webkit = "WEBKIT_WEBGL_compressed_texture_astc",
|
|
102
|
-
astc_hdr = "WEBGL_compressed_texture_astc_hdr",
|
|
103
|
-
etc = "WEBGL_compressed_texture_etc",
|
|
104
|
-
etc_webkit = "WEBKIT_WEBGL_compressed_texture_etc",
|
|
105
|
-
etc1 = "WEBGL_compressed_texture_etc1",
|
|
106
|
-
etc1_webkit = "WEBKIT_WEBGL_compressed_texture_etc1",
|
|
107
|
-
pvrtc = "WEBGL_compressed_texture_pvrtc",
|
|
108
|
-
pvrtc_webkit = "WEBKIT_WEBGL_compressed_texture_pvrtc",
|
|
109
|
-
s3tc = "WEBGL_compressed_texture_s3tc",
|
|
110
|
-
s3tc_webkit = "WEBKIT_WEBGL_compressed_texture_s3tc",
|
|
111
|
-
s3tc_srgb = "WEBGL_compressed_texture_s3tc_srgb",
|
|
112
|
-
bptc = "EXT_texture_compression_bptc",
|
|
113
|
-
WEBGL_lose_context = "WEBGL_lose_context",
|
|
114
|
-
sRGB = "EXT_sRGB"
|
|
115
|
-
}
|
|
116
|
-
export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Engine } from "../Engine";
|
|
2
|
-
/**
|
|
3
|
-
* EngineObject.
|
|
4
|
-
*/
|
|
5
|
-
export declare abstract class EngineObject {
|
|
6
|
-
private static _instanceIdCounter;
|
|
7
|
-
/** Engine unique id. */
|
|
8
|
-
readonly instanceId: number;
|
|
9
|
-
protected _engine: Engine;
|
|
10
|
-
protected _destroyed: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Get the engine which the object belongs.
|
|
13
|
-
*/
|
|
14
|
-
get engine(): Engine;
|
|
15
|
-
/**
|
|
16
|
-
* Whether it has been destroyed.
|
|
17
|
-
*/
|
|
18
|
-
get destroyed(): boolean;
|
|
19
|
-
constructor(engine: Engine);
|
|
20
|
-
/**
|
|
21
|
-
* Destroy self.
|
|
22
|
-
*/
|
|
23
|
-
destroy(): void;
|
|
24
|
-
protected _onDestroy(): void;
|
|
25
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EventDispatcher, which can be inherited as a base class.
|
|
3
|
-
*/
|
|
4
|
-
export declare class EventDispatcher {
|
|
5
|
-
private static _dispatchingListenersPool;
|
|
6
|
-
private _events;
|
|
7
|
-
private _eventCount;
|
|
8
|
-
/**
|
|
9
|
-
* Determine whether there is event listening.
|
|
10
|
-
* @param event - Event name
|
|
11
|
-
* @returns Returns whether there is a corresponding event
|
|
12
|
-
*/
|
|
13
|
-
hasEvent(event: string): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Returns the names of all registered events.
|
|
16
|
-
* @returns All event names
|
|
17
|
-
*/
|
|
18
|
-
eventNames(): string[];
|
|
19
|
-
/**
|
|
20
|
-
* Returns the number of listeners with the specified event name.
|
|
21
|
-
* @param event - Event name
|
|
22
|
-
* @returns The count of listeners
|
|
23
|
-
*/
|
|
24
|
-
listenerCount(event: string): number;
|
|
25
|
-
/**
|
|
26
|
-
* Dispatch the event with the specified event name.
|
|
27
|
-
* @param event - Event name
|
|
28
|
-
* @param data - Data
|
|
29
|
-
* @returns - Whether the dispatching is successful
|
|
30
|
-
*/
|
|
31
|
-
dispatch(event: string, data?: any): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Add a listener/
|
|
34
|
-
* @param event - Event name
|
|
35
|
-
* @param fn - Function
|
|
36
|
-
* @returns This
|
|
37
|
-
*/
|
|
38
|
-
on(event: string, fn: Function): EventDispatcher;
|
|
39
|
-
/**
|
|
40
|
-
* Add a one-time listener.
|
|
41
|
-
* @param event - Event name
|
|
42
|
-
* @param fn - Function
|
|
43
|
-
* @returns This
|
|
44
|
-
*/
|
|
45
|
-
once(event: string, fn: Function): EventDispatcher;
|
|
46
|
-
/**
|
|
47
|
-
* Remove the event listener(s) of the specified event name.
|
|
48
|
-
* @param event - Event name
|
|
49
|
-
* @param fn - Function, If is undefined, delete all corresponding event listeners.
|
|
50
|
-
*/
|
|
51
|
-
off(event: string, fn?: Function): EventDispatcher;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Use `off` instead.
|
|
54
|
-
* Remove the event listener(s) of the specified event name.
|
|
55
|
-
* @param event - Event name
|
|
56
|
-
* @param fn - Function, If is undefined, delete all corresponding event listeners.
|
|
57
|
-
*/
|
|
58
|
-
removeEventListener(event: string, fn?: Function): EventDispatcher;
|
|
59
|
-
/**
|
|
60
|
-
* Remove all event listeners.
|
|
61
|
-
* @param event - Event name, delete all events if not passed
|
|
62
|
-
*/
|
|
63
|
-
removeAllEventListeners(event?: string): void;
|
|
64
|
-
private _addEventListener;
|
|
65
|
-
private _clearEvent;
|
|
66
|
-
}
|
package/types/base/Logger.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const Logger: {
|
|
2
|
-
debug: (message?: any, ...optionalParams: any[]) => void;
|
|
3
|
-
info: (message?: any, ...optionalParams: any[]) => void;
|
|
4
|
-
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
5
|
-
error: (message?: any, ...optionalParams: any[]) => void;
|
|
6
|
-
isEnabled: boolean;
|
|
7
|
-
/** Turn on log */
|
|
8
|
-
enable(): void;
|
|
9
|
-
/** Turn off log */
|
|
10
|
-
disable(): void;
|
|
11
|
-
};
|
package/types/base/Time.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provide time related information.
|
|
3
|
-
*/
|
|
4
|
-
export declare class Time {
|
|
5
|
-
private static _elapsedTimeProperty;
|
|
6
|
-
private static _deltaTimeProperty;
|
|
7
|
-
private _frameCount;
|
|
8
|
-
private _deltaTime;
|
|
9
|
-
private _actualDeltaTime;
|
|
10
|
-
private _elapsedTime;
|
|
11
|
-
private _actualElapsedTime;
|
|
12
|
-
private _lastSystemTime;
|
|
13
|
-
private _elapsedTimeValue;
|
|
14
|
-
private _deltaTimeValue;
|
|
15
|
-
/** Maximum delta time allowed per frame in seconds. */
|
|
16
|
-
maximumDeltaTime: number;
|
|
17
|
-
/** The scale of time. */
|
|
18
|
-
timeScale: number;
|
|
19
|
-
get frameCount(): number;
|
|
20
|
-
/**
|
|
21
|
-
* The delta time in seconds from the last frame to the current frame.
|
|
22
|
-
*
|
|
23
|
-
* @remarks When the frame rate is low or stutter occurs, `deltaTime` will not exceed the value of `maximumDeltaTime` * `timeScale`.
|
|
24
|
-
*/
|
|
25
|
-
get deltaTime(): number;
|
|
26
|
-
/**
|
|
27
|
-
* The amount of elapsed time in seconds since the start of the engine.
|
|
28
|
-
*/
|
|
29
|
-
get elapsedTime(): number;
|
|
30
|
-
/**
|
|
31
|
-
* The actual delta time in seconds from the last frame to the current frame.
|
|
32
|
-
*
|
|
33
|
-
* @remarks The actual delta time is not affected by `maximumDeltaTime` and `timeScale`.
|
|
34
|
-
*/
|
|
35
|
-
get actualDeltaTime(): number;
|
|
36
|
-
/**
|
|
37
|
-
* The amount of actual elapsed time in seconds since the start of the engine.
|
|
38
|
-
*/
|
|
39
|
-
get actualElapsedTime(): number;
|
|
40
|
-
/**
|
|
41
|
-
* Constructor of the Time.
|
|
42
|
-
*/
|
|
43
|
-
constructor();
|
|
44
|
-
}
|
package/types/base/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Property decorator, ignore the property when cloning.
|
|
3
|
-
*/
|
|
4
|
-
export declare function ignoreClone(target: Object, propertyKey: string): void;
|
|
5
|
-
/**
|
|
6
|
-
* Property decorator, assign value to the property when cloning.
|
|
7
|
-
*
|
|
8
|
-
* @remarks
|
|
9
|
-
* If it's a primitive type, the value will be copied.
|
|
10
|
-
* If it's a class type, the reference will be copied.
|
|
11
|
-
*/
|
|
12
|
-
export declare function assignmentClone(target: Object, propertyKey: string): void;
|
|
13
|
-
/**
|
|
14
|
-
* Property decorator, shallow clone the property when cloning.
|
|
15
|
-
* After cloning, it will keep its own reference independent, and use the method of assignment to clone all its internal properties.
|
|
16
|
-
* if the internal property is a primitive type, the value will be copied, if the internal property is a reference type, its reference address will be copied.。
|
|
17
|
-
*
|
|
18
|
-
* @remarks
|
|
19
|
-
* Applicable to Object, Array, TypedArray and Class types.
|
|
20
|
-
*/
|
|
21
|
-
export declare function shallowClone(target: Object, propertyKey: string): void;
|
|
22
|
-
/**
|
|
23
|
-
* Property decorator, deep clone the property when cloning.
|
|
24
|
-
* After cloning, it will maintain its own reference independence, and all its internal deep properties will remain completely independent.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Applicable to Object, Array, TypedArray and Class types.
|
|
28
|
-
* If Class is encountered during the deep cloning process, the custom cloning function of the object will be called first.
|
|
29
|
-
* Custom cloning requires the object to implement the IClone interface.
|
|
30
|
-
*/
|
|
31
|
-
export declare function deepClone(target: Object, propertyKey: string): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from "../Component";
|
|
2
|
-
import { Entity } from "../Entity";
|
|
3
|
-
/**
|
|
4
|
-
* Custom clone interface.
|
|
5
|
-
*/
|
|
6
|
-
export interface ICustomClone {
|
|
7
|
-
}
|
|
8
|
-
export interface IComponentCustomClone {
|
|
9
|
-
}
|
|
10
|
-
export declare class ComponentCloner {
|
|
11
|
-
/**
|
|
12
|
-
* Clone component.
|
|
13
|
-
* @param source - Clone source
|
|
14
|
-
* @param target - Clone target
|
|
15
|
-
*/
|
|
16
|
-
static cloneComponent(source: Component, target: Component, srcRoot: Entity, targetRoot: Entity, deepInstanceMap: Map<Object, Object>): void;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The camera modify flags.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum CameraModifyFlags {
|
|
5
|
-
/** The types of camera projections changes. */
|
|
6
|
-
ProjectionType = 1,
|
|
7
|
-
/** The aspect ratio of the camera changes. */
|
|
8
|
-
AspectRatio = 2,
|
|
9
|
-
/** The field of view of the camera changes. */
|
|
10
|
-
FieldOfView = 4,
|
|
11
|
-
/** The orthographic size of the camera changes. */
|
|
12
|
-
OrthographicSize = 8,
|
|
13
|
-
/** The camera becomes active in the scene. */
|
|
14
|
-
EnableInScene = 16,
|
|
15
|
-
/** The camera becomes inactive in the scene. */
|
|
16
|
-
DisableInScene = 32
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/enums/FogMode.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Multi-sample anti-aliasing samples.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum MSAASamples {
|
|
5
|
-
/** No multi-sample anti-aliasing. */
|
|
6
|
-
None = 1,
|
|
7
|
-
/** Multi-sample anti-aliasing with 2 samples. */
|
|
8
|
-
TwoX = 2,
|
|
9
|
-
/** Multi-sample anti-aliasing with 4 samples. */
|
|
10
|
-
FourX = 4,
|
|
11
|
-
/** Multi-sample anti-aliasing with 8 samples. */
|
|
12
|
-
EightX = 8
|
|
13
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sprite mask layer.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SpriteMaskLayer {
|
|
5
|
-
/** Mask layer 0. */
|
|
6
|
-
Layer0 = 1,
|
|
7
|
-
/** Mask layer 1. */
|
|
8
|
-
Layer1 = 2,
|
|
9
|
-
/** Mask layer 2. */
|
|
10
|
-
Layer2 = 4,
|
|
11
|
-
/** Mask layer 3. */
|
|
12
|
-
Layer3 = 8,
|
|
13
|
-
/** Mask layer 4. */
|
|
14
|
-
Layer4 = 16,
|
|
15
|
-
/** Mask layer 5. */
|
|
16
|
-
Layer5 = 32,
|
|
17
|
-
/** Mask layer 6. */
|
|
18
|
-
Layer6 = 64,
|
|
19
|
-
/** Mask layer 7. */
|
|
20
|
-
Layer7 = 128,
|
|
21
|
-
/** Mask layer 8. */
|
|
22
|
-
Layer8 = 256,
|
|
23
|
-
/** Mask layer 9. */
|
|
24
|
-
Layer9 = 512,
|
|
25
|
-
/** Mask layer 10. */
|
|
26
|
-
Layer10 = 1024,
|
|
27
|
-
/** Mask layer 11. */
|
|
28
|
-
Layer11 = 2048,
|
|
29
|
-
/** Mask layer 12. */
|
|
30
|
-
Layer12 = 4096,
|
|
31
|
-
/** Mask layer 13. */
|
|
32
|
-
Layer13 = 8192,
|
|
33
|
-
/** Mask layer 14. */
|
|
34
|
-
Layer14 = 16384,
|
|
35
|
-
/** Mask layer 15. */
|
|
36
|
-
Layer15 = 32768,
|
|
37
|
-
/** Mask layer 16. */
|
|
38
|
-
Layer16 = 65536,
|
|
39
|
-
/** Mask layer 17. */
|
|
40
|
-
Layer17 = 131072,
|
|
41
|
-
/** Mask layer 18. */
|
|
42
|
-
Layer18 = 262144,
|
|
43
|
-
/** Mask layer 19. */
|
|
44
|
-
Layer19 = 524288,
|
|
45
|
-
/** Mask layer 20. */
|
|
46
|
-
Layer20 = 1048576,
|
|
47
|
-
/** Mask layer 21. */
|
|
48
|
-
Layer21 = 2097152,
|
|
49
|
-
/** Mask layer 22. */
|
|
50
|
-
Layer22 = 4194304,
|
|
51
|
-
/** Mask layer 23. */
|
|
52
|
-
Layer23 = 8388608,
|
|
53
|
-
/** Mask layer 24. */
|
|
54
|
-
Layer24 = 16777216,
|
|
55
|
-
/** Mask layer 25. */
|
|
56
|
-
Layer25 = 33554432,
|
|
57
|
-
/** Mask layer 26. */
|
|
58
|
-
Layer26 = 67108864,
|
|
59
|
-
/** Mask layer 27. */
|
|
60
|
-
Layer27 = 134217728,
|
|
61
|
-
/** Mask layer 28. */
|
|
62
|
-
Layer28 = 268435456,
|
|
63
|
-
/** Mask layer 29. */
|
|
64
|
-
Layer29 = 536870912,
|
|
65
|
-
/** Mask layer 30. */
|
|
66
|
-
Layer30 = 1073741824,
|
|
67
|
-
/** Mask layer 31. */
|
|
68
|
-
Layer31 = 2147483648,
|
|
69
|
-
/** All mask layers. */
|
|
70
|
-
Everything = 4294967295,
|
|
71
|
-
/** None mask layer. */
|
|
72
|
-
Nothing = 0
|
|
73
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from "@galacean/engine-math";
|
|
2
|
-
import { Camera } from "../Camera";
|
|
3
|
-
import { Probe } from "./Probe";
|
|
4
|
-
/**
|
|
5
|
-
* Cube probe, generate cubeTexture, used for dynamic environment reflection and other effects.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CubeProbe extends Probe {
|
|
8
|
-
/**
|
|
9
|
-
* The position of the probe can be set, the default is the origin [0,0,0].
|
|
10
|
-
*/
|
|
11
|
-
position: Vector3;
|
|
12
|
-
private oriViewMatrix;
|
|
13
|
-
private _oriFieldOfView;
|
|
14
|
-
onBeginRender(camera: Camera): void;
|
|
15
|
-
/**
|
|
16
|
-
* Store original camera parameters.
|
|
17
|
-
*/
|
|
18
|
-
private _storeCamera;
|
|
19
|
-
/**
|
|
20
|
-
* Restore camera parameters.
|
|
21
|
-
*/
|
|
22
|
-
private _restoreCamera;
|
|
23
|
-
/**
|
|
24
|
-
* Set camera parameters according to the rendering surface.
|
|
25
|
-
*/
|
|
26
|
-
private _setCamera;
|
|
27
|
-
}
|