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

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

241. laya.ui.HBox [ 54%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

242. Laya 集成Box2d 可以么?着急 [ 54%]

...//setup debug draw      var debugDraw = new b2DebugDraw();     //创建一个画板     var canvas = Laya.Browser.createElement('canvas');     //设置大小     canvas.width = Laya.stage.width;     canvas.height = Laya.stage.height;     var ctx = canvas.getContext('2d')...

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

243. laya.display.FrameAnimation [ 54%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

244. laya.ui.Label [ 53%]

...nent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeI...

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

245. laya.ui.LayoutBox [ 53%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

246. laya.ui.Clip [ 53%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

247. laya.ui.ViewStack [ 53%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

248. 使用webgl之后toDataUrl返回黑色的图像 [ 53%]

...go-blank-after-converting-to-image 这里的说法,两个方式可用 1. 创建时加入preserveDrawingBuffer,但是,这个参数导致乐视手机崩溃 2. 在每次绘图之后截图,但是laya里哪个函数是绘图?webgl里的renderSubmit?还是哪个? 2017-05-23 添加评论 免...

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

249. laya.display.EffectAnimation [ 53%]

...始播放时,其他动效会自动停止播放。 可以通过LayaAir IDE创建。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

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

250. laya.utils.PerfHUD [ 53%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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