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

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

311. laya.ui.Button [ 53%]

...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...

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

312. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 53%]

...this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调方法 this.roleAni.loadAtlas("res/atlas/role.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //添加到舞台 Laya.stage.addChild(this.roleAni); } ``` 运行代码,如图5所示。动画已加...

来源: Laya2.0_文档 发布时间: 20210715

313. 在加载多个资源的时候,加载进度异常 [ 53%]

...e的话,就调用clear方法,清理此Handle,之后的多次回调都不会执行了.   我之前也是同样的问题,今天抽空看了下源码解决了,又正好发现这个帖子,忍不住回复下^^ 2018-12-18 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: {url:"res/atlas/comp.atlas"...

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

314. laya.display.Stage [ 53%]

...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...

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

315. laya.physics.PhysicsDebugDraw_API3.0 [ 53%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

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

316. laya.d3.webxr.core.WebXRCamera_API3.0 [ 53%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

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

317. laya.device.media.Video_API3.0 [ 53%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void canPlayType canPlayType(type: number): string Defined in laya/device/media/Video....

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

318. laya.ui.Box [ 53%]

...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...

来源: laya_api 发布时间: 20170929

319. laya.map.TileAniSprite_API3.0 [ 53%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearAll clearAll(): void Defined in laya/map/TileAniSprite.ts:41 清理 Returns ...

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

320. 图集动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 52%]

...this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调方法 this.roleAni.loadAtlas("res/atlas/role.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //添加到舞台 Laya.stage.addChild(this.roleAni); } } new AtlasAniDemo(); ``` 运行代...

来源: Laya2.0_文档 发布时间: 20210715