大约有 1,032 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0059 秒)
Laya_社区(502) Laya3.0_api(280) Laya2.0_api(125) laya_api(99) Laya2.0_文档(12) Laya3.0_文档(9) Laya2.0_示例(4) Laya_示例(1)
...lo.disconnect(); } /** 销毁*/ public destroy(): void { this.close(); this.pomelo = null; if(this.mDecorate)this.mDecorate.destroy(); this.mDecorate = null; } } /** socke...
来源: Laya_社区 发布时间: 20161109
...弹飞,并没有回调onCollisionEnter 问题二:碰撞时在下一帧destroy节点,有时会报错 Uncaught TypeError: Cannot read property 'isTrigger' of undefined at PhysicsSimulation._updateCollisions (libs/laya.d3.js:15042) at Scene3D._update (libs/laya.d3.js:18977) at S...
来源: Laya_社区 发布时间: 20200426
...Mode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted nu...
来源: Laya3.0_api 发布时间: 20231102
...成自己搞一个类似gc的,去判断texture的引用是否为0,再destroy? 那么想问下,为何texture不让给gc管?意义在哪 1692150182用户 • 2023-11-27 16:50 只有texture和BitmapFont 是传了false,不在gc资源检查列表里面
来源: Laya_社区 发布时间: 20231124
... animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSkins filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren par...
来源: Laya3.0_api 发布时间: 20231115
...取包围盒子。 BoxCollider center : Vector3 中心点 BoxCollider destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获...
来源: laya_api 发布时间: 20170929
...。 SphereCollider center : Vector3 获取中心点。 SphereCollider destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获...
来源: laya_api 发布时间: 20170929
...{ line: 1,// column: 56 } // console.log(generatedPosition); } // consumer.destroy(); } main().catch(error => console.log(error.message)); 6、在cmd中运行:node convertSourceMap.js "at t.ClearYeMan (http://cangqiong.17dawan.com/v ... 341015)" "F:\\jenkins_workspace\\branch\\0707\\release\...
来源: Laya_社区 发布时间: 20200720
...argets.restore(); let dt = _targets.getData(0, 0, w, h);//像素数据 ctx.destroy(); if(!this.aImg){ let aImg:Laya.Image = new Laya.Image(this.aUrl); aImg.scaleX = aImg.scaleY = 2; Laya.stage.addChild(aImg); aImg.mouseEnabled = false; this.aImg = aImg; } //清除目标纹理的像素 let _sourceTex...
来源: Laya_社区 发布时间: 20230328
...= new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20181113