大约有 797 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
Laya_社区(443) Laya3.0_api(103) Laya2.0_api(58) laya_api(54) Laya2.0_文档(49) Laya_示例(39) Laya2.0_示例(33) Laya3.0_文档(18)
...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
...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
调用Sprite的drawToCanvas怎么返回的是uint8array private function drawPicture():* { var _canvas:* =this.drawToCanvas(this.width,this.height,0,0); var base64:* = _canvas._canvas.source.toDataURL(); ...
来源: Laya_社区 发布时间: 20170401
.../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
...是 diango 上增加动画的问题 Laya.Animation.createFrames(loading_array, 'loading') 附件 : --> 2017-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 apeCom 赞同来自: 查看之后发现是 diango ...
来源: Laya_社区 发布时间: 20171107
...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
...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
...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
...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
... 个项目(排列成 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