大约有 1,835 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya3.0_文档(268) Laya_社区(214) Laya2.0_文档(11) Laya2.0_示例(2) Laya_示例(2)
...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constr...
来源: Laya3.0_api 发布时间: 20231115
...下: 在项目文件夹执行 npm init 初始化项目。 使用npm install xxx --save 安装xxx包。 然后在代码中使用import语句导入即可。 1.2 使用示例 我们用第三方AStar模块来讲解: 1.2.1 npm init 在开发中使用npm init会生成一个pakeage.json文件,这个...
来源: Laya3.0_文档 发布时间: 20251010
... this._shaderValues.setInt(OutlineMaterial.BLEND, RenderState.BLEND_ENABLE_ALL); this._shaderValues.setInt(OutlineMaterial.BLEND_SRC, RenderState.BLENDPARAM_SRC_ALPHA); this._shaderValues.setInt(OutlineMaterial.BLEND_DST, RenderState.BLENDPARAM_ONE_MINUS_SRC_ALPHA); this._shaderValues.setInt(Outline...
来源: Laya_社区 发布时间: 20190814
...); return label; } } 效果预览: (图2-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...r("js/my_task.js"); myWorker.onmessage = function (oEvent) { console.log("Called back by the worker!\n"); }; myWorker.postMessage("start"); // start the worker. 新建一个my_task.js文件,放到js文件夹下,代码如下: self.addEventListener('message', function (e) { var xmlreq = new XMLH...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...
来源: Laya2.0_api 发布时间: 20190513
...件(png/jpg)打包。目的是遇到不支持压缩格式的系统时,fallback到源文件。 2.2 发布后的小游戏目录介绍 发布后的目录结构如图2-2所示 : (图2-2) js目录 与 libs目录: 项目代码和引擎库。 resources资源目录 与 Scene.ls: resources资...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseRenderProperties | Methods Packagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRend...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...
来源: laya_api 发布时间: 20170929
...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Volume/BatchVolume/StatiVertexMergeBatchRender" StatiVertexMergeBatchRender Class StatiVertexMergeBatchRender Hierarchy BatchRe...
来源: Laya3.0_api 发布时间: 20231115