@galacean/engine-core 1.6.6 → 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 -37540
- package/dist/main.js.map +0 -1
- package/dist/module.js +0 -37258
- 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,398 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The keys of the keyboard.
|
|
3
|
-
* Keep up with W3C standards.(https://www.w3.org/TR/2017/CR-uievents-code-20170601/)
|
|
4
|
-
*/
|
|
5
|
-
export declare enum Keys {
|
|
6
|
-
/** `~ on a US keyboard. This is the 半角/全角/漢字 (hankaku/zenkaku/kanji) key on Japanese keyboards. */
|
|
7
|
-
Backquote = 0,
|
|
8
|
-
/** Used for both the US \| (on the 101-key layout) and also for the key located between the " and Enter keys on row C of the 102-, 104- and 106-key layouts. Labelled #~ on a UK (102) keyboard. */
|
|
9
|
-
Backslash = 1,
|
|
10
|
-
/** Backspace or ⌫. Labelled Delete on Apple keyboards. */
|
|
11
|
-
Backspace = 2,
|
|
12
|
-
/** [{ on a US keyboard. */
|
|
13
|
-
BracketLeft = 3,
|
|
14
|
-
/** ]} on a US keyboard. */
|
|
15
|
-
BracketRight = 4,
|
|
16
|
-
/** ,< on a US keyboard. */
|
|
17
|
-
Comma = 5,
|
|
18
|
-
/** 0) on a US keyboard. */
|
|
19
|
-
Digit0 = 6,
|
|
20
|
-
/** 1! on a US keyboard. */
|
|
21
|
-
Digit1 = 7,
|
|
22
|
-
/** 2@ on a US keyboard. */
|
|
23
|
-
Digit2 = 8,
|
|
24
|
-
/** 3# on a US keyboard. */
|
|
25
|
-
Digit3 = 9,
|
|
26
|
-
/** 4$ on a US keyboard. */
|
|
27
|
-
Digit4 = 10,
|
|
28
|
-
/** 5% on a US keyboard. */
|
|
29
|
-
Digit5 = 11,
|
|
30
|
-
/** 6^ on a US keyboard. */
|
|
31
|
-
Digit6 = 12,
|
|
32
|
-
/** 7& on a US keyboard. */
|
|
33
|
-
Digit7 = 13,
|
|
34
|
-
/** 8* on a US keyboard. */
|
|
35
|
-
Digit8 = 14,
|
|
36
|
-
/** 9( on a US keyboard. */
|
|
37
|
-
Digit9 = 15,
|
|
38
|
-
/** =+ on a US keyboard. */
|
|
39
|
-
Equal = 16,
|
|
40
|
-
/** Located between the left Shift and Z keys. Labelled \| on a UK keyboard. */
|
|
41
|
-
IntlBackslash = 17,
|
|
42
|
-
/** Located between the / and right Shift keys. Labelled \ろ (ro) on a Japanese keyboard. */
|
|
43
|
-
IntlRo = 18,
|
|
44
|
-
/** Located between the = and Backspace keys. Labelled ¥ (yen) on a Japanese keyboard. \/ on a Russian keyboard. */
|
|
45
|
-
IntlYen = 19,
|
|
46
|
-
/** a on a US keyboard. Labelled q on an AZERTY (e.g., French) keyboard. */
|
|
47
|
-
KeyA = 20,
|
|
48
|
-
/** b on a US keyboard. */
|
|
49
|
-
KeyB = 21,
|
|
50
|
-
/** c on a US keyboard. */
|
|
51
|
-
KeyC = 22,
|
|
52
|
-
/** d on a US keyboard. */
|
|
53
|
-
KeyD = 23,
|
|
54
|
-
/** e on a US keyboard. */
|
|
55
|
-
KeyE = 24,
|
|
56
|
-
/** f on a US keyboard. */
|
|
57
|
-
KeyF = 25,
|
|
58
|
-
/** g on a US keyboard. */
|
|
59
|
-
KeyG = 26,
|
|
60
|
-
/** h on a US keyboard. */
|
|
61
|
-
KeyH = 27,
|
|
62
|
-
/** i on a US keyboard. */
|
|
63
|
-
KeyI = 28,
|
|
64
|
-
/** j on a US keyboard. */
|
|
65
|
-
KeyJ = 29,
|
|
66
|
-
/** k on a US keyboard. */
|
|
67
|
-
KeyK = 30,
|
|
68
|
-
/** l on a US keyboard. */
|
|
69
|
-
KeyL = 31,
|
|
70
|
-
/** m on a US keyboard. */
|
|
71
|
-
KeyM = 32,
|
|
72
|
-
/** n on a US keyboard. */
|
|
73
|
-
KeyN = 33,
|
|
74
|
-
/** o on a US keyboard. */
|
|
75
|
-
KeyO = 34,
|
|
76
|
-
/** p on a US keyboard. */
|
|
77
|
-
KeyP = 35,
|
|
78
|
-
/** q on a US keyboard. Labelled a on an AZERTY (e.g., French) keyboard. */
|
|
79
|
-
KeyQ = 36,
|
|
80
|
-
/** r on a US keyboard. */
|
|
81
|
-
KeyR = 37,
|
|
82
|
-
/** s on a US keyboard. */
|
|
83
|
-
KeyS = 38,
|
|
84
|
-
/** t on a US keyboard. */
|
|
85
|
-
KeyT = 39,
|
|
86
|
-
/** u on a US keyboard. */
|
|
87
|
-
KeyU = 40,
|
|
88
|
-
/** v on a US keyboard. */
|
|
89
|
-
KeyV = 41,
|
|
90
|
-
/** w on a US keyboard. Labelled z on an AZERTY (e.g., French) keyboard. */
|
|
91
|
-
KeyW = 42,
|
|
92
|
-
/** x on a US keyboard. */
|
|
93
|
-
KeyX = 43,
|
|
94
|
-
/** y on a US keyboard. Labelled z on a QWERTZ (e.g., German) keyboard. */
|
|
95
|
-
KeyY = 44,
|
|
96
|
-
/** z on a US keyboard. Labelled w on an AZERTY (e.g., French) keyboard, and y on a QWERTZ (e.g., German) keyboard. */
|
|
97
|
-
KeyZ = 45,
|
|
98
|
-
/** -_ on a US keyboard. */
|
|
99
|
-
Minus = 46,
|
|
100
|
-
/** .> on a US keyboard. */
|
|
101
|
-
Period = 47,
|
|
102
|
-
/** '" on a US keyboard. */
|
|
103
|
-
Quote = 48,
|
|
104
|
-
/** ;: on a US keyboard. */
|
|
105
|
-
Semicolon = 49,
|
|
106
|
-
/** /? on a US keyboard. */
|
|
107
|
-
Slash = 50,
|
|
108
|
-
/** Alt, Option or ⌥. */
|
|
109
|
-
AltLeft = 51,
|
|
110
|
-
/** Alt, Option or ⌥. This is labelled AltGr key on many keyboard layouts. */
|
|
111
|
-
AltRight = 52,
|
|
112
|
-
/** CapsLock or ⇪. */
|
|
113
|
-
CapsLock = 53,
|
|
114
|
-
/** The application context menu key, which is typically found between the right Meta key and the right Control key. */
|
|
115
|
-
ContextMenu = 54,
|
|
116
|
-
/** Control or ⌃. */
|
|
117
|
-
ControlLeft = 55,
|
|
118
|
-
/** Control or ⌃. */
|
|
119
|
-
ControlRight = 56,
|
|
120
|
-
/** Enter or ↵. Labelled Return on Apple keyboards. */
|
|
121
|
-
Enter = 57,
|
|
122
|
-
/** The Windows, ⌘, Command or other OS symbol key. */
|
|
123
|
-
MetaLeft = 58,
|
|
124
|
-
/** The Windows, ⌘, Command or other OS symbol key. */
|
|
125
|
-
MetaRight = 59,
|
|
126
|
-
/** Shift or ⇧. */
|
|
127
|
-
ShiftLeft = 60,
|
|
128
|
-
/** Shift or ⇧. */
|
|
129
|
-
ShiftRight = 61,
|
|
130
|
-
/** Space. */
|
|
131
|
-
Space = 62,
|
|
132
|
-
/** Tab or ⇥. */
|
|
133
|
-
Tab = 63,
|
|
134
|
-
/** Japanese: 変換 (henkan). */
|
|
135
|
-
Convert = 64,
|
|
136
|
-
/** Japanese: カタカナ/ひらがな/ローマ字 (katakana/hiragana/romaji). */
|
|
137
|
-
KanaMode = 65,
|
|
138
|
-
/**
|
|
139
|
-
* Korean: HangulMode 한/영 (han/yeong).
|
|
140
|
-
* Japanese (Mac keyboard): かな (kana).
|
|
141
|
-
* */
|
|
142
|
-
Lang1 = 66,
|
|
143
|
-
/**
|
|
144
|
-
* Korean: Hanja 한자 (hanja).
|
|
145
|
-
* Japanese (Mac keyboard): 英数 (eisu).
|
|
146
|
-
*/
|
|
147
|
-
Lang2 = 67,
|
|
148
|
-
/** Japanese (word-processing keyboard): Katakana. */
|
|
149
|
-
Lang3 = 68,
|
|
150
|
-
/** Japanese (word-processing keyboard): Hiragana. */
|
|
151
|
-
Lang4 = 69,
|
|
152
|
-
/** Japanese (word-processing keyboard): Zenkaku/Hankaku. */
|
|
153
|
-
Lang5 = 70,
|
|
154
|
-
/** Japanese: 無変換 (muhenkan). */
|
|
155
|
-
NonConvert = 71,
|
|
156
|
-
/** ⌦. The forward delete key. Note that on Apple keyboards, the key labelled Delete on the main part of the keyboard should be encoded as "Backspace". */
|
|
157
|
-
Delete = 72,
|
|
158
|
-
/** Page Down, End or ↘. */
|
|
159
|
-
End = 73,
|
|
160
|
-
/** Help. Not present on standard PC keyboards. */
|
|
161
|
-
Help = 74,
|
|
162
|
-
/** Home or ↖. */
|
|
163
|
-
Home = 75,
|
|
164
|
-
/** Insert or Ins. Not present on Apple keyboards. */
|
|
165
|
-
Insert = 76,
|
|
166
|
-
/** Page Down, PgDn or ⇟. */
|
|
167
|
-
PageDown = 77,
|
|
168
|
-
/** Page Up, PgUp or ⇞. */
|
|
169
|
-
PageUp = 78,
|
|
170
|
-
/** ↓ */
|
|
171
|
-
ArrowDown = 79,
|
|
172
|
-
/** ← */
|
|
173
|
-
ArrowLeft = 80,
|
|
174
|
-
/** → */
|
|
175
|
-
ArrowRight = 81,
|
|
176
|
-
/** ↑ */
|
|
177
|
-
ArrowUp = 82,
|
|
178
|
-
/** On the Mac, the "NumLock" code should be used for the numpad Clear key. */
|
|
179
|
-
NumLock = 83,
|
|
180
|
-
/**
|
|
181
|
-
* 0 Ins on a keyboard.
|
|
182
|
-
* 0 on a phone or remote control.
|
|
183
|
-
* */
|
|
184
|
-
Numpad0 = 84,
|
|
185
|
-
/**
|
|
186
|
-
* 1 End on a keyboard.
|
|
187
|
-
* 1 or 1 QZ on a phone or remote control.
|
|
188
|
-
*/
|
|
189
|
-
Numpad1 = 85,
|
|
190
|
-
/**
|
|
191
|
-
* 2 ↓ on a keyboard.
|
|
192
|
-
* 2 ABC on a phone or remote control.
|
|
193
|
-
*/
|
|
194
|
-
Numpad2 = 86,
|
|
195
|
-
/**
|
|
196
|
-
* 3 PgDn on a keyboard.
|
|
197
|
-
* 3 DEF on a phone or remote control.
|
|
198
|
-
*/
|
|
199
|
-
Numpad3 = 87,
|
|
200
|
-
/**
|
|
201
|
-
* 4 ← on a keyboard.
|
|
202
|
-
* 4 GHI on a phone or remote control.
|
|
203
|
-
*/
|
|
204
|
-
Numpad4 = 88,
|
|
205
|
-
/**
|
|
206
|
-
* 5 on a keyboard.
|
|
207
|
-
* 5 JKL on a phone or remote control.
|
|
208
|
-
*/
|
|
209
|
-
Numpad5 = 89,
|
|
210
|
-
/**
|
|
211
|
-
* 6 → on a keyboard.
|
|
212
|
-
* 6 MNO on a phone or remote control.
|
|
213
|
-
*/
|
|
214
|
-
Numpad6 = 90,
|
|
215
|
-
/**
|
|
216
|
-
* 7 Home on a keyboard.
|
|
217
|
-
* 7 PQRS or 7 PRS on a phone or remote control.
|
|
218
|
-
*/
|
|
219
|
-
Numpad7 = 91,
|
|
220
|
-
/**
|
|
221
|
-
* 8 ↑ on a keyboard.
|
|
222
|
-
* 8 TUV on a phone or remote control.
|
|
223
|
-
*/
|
|
224
|
-
Numpad8 = 92,
|
|
225
|
-
/**
|
|
226
|
-
* 9 PgUp on a keyboard.
|
|
227
|
-
* 9 WXYZ or 9 WXY on a phone or remote control.
|
|
228
|
-
*/
|
|
229
|
-
Numpad9 = 93,
|
|
230
|
-
/** + */
|
|
231
|
-
NumpadAdd = 94,
|
|
232
|
-
/** Found on the Microsoft Natural Keyboard. */
|
|
233
|
-
NumpadBackspace = 95,
|
|
234
|
-
/** C or AC (All Clear). Also for use with numpads that have a Clear key that is separate from the NumLock key. On the Mac, the numpad Clear key should always be encoded as "NumLock". */
|
|
235
|
-
NumpadClear = 96,
|
|
236
|
-
/** CE (Clear Entry) */
|
|
237
|
-
NumpadClearEntry = 97,
|
|
238
|
-
/** , (thousands separator). For locales where the thousands separator is a "." (e.g., Brazil), this key may generate a .. */
|
|
239
|
-
NumpadComma = 98,
|
|
240
|
-
/** . Del. For locales where the decimal separator is "," (e.g., Brazil), this key may generate a ,. */
|
|
241
|
-
NumpadDecimal = 99,
|
|
242
|
-
/** / */
|
|
243
|
-
NumpadDivide = 100,
|
|
244
|
-
/** Numpad Enter */
|
|
245
|
-
NumpadEnter = 101,
|
|
246
|
-
/** = */
|
|
247
|
-
NumpadEqual = 102,
|
|
248
|
-
/** # on a phone or remote control device. This key is typically found below the 9 key and to the right of the 0 key. */
|
|
249
|
-
NumpadHash = 103,
|
|
250
|
-
/** M+ Add current entry to the value stored in memory. */
|
|
251
|
-
NumpadMemoryAdd = 104,
|
|
252
|
-
/** MC Clear the value stored in memory. */
|
|
253
|
-
NumpadMemoryClear = 105,
|
|
254
|
-
/** MR Replace the current entry with the value stored in memory. */
|
|
255
|
-
NumpadMemoryRecall = 106,
|
|
256
|
-
/** MS Replace the value stored in memory with the current entry. */
|
|
257
|
-
NumpadMemoryStore = 107,
|
|
258
|
-
/** M- Subtract current entry from the value stored in memory. */
|
|
259
|
-
NumpadMemorySubtract = 108,
|
|
260
|
-
/**
|
|
261
|
-
* * on a keyboard. For use with numpads that provide mathematical operations (+, -, * and /).
|
|
262
|
-
* Use "NumpadStar" for the * key on phones and remote controls.
|
|
263
|
-
*/
|
|
264
|
-
NumpadMultiply = 109,
|
|
265
|
-
/** ( Found on the Microsoft Natural Keyboard. */
|
|
266
|
-
NumpadParenLeft = 110,
|
|
267
|
-
/** ) Found on the Microsoft Natural Keyboard. */
|
|
268
|
-
NumpadParenRight = 111,
|
|
269
|
-
/**
|
|
270
|
-
* * on a phone or remote control device. This key is typically found below the 7 key and to the left of the 0 key.
|
|
271
|
-
* Use "NumpadMultiply" for the * key on numeric keypads.
|
|
272
|
-
*/
|
|
273
|
-
NumpadStar = 112,
|
|
274
|
-
/** - */
|
|
275
|
-
NumpadSubtract = 113,
|
|
276
|
-
/** Esc or ⎋. */
|
|
277
|
-
Escape = 114,
|
|
278
|
-
/** F1 */
|
|
279
|
-
F1 = 115,
|
|
280
|
-
/** F2 */
|
|
281
|
-
F2 = 116,
|
|
282
|
-
/** F3 */
|
|
283
|
-
F3 = 117,
|
|
284
|
-
/** F4 */
|
|
285
|
-
F4 = 118,
|
|
286
|
-
/** F5 */
|
|
287
|
-
F5 = 119,
|
|
288
|
-
/** F6 */
|
|
289
|
-
F6 = 120,
|
|
290
|
-
/** F7 */
|
|
291
|
-
F7 = 121,
|
|
292
|
-
/** F8 */
|
|
293
|
-
F8 = 122,
|
|
294
|
-
/** F9 */
|
|
295
|
-
F9 = 123,
|
|
296
|
-
/** F10 */
|
|
297
|
-
F10 = 124,
|
|
298
|
-
/** F11 */
|
|
299
|
-
F11 = 125,
|
|
300
|
-
/** F12 */
|
|
301
|
-
F12 = 126,
|
|
302
|
-
/** F13 */
|
|
303
|
-
F13 = 127,
|
|
304
|
-
/** F14 */
|
|
305
|
-
F14 = 128,
|
|
306
|
-
/** F15 */
|
|
307
|
-
F15 = 129,
|
|
308
|
-
/** Fn This is typically a hardware key that does not generate a separate code. Most keyboards do not place this key in the function section, but it is included here to keep it with related keys. */
|
|
309
|
-
Fn = 130,
|
|
310
|
-
/** FLock or FnLock. Function Lock key. Found on the Microsoft Natural Keyboard. */
|
|
311
|
-
FnLock = 131,
|
|
312
|
-
/** PrtScr SysRq or Print Screen. */
|
|
313
|
-
PrintScreen = 132,
|
|
314
|
-
/** Scroll Lock */
|
|
315
|
-
ScrollLock = 133,
|
|
316
|
-
/** Pause Break */
|
|
317
|
-
Pause = 134,
|
|
318
|
-
/** Some laptops place this key to the left of the ↑ key. */
|
|
319
|
-
BrowserBack = 135,
|
|
320
|
-
/** Browser Favorites */
|
|
321
|
-
BrowserFavorites = 136,
|
|
322
|
-
/** Some laptops place this key to the right of the ↑ key. */
|
|
323
|
-
BrowserForward = 137,
|
|
324
|
-
/** Browser Home */
|
|
325
|
-
BrowserHome = 138,
|
|
326
|
-
/** Browser Refresh */
|
|
327
|
-
BrowserRefresh = 139,
|
|
328
|
-
/** Browser Search */
|
|
329
|
-
BrowserSearch = 140,
|
|
330
|
-
/** Browser Stop */
|
|
331
|
-
BrowserStop = 141,
|
|
332
|
-
/** Eject or ⏏. This key is placed in the function section on some Apple keyboards. */
|
|
333
|
-
Eject = 142,
|
|
334
|
-
/** Sometimes labelled My Computer on the keyboard. */
|
|
335
|
-
LaunchApp1 = 143,
|
|
336
|
-
/** Sometimes labelled Calculator on the keyboard. */
|
|
337
|
-
LaunchApp2 = 144,
|
|
338
|
-
/** Launch Mail */
|
|
339
|
-
LaunchMail = 145,
|
|
340
|
-
/** Media Play/Pause */
|
|
341
|
-
MediaPlayPause = 146,
|
|
342
|
-
/** Media Select */
|
|
343
|
-
MediaSelect = 147,
|
|
344
|
-
/** Media Stop */
|
|
345
|
-
MediaStop = 148,
|
|
346
|
-
/** Media Track Next */
|
|
347
|
-
MediaTrackNext = 149,
|
|
348
|
-
/** Media Track Previous */
|
|
349
|
-
MediaTrackPrevious = 150,
|
|
350
|
-
/** This key is placed in the function section on some Apple keyboards, replacing the Eject key. */
|
|
351
|
-
Power = 151,
|
|
352
|
-
/** Sleep */
|
|
353
|
-
Sleep = 152,
|
|
354
|
-
/** Audio Volume Down */
|
|
355
|
-
AudioVolumeDown = 153,
|
|
356
|
-
/** Audio Volume Mute */
|
|
357
|
-
AudioVolumeMute = 154,
|
|
358
|
-
/** Audio Volume Up */
|
|
359
|
-
AudioVolumeUp = 155,
|
|
360
|
-
/** Wake Up */
|
|
361
|
-
WakeUp = 156,
|
|
362
|
-
/** Hyper */
|
|
363
|
-
Hyper = 157,
|
|
364
|
-
/** Super */
|
|
365
|
-
Super = 158,
|
|
366
|
-
/** Turbo */
|
|
367
|
-
Turbo = 159,
|
|
368
|
-
/** Abort */
|
|
369
|
-
Abort = 160,
|
|
370
|
-
/** Resume */
|
|
371
|
-
Resume = 161,
|
|
372
|
-
/** Suspend */
|
|
373
|
-
Suspend = 162,
|
|
374
|
-
/** Found on Sun’s USB keyboard. */
|
|
375
|
-
Again = 163,
|
|
376
|
-
/** Found on Sun’s USB keyboard. */
|
|
377
|
-
Copy = 164,
|
|
378
|
-
/** Found on Sun’s USB keyboard. */
|
|
379
|
-
Cut = 165,
|
|
380
|
-
/** Found on Sun’s USB keyboard. */
|
|
381
|
-
Find = 166,
|
|
382
|
-
/** Found on Sun’s USB keyboard. */
|
|
383
|
-
Open = 167,
|
|
384
|
-
/** Found on Sun’s USB keyboard. */
|
|
385
|
-
Paste = 168,
|
|
386
|
-
/** Found on Sun’s USB keyboard. */
|
|
387
|
-
Props = 169,
|
|
388
|
-
/** Found on Sun’s USB keyboard. */
|
|
389
|
-
Select = 170,
|
|
390
|
-
/** Found on Sun’s USB keyboard. */
|
|
391
|
-
Undo = 171,
|
|
392
|
-
/** Use for dedicated ひらがな key found on some Japanese word processing keyboards. */
|
|
393
|
-
Hiragana = 172,
|
|
394
|
-
/** Use for dedicated カタカナ key found on some Japanese word processing keyboards. */
|
|
395
|
-
Katakana = 173,
|
|
396
|
-
/** This value code should be used when no other value given in this specification is appropriate. */
|
|
397
|
-
Unidentified = 174
|
|
398
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines values that specify the buttons on a pointer device.
|
|
3
|
-
* Refer to the W3C standards:
|
|
4
|
-
* (https://www.w3.org/TR/uievents/#dom-mouseevent-button)
|
|
5
|
-
* (https://www.w3.org/TR/uievents/#dom-mouseevent-buttons)
|
|
6
|
-
* Refer to Microsoft's documentation.(https://docs.microsoft.com/en-us/dotnet/api/system.windows.input.mousebutton?view=windowsdesktop-6.0)
|
|
7
|
-
*/
|
|
8
|
-
export declare enum PointerButton {
|
|
9
|
-
/** No button. */
|
|
10
|
-
None = 0,
|
|
11
|
-
/** Indicate the primary pointer of the device (in general, the left button or the only button on single-button devices, used to activate a user interface control or select text) or the un-initialized value. */
|
|
12
|
-
Primary = 1,
|
|
13
|
-
/** Indicate the secondary pointer (in general, the right button, often used to display a context menu). */
|
|
14
|
-
Secondary = 2,
|
|
15
|
-
/** Indicate the auxiliary pointer (in general, the middle button, often combined with a mouse wheel). */
|
|
16
|
-
Auxiliary = 4,
|
|
17
|
-
/** Indicate the X1 (back) pointer. */
|
|
18
|
-
XButton1 = 8,
|
|
19
|
-
/** Indicate the X2 (forward) pointer. */
|
|
20
|
-
XButton2 = 16,
|
|
21
|
-
/** Indicate the X3 pointer. */
|
|
22
|
-
XButton3 = 32,
|
|
23
|
-
/** Indicate the X4 pointer. */
|
|
24
|
-
XButton4 = 64,
|
|
25
|
-
/** Indicate the X5 pointer. */
|
|
26
|
-
XButton5 = 128,
|
|
27
|
-
/** Indicate the X6 pointer. */
|
|
28
|
-
XButton6 = 256,
|
|
29
|
-
/** Indicate the X7 pointer. */
|
|
30
|
-
XButton7 = 512,
|
|
31
|
-
/** Indicate the X8 pointer. */
|
|
32
|
-
XButton8 = 1024
|
|
33
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The current phase of the pointer.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum PointerPhase {
|
|
5
|
-
/** A Pointer pressed on the screen. */
|
|
6
|
-
Down = 0,
|
|
7
|
-
/** A pointer moved on the screen. */
|
|
8
|
-
Move = 1,
|
|
9
|
-
/** A Pointer pressed on the screen but hasn't moved. */
|
|
10
|
-
Stationary = 2,
|
|
11
|
-
/** A pointer was lifted from the screen. */
|
|
12
|
-
Up = 3,
|
|
13
|
-
/** The system cancelled tracking for the pointer. */
|
|
14
|
-
Leave = 4
|
|
15
|
-
}
|
package/types/input/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { InputManager } from "./InputManager";
|
|
2
|
-
export { Keys } from "./enums/Keys";
|
|
3
|
-
export { PointerButton } from "./enums/PointerButton";
|
|
4
|
-
export { PointerPhase } from "./enums/PointerPhase";
|
|
5
|
-
export { Pointer } from "./pointer/Pointer";
|
|
6
|
-
export { PointerEventData } from "./pointer/PointerEventData";
|
|
7
|
-
export { registerPointerEventEmitter } from "./pointer/PointerManager";
|
|
8
|
-
export { PointerEventEmitter } from "./pointer/emitter/PointerEventEmitter";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Vector2 } from "@galacean/engine-math";
|
|
2
|
-
import { PointerButton } from "../enums/PointerButton";
|
|
3
|
-
import { PointerPhase } from "../enums/PointerPhase";
|
|
4
|
-
/**
|
|
5
|
-
* Pointer.
|
|
6
|
-
*/
|
|
7
|
-
export declare class Pointer {
|
|
8
|
-
/**
|
|
9
|
-
* Unique id.
|
|
10
|
-
* @remarks Start from 0.
|
|
11
|
-
*/
|
|
12
|
-
readonly id: number;
|
|
13
|
-
/** The phase of pointer. */
|
|
14
|
-
phase: PointerPhase;
|
|
15
|
-
/** The button that triggers the pointer event. */
|
|
16
|
-
button: PointerButton;
|
|
17
|
-
/** The currently pressed buttons for this pointer. */
|
|
18
|
-
pressedButtons: PointerButton;
|
|
19
|
-
/** The position of the pointer in screen space pixel coordinates. */
|
|
20
|
-
position: Vector2;
|
|
21
|
-
/** The change of the pointer. */
|
|
22
|
-
deltaPosition: Vector2;
|
|
23
|
-
}
|
|
24
|
-
export declare enum PointerEventType {
|
|
25
|
-
None = 0,
|
|
26
|
-
Down = 1,
|
|
27
|
-
Up = 2,
|
|
28
|
-
Leave = 4,
|
|
29
|
-
Move = 8,
|
|
30
|
-
Cancel = 16
|
|
31
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from "@galacean/engine-math";
|
|
2
|
-
import { IPoolElement } from "../../utils/ObjectPool";
|
|
3
|
-
import { Pointer } from "./Pointer";
|
|
4
|
-
/**
|
|
5
|
-
* Pointer event data.
|
|
6
|
-
*/
|
|
7
|
-
export declare class PointerEventData implements IPoolElement {
|
|
8
|
-
/** The pointer that triggers this event. */
|
|
9
|
-
pointer: Pointer;
|
|
10
|
-
/** The position of the event trigger (in world space). */
|
|
11
|
-
worldPosition: Vector3;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ClearableObjectPool } from "../../utils/ClearableObjectPool";
|
|
2
|
-
import { PointerEventData } from "./PointerEventData";
|
|
3
|
-
import { PointerEventEmitter } from "./emitter/PointerEventEmitter";
|
|
4
|
-
/**
|
|
5
|
-
* Declare pointer event emitter decorator.
|
|
6
|
-
*/
|
|
7
|
-
export declare function registerPointerEventEmitter(): <T extends PointerEventEmitter>(Target: {
|
|
8
|
-
new (pool: ClearableObjectPool<PointerEventData>): T;
|
|
9
|
-
}) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Ray } from "@galacean/engine-math";
|
|
2
|
-
import { Entity } from "../../../Entity";
|
|
3
|
-
import { Scene } from "../../../Scene";
|
|
4
|
-
import { ClearableObjectPool } from "../../../utils/ClearableObjectPool";
|
|
5
|
-
import { Pointer } from "../Pointer";
|
|
6
|
-
import { PointerEventData } from "../PointerEventData";
|
|
7
|
-
import { IHitResult } from "./IHitResult";
|
|
8
|
-
export declare abstract class PointerEventEmitter {
|
|
9
|
-
protected static _tempRay: Ray;
|
|
10
|
-
protected _hitResult: IHitResult;
|
|
11
|
-
protected _pool: ClearableObjectPool<PointerEventData>;
|
|
12
|
-
constructor(pool: ClearableObjectPool<PointerEventData>);
|
|
13
|
-
abstract processRaycast(scenes: readonly Scene[], pointer: Pointer): void;
|
|
14
|
-
abstract processDrag(pointer: Pointer): void;
|
|
15
|
-
abstract processDown(pointer: Pointer): void;
|
|
16
|
-
abstract processUp(pointer: Pointer): void;
|
|
17
|
-
abstract processLeave(pointer: Pointer): void;
|
|
18
|
-
abstract dispose(): void;
|
|
19
|
-
protected abstract _init(): void;
|
|
20
|
-
protected _createEventData(pointer: Pointer): PointerEventData;
|
|
21
|
-
protected _fireDown(entity: Entity, eventData: PointerEventData): void;
|
|
22
|
-
protected _fireUp(entity: Entity, eventData: PointerEventData): void;
|
|
23
|
-
protected _fireClick(entity: Entity, eventData: PointerEventData): void;
|
|
24
|
-
protected _fireEnter(entity: Entity, eventData: PointerEventData): void;
|
|
25
|
-
protected _fireExit(entity: Entity, eventData: PointerEventData): void;
|
|
26
|
-
protected _fireBeginDrag(entity: Entity, eventData: PointerEventData): void;
|
|
27
|
-
protected _fireDrag(entity: Entity, eventData: PointerEventData): void;
|
|
28
|
-
protected _fireEndDrag(entity: Entity, eventData: PointerEventData): void;
|
|
29
|
-
protected _fireDrop(entity: Entity, eventData: PointerEventData): void;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { Color, SphericalHarmonics3 } from "@galacean/engine-math";
|
|
2
|
-
import { ReferResource } from "../asset/ReferResource";
|
|
3
|
-
import { Engine } from "../Engine";
|
|
4
|
-
import { TextureCube } from "../texture";
|
|
5
|
-
import { DiffuseMode } from "./enums/DiffuseMode";
|
|
6
|
-
/**
|
|
7
|
-
* Ambient light.
|
|
8
|
-
*/
|
|
9
|
-
export declare class AmbientLight extends ReferResource {
|
|
10
|
-
private static _shMacro;
|
|
11
|
-
private static _specularMacro;
|
|
12
|
-
private static _decodeRGBMMacro;
|
|
13
|
-
private static _diffuseColorProperty;
|
|
14
|
-
private static _diffuseSHProperty;
|
|
15
|
-
private static _diffuseIntensityProperty;
|
|
16
|
-
private static _specularTextureProperty;
|
|
17
|
-
private static _specularIntensityProperty;
|
|
18
|
-
private static _mipLevelProperty;
|
|
19
|
-
private _diffuseSphericalHarmonics;
|
|
20
|
-
private _diffuseSolidColor;
|
|
21
|
-
private _diffuseIntensity;
|
|
22
|
-
private _specularTexture;
|
|
23
|
-
private _specularIntensity;
|
|
24
|
-
private _diffuseMode;
|
|
25
|
-
private _shArray;
|
|
26
|
-
private _scenes;
|
|
27
|
-
private _specularTextureDecodeRGBM;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to decode from specularTexture with RGBM format.
|
|
30
|
-
*/
|
|
31
|
-
get specularTextureDecodeRGBM(): boolean;
|
|
32
|
-
set specularTextureDecodeRGBM(value: boolean);
|
|
33
|
-
/**
|
|
34
|
-
* Diffuse mode of ambient light.
|
|
35
|
-
*/
|
|
36
|
-
get diffuseMode(): DiffuseMode;
|
|
37
|
-
set diffuseMode(value: DiffuseMode);
|
|
38
|
-
/**
|
|
39
|
-
* Diffuse reflection solid color.
|
|
40
|
-
* @remarks Effective when diffuse reflection mode is `DiffuseMode.SolidColor`.
|
|
41
|
-
*/
|
|
42
|
-
get diffuseSolidColor(): Color;
|
|
43
|
-
set diffuseSolidColor(value: Color);
|
|
44
|
-
/**
|
|
45
|
-
* Diffuse reflection spherical harmonics 3.
|
|
46
|
-
* @remarks Effective when diffuse reflection mode is `DiffuseMode.SphericalHarmonics`.
|
|
47
|
-
*/
|
|
48
|
-
get diffuseSphericalHarmonics(): SphericalHarmonics3;
|
|
49
|
-
set diffuseSphericalHarmonics(value: SphericalHarmonics3);
|
|
50
|
-
/**
|
|
51
|
-
* Diffuse reflection intensity.
|
|
52
|
-
*/
|
|
53
|
-
get diffuseIntensity(): number;
|
|
54
|
-
set diffuseIntensity(value: number);
|
|
55
|
-
/**
|
|
56
|
-
* Specular reflection texture.
|
|
57
|
-
*/
|
|
58
|
-
get specularTexture(): TextureCube;
|
|
59
|
-
set specularTexture(value: TextureCube);
|
|
60
|
-
/**
|
|
61
|
-
* Specular reflection intensity.
|
|
62
|
-
*/
|
|
63
|
-
get specularIntensity(): number;
|
|
64
|
-
set specularIntensity(value: number);
|
|
65
|
-
constructor(engine: Engine);
|
|
66
|
-
private _setDiffuseMode;
|
|
67
|
-
private _setSpecularTexture;
|
|
68
|
-
private _setSpecularTextureDecodeRGBM;
|
|
69
|
-
private _preComputeSH;
|
|
70
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from "@galacean/engine-math";
|
|
2
|
-
import { Light } from "./Light";
|
|
3
|
-
/**
|
|
4
|
-
* Directional light.
|
|
5
|
-
*/
|
|
6
|
-
export declare class DirectLight extends Light {
|
|
7
|
-
private static _cullingMaskProperty;
|
|
8
|
-
private static _colorProperty;
|
|
9
|
-
private static _directionProperty;
|
|
10
|
-
/**
|
|
11
|
-
* The offset distance in the opposite direction of light direction when generating shadows.
|
|
12
|
-
* @remarks Increasing this value can avoid the holes in the shadow caused by low polygon models.
|
|
13
|
-
*/
|
|
14
|
-
shadowNearPlaneOffset: number;
|
|
15
|
-
private _reverseDirection;
|
|
16
|
-
/**
|
|
17
|
-
* Get direction.
|
|
18
|
-
*/
|
|
19
|
-
get direction(): Vector3;
|
|
20
|
-
/**
|
|
21
|
-
* Get the opposite direction of the directional light direction.
|
|
22
|
-
*/
|
|
23
|
-
get reverseDirection(): Vector3;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Shader properties data of direct lights in the scene.
|
|
27
|
-
*/
|
|
28
|
-
export interface IDirectLightShaderData {
|
|
29
|
-
cullingMask: Int32Array;
|
|
30
|
-
color: Float32Array;
|
|
31
|
-
direction: Float32Array;
|
|
32
|
-
}
|