大约有 201 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(79) Laya_社区(67) Laya2.0_文档(17) Laya2.0_api(15) laya_api(14) Laya3.0_文档(5) Laya_示例(4)
使用getChildByName()无法得到子节点对象 page2._list.renderHandler = new Handler(this, onRender); function onRender(cell,index){ //如果索引不再可索引范围,则终止该函数 if(index > json.length)retu...
来源: Laya_社区 发布时间: 20180717
...时候,我在代码中动下面圆盘的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
...e.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox3/skyCube.ltc"); cam...
来源: Laya_示例 发布时间: 20251130
...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
...题 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 使用getChildByName()无法得到子节点对象 laya2.2 导出场景物理碰撞问题 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 怎么获取对象的坐标 laya2.0 3d物理碰撞穿透问...
来源: Laya_社区 发布时间: 20170914
...yaAir里的显示对象添加到matter.js里的物理引擎世界里 使用getChildByName()无法得到子节点对象 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 怎么获取对象的坐标 如何识别此对象被destroy了? TrailSprite3D的ALIGNMENT_TRANSFORM_Z模式和...
来源: Laya_社区 发布时间: 20190306
...dler.create(this, onComplete)); function onComplete() { setMaterials(scene.getChildByName("scene")); layaPlane.transform.localPosition = new Laya.Vector3(0, 0.5, -1); Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { var changeActionButton = Laya.stage....
来源: Laya_示例 发布时间: 20251130
...(); 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
...er:Sprite3D = Sprite3D.load('res/d3/LayaScene_playerScene/playerScene.lh').getChildByName('Player' + playerI) as Sprite3D; scene3D.addChild(player); 之后player.destroy();这句之后再重新运行上面的代码,发现报错了player不能被添加到scene3D了,一添加就报了: Sprit...
来源: Laya_社区 发布时间: 20170802
...able=false后过一段时间设置mouseWheelEnable=true;无法滚动 使用getChildByName()无法得到子节点对象 anchor锚点设置不生效 问题状态 最新活动: 2025-10-09 15:59 浏览: 2779 关注: 2 人
来源: Laya_社区 发布时间: 20250930