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

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

261. laya.d3.core.pixelLine.PixelLineSprite3D [ 77%]

...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Spr...

来源: Laya2.0_api 发布时间: 20190513

262. [LayaAir3]Spine释放后,纹理不会被释放掉 [ 77%]

...mp; res._bitmap instanceof Laya.Texture2D) {             res._bitmap.destroy();         }         Laya.loader.clearRes(pngUrl)            }     } tmpDat.destroy(); }     2024-06-14 1 0 分享 微博 QZONE 微信 FlyBall 赞同来自: 销毁后,skel释放了,png没有释...

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

263. laya.d3.core.MeshSprite3D_API3.0 [ 77%]

..._PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubb...

来源: Laya3.0_api 发布时间: 20231115

264. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 77%]

...itPixelCount < 0.3) { trace("remove"); _htmlCanvas.clear(); _htmlCanvas.destroy(); _tex.destroy(); _colorSpr.off(Event.MOUSE_MOVE, this, __moveHandler); } } private function getPixel(tex:Texture):int { var pixelCount:int = 0; /************getPixels内存泄漏*************/ var arr:Array = tex.ge...

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

265. laya.d3.core.trail.TrailSprite3D_API3.0 [ 77%]

..._PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bu...

来源: Laya3.0_api 发布时间: 20231115

266. laya.physics.joint.PulleyJoint [ 77%]

...有效]两个刚体是否可以发生碰撞,默认为falsePulleyJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是...

来源: Laya2.0_api 发布时间: 20190513

267. laya.physics.joint.DistanceJoint [ 77%]

...在回归到节点过程中受到的阻尼,建议取值0~1DistanceJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component  frequency : Number弹簧系统的震动频率,可以视为弹簧的弹性系数DistanceJoint...

来源: Laya2.0_api 发布时间: 20190513

268. 刚体组件销毁的bug [ 77%]

刚体组件销毁的bug 如果刚体没有指定_colliderShape就destroy,会报错,demo就不给了吧,重现只需要: let rigidBody = obj.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; rigidBody.enabled = false; rigidBody.destroy();  原因就是销毁的时候,没有对_colliderSh...

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

269. laya.d3.physics.PhysicsComponent [ 76%]

...mponent  collisionGroup : int 获取所属碰撞组。 PhysicsComponent destroyed : Boolean[read-only] 获取是否已经销毁 。 Component  enabled : Boolean[override] 获取是否启用组件。 PhysicsComponent  friction : Number 获取摩擦力。 PhysicsComponent id : int[read-only] ...

来源: Laya2.0_api 发布时间: 20190513

270. 如果执行打开窗口再关闭这个窗口引擎就会报错 [ 76%]

...引擎就会报错 引擎就不能内部判断一下这个窗口是不是destroyed吗? 是就不执行后面的逻辑,不是再继续执行   例子随便创建个view 里面放几个图片. 在main函数里打开这个界面,再立即关闭这个界面.就会出问题.   这个问题,我们需求...

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