大约有 412 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
Laya_社区(172) Laya3.0_api(85) Laya3.0_文档(67) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
...否为单实例组件。 ColliderBase label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component radius : Number圆形半径,必须为正数CircleCollider restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认值为0ColliderBase...
来源: Laya2.0_api 发布时间: 20190513
...orldRoot為當前容器 Laya.Physics.I.worldRoot = <Laya.Sprite>this.owner; } 雖然寫在onEnable畫面一開始會閃一下,但運作都正常,感謝回應
来源: Laya_社区 发布时间: 20181215
...erShape=null; this._simulation=null; (this.owner).transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._onTransformChanged); } 2019-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190318
...e。结果是无反应。 4、绑定鼠标事件之前,是使用 scene = owner.scene 获取到当前scene对象的。并且该scene对象不为空。 如下图: 原本目标是希望在3D场景上覆盖一层2D Sprite,这些2D Sprite是需要拖拉和划屏操作的,同时又需要对 ...
来源: Laya_社区 发布时间: 20180724
...点被添加到舞台后 onEnable(): void { let a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D; console.log(a,typeof(a)) let aa = a.addComponent(Laya.Rigidbody3D); } 报错 TypeError: Cannot read properties of undefined (reading &apo...
来源: Laya_社区 发布时间: 20240102
...nParticleSystemPublic Methods MethodDefined By ShurikenParticleSystem(owner:ShuriKenParticle3D)ShurikenParticleSystem _getIndexBuffer():IndexBuffer3DShurikenParticleSystem _getType():int[override] 获取几何体类型。 ShurikenParticleSystem _getVertexBuffer(index:int = 0):VertexBuf...
来源: Laya2.0_api 发布时间: 20190513
...否为单实例组件。 ColliderBase label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认值为0ColliderBase rigidBody : RigidBody[只读]刚体引用ColliderBase width...
来源: Laya2.0_api 发布时间: 20190513
...用parent去做转换,把代码下面这样也行: const pos = (this.owner as Laya.Sprite).localToGlobal(new Laya.Point(0, 0)); 2025-08-15 1 1 分享 微博 QZONE 微信 Recovery 赞同来自: ??? 2025-08-12 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题...
来源: Laya_社区 发布时间: 20250528
...his.enableRightClick(); //禁用Ctrl+c,Ctrl+v this.owner.on("keydown", this, (event: KeyboardEvent) => { if (event.ctrlKey && event.key === "c") { event.preventDefault(); } if (event.ctrl...
来源: Laya_社区 发布时间: 20251115
...却没有跟着调整位置?? 通过射线检测发现,检测了到owner,而successed却是false
来源: Laya_社区 发布时间: 20181127