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

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

81. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 64%]

...时候,我在代码中动下面圆盘的transform.positionthis.block = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.ge...

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

82. laya.d3.core.Sprite3D_API3.0 [ 64%]

...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...

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

83. 一个view中的Laya.List无法识别 [ 63%]

... 代码重新 写的 请问layaide如何创建一个复合的Button 使用getChildByName()无法得到子节点对象 如何识别当前环境是微信小游戏环境 在线急等,发现你们这个编译器一个bug,不能实现负负得正 将list里的scrollBar设置mouseWheelEnable=false...

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

84. 3D场景UNITY导出相机,怎么获取并使用 [ 63%]

...lse, "fieldOfView":60, "nearPlane":0.3, "farPlane":90 }, var camera= scene.getChildByName("AutoCamera"); console.log(camera); 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zyf598125795 赞同来自: ca...

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

85. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...取场景中要添加视频纹理的3D节点 this.videoPlane = this.scene.getChildByName("Plane") as Laya.Sprite3D; //使用指定路径的视频文件 this.createVideo("resources/mov_bbb.mp4"); } //创建视频纹理并将其应用到Sprite3D上 private createVideo(url: string): void { //设置纹...

来源: Laya3.0_文档 发布时间: 20251010

86. laya2.0版本支持MeshColliderShape吗 [ 63%]

...olliderShape是可以用吗,我这样添加之后报错 let sp3d = scene.getChildByName("GameObject").getChildByName("dimian_5"); let rigidBody = sp3d.addComponent(Laya.Rigidbody3D) let shape = new Laya.MeshColliderShape() shape.mesh = sp3d.meshFilter.sharedMesh; rigidBody.colliderShape = shape; ...

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

87. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 62%]

...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...

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

88. viewportPointToRay产生的射线始终有偏差,是为什么? [ 62%]

... this._phasorSpriter3D = new PhasorSpriter3D(); this._camera = this._owner.getChildByName("Camera") as Camera; } public _postRenderUpdate(state:RenderState):void { super._update(state); this._point.elements[0] = Laya.stage.mouseX; this._point.elements[1] = Laya.stage.mouseY; this._camera.viewportPoi...

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

89. laya.display.Node_API3.0 [ 62%]

...imer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...

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

90. 用TS开发能从unity导出的场景中直接读取子对象吗? [ 62%]

...关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 需要通过scene.getChildByName("") 获取 2019-05-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 MAR 相关问题 两个对象new了一个相同的对象,调用第一个的...

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