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

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

1. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 100%]

...时候,初始显存占用是2.31M,使用纹理压缩格式,只增加170K,加上初始大小最终为2.48M。而原图则增加1024K,达到3.31M。如图4所示。所以显存优化效果还是非常明显的,减少约83%。 ![图4](img/4.png) (图4) 有一些开发者,还不太理...

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

2. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 78%]

... //设置宽度 hScrollBar.width = 400; //设置位置 hScrollBar.pos(150, 170); //最低滚动位置数字 hScrollBar.min = 0; //最高滚动位置数字 hScrollBar.max = 100; //滚动变化事件回调 hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(hS...

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

3. HScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 77%]

...度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stag...

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

4. VScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 77%]

...度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置数字 this.vScrollBar.min = 0; //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stag...

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

5. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 75%]

...度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya...

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

6. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 75%]

...度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置数字 this.vScrollBar.min = 0; //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya...

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