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

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

21. 动画-图集动画 [ 77%]

... // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 let bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2...

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

22. 动画-图集动画 [ 77%]

... // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 var bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2...

来源: Laya_示例 发布时间: 20251130

23. Laya.SoundManager.playSound函数参数意义 [ 77%]

...r (default = 0)   这个startTime指的是从现在起延迟的秒数、毫秒数还是播放的时间戳? 2017-02-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: startTime是指调...

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

24. laya.utils.TimeLine_API3.0 [ 77%]

...称。 offset: number 标签相对于上个动画的偏移时间(单位:毫秒)。 Returns TimeLine destroy destroy(): void Defined in laya/utils/TimeLine.ts:443 彻底销毁此对象。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in lay...

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

25. laya.utils.Tween [ 76%]

...ew Handler(this,onComplete)}。  duration:int — 花费的时间,单位毫秒。  ease:Function (default = null) — 缓动类型,默认为匀速运动。  complete:Handler (default = null) — 结束回调函数。  delay:int (default = 0) — 延迟执行时间。  coverBefore:Boolean (d...

来源: laya_api 发布时间: 20170929

26. laya.utils.Tween_API3.0 [ 76%]

...:new Handler(this,onComplete)}。 duration: number 花费的时间,单位毫秒。 Default value ease: Function | null = null 缓动类型,默认为匀速运动。 Default value complete: Handler | null = null 结束回调函数。 Default value delay: number = 0 延迟执行时间。 Default va...

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

27. laya.utils.Tween [ 76%]

...ew Handler(this,onComplete)}。  duration:int — 花费的时间,单位毫秒。  ease:Function (default = null) — 缓动类型,默认为匀速运动。  complete:Handler (default = null) — 结束回调函数。  delay:int (default = 0) — 延迟执行时间。  coverBefore:Boolean (d...

来源: Laya2.0_api 发布时间: 20190513

28. 问一个ShuriKenParticle3D的GPU缓存的问题 [ 75%]

...一个3D粒子对象, 但并没有加载到场景中,随后每隔5000毫秒创建一个此粒子对象的克隆体。每个单独的粒子对象里面有一个脚本控制,2000毫秒后销毁。    然后就看到CPU缓存和GPU缓存在不断的增加。        请问,这种粒子对...

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

29. list橡皮筋效果 [ 75%]

...tUI.scrollBar.elasticBackTime = 500;//设置橡皮筋回弹时间,单位为毫秒。 listUI.scrollBar.elasticDistance = 100;//设置橡皮筋极限距离。 //panelUI 为滚动元素 panelUI.vScrollBarSkin = ''; panelUI.vScrollBar.elasticBackTime = 500;//设置橡皮筋回弹时间,单位为毫秒...

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

30. laya.events.MouseManager [ 75%]

...ouseManager  mouseDownTime : Number = 0 鼠标按下的时间。单位为毫秒。MouseManager  mouseMoveAccuracy : Number = 2 鼠标移动精度。MouseManager  mouseX : Number = 0 canvas 上的鼠标X坐标。MouseManager  mouseY : Number = 0 canvas 上的鼠标Y坐标。MouseManager  mu...

来源: laya_api 发布时间: 20170929