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

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

871. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 58%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from PixelLineSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:296 克隆。 Returns Node 克隆副本。 contains contains(no...

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

872. iframe跳转没反应 [ 58%]

iframe跳转没反应 btn.on(Laya.Event.CLICK,this,function(){ var iframe = Laya.Browser.createElement("iframe"); iframe.src = "http://www.baidu.com"; });点击按钮没有加载百度界面 2016-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

873. Animator如何监听播放完毕 [ 58%]

... =... 2019-02-13 0 0 分享 微博 QZONE 微信 姜波 赞同来自: 通过this.animator.getCurrentAnimatorPlayState(0).normalizedTime>=1去判断当前动画是否播放完成 2019-02-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人...

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

874. Laya List给子元素添加事件后,滚动事件被劫持了 [ 58%]

...loadImage('xxx.png'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) //还是在handler中去渲染,都会滚动不了 txArray.push(list);} storeTxList.array = txArray;   Laya.stage.addChild(storeTxList);     悬赏找大神看问题 export defau...

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

875. 2.2.0 Html使用img标签解析错误 [ 58%]

...载的2.3beta,然后在HTMLImageElement的reset方法里加了一行:this._tex.off(Laya.Event.READY, this, this.onloaded); 其他没区别 133*****831 • 2019-10-29 14:10 嗯,升级2.3.0版本,Unity3D也要升级2018.4了,看样子无解了,直接升级了

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

876. 分享个代码 实现 Mesh 3D 点击 [ 57%]

...;     webglRaycaster.SetMeshCastLayer(node);     node.on(Event.CLICK,this, onNodeClickedHandler); 4,方法:   private function onNodeClickedHandler(source:Sprite3D):void    {      if (!source) return;      trace(source.name);   } 附件 : --> WebglRaycaster.zip 2017-05-16 添加...

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

877. 没有预加载的图片怎么获取width和height ? [ 57%]

...ets/comp/image.png","../laya/assets/comp/vscroll.png"],Laya.Handler.create(this,onAssetLoad));      } function onAssetLoad() {      older = new Laya.Sprite();      older.loadImage("../laya/assets/comp/image.png");     Laya.stage.addChild(older);     console.log(older.scaleX,older.s...

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

878. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 57%]

...0' ok='ok' isOpen='true'/>"+ "</dir>"+ "</data>"; var xml = this.parseXMLFromString(xmlString); console.log(this.m_tree) this.m_tree.xml =xml; 2017-07-17 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 这里以alpha,官方tree示例为例,你可以参考下 1、在xml里...

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

879. startDrag 的 Bug? [ 57%]

startDrag 的 Bug? aaa.on(Event.DRAG_MOVE, this, onDragMove); aaa.startDrag(new Rectangle(0, 0, 100, 100), true, 0, 200);   private function onDragMove(e:Event = null):void { // 正常移动时, bbb 会和 aaa 坐标一至, 释放鼠标后也正常, 但 // BUG 出现在鼠标释放后 当aaa 进...

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

880. 关于当前焦点的问题 [ 57%]

...stage.addChild(textInput); textInput.name = "aa"; textInput.on(Event.FOCUS,this,onFoucs); private function onFoucs(e:Event):void { trace(e); } 2017-10-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 15952728807 相关问题 发起问...

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