大约有 107 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0040 秒)
... 与内容相关的链接 提交 1 个回复 大饼干 赞同来自: /** * Renders the quad */ render() { this.gl.useProgram(this.program); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.vertexPositionBuffer); this.gl.enableVertexAttribArray(this.vertexPositionAttribute); this.gl.vertexAttr...
来源: Laya_社区 发布时间: 20180726
oppo CanvasRenderingContext2D 并没有实现 drawImage;报错; 引擎版本:2.0.1 可以用什么代替呢? 引擎代码: /** *通过图片源填充纹理,可为HTMLImageElement、HTMLCanvasElement、HTMLVideoElement、ImageBitmap、ImageData, *设置之后纹理宽高可能会发生...
来源: Laya_社区 发布时间: 20190809
...下问题:(上传错误DEMO工程 testBug.zip) .WebGL-0x7f899a033200]RENDER WARNING: there is no texture bound to the unit 3 附件 : --> testBug.zip 2020-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20200316
... (http://127.0.0.1:10656/game/js/bundle.js:8101:15) at Stage.__proto.render (http://127.0.0.1:10656/game/js/bundle.js:24593:14) at Stage.__proto._loop (http://127.0.0.1:10656/game/js/bundle.js:24517:8) at loop (http://127.0.0.1:10656/game/js/bundle.js:8383:15) 说是Texture类va...
来源: Laya_社区 发布时间: 20181123
...器播放mp3出现The AudioContext was not allowed to start. 拖尾Trail Render的问题 一个时间轴动画里创建的多个动画,怎么分别调用?如图 laya3D动画无法播放 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事啊? ...
来源: Laya_社区 发布时间: 20191024
... C_jx • 2017-03-01 09:10 像特效里包含Particle Animator和Particle Renderer等particle的组件,我导出来东西都有,但是在laya中显示没有报错,但是就是没有看到特效,一片黑的,我把我导出的文件传上去你帮忙看看 Laya代码 var particleRoot = Laya...
来源: Laya_社区 发布时间: 20170228
...bgl渲染下sprite.loadimage加载不出canvas.toDateUrl $("#ewm").qrcode({render:"canvas",width:parseInt(1136*0.3),height:parseInt(1136*0.3),correctLevel:0,text:textDz});//生成二维码图案 var t = new Texture(); t.load($("#ewm canvas")[0].toDataURL()); ewmSprit.graphics.drawTexture(t,0,0);//...
来源: Laya_社区 发布时间: 20160928
...函数 * 作者 麒麟子 * 用法说明 1、在laya.d3.js中找到Camera.render函数 2、render函数中,this._prepareCameraToRender();这一行后面添加如下代码 if(this._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene...
来源: Laya_社区 发布时间: 20200110
...dient Emission -> Rate over Distance Shape -> Shape -> Mesh, Mesh Render, Skinned Mesh Render, Edge Limit Velocity over Lifetime Inherit Velocity Force over Lifetime Color by Speed Size by Speed Rotation by Speed External Forces Noise Collision Triggers Sub Emitters Texture Sheet Animation ...
来源: Laya_社区 发布时间: 20161219
...max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain.max.js:5472) private function createTimerLine():void { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0...
来源: Laya_社区 发布时间: 20170327