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

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

31. List翻页效果怎么实现 [ 63%]

...复杂 2018-11-13 0 1 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...

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

32. js进度,进度,js场景进度效果 [ 63%]

...GL还是Canvas if (Laya.Render.isWebGL) { Laya.init(800, 600, Laya.WebGL); Config.isAlpha = true; //设置画布是否透明,只对2D(WebGL)、3D有效。 Laya.stage.bgColor = "none"; //背景透明 } else { Laya.init(800, 600); Laya.stage.bgColor = null; //背景透明 } //画布水平居中对...

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

33. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 62%]

...确。 2018-07-24 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...

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

34. Timer Handler被覆盖 [ 61%]

...ing属性会被覆盖 每次重新发布都会覆盖掉game.json和project.config.json 问题状态 最新活动: 2021-07-06 15:50 浏览: 4885 关注: 2 人 cmxStar • 2021-07-06 09:29 哥们 为啥说mid会不变啊? 我从代码上看mid 是会自增的呀,除非是你从对象池里取出...

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

35. 请问laya有没有类似翻页容器(pageView)的组件? [ 61%]

...方法 2018-08-14 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...

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

36. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 60%]

...代码 例如 laya.Display.Sprite 可以简写为Sprite 我们新建一个Config.js var Sprite = laya.display.Sprite; var Text = laya.display.Text; var Bitmap = laya.resource.Bitmap; var Texture = laya.resource.Texture; var Handler = laya.utils.Handler; var Loader = laya.net.Loader; var Animation = ...

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

37. Native(android)下创建二维码并显示在页面上 [ 60%]

...Bitmap对象 */ Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); bitmap.setPixels(pixels, 0, width, 0, 0, width, height); return bitmap; } catch (WriterException e) { e.printStackTrace(); } return null; }/** * bitmap转为base64 * @param bitmap * @return */ public static ...

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

38. laya.d3.renderobjs.nativeobj.NativeUniformBufferObject_API3.0 [ 60%]

...ers name: string Uniform block name(must pitch Shader) bufferUsage: number config usage bytelength: number byte length Default value isSingle: boolean = false Returns UniformBufferObject Static getBuffer getBuffer(name: string, index: number): UniformBufferObject Inherited from NativeUniformBufferOb...

来源: Laya3.0_api 发布时间: 20231115

39. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

...明物体的动态合并几率低。 关闭动态合批选项 在引擎的Config3D.ts文件中enableDynamicBatch值选项,true为开启动态合批,false为关闭动态合批 图4-1 5.Static Batch 静态批处理是一种绘制调用批处理方法,它组合不移动的网格以减少绘制调...

来源: Laya3.0_文档 发布时间: 20251010

40. Android实现原生截屏做不到layaair.game.conch.*(Laya一个在Android的View)的内容 [ 59%]

...map bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); view.draw(canvas);但并不能截到Window下的layaView(出laya外的其他部分可以截到,另外注意我写了个Android项目自测,放上Android的原生组...

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