大约有 201 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(79) Laya_社区(67) Laya2.0_文档(17) Laya2.0_api(15) laya_api(14) Laya3.0_文档(5) Laya_示例(4)
... tex; })); box.meshRenderer.material = material; var monkey:Sprite3D = res.getChildByName("LayaMonkey") as Sprite3D; //查找节点 var bonePoint:Sprite3D = findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 `...
来源: Laya2.0_文档 发布时间: 20210714
...eScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3d.sprite; console.log("ui3d_root", ui3d_root); let txtField: Laya.GTextField = ui3d_root.getChildByName("tx...
来源: Laya_社区 发布时间: 20251020
...Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(...
来源: Laya2.0_文档 发布时间: 20210715
...UG备忘录】关于Tween动画无法正常作用问题-解决办法 使用getChildByName()无法得到子节点对象 关于apk打包动画卡的问题 发布到vivo平台后,龙骨动画无法显示 为什么ani动画执行的不是按中心点执行的 问题状态 最新活动: 2019-08-03 ...
来源: Laya_社区 发布时间: 20190731
...entional/test2.lh") as Laya.Sprite3D; let sp3d:Laya.Sprite3D = waimianSp.getChildByName("KWHF_L") as Laya.Sprite3D; sp3d才是我要用到的模型(并且我每个模型文件里面只有一个模型),目前我使用上述的办法或者自己手动删除lh文件最外层的sprite3d。。。...
来源: Laya_社区 发布时间: 20200420
...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
...APP打开加载速度过慢,有黑屏,如何加入闪屏图片 使用getChildByName()无法得到子节点对象 斜角透视的感觉怎么弄出来呀?? 怎么获取对象的坐标 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 localToGlobal坐标转换 3d显...
来源: Laya_社区 发布时间: 20180809
...个list也跟着滚动,并且两个list同时滚动一模一样。 使用getChildByName()无法得到子节点对象 如何获取一个3D模型的长宽高? 请教一个关于laya2.5d项目美术规范的问题哈 写了一个小塔防游戏,分享给初学的朋友们(ts版本)《二》 ...
来源: Laya_社区 发布时间: 20170811
...(); Laya.stage.addChild(this._scene); var camera:Laya.Camera = this._scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); var tiger:Laya.Sprite3D = this._scene.getChildByName("tiger_idle") as Laya.Sprite3D; console.log(tiger); var animator:La...
来源: Laya_社区 发布时间: 20180317
...的显存和内存就会显示成负数 怎么获取对象的坐标 使用getChildByName()无法得到子节点对象 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 分享:LayaAir下如何获取图集下的小图资源? 编辑了图片 执行代码说加载...
来源: Laya_社区 发布时间: 20180404