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

大约有 2,740 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0071 秒)

481. Animation 下的Event.COMPLETE 回调 [ 79%]

..."donghua"+ transformToDesignIndex(msg.index)]._childs[0].on(Event.COMPLETE,null,OnAnimation()); 是我写的不对吗? 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自...

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

482. laya.d3.component.animation.KeyframeAnimations [ 79%]

...eyframeAnimation 实例。 KeyframeAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...

来源: laya_api 发布时间: 20170929

483. 如何彻底关闭开放域排行榜 [ 79%]

...e.spriteLeaderboard.destroy(true);//销毁精灵 LayaSample.sharedCanvas = null;//wx.getOpenDataContext().canvas的引用 LayaSample.textureLeaderboard = null;//纹理引用 LayaSample.spriteLeaderboard = null;//精灵引用 if (window.wx) wx.triggerGC();//微信垃圾回收 }//写这个么多,怎...

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

484. laya.ui.Slider [ 79%]

...设置表示当前滑块位置的数字。 Slider viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170929

485. 图集动画没有显示 [ 79%]

....loader.load(AniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.loader.ATLAS); function createAnimation() { var ani = new Laya.Animation(); ani.loadAtlas(AniConfPath); ani.interval = 30; ani.index = 1; ani.play(); Laya.stage.addChild(ani); } 2017-09-20 添加评论 免费帖 --...

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

486. laya.utils.Timer_API3.0 [ 79%]

...)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear clear(caller: any, method: Function): void Defined in laya/utils/Timer.ts:243 清理定时器。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Retu...

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

487. laya.map.TileAniSprite [ 79%]

...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170929

488. WebSocket发送与接收数据(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 79%]

....Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接; } private receiveHandler(msg: any = null): void { ///接收到数据触发函数 } private closeHandler(e: any = null): void { //关闭事件 } private errorHandler(e: any = null): void {...

来源: Laya2.0_文档 发布时间: 20210714

489. 鼠标交互-拖动 [ 79%]

...drawRect( dragRegion.x, dragRegion.y, dragRegion.width, dragRegion.height, null, "#FFFFFF", 2); } onStartDrag(e) { //鼠标按下开始拖拽(设置了拖动区域和超界弹回的滑动效果) this.ape.startDrag(dragRegion, true, 100); } } new Interaction_Drag();module laya { import Sprite = Laya....

来源: Laya2.0_示例 发布时间: 20251218

490. 设置遮罩会导致内存大大增高 [ 79%]

...tices:Float32Array, uvs:Float32Array, indices:Uint16Array, matrix:Matrix = null, alpha:number = 1, color:string = null, blendMode:string = null)这个问题下一版会修改。 2019-07-05 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法...

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