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

大约有 1,061 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)

571. Animation创建时无法获取高度 [ 67%]

Animation创建时无法获取高度 var roleAni = new Laya.Animation(); roleAni.loadImages( this.aniUrls( v1, v2, tip, frames ) ).play(); roleAni.pos(x,y); this.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> ...

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

572. 关于使用matterjs物理引擎鼠标问题bug [ 67%]

...更新-问题解答(最新版本:1.7.16) 请问有没有方法能够获取“鼠标是否处于按下状态”? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist...

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

573. page中的selecteID属性 [ 67%]

...阴影属性无效 1.7.20beta有bug,帧属性面板打不开 属性无法获取 textinput有没有类似placeholder的属性 tiledMap问题,getTileProperties获取地图属性不能获取到 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想...

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

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

3D场景UNITY导出相机,怎么获取并使用 child":[ { "type":"Camera", "props":{ "isStatic":false, "name":"AutoCamera", "clearFlag":1, "orthographic":false, "fieldOfView":60, "nearPlane":0.3, "farPlane":90 }, var camera= scene.getChildByName("AutoCamera"); console.log(camera); 2017-09-26 添...

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

575. 获取坐标问题 [ 66%]

获取坐标问题 我当前通过var获取对象的位置是相对于父节点的坐标,如何获取当前对象对于全局的坐标! 2017-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

576. 在BOX下放了个Graphics组件poly怎么代码中获取这个组件 [ 66%]

在BOX下放了个Graphics组件poly怎么代码中获取这个组件 2018-06-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 拿到父节点,getchild 试试 2018-06-07 0 4 分享 微...

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

577. 怎样获取父类? [ 66%]

怎样获取父类? //我在这个类里添加一个页面TipsView为子类 ... ... var tipView = new TipsView(); this.addChild(tipView);   function enterNextScene() { } ... ...      //这个是TipsView.js类,我想在这个类里调用上面那个父类里enterNextScene的方法,如何...

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

578. Laya2.0 脚本组件挂在输入框下,输入框的数据如何取 [ 66%]

...组件挂在输入框下,输入框的数据如何取 通过脚本组件获取节点后,对象是Node,打印出来里面有text信息,但是由于不是TextInput对象,不能用text属性访问 2019-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

579. laya.d3.core.MeshRenderer_API3.0 [ 66%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

580. laya.d3.core.light.SpotLightCom_API3.0 [ 66%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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