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

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

61. 缓动-缓动函数演示 [ 82%]

...ut'); data.push('strongIn', 'strongOut', 'strongInOut'); easeFunctionsList.array = data; } function renderList(item) { item.setLabel(item.dataSource); } function onEaseFunctionChange(list) { character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Eas...

来源: Laya_示例 发布时间: 20260818

62. laya.filters.GlowFilter_API3.0 [ 82%]

...Returns GlowFilter Methods getBlurInfo1Native getBlurInfo1Native(): Float32Array Defined in laya/filters/GlowFilter.ts:113 Returns Float32Array getBlurInfo2Native getBlurInfo2Native(): Float32Array Defined in laya/filters/GlowFilter.ts:123 Returns Float32Array getColorNative getColorNative(): Float3...

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

63. 调用Sprite的drawToCanvas怎么返回的是uint8array [ 81%]

调用Sprite的drawToCanvas怎么返回的是uint8array private function drawPicture():*         {                          var _canvas:* =this.drawToCanvas(this.width,this.height,0,0);             var base64:*  = _canvas._canvas.source.toDataURL();         ...

来源: Laya_社区 发布时间: 20170401

64. IOs使用手动删除本地资源再次进去加载问题 [ 81%]

.../ask.layabox.com/question/16878 这个问题 function beginLoad(){ var res_array = [ {url : "res/atlas/loading.atlas", type : Laya.Loader.ATLAS}, {url : "res/atlas/person.atlas", type : Laya.Loader.ATLAS}, {url : "loading/progress.png", type : Laya.Loader.IMAGE}, {url : "loading/progress$bar.png", t...

来源: Laya_社区 发布时间: 20180803

65. ReferenceError: Loading_fly is not defined [ 81%]

...是 diango 上增加动画的问题 Laya.Animation.createFrames(loading_array, 'loading') 附件 : --> 2017-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 apeCom 赞同来自: 查看之后发现是 diango ...

来源: Laya_社区 发布时间: 20171107

66. laya.particle.ParticleTemplateBase_API3.0 [ 81%]

...Base Index Constructors constructor Properties settings Methods addParticleArray Constructors constructor new ParticleTemplateBase(): ParticleTemplateBase Defined in laya/particle/ParticleTemplateBase.ts:17 创建一个新的 ParticleTemplateBase 类实例。 Returns ParticleTemplateBase Properties ...

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

67. [LayaAir3]调用renderTexture.getDataAsync且同时勾选camera的hdr或msaa,webgl必报错 [ 81%]

...enderTexture:Laya.RenderTexture = camera._getRenderTexture(); let out:Uint8Array = new Uint8Array(50 * 28 * 4); let pixels:Uint8Array = await renderTexture.getDataAsync(0, 0, 50, 28, out) as Uint8Array; let gl:WebGLRenderingContext | WebGL2RenderingContext = Laya.WebGLEngine.instance.gl; let errorCo...

来源: Laya_社区 发布时间: 20250916

68. UI-List [ 81%]

...ush("res/ui/listskins/4.jpg"); data.push("res/ui/listskins/5.jpg"); } list.array = data; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import ...

来源: Laya2.0_示例 发布时间: 20260818

69. UI-List [ 81%]

...es/ui/listskins/4.jpg"); data.push("../../res/ui/listskins/5.jpg"); } list.array = data; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import ...

来源: Laya_示例 发布时间: 20260818

70. 滤镜-颜色滤镜 [ 81%]

... 个项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat: Array = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建一个颜色滤镜对象,红色 var redFilter: ColorFilter = new ColorFilter(redMat); // 赤化猩猩 var redApe: Sprite = this....

来源: Laya2.0_示例 发布时间: 20260818