@galacean/engine-core 0.0.0-experimental-1.4-small-language.3 → 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 -36302
  3. package/dist/main.js.map +0 -1
  4. package/dist/module.js +0 -36021
  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,47 +0,0 @@
1
- import { Color, Matrix } from "@galacean/engine-math";
2
- import { Component } from "../Component";
3
- import { Layer } from "../Layer";
4
- import { ShadowType } from "../shadow";
5
- /**
6
- * Light base class.
7
- */
8
- export declare abstract class Light extends Component {
9
- /** Light Intensity */
10
- intensity: number;
11
- /**
12
- * Culling mask - which layers the light affect.
13
- * @remarks Support bit manipulation, corresponding to `Layer`.
14
- */
15
- cullingMask: Layer;
16
- /** How this light casts shadows. */
17
- shadowType: ShadowType;
18
- /** Shadow bias.*/
19
- shadowBias: number;
20
- /** Shadow mapping normal-based bias. */
21
- shadowNormalBias: number;
22
- /**
23
- * @deprecated
24
- * Please use `shadowNearPlaneOffset` instead.
25
- */
26
- shadowNearPlane: number;
27
- private _shadowStrength;
28
- private _color;
29
- private _viewMat;
30
- private _inverseViewMat;
31
- /** Shadow intensity, the larger the value, the clearer and darker the shadow, range [0,1]. */
32
- get shadowStrength(): number;
33
- set shadowStrength(value: number);
34
- /**
35
- * Light Color.
36
- */
37
- get color(): Color;
38
- set color(value: Color);
39
- /**
40
- * View matrix.
41
- */
42
- get viewMatrix(): Matrix;
43
- /**
44
- * Inverse view matrix.
45
- */
46
- get inverseViewMatrix(): Matrix;
47
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Light manager.
3
- */
4
- export declare class LightManager {
5
- /**
6
- * Each type of light source is at most 10, beyond which it will not take effect.
7
- * */
8
- private static _maxLight;
9
- private _directData;
10
- private _pointData;
11
- private _spotData;
12
- }
@@ -1,26 +0,0 @@
1
- import { Vector3 } from "@galacean/engine-math";
2
- import { Light } from "./Light";
3
- /**
4
- * Point light.
5
- */
6
- export declare class PointLight extends Light {
7
- private static _cullingMaskProperty;
8
- private static _colorProperty;
9
- private static _positionProperty;
10
- private static _distanceProperty;
11
- /** Defines a distance cutoff at which the light's intensity must be considered zero. */
12
- distance: number;
13
- /**
14
- * Get light position.
15
- */
16
- get position(): Vector3;
17
- }
18
- /**
19
- * Shader properties data of point lights in the scene.
20
- */
21
- export interface IPointLightShaderData {
22
- cullingMask: Int32Array;
23
- color: Float32Array;
24
- position: Float32Array;
25
- distance: Float32Array;
26
- }
@@ -1,46 +0,0 @@
1
- import { Vector3 } from "@galacean/engine-math";
2
- import { Light } from "./Light";
3
- /**
4
- * Spot light.
5
- */
6
- export declare class SpotLight extends Light {
7
- private static _cullingMaskProperty;
8
- private static _colorProperty;
9
- private static _positionProperty;
10
- private static _directionProperty;
11
- private static _distanceProperty;
12
- private static _angleCosProperty;
13
- private static _penumbraCosProperty;
14
- /** Defines a distance cutoff at which the light's intensity must be considered zero. */
15
- distance: number;
16
- /** Angle, in radians, from centre of spotlight where falloff begins. */
17
- angle: number;
18
- /** Angle, in radians, from falloff begins to ends. */
19
- penumbra: number;
20
- private _inverseDirection;
21
- private _projectMatrix;
22
- /**
23
- * Get light position.
24
- */
25
- get position(): Vector3;
26
- /**
27
- * Get light direction.
28
- */
29
- get direction(): Vector3;
30
- /**
31
- * Get the opposite direction of the spotlight.
32
- */
33
- get reverseDirection(): Vector3;
34
- }
35
- /**
36
- * Shader properties data of spot lights in the scene.
37
- */
38
- export interface ISpotLightShaderData {
39
- cullingMask: Int32Array;
40
- color: Float32Array;
41
- position: Float32Array;
42
- direction: Float32Array;
43
- distance: Float32Array;
44
- angleCos: Float32Array;
45
- penumbraCos: Float32Array;
46
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Diffuse mode.
3
- */
4
- export declare enum DiffuseMode {
5
- /** Solid color mode. */
6
- SolidColor = 0,
7
- /**
8
- * SH mode
9
- * @remarks
10
- * Use SH3 to represent irradiance environment maps efficiently, allowing for interactive rendering of diffuse objects under distant illumination.
11
- */
12
- SphericalHarmonics = 1
13
- }
@@ -1,6 +0,0 @@
1
- export { AmbientLight } from "./AmbientLight";
2
- export { DirectLight } from "./DirectLight";
3
- export { DiffuseMode } from "./enums/DiffuseMode";
4
- export { Light } from "./Light";
5
- export { PointLight } from "./PointLight";
6
- export { SpotLight } from "./SpotLight";
@@ -1,88 +0,0 @@
1
- import { Engine } from "../Engine";
2
- import { Shader, ShaderProperty } from "../shader";
3
- import { ShaderMacro } from "../shader/ShaderMacro";
4
- import { BlendMode } from "./enums/BlendMode";
5
- import { RenderFace } from "./enums/RenderFace";
6
- import { Material } from "./Material";
7
- export declare class BaseMaterial extends Material {
8
- protected static _baseTextureMacro: ShaderMacro;
9
- protected static _normalTextureMacro: ShaderMacro;
10
- protected static _emissiveTextureMacro: ShaderMacro;
11
- protected static _transparentMacro: ShaderMacro;
12
- protected static _baseColorProp: ShaderProperty;
13
- protected static _baseTextureProp: ShaderProperty;
14
- protected static _tilingOffsetProp: ShaderProperty;
15
- protected static _normalTextureProp: ShaderProperty;
16
- protected static _normalIntensityProp: ShaderProperty;
17
- protected static _emissiveColorProp: ShaderProperty;
18
- protected static _emissiveTextureProp: ShaderProperty;
19
- protected static _alphaCutoffProp: ShaderProperty;
20
- private static _alphaCutoffMacro;
21
- private _renderFace;
22
- protected _isTransparent: boolean;
23
- private _blendMode;
24
- /**
25
- * Shader used by the material.
26
- */
27
- get shader(): Shader;
28
- set shader(value: Shader);
29
- /**
30
- * Whether transparent of first shader pass render state.
31
- */
32
- get isTransparent(): boolean;
33
- set isTransparent(value: boolean);
34
- /**
35
- * Blend mode of first shader pass render state.
36
- * @remarks Only take effect when `isTransparent` is `true`.
37
- */
38
- get blendMode(): BlendMode;
39
- set blendMode(value: BlendMode);
40
- /**
41
- * Alpha cutoff value.
42
- * @remarks
43
- * Fragments with alpha channel lower than cutoff value will be discarded.
44
- * `0` means no fragment will be discarded.
45
- */
46
- get alphaCutoff(): number;
47
- set alphaCutoff(value: number);
48
- /**
49
- * Face for render of first shader pass render state.
50
- */
51
- get renderFace(): RenderFace;
52
- set renderFace(value: RenderFace);
53
- /**
54
- * Create a BaseMaterial instance.
55
- * @param engine - Engine to which the material belongs
56
- * @param shader - Shader used by the material
57
- */
58
- constructor(engine: Engine, shader: Shader);
59
- /**
60
- * Set if is transparent of the shader pass render state.
61
- * @param passIndex - Shader pass index
62
- * @param isTransparent - If is transparent
63
- */
64
- setIsTransparent(passIndex: number, isTransparent: boolean): void;
65
- /**
66
- * Set the blend mode of shader pass render state.
67
- * @param passIndex - Shader pass index
68
- * @param blendMode - Blend mode
69
- */
70
- setBlendMode(passIndex: number, blendMode: BlendMode): void;
71
- /**
72
- * Set the render face of shader pass render state.
73
- * @param passIndex - Shader pass index
74
- * @param renderFace - Render face
75
- */
76
- setRenderFace(passIndex: number, renderFace: RenderFace): void;
77
- /**
78
- * Clone and return the instance.
79
- */
80
- clone(): BaseMaterial;
81
- /**
82
- * Clone to the target material.
83
- * @param target - target material
84
- */
85
- cloneTo(target: BaseMaterial): void;
86
- protected _seIsTransparent(value: boolean): void;
87
- protected _setAlphaCutoff(value: number): void;
88
- }
@@ -1,68 +0,0 @@
1
- import { Color, Vector4 } from "@galacean/engine-math";
2
- import { Engine } from "../Engine";
3
- import { Texture2D } from "../texture/Texture2D";
4
- import { BaseMaterial } from "./BaseMaterial";
5
- /**
6
- * Blinn-phong Material.
7
- */
8
- export declare class BlinnPhongMaterial extends BaseMaterial {
9
- private static _specularColorProp;
10
- private static _shininessProp;
11
- private static _specularTextureProp;
12
- /**
13
- * Base color.
14
- */
15
- get baseColor(): Color;
16
- set baseColor(value: Color);
17
- /**
18
- * Base texture.
19
- */
20
- get baseTexture(): Texture2D;
21
- set baseTexture(value: Texture2D);
22
- /**
23
- * Specular color.
24
- */
25
- get specularColor(): Color;
26
- set specularColor(value: Color);
27
- /**
28
- * Specular texture.
29
- */
30
- get specularTexture(): Texture2D;
31
- set specularTexture(value: Texture2D);
32
- /**
33
- * Emissive color.
34
- */
35
- get emissiveColor(): Color;
36
- set emissiveColor(value: Color);
37
- /**
38
- * Emissive texture.
39
- */
40
- get emissiveTexture(): Texture2D;
41
- set emissiveTexture(value: Texture2D);
42
- /**
43
- * Normal texture.
44
- */
45
- get normalTexture(): Texture2D;
46
- set normalTexture(value: Texture2D);
47
- /**
48
- * Normal texture intensity.
49
- */
50
- get normalIntensity(): number;
51
- set normalIntensity(value: number);
52
- /**
53
- * Set the specular reflection coefficient, the larger the value, the more convergent the specular reflection effect.
54
- */
55
- get shininess(): number;
56
- set shininess(value: number);
57
- /**
58
- * Tiling and offset of main textures.
59
- */
60
- get tilingOffset(): Vector4;
61
- set tilingOffset(value: Vector4);
62
- /**
63
- * Create a BlinnPhong material instance.
64
- * @param engine - Engine to which the material belongs
65
- */
66
- constructor(engine: Engine);
67
- clone(): BlinnPhongMaterial;
68
- }
@@ -1,52 +0,0 @@
1
- import { IClone } from "@galacean/engine-design";
2
- import { Engine } from "../Engine";
3
- import { ReferResource } from "../asset/ReferResource";
4
- import { Shader } from "../shader/Shader";
5
- import { ShaderData } from "../shader/ShaderData";
6
- import { RenderState } from "../shader/state/RenderState";
7
- /**
8
- * Material.
9
- */
10
- export declare class Material extends ReferResource implements IClone {
11
- /** Name. */
12
- name: string;
13
- private _shaderData;
14
- /**
15
- * Shader data.
16
- */
17
- get shaderData(): ShaderData;
18
- /**
19
- * Shader used by the material.
20
- */
21
- get shader(): Shader;
22
- set shader(value: Shader);
23
- /**
24
- * First Render state.
25
- */
26
- get renderState(): RenderState;
27
- /**
28
- * Render states.
29
- */
30
- get renderStates(): Readonly<RenderState[]>;
31
- /**
32
- * Create a material instance.
33
- * @param engine - Engine to which the material belongs
34
- * @param shader - Shader used by the material
35
- */
36
- constructor(engine: Engine, shader: Shader);
37
- /**
38
- * Clone and return the instance.
39
- */
40
- clone(): Material;
41
- /**
42
- * Clone to the target material.
43
- * @param target - target material
44
- */
45
- cloneTo(target: Material): void;
46
- _addReferCount(value: number): void;
47
- protected _cloneToAndModifyName(target: Material): void;
48
- /**
49
- * @override
50
- */
51
- protected _onDestroy(): void;
52
- }
@@ -1,101 +0,0 @@
1
- import { Color, Vector4 } from "@galacean/engine-math";
2
- import { Engine } from "../Engine";
3
- import { Shader } from "../shader/Shader";
4
- import { Texture2D } from "../texture/Texture2D";
5
- import { BaseMaterial } from "./BaseMaterial";
6
- import { TextureCoordinate } from "./enums/TextureCoordinate";
7
- /**
8
- * PBR (Physically-Based Rendering) Material.
9
- */
10
- export declare abstract class PBRBaseMaterial extends BaseMaterial {
11
- private static _occlusionTextureIntensityProp;
12
- private static _occlusionTextureCoordProp;
13
- private static _occlusionTextureProp;
14
- private static _clearCoatProp;
15
- private static _clearCoatTextureProp;
16
- private static _clearCoatRoughnessProp;
17
- private static _clearCoatRoughnessTextureProp;
18
- private static _clearCoatNormalTextureProp;
19
- /**
20
- * Base color.
21
- */
22
- get baseColor(): Color;
23
- set baseColor(value: Color);
24
- /**
25
- * Base texture.
26
- */
27
- get baseTexture(): Texture2D;
28
- set baseTexture(value: Texture2D);
29
- /**
30
- * Normal texture.
31
- */
32
- get normalTexture(): Texture2D;
33
- set normalTexture(value: Texture2D);
34
- /**
35
- * Normal texture intensity.
36
- */
37
- get normalTextureIntensity(): number;
38
- set normalTextureIntensity(value: number);
39
- /**
40
- * Emissive color.
41
- */
42
- get emissiveColor(): Color;
43
- set emissiveColor(value: Color);
44
- /**
45
- * Emissive texture.
46
- */
47
- get emissiveTexture(): Texture2D;
48
- set emissiveTexture(value: Texture2D);
49
- /**
50
- * Occlusion texture.
51
- */
52
- get occlusionTexture(): Texture2D;
53
- set occlusionTexture(value: Texture2D);
54
- /**
55
- * Occlusion texture intensity.
56
- */
57
- get occlusionTextureIntensity(): number;
58
- set occlusionTextureIntensity(value: number);
59
- /**
60
- * Occlusion texture uv coordinate.
61
- * @remarks Must be UV0 or UV1.
62
- */
63
- get occlusionTextureCoord(): TextureCoordinate;
64
- set occlusionTextureCoord(value: TextureCoordinate);
65
- /**
66
- * Tiling and offset of main textures.
67
- */
68
- get tilingOffset(): Vector4;
69
- set tilingOffset(value: Vector4);
70
- /**
71
- * The clearCoat layer intensity, default 0.
72
- */
73
- get clearCoat(): number;
74
- set clearCoat(value: number);
75
- /**
76
- * The clearCoat layer intensity texture.
77
- */
78
- get clearCoatTexture(): Texture2D;
79
- set clearCoatTexture(value: Texture2D);
80
- /**
81
- * The clearCoat layer roughness, default 0.
82
- */
83
- get clearCoatRoughness(): number;
84
- set clearCoatRoughness(value: number);
85
- /**
86
- * The clearCoat layer roughness texture.
87
- */
88
- get clearCoatRoughnessTexture(): Texture2D;
89
- set clearCoatRoughnessTexture(value: Texture2D);
90
- /**
91
- * The clearCoat normal map texture.
92
- */
93
- get clearCoatNormalTexture(): Texture2D;
94
- set clearCoatNormalTexture(value: Texture2D);
95
- /**
96
- * Create a pbr base material instance.
97
- * @param engine - Engine to which the material belongs
98
- * @param shader - Shader used by the material
99
- */
100
- protected constructor(engine: Engine, shader: Shader);
101
- }
@@ -1,198 +0,0 @@
1
- import { Color, Vector2 } from "@galacean/engine-math";
2
- import { Engine } from "../Engine";
3
- import { Texture2D } from "../texture/Texture2D";
4
- import { PBRBaseMaterial } from "./PBRBaseMaterial";
5
- import { RefractionMode } from "./enums/Refraction";
6
- /**
7
- * PBR (Metallic-Roughness Workflow) Material.
8
- */
9
- export declare class PBRMaterial extends PBRBaseMaterial {
10
- private static _metallicProp;
11
- private static _roughnessProp;
12
- private static _roughnessMetallicTextureProp;
13
- private static _iorProp;
14
- private static _anisotropyInfoProp;
15
- private static _anisotropyTextureProp;
16
- private static _iridescenceInfoProp;
17
- private static _iridescenceThicknessTextureProp;
18
- private static _iridescenceTextureProp;
19
- private static _sheenColorProp;
20
- private static _sheenRoughnessProp;
21
- private static _sheenTextureProp;
22
- private static _sheenRoughnessTextureProp;
23
- private static _transmissionMacro;
24
- private static _thicknessMacro;
25
- private static _thicknessTextureMacro;
26
- private static _transmissionTextureMacro;
27
- private static _transmissionProp;
28
- private static _transmissionTextureProp;
29
- private static _attenuationColorProp;
30
- private static _attenuationDistanceProp;
31
- private static _thicknessProp;
32
- private static _thicknessTextureProp;
33
- private _refractionMode;
34
- private _anisotropyRotation;
35
- private _iridescenceRange;
36
- private _sheenEnabled;
37
- /**
38
- * Index Of Refraction.
39
- * @defaultValue `1.5`
40
- */
41
- get ior(): number;
42
- set ior(v: number);
43
- /**
44
- * Metallic.
45
- * @defaultValue `1.0`
46
- */
47
- get metallic(): number;
48
- set metallic(value: number);
49
- /**
50
- * Roughness. default 1.0.
51
- * @defaultValue `1.0`
52
- */
53
- get roughness(): number;
54
- set roughness(value: number);
55
- /**
56
- * Roughness metallic texture.
57
- * @remarks G channel is roughness, B channel is metallic
58
- */
59
- get roughnessMetallicTexture(): Texture2D;
60
- set roughnessMetallicTexture(value: Texture2D);
61
- /**
62
- * The strength of anisotropy, when anisotropyTexture is present, this value is multiplied by the blue channel.
63
- * @defaultValue `0`
64
- */
65
- get anisotropy(): number;
66
- set anisotropy(value: number);
67
- /**
68
- * The rotation of the anisotropy in tangent, bitangent space, value in degrees.
69
- * @defaultValue `0`
70
- */
71
- get anisotropyRotation(): number;
72
- set anisotropyRotation(value: number);
73
- /**
74
- * The anisotropy texture.
75
- * @remarks
76
- * Red and green channels represent the anisotropy direction in [-1, 1] tangent, bitangent space, to be rotated by anisotropyRotation.
77
- * The blue channel contains strength as [0, 1] to be multiplied by anisotropy.
78
- */
79
- get anisotropyTexture(): Texture2D;
80
- set anisotropyTexture(value: Texture2D);
81
- /**
82
- * The iridescence intensity factor, from 0.0 to 1.0.
83
- * @defaultValue `0.0`
84
- */
85
- get iridescence(): number;
86
- set iridescence(value: number);
87
- /**
88
- * The iridescence intensity texture, sampling red channel, and multiply 'iridescence'.
89
- */
90
- get iridescenceTexture(): Texture2D;
91
- set iridescenceTexture(value: Texture2D);
92
- /**
93
- * The index of refraction of the dielectric thin-film layer, greater than or equal to 1.0.
94
- * @defaultValue `1.3`
95
- */
96
- get iridescenceIOR(): number;
97
- set iridescenceIOR(value: number);
98
- /**
99
- * The range of iridescence thickness, x is minimum, y is maximum.
100
- * @defaultValue `[100, 400]`
101
- */
102
- get iridescenceThicknessRange(): Vector2;
103
- set iridescenceThicknessRange(value: Vector2);
104
- /**
105
- * The thickness texture of the thin-film layer, sampling green channel.
106
- * @remarks
107
- * If iridescenceThicknessTexture is defined, iridescence thickness between the 'iridescenceThicknessRange'.
108
- * If iridescenceThicknessTexture is not defined, iridescence thickness will use only 'iridescenceThicknessRange.y'.
109
- */
110
- get iridescenceThicknessTexture(): Texture2D;
111
- set iridescenceThicknessTexture(value: Texture2D);
112
- /**
113
- * Sheen color.
114
- * @defaultValue `[0,0,0]`
115
- */
116
- get sheenColor(): Color;
117
- set sheenColor(value: Color);
118
- /**
119
- * Sheen roughness, from 0.0 to 1.0.
120
- * @defaultValue `0.0`
121
- */
122
- get sheenRoughness(): number;
123
- set sheenRoughness(value: number);
124
- /**
125
- * Sheen color texture, multiply ‘sheenColor’.
126
- */
127
- get sheenColorTexture(): Texture2D;
128
- set sheenColorTexture(value: Texture2D);
129
- /**
130
- * Sheen roughness texture.
131
- * @remarks Use alpha channel, and multiply 'sheenRoughness'.
132
- */
133
- get sheenRoughnessTexture(): Texture2D;
134
- set sheenRoughnessTexture(value: Texture2D);
135
- /**
136
- * Refraction switch.
137
- * @remarks Use refractionMode to set the refraction shape.
138
- */
139
- get refractionMode(): RefractionMode;
140
- set refractionMode(value: RefractionMode);
141
- /**
142
- * @inheritdoc
143
- */
144
- get isTransparent(): boolean;
145
- set isTransparent(value: boolean);
146
- /**
147
- * @inheritdoc
148
- */
149
- get alphaCutoff(): number;
150
- set alphaCutoff(value: number);
151
- /**
152
- * Transmission factor.
153
- * @defaultValue `0.0`
154
- */
155
- get transmission(): number;
156
- set transmission(value: number);
157
- /**
158
- * Transmission texture.
159
- * @remarks Use red channel, and multiply 'transmission'.
160
- */
161
- get transmissionTexture(): Texture2D;
162
- set transmissionTexture(value: Texture2D);
163
- /**
164
- * Attenuation color.
165
- * @defaultValue `[1,1,1]`
166
- */
167
- get attenuationColor(): Color;
168
- set attenuationColor(value: Color);
169
- /**
170
- * Attenuation distance, greater than 0.0.
171
- * @defaultValue `infinity`
172
- */
173
- get attenuationDistance(): number;
174
- set attenuationDistance(value: number);
175
- /**
176
- * Thickness, greater than or equal to 0.0.
177
- * @defaultValue `0.0`
178
- */
179
- get thickness(): number;
180
- set thickness(value: number);
181
- /**
182
- * Thickness texture.
183
- * @remarks Use green channel, and multiply 'thickness', range is 0.0 to 1.0.
184
- */
185
- get thicknessTexture(): Texture2D;
186
- set thicknessTexture(value: Texture2D);
187
- /**
188
- * Create a pbr metallic-roughness workflow material instance.
189
- * @param engine - Engine to which the material belongs
190
- */
191
- constructor(engine: Engine);
192
- /**
193
- * @inheritdoc
194
- */
195
- clone(): PBRMaterial;
196
- private _onIridescenceRangeChanged;
197
- private _onSheenColorChanged;
198
- }