• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,032 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0059 秒)

911. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 48%]

...lo.disconnect();         }         /** 销毁*/         public destroy(): void {             this.close();             this.pomelo = null;             if(this.mDecorate)this.mDecorate.destroy();             this.mDecorate = null;         }     }   /** socke...

来源: Laya_社区 发布时间: 20161109

912. 3d物理引擎有碰撞不触发onCollisionEnter [ 48%]

...弹飞,并没有回调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

913. laya.device.media.Video_API3.0 [ 48%]

...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

914. [LayaAir3]3.0 Image使用的Texture不在_idResourcesMap里,没办法gc清,image执行destory的时候也没有清 [ 48%]

...成自己搞一个类似gc的,去判断texture的引用是否为0,再destroy? 那么想问下,为何texture不让给gc管?意义在哪 1692150182用户 • 2023-11-27 16:50 只有texture和BitmapFont 是传了false,不在gc资源检查列表里面

来源: Laya_社区 发布时间: 20231124

915. laya.spine.SpineSkeleton_API3.0 [ 47%]

... 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

916. laya.d3.component.physics.BoxCollider [ 47%]

...取包围盒子。 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

917. laya.d3.component.physics.SphereCollider [ 47%]

...。 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

918. uglify压缩后的错误堆栈解析 [ 47%]

...{ 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

919. setSubPixels画布擦除不掉 [ 47%]

...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

920. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(带悬赏的每次都创建订单失败,之后在社区里面看不到) [ 47%]

...= 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