大约有 4,034 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...没有办法实现, 下面是之前flash代码 bitmapData.applyFilter(this._mask, this._mask.rect, zeroPoint, this._colorFilter); sprite.copyPixels(this._base, this._base.rect, zeroPoint); sprite.draw(bitmapData, null, null, this._maskBlendMode); 2016-07-30 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20160730
...aya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } setup() { let xmlValueContainsError = "item aitem bsomethis..."; let xmlValue = "item aitem bsomethings..."; this.proessXML(xmlValueContainsError); console.log("\n"); this.proessXML(xmlValue); } // 使用xml p...
来源: Laya2.0_示例 发布时间: 20250226
...无法使用 meshRender.sharedMaterials 设置材质 // 可以正常asign this.object.meshRender.sharedMaterial = this.material; // 沒有效果 this.object.meshRender.sharedMaterials[0] = this.material; this.object.meshRender.sharedMaterials[1] = this.material; 这个物体在Unity的属性如附...
来源: Laya_社区 发布时间: 20180316
Uncaught Error: Animation:this playName has exist with another clip. 这是什么bug? 附件 : --> 2019-04-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这不是说动画重名了吗...
来源: Laya_社区 发布时间: 20190407
...用无效,就是不滚动,一直在0的位置 Laya.timer.frameLoop(1,this,onLoop); private function onLoop():void { progress++; //最高100%进度 if(progress>=100) { progress=100; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.visible=true; }...
来源: Laya_社区 发布时间: 20180121
...个刚体 ```typescript //创建盒型MeshSprite3D var box: MeshSprite3D = this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))) as MeshSprite3D; //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.posit...
来源: Laya2.0_文档 发布时间: 20210714
...是一片空白。代码如下,希望可以得到您的回复,谢谢~ this.iframe = Laya.Browser.document.createElement("iframe"); this.iframe.style.position ="absolute";//设置布局定位。这个不能少。 this.iframe.style.zIndex = 1000;//设置层级 this.iframe.style...
来源: Laya_社区 发布时间: 20170630
请问父节点的Tween.clearAll(this)是否会影响到子节点上的Tween? 项目中有Ball,Ball的碰撞会产生一些动画效果来表现加分, 比如用一个金币的Image放在Ball节点下,然后采用Tween.to变化Image实现加分的效果; 然而有时候会出现子节点的Tw...
来源: Laya_社区 发布时间: 20180713
...到音乐文件,就是一个Laya.WebAudioSound对象 music, 然后用 this.NowPlayMusic = music.play(0,1)来播放背景音乐,返回的Laya.SoundChannel 对象就是 NowPlayMusic ,我听说失去焦点后,这个NowPlayMusic 就废了,所以我就想再使用music.play(position,1)...
来源: Laya_社区 发布时间: 20200220
Label 在设置。text时 底层this._tf为null 父节点又存在 还是偶发 在设置Label.text属性情况下。Label存在可以log。设置的text string 也无问题。就是laya.ui.js 中this._tf为null导致 设置text失败。LayaAir2.13 版本。 附件 : --> 2022-08-23 添加评论 免...
来源: Laya_社区 发布时间: 20220823