大约有 437 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(58) Laya2.0_示例(8) Laya_示例(7) Laya2.0_文档(6) Laya3.0_文档(5)
...All Classes | Index | Frames No Frames LoaderProperties | Methods | Events | Constants Packagelaya.netClasspublic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By cache ...
来源: Laya2.0_api 发布时间: 20190513
...tion; } } /** * 监听鼠标事件 */ onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘事件 */ onUpdate(): void { var elapsedTime: number = Laya.t...
来源: Laya3.0_文档 发布时间: 20251010
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...hildByName('name').offAllCaller(this); item.getChildByName('name').on(Laya.Event.CLICK, this, ()=>{ ... } 2025-10-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 1754891146用户 相关问题 laya针对页游耗用内存大的...
来源: Laya_社区 发布时间: 20251021
...elo/pomelo-client.js"></script> 另外,pomelo-client.js里的 var EventEmitter = window.EventEmitter; 修改为 var EventEmitter = window.Emitter; 不然可能会遇到EventEmitter未定义的报错。 最后,关于.d.ts文件,这只是代码提示的作用,没有也可以调用...
来源: Laya_社区 发布时间: 20180109
...| All Classes | Index | Frames No Frames NodeProperties | Methods | Events Packagelaya.displayClasspublic class NodeInheritanceNode EventDispatcher ObjectSubclasses ComponentNode, Sprite Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显...
来源: laya_api 发布时间: 20170929
...ndler otherHandler().then(res => { // 默认进度加1% this._loadScene.event("progress", .01) if (res) param = .concat((param || ), [res]) Laya.Scene.open(url, closeOther, param, complete, progress) }) } /** * 清除loading page */ clearLoadingPage() { this._loadScene = null Laya.Scene.setLoadin...
来源: Laya_社区 发布时间: 20181124
...xt.borderColor = "#fa1515"; this.txt.overflow = "scroll"; this.txt.on(Laya.Event.MOUSE_DOWN, this, this.startScrollText); } /* 开始滚动文本 */ startScrollText() { prevX = this.txt.mouseX; prevY = this.txt.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.E...
来源: Laya3.0_文档 发布时间: 20251010
...Classpublic class PixelLineRendererInheritancePixelLineRenderer BaseRender EventDispatcher Object PixelLineRenderer 类用于线渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不...
来源: Laya2.0_api 发布时间: 20190513
...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...
来源: laya_api 发布时间: 20170929