大约有 1,700 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1359) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = tru...
来源: Laya2.0_api 发布时间: 20190513
...关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 试试Laya.scaletimer 这个,设置显示缩放的。 2018-08-14 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: /** 表现时间管理器,可以用来控制渲染表现,可以通过scale缩放,来表现慢镜头*/ static scale...
来源: Laya_社区 发布时间: 20180814
frameLoop 函数,可以知道每帧调用的时间吗? Laya.timer.frameLoop(1,this,this.xx) 可以知道每次调用 this.xx的时间吗?如果有怎么得到。 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180410
...定时器之前做判断,如果存在,就clear, if(xxxxx){ Laya.timer.clear(this, this.showUserHandCard); } Laya.timer.loop(150, this, this.showUserHandCard, null, false); 这个xxx怎么判断 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20180321
...ponents destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByN...
来源: Laya3.0_api 发布时间: 20231115
...计时器 LayaAir提供两种计时器循环来执行代码块。 1. `Laya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 1. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```typescript Laya.timer.frameLoop(1, this, this.animateFrameRateBased); L...
来源: Laya2.0_文档 发布时间: 20210714
...n onApePress(e) { // 鼠标按下后,HOLD_TRIGGER_TIME毫秒后hold Laya.timer.once(HOLD_TRIGGER_TIME, this, onHold); Laya.stage.on(Event.MOUSE_UP, this, onApeRelease); } function onHold() { Tween.to(ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后...
来源: Laya_示例 发布时间: 20251130
...ent = Laya.Event; // 鼠标按下后,HOLD_TRIGGER_TIME毫秒后hold Laya.timer.once(HOLD_TRIGGER_TIME, this, this.onHold); Laya.stage.on(Event.MOUSE_UP, this, this.onApeRelease); } onHold() { const Tween = Laya.Tween, Ease = Laya.Ease; Tween.to(this.ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bou...
来源: Laya2.0_示例 发布时间: 20251130
...te3D templet : GlitterTemplet[read-only] 获取闪光模板。 Glitter timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show ...
来源: laya_api 发布时间: 20170929
... templet : ParticleTemplet3D[read-only] 获取粒子模板。 Particle3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show ...
来源: laya_api 发布时间: 20170603