大约有 306 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
Laya_社区(117) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya2.0_文档(7) Laya_示例(6) Laya2.0_示例(3) Laya3.0_文档(2)
...测试结果,决定选择使用哪种模式。 - 单线程模式:JS和Render运行在一个线程中。 - - 优点:操作无延迟(例如:touch、按键)。 - 缺点:性能不如双线程模式。 - 双线程模式:JS和Render运行在各自的线程中。 - - 优点:性能比单...
来源: Laya2.0_文档 发布时间: 20210715
...ement); // 设置Video元素地样式和属性 videoElement.style.zIndex = Render.canvas.style.zIndex+1; videoElement.src = this.url; videoElement.controls = false;//不现实控制播放按钮 // videoElement.autoplay = "autoplay";//自动播放 // videoElement.poster = GoldConsts.imgUrl; //设置...
来源: Laya_社区 发布时间: 20180313
...847 关注: 1 人 kyok • 2018-04-24 16:28 如果这个btn是通过box的 render渲染出来的呢 如果设置了第一个的值 list中渲染出来的box中的btn没有name怎么办呀 Nine • 2020-04-23 21:51 @kyok:解决了吗?
来源: Laya_社区 发布时间: 20160712
...,进入List 内部,设置List 列表渲染项的属性 name 的值为 render。 **注意:此处列表渲染项属性 name 的值必须为 render。** 方法2:双击List 对象,进入List 内部,设置List 列表渲染项的属性 renderType的值为 render。 ; videoElement.setAttribute("playsinli...
来源: Laya_社区 发布时间: 20200909
...lTime; // shader playback time (in seconds) uniform float iTimeDelta; // render time (in seconds) uniform int iFrame; // shader playback frame uniform float iChannelTime[4]; // channel playback time (in seconds) uniform vec3 iChannelResolution[4]; // channel resolution (in pixels) uniform ...
来源: Laya_社区 发布时间: 20170522
....document.body.appendChild(videoElement); videoElement.style.zInddex =Laya.Render.canvas.style.zIndex + 100; videoElement.controls = false; videoElement.autoplay =true; videoElement.style.width='100%'; videoElement.style.height='100%'; videoElement.autobuffer=true; videoElement.src = "/Users/apple/L...
来源: Laya_社区 发布时间: 20181124
...景颜色为透明 //判断当前渲染模式是WebGL还是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 = n...
来源: Laya_社区 发布时间: 20170627
...ouseManager.__proto.runEvent (subContext/code.js:3139:14) at Stage.__proto.render (subContext/code.js:18499:26) at Stage.__proto._loop (subContext/code.js:18458:8) at Function.loop (subContext/code.js:5426:15) at WAGameSubContext.js:3:18232 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180404