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

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

491. laya.ui.Clip [ 49%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

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

492. laya.ui.UIGroup [ 49%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

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

493. laya.d3.core.scene.Scene3D [ 49%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

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

494. 问一下CurMem内存都是指的什么啊,为啥我加载了资源都清理了还占用19兆内存啊 [ 49%]

...相关的链接 提交 3 个回复 qian 赞同来自: 首先你先了解下webGL下针对资源的内存管理:https://ask.layabox.com/question/1726 小于512的图片,我们会自动创建大图合集,将小于512的图片放到大图合集下,所以即使你只加载了一张很小的图...

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

495. laya.display.Input [ 49%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

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

496. 加了两个遮罩后的动画,帧频只有10了,有demo,有项目,有源码 [ 49%]

...irecod ... le.ts  class GameMain{ constructor() { Laya.init(1920,950,Laya.WebGL); Laya.Stat.show(); const container = new Laya.Sprite(); Laya.stage.addChild(container); const mask = new Laya.Sprite(); mask.graphics.drawPoly(0, 0, [0, 0, 484, 0, 1483, 950, 0, 950], '#ff0000'); // container.addChild(...

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

497. 微信小游戏,横屏,小游戏不全屏显示 [ 49%]

...放                   这种模式下的Laya.init(width,height, WebGL);高度一般是不对的,需要计算   b.横屏思路:                    Laya.stage.scaleMode  "fixedheight" :高度不变,宽度根据屏幕比缩放;   你使用的是默认值为 "noscale",...

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

498. laya.ui.Label [ 48%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

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

499. laya.ui.ScrollBar [ 48%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

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

500. 百度小游戏入门介绍(TypeScript-小游戏适配文档-百度小游戏) [ 48%]

...APP中的Runtime。尽管百度小游戏的接口兼容大部分CanvasWebgl,具有即点即玩,无需下载安装的HTML5特性。显然,从严格的定义来讲,百度小游戏不是标准的HTML5游戏。 **那么,**如何能做到开发的游戏还能在浏览器中也运行起来呢...

来源: Laya2.0_文档 发布时间: 20210714