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

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

311. laya.display.Text [ 54%]

...: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. 基础文本 · LayaAir3.4 · 引擎文档 · LAYABOX [ 54%]

... public txt: Laya.Text; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法执行一次 */ onAwake(): void { this.txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txt.size(500, 30); //大小 this.tx...

来源: Laya3.0_文档 发布时间: 20251010

313. laya.ui.Button [ 54%]

...: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

314. 图集动画(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

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

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

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

316. 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

317. 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

318. 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

319. 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

320. 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