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

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

1381. laya.ui.AutoBitmap [ 38%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AutoBitmapProperties | Methods Packagelaya.uiClasspublic class AutoBitmapInheritanceAutoBitmap Graphics Object AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫...

来源: laya_api 发布时间: 20170929

1382. 控制器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...GED, ()=> { console.log(c1.selectedIndex); }); Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 18:58:09 img{cursor:pointer}

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

1383. laya.d3.core.trail.TrailRenderer_API3.0 [ 38%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailRenderer" TrailRenderer Class TrailRenderer TrailRenderer 类用于创建拖尾渲染器。 Hierarchy BaseRender TrailRen...

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

1384. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 38%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/pixelLine/PixelLineRenderer" PixelLineRenderer Class PixelLineRenderer PixelLineRenderer 类用于线渲染器。 Hierarchy BaseRend...

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

1385. laya.resource.Texture2DArray_API3.0 [ 38%]

...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

1386. 引用外部脚本的方式 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...下: 在项目文件夹执行 npm init 初始化项目。 使用npm install xxx --save 安装xxx包。 然后在代码中使用import语句导入即可。 1.2 使用示例 我们用第三方AStar模块来讲解: 1.2.1 npm init 在开发中使用npm init会生成一个pakeage.json文件,这个...

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

1387. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 38%]

... 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

1388. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...); return label; } } 效果预览: (图2-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{cursor:pointer}

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

1389. 多线程Worker · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...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

1390. laya.media.SoundManager [ 38%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...

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