大约有 535 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
...找到 代码: public onCollisionEnter(collision:Laya.Collision):void { console.log("碰撞"); if (collision.other.owner === this.sphere){ ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : -->...
来源: Laya_社区 发布时间: 20190817
...rigidBody.mass = 10; this.arr.push(box); console.log("position = ",box.transform.position); if (index == 1) { Laya.timer.once(1000,this,()=>{ this.setAngle(); })...
来源: Laya_社区 发布时间: 20201120
...3'>HTML文本</span>"; html += "</div>" p.innerHTML = html; console.log(p.contextWidth); //0 p.frameOnce(2,this,function(){ console.log(p.contextWidth); //0 }) } function showExternalHTML() { var p = new HTMLIframeElement(); Laya.stage.addChild(p); p.href = "../../res/html/test.html";...
来源: Laya_社区 发布时间: 20170314
...s.scene.cannonPhysicsSimulation.rayCast(this.ray,out); if(out.succeeded) { console.log(111); } } } 附件 : --> web.rar 2020-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 程程 赞同来自: 问题解决...
来源: Laya_社区 发布时间: 20200903
... super.changeValue(); _proMask.scaleX = _value / _max; _proMask.repaint(); console.log("改变值: " + _proMask.scaleX); } /** *@inheritDoc */ override public function destroy(destroyChild:Boolean = true):void { super.destroy(destroyChild); _proMask && _proMask.destroy(_proMask); _progress &...
来源: Laya_社区 发布时间: 20170327
... 200, height: 150, destWidth: 400, destHeight: 300, success: (res) => { console.log(res) wx.saveImageToPhotosAlbum({ filePath: res.tempFilePath, success(res) { //保存成功 wx.showToast({ title: '保存成功' }); } }) } }) 这是保存代码,获取canvas使用的事 Laya.Render.canvas 如果...
来源: Laya_社区 发布时间: 20190316
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2018-10-07 18:08 浏览: 752 关注: 2 人
来源: Laya_社区 发布时间: 20180925
...ane":0.3, "farPlane":90 }, var camera= scene.getChildByName("AutoCamera"); console.log(camera); 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zyf598125795 赞同来自: camera打印显示NULL 2017-09-2...
来源: Laya_社区 发布时间: 20170926
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 IDE通过.ui自动生成的ui代码报错 2.2.0beta4,微信上动态合批报错. 问题状态 最新活动: 2017-04-19 11:47 浏览: 1648 关注: 3 人
来源: Laya_社区 发布时间: 20170419
...ndex.html:1 WebGL: too many errors, no more errors will be reported to the console for this context. 2017-09-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 183*****755 赞同来自: 请附上简单示例和资...
来源: Laya_社区 发布时间: 20170929