大约有 353 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(140) Laya3.0_api(64) Laya3.0_文档(56) laya_api(55) Laya2.0_api(20) Laya2.0_文档(17) Laya2.0_示例(1)
...减去 固定 2个 32的宽度 再随机一个长度 这样 可以让地板时间点的出现 更加随机性 this.maxRight = Config.GameWidth - 32 * 2 - 32 * parseInt(10 * Math.random()); if(needItem){ this.addItem(); } //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop);...
来源: Laya_社区 发布时间: 20160803
...的angularVelocity属性是角速度, 角速度简单理解就是单位时间的角位移,以弧度每秒进行旋转 。当我们设置angularVelocity属性为正值的时候,则按顺时针旋转位移。angularVelocity属性为负值的时候,则按逆时针旋转位移。属性值的绝...
来源: Laya2.0_文档 发布时间: 20210714
...。 Default value elasticBackTime: number = 300 (可选)橡皮筋回弹时间,单位为毫秒,默认为300毫秒,可选。 Default value data: any = null (可选)拖动事件携带的数据,可选。 Default value ratio: number = 0.92 (可选)惯性阻尼系数,影响惯性力...
来源: Laya3.0_api 发布时间: 20231115
...n laya/particle/ParticleSetting.ts:14 如果大于0,某些粒子的持续时间会小于其他粒子,并具有随机性(单位:无) blendState blendState: number = 0 Defined in laya/particle/ParticleSetting.ts:90 混合模式,待调整,引擎中暂无BlendState抽象 boxEmitterCenterPosition...
来源: Laya3.0_api 发布时间: 20231115
...pyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:54 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...元格在数据列表中的索引。 time:int (default = 200) — 缓动时间。 complete:Handler (default = null) — 缓动结束回掉 updateArray()method public function updateArray(array:Array):void 更新数据源,不刷新list,只增加滚动长度 Parameters array:Array — 数据...
来源: Laya2.0_api 发布时间: 20190513
...pyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...函数。功能同Laya.timer.timerLoop()。 Parameters delay: number 间隔时间(单位毫秒)。 caller: any 执行域(this)。 method: Function 结束时的回调方法。 Default value args: any[] = null (可选)回调参数。 Default value coverBefore: boolean = true (可选)是否覆...
来源: Laya3.0_api 发布时间: 20231115
...。 animation.interval = 50;//设置 animation 对象的动画播放间隔时间,单位:毫秒。 animation.play();//播放动画。 Laya.stage.addChild(animation);//将 animation 对象添加到显示列表。 } } } example Animation_Example(); function Animation_Example(){ Laya.init(640, 800);...
来源: Laya3.0_api 发布时间: 20231115
...pyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:58 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010