• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 129 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)

21. laya.net.Loader [ 71%]

...ring = text[static] 文本类型,加载完成后返回文本。Loader  TEXTURE2D : String = TEXTURE2D[static] Texture2D资源。Loader  TEXTURECUBE : String = TEXTURECUBE[static] TextureCube资源。Loader  TTF : String = ttf[static] TTF字体类型,加载完成后返回null。Loader  XM...

来源: Laya2.0_api 发布时间: 20190513

22. laya.loaders.VideoTextureLoader_API3.0 [ 71%]

...;VideoTexture> Globals "laya/loaders/TextureLoader" RenderTextureLoader Texture2DLoader TextureLoader VideoTextureLoader load compressedFormats constructParams2d internalResources videoFormats propertyParams2d Legend Object literal Variable Function Type alias Class Class with type parameter Meth...

来源: Laya3.0_api 发布时间: 20231115

23. laya.loaders.RenderTextureLoader_API3.0 [ 71%]

...rTexture> Globals "laya/loaders/TextureLoader" RenderTextureLoader load Texture2DLoader TextureLoader VideoTextureLoader compressedFormats constructParams2d internalResources videoFormats propertyParams2d Legend Object literal Variable Function Type alias Class Class with type parameter Method En...

来源: Laya3.0_api 发布时间: 20231115

24. 统计信息 · LayaAir3.4 · 引擎文档 · LAYABOX [ 70%]

...Texture Memory(M_AllTexture)6.2 All Texture Count(C_AllTexture)6.3 Texture2D Memory(M_Texture2D)6.4 Texture2D Count(C_Texture2D)6.5 TextureCube Memory(M_TextureCube)6.6 TextureCube Count(C_TextureCube)6.7 Texture3D Memory(M_Texture3D)6.8 Texture3D Count(C_Texture3D)6....

来源: Laya3.0_文档 发布时间: 20260128

25. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...edoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u_NormalTexture: { type: Texture2D, options: { define: "NORMALTEXTURE" } }, u_NormalScale: { type: Float, default: 1.0, range: [0.0, 2.0] }, u_Metallic: { type: Float, defaul...

来源: Laya3.0_文档 发布时间: 20251010

26. laya.d3.core.render.BloomEffect [ 68%]

...dirtIntensity : Number 获取污渍强度。 BloomEffect  dirtTexture : Texture2D = null镜头污渍纹路,用于为泛光特效增加污渍灰尘效果BloomEffect  fastMode : Boolean = false是否开启快速模式。该模式通过降低质量来提升性能。BloomEffect  intensity : Number...

来源: Laya2.0_api 发布时间: 20190513

27. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...定添加到哪个大纹理。 //使用示例 const textures = [texture1, texture2, texture3]; const successCount = atlasManager.addTextures(textures); console.log(`成功添加 ${successCount} 个纹理`); const urls = [ "resources/ui/button.png", "resources/ui/panel.png", "resources/ui/icon.png" ]...

来源: Laya3.0_文档 发布时间: 20260131

28. 资源加载 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...H MESH Mesh资源 Laya.Loader.MATERIAL MATERIAL Material资源 Laya.Loader.TEXTURE2D TEXTURE2D Texture2D资源 Laya.Loader.TEXTURECUBE TEXTURE2D TextureCube资源 Laya.Loader.SPINE SPINE Spine资源 二、加载多个资源 有很多时候,我们需要把大量的资源在Loading界面进行预加...

来源: Laya3.0_文档 发布时间: 20251010

29. 自定义2D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...求也是存在的。 目前,LayaAir可以实现自定义2D纹理渲染(Texture2D)和基础图元渲染(Primitive)。 本篇文档属于进阶性文档,在阅读前需要具备Shader的基础知识,可以参考3D着色器文档中的一些概念介绍。 二、结构与应用 2.1 着色器文...

来源: Laya3.0_文档 发布时间: 20251010

30. 2D节点使用3D · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...D场景添加渲染物2.3 设置摄像机的目标纹理2.4 设置Sprite的Texture2.5 修改渲染纹理属性三、代码中混合使用3D混合使用3D 一、概述 在2D项目开发过程中,开发者往往需要在UI界面显示3D场景或者3D物体,比如游戏开发中,3D人物在2D背...

来源: Laya3.0_文档 发布时间: 20251010