大约有 248 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya3.0_api(70) Laya2.0_api(59) laya_api(54) Laya_社区(44) Laya2.0_文档(16) Laya3.0_文档(3) Laya2.0_示例(1) Laya_示例(1)
...ee_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folde...
来源: Laya3.0_api 发布时间: 20231115
...(img/10.gif) (动图10) **Tips**:*混合模式的背景必须是在舞台画布中。比如,只设置Laya.stage.bgColor是无法实现混合模式的。动图10中采用的是Graphics的矩形。*
来源: Laya2.0_文档 发布时间: 20210715
...一定比例的缩放. 注意:单张图片最大不超过2048(laya的画布目前是2048*2048),建议开发者将较大的地图切分成较小的地图进行加载。单图超过1024,内存会大几倍,建议单图的大小在1024以下。 2015-11-05 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20151105
.../ 引导所在容器 this.guideContainer = new Sprite(); // 设置容器为画布缓存 this.guideContainer.cacheAs = "bitmap"; Laya.stage.addChild(this.guideContainer); gameContainer.on("click", this, this.nextStep); //绘制遮罩区,含透明度,可见游戏背景 var maskArea:Sprite = new Sp...
来源: Laya2.0_示例 发布时间: 20260929
...通过 clearRes 进行头像的清理,以及调用 removeChildren 清理画布内容 ,但是观察了一下,内存并未得到释放,请问一下这部分内存应该如何释放? 附件中是最新的DEMO 麻烦帮忙看一下,谢谢 memTest2.rar 2016-11-11 0 5 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20161107
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: laya_api 发布时间: 20170929
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: laya_api 发布时间: 20170929
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya2.0_api 发布时间: 20190513
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式有最大2048大小限制,会...
来源: laya_api 发布时间: 20170422
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: laya_api 发布时间: 20170929