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

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

271. [LayaAir3]laya3.3 beta3按ctrl+d 3d节点命名不会累增 [ 54%]

...节点脚本onDisable时删除子节点后子节点脚本onDisable取不到owner.scene Laya2下新建ts文件不会自动编译 Laya.Panel的子节点在(0,0)点有可能不显示的问题 laya idc 下能否给单个sprite节点指定动画 ide compile的时候不会启动一个本地服务器吗?...

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

272. laya.d3.core.Transform3D_API3.0 [ 54%]

...calRotationY localRotationZ localScale localScaleX localScaleY localScaleZ owner position rotation rotationEuler scale worldMatrix worldNeedUpdate Methods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCa...

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

273. UI编辑器里面创建了一个Graphics line,如何能获取组件编辑的的 points数据 [ 54%]

... 与内容相关的链接 提交 2 个回复 nevercai 赞同来自:  this.owner.graphics["_one"]    JS就是这点强大,什么都能访问,管你什么private,protected,还能覆盖原有的方法,属性。 2019-02-28 0 0 分享 微博 QZONE 微信 安 赞同来自: this.graphics._one....

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

274. laya.d3.component.Script [ 54%]

... : Boolean[override] [read-only] 获取是否为单实例组件。 Script owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By...

来源: laya_api 发布时间: 20170929

275. laya.physics.CircleCollider [ 54%]

...否为单实例组件。 ColliderBase label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component  radius : Number圆形半径,必须为正数CircleCollider restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认值为0ColliderBase...

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

276. 使用ScrollRect捲動物理世界,貼圖錯位問題 [ 53%]

...orldRoot為當前容器 Laya.Physics.I.worldRoot = <Laya.Sprite>this.owner; } 雖然寫在onEnable畫面一開始會閃一下,但運作都正常,感謝回應

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

277. LayaAir 2.0.1 切换场景报异常 Cannot read property ‘_physicsUpdateList’ [ 53%]

...erShape=null;         this._simulation=null;         (this.owner).transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._onTransformChanged);     } 2019-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

278. 给3D场景scene添加鼠标事件无效 [ 53%]

...e。结果是无反应。 4、绑定鼠标事件之前,是使用 scene = owner.scene 获取到当前scene对象的。并且该scene对象不为空。   如下图:   原本目标是希望在3D场景上覆盖一层2D Sprite,这些2D Sprite是需要拖拉和划屏操作的,同时又需要对 ...

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

279. [LayaAir3]addComponent(Laya.Rigidbody3D); 报错 [ 53%]

...点被添加到舞台后     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

280. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 53%]

...nParticleSystemPublic Methods  MethodDefined By  ShurikenParticleSystem(owner:ShuriKenParticle3D)ShurikenParticleSystem  _getIndexBuffer():IndexBuffer3DShurikenParticleSystem  _getType():int[override] 获取几何体类型。 ShurikenParticleSystem  _getVertexBuffer(index:int = 0):VertexBuf...

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