大约有 1,700 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1359) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...
来源: laya_api 发布时间: 20170929
...; Laya.stage.bgColor = "#3da8bb"; Stat.show(); this.createCanvases(); Laya.timer.frameLoop(1, this, this.animate); Laya.stage.on('mousedown', this, this.onMouseDown); Laya.stage.on('mousemove', this, this.onMouseMove); Laya.stage.on('mouseup', this, this.onMouseUp); } createCanvases() { const Sprite...
来源: Laya2.0_示例 发布时间: 20251209
... swordman.pos(width / 2, height / 2); Laya.timer.frameOnce(100, this, unload); } private function unload() : void { swordman.destroy(); factory.destroy(); Laya.loa...
来源: Laya_社区 发布时间: 20160902
...at Timeout.Module.runMain [as _onTimeout] (module.js:604:10) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) 2017-12-09 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 呃...之前上传错文件了,下边这个是正确...
来源: Laya_社区 发布时间: 20171116
...,边缘闪烁 var lastTimestamp = 0; var count = 0; var totale = 0; Laya.timer.frameLoop(1, this, function test() { var deltaTime = new Date().getTime() - lastTimestamp; lastTimestamp = new Date().getTime(); count++; totale += deltaTime; this.x += this.speed_x*deltaTime; this.y += this.speed_y*del...
来源: Laya_社区 发布时间: 20170920
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...
来源: laya_api 发布时间: 20170929
...TIMECURVE : int[static] ShuriKenParticle3D SHADERDEFINE_ROTATIONOVERLIFETIMERANDOMCONSTANTS : int[static] ShuriKenParticle3D SHADERDEFINE_ROTATIONOVERLIFETIMERANDOMCURVES : int[static] ShuriKenParticle3D SHADERDEFINE_ROTATIONOVERLIFETIMESEPERATE : int[static] ShuriKenParticle3D SHADERDEF...
来源: laya_api 发布时间: 20170929
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...
来源: laya_api 发布时间: 20170929
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite treeLevel...
来源: laya_api 发布时间: 20170422
...以用定时器,在脚本里隐藏或者销毁这个粒子效果 Laya.timer.frameOnce(1,this,function(){粒子效果.destroy();}); 需要延迟一帧,不然销毁之后定时器还会查一帧,找不到对象会报错。 2018-06-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20180615