大约有 225 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...ya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 1. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```typescript Laya.timer.frameLoop(1, this, this.animateFrameRateBased); Laya.stage.on("click", this, this.dispose); dispose() { Laya.timer.clear(...
来源: Laya2.0_文档 发布时间: 20210714
...p); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; } _proto.onLoop = function(){ //让地板的速度和移动比背景快一点 this.x -= 5 * 1.2; //判断是否除了边界 如果出了 就通知生成...
来源: Laya_社区 发布时间: 20160801
...atic loopStTm loopStTm: number = 0 Defined in laya/renders/RenderInfo.ts:7 当前帧的开始时间 Globals "laya/renders/RenderInfo" RenderInfo loopCount loopStTm Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...? Ts 编辑提示error TS5023: Unknown option 'p' Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. FairyGUI是一款专业的 UI编辑器(千万别点) 骨骼动画播放完后的回...
来源: Laya_社区 发布时间: 20170510
...le.log(label) }); 两个问题 1 为什么label事件触发的时候 输出当前label的时候 为什么永远不会有第一个label “rotate1”, 2.怎么理解addLabel 第二个参数 0;为什么每个addLbel第二个参数都是0 按理说都是处于第0帧 应该同时播放才对啊 就...
来源: Laya_社区 发布时间: 20170310
...ya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 2. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```javascript Laya.timer.frameLoop(1, this, animateFrameRateBased); Laya.stage.on("click", this, dispose); private function dispose():void ...
来源: Laya2.0_文档 发布时间: 20210715
...ya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 1. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```javascript Laya.timer.frameLoop(1, this, animateFrameRateBased); Laya.stage.on("click", this, dispose); function dispose() { Laya.timer.clear(t...
来源: Laya2.0_文档 发布时间: 20210715
...穿透 如何设置Sprite的宽高和点击区域? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 (此问题已经...
来源: Laya_社区 发布时间: 20180717
...ne 运行时的方式,将Spine动画的渲染接入到 LayaAir 引擎。 当前,LayaAir支持Spine 3.7、3.8、4.0、4.1、4.2版本的运行时库,开发者可以通过IDE的项目设置 -> 引擎模块 -> 2D -> Spine动画,选择Spine动画相应版本的Spine运行时,操作界...
来源: Laya3.0_文档 发布时间: 20251128
...aya.timer.frameLoop执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 Laya.timer.loop执行频率依赖于参数指定时间。 Laya.timer.frameLoop(1, this, this.animateFrameRateBased); Laya.stage.on("click", this, this.dispose); dispose() { Laya.timer.clear(this, this.animateF...
来源: Laya3.0_文档 发布时间: 20251010