大约有 583 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
...veInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Spr...
来源: Laya2.0_api 发布时间: 20190513
...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
..._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
...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
..._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
...有效]两个刚体是否可以发生碰撞,默认为falsePulleyJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是...
来源: Laya2.0_api 发布时间: 20190513
...在回归到节点过程中受到的阻尼,建议取值0~1DistanceJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component frequency : Number弹簧系统的震动频率,可以视为弹簧的弹性系数DistanceJoint...
来源: Laya2.0_api 发布时间: 20190513
刚体组件销毁的bug 如果刚体没有指定_colliderShape就destroy,会报错,demo就不给了吧,重现只需要: let rigidBody = obj.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; rigidBody.enabled = false; rigidBody.destroy(); 原因就是销毁的时候,没有对_colliderSh...
来源: Laya_社区 发布时间: 20200906
...mponent collisionGroup : int 获取所属碰撞组。 PhysicsComponent destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean[override] 获取是否启用组件。 PhysicsComponent friction : Number 获取摩擦力。 PhysicsComponent id : int[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...引擎就会报错 引擎就不能内部判断一下这个窗口是不是destroyed吗? 是就不执行后面的逻辑,不是再继续执行 例子随便创建个view 里面放几个图片. 在main函数里打开这个界面,再立即关闭这个界面.就会出问题. 这个问题,我们需求...
来源: Laya_社区 发布时间: 20190322