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

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

5361. Sprite.loadImage()中设置的y的值为Browser.ClientHight时不准确是为什么? [ 50%]

...rBgSize=Browser.clientHeight*0.5,dirSpace=dirBgSize*0.2; var directionBg = new Sprite(); directionBg.loadImage("../bin/res/img/btn_direction$bg.png",dirBgLeft,Browser.clientHeight,dirBgSize,dirBgSize); Laya.stage.addChild(directionBg); Sprite.loadImage()中设置的y的值为Browser.ClientHight时...

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

5362. laya.d3.resource.models.MorphTargetData_API3.0 [ 50%]

...y getMorphChannel getMorphChannelbyIndex initData Constructors constructor new MorphTargetData(): MorphTargetData Defined in laya/d3/resource/models/MorphTargetData.ts:40 Returns MorphTargetData Properties bounds bounds: Bounds Defined in laya/d3/resource/models/MorphTargetData.ts:40 elementCount el...

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

5363. a、b 两个按钮响应同一个点击回调,但event的 target和currentTarget相同都是stage对象,怎么解释呀 [ 50%]

...锁定, 无法添加新回复 发起人 malagebi 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 Dialog:屏蔽点击Dialog之外的区域关闭弹框 编译调试启动chrome出现错误: Error processing launch: Error Could not atta...

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

5364. 为什么官网示例中关于stage的调用都用Laya.stage的形式 [ 50%]

...回复问题请先登录 发起人 czb3279338858 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么不显示? 请问在layaIDE里,怎么调用微信小程序API 【带...

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

5365. laya.d3.core.scene.SceneRenderManager_API3.0 [ 50%]

...tionObject removeRenderObject updateMotionObjects Constructors constructor new SceneRenderManager(): SceneRenderManager Defined in laya/d3/core/scene/SceneRenderManager.ts:11 实例化一个场景管理节点 Returns SceneRenderManager Accessors list get list(): SingletonList<BaseRender> set l...

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

5366. 1.7.15 IDE资源发布有bug [ 50%]

... 重力感应 Accelerator 发布微信游戏后失效。是因为什么? new Laya.Sprite();绘制图形以后,怎么删除释放资源? LayaAir2.61 测试版 物理引擎bug 百分百 复现 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 1.7.20beta有bug,帧属...

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

5367. Laya.loader加载BUG [ 50%]

...        }else if (type==="image"){             var tex=new Texture(data);             tex.url=this._url;             this.complete(tex);         }else if (type==="sound" || type==="htmlimage" || type==="nativeimage"){             this.c...

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

5368. 特效LOADED监听不到 [ 50%]

...; } private function createAnimation(_e:*=null):void { var ani:Animation = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界...

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

5369. LoginView.super(this);这样调用的父类的构造函数的方法,不能用吗 [ 50%]

... 要回复问题请先登录 发起人 jonahzheng 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? FD 宏编译时 出现 试图访问该方法时失败 关于shad...

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

5370. laya.events.TouchInfo_API3.0 [ 50%]

...et touchId Methods begin clickTest end move reset Constructors constructor new TouchInfo(touches: Array<TouchInfo>): TouchInfo Defined in laya/events/InputManager.ts:597 Parameters touches: Array<TouchInfo> Returns TouchInfo Properties began began: boolean Defined in laya/events/InputMan...

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