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

大约有 479 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)

41. laya.net.Socket_API3.0 [ 80%]

...put Methods cleanSocket close connect connectByUrl event flush hasListener off offAll offAllCaller on once send Constructors constructor new Socket(host?: string | null, port?: number, byteClass?: {}, protocols?: any[] | null, isSecure?: boolean): Socket Defined in laya/net/Socket.ts:106 创建新...

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

42. laya.resource.PrefabImpl_API3.0 [ 80%]

...tGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new PrefabImpl(api: IHierarchyParserAPI, data: any, version: number): PrefabImpl Overrides Prefab.constructor Defined in laya/resource/PrefabImpl...

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

43. laya.d3.core.Avatar_API3.0 [ 80%]

...eURL _setGPUMemory clone cloneTo destroy event hasListener isCreateFromURL off offAll offAllCaller on once _parse destroyUnusedResources load Constructors constructor new Avatar(): Avatar Overrides Resource.__constructor Defined in laya/d3/core/Avatar.ts:45 创建一个 Avatar 实例。 Returns Avat...

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

44. laya.gltf.glTFResource_API3.0 [ 80%]

...tGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once registerExtra unregisterExtra destroyUnusedResources Constructors constructor new glTFResource(): glTFResource Overrides Prefab.constructor Defined in laya/gltf/glTFResource.ts:63 Returns glTFR...

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

45. laya.device.media.HtmlVideo_API3.0 [ 80%]

...CreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/media/HtmlVideo.ts:13 Returns HtmlVideo Propert...

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

46. laya.spine.SpineTemplet_API3.0 [ 80%]

...etAniNameByIndex getSkinIndexByName getTexture hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new SpineTemplet(): SpineTemplet Overrides Resource.__constructor Defined in laya/spine/SpineTemplet.ts:19 Returns SpineTemplet Properties _id _i...

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

47. 文本-滚动文本 [ 80%]

...ext); } /* 停止滚动文本 */ function finishScrollText(e) { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage.off(Event.MOUSE_UP, this, finishScrollText); } /* 鼠标滚动文本 */ function scrollText(e) { var nowX = txt.mouseX; var nowY = txt.mouseY; txt.scrollX += prevX - nowX; t...

来源: Laya_示例 发布时间: 20241002

48. 文本-滚动文本 [ 80%]

...滚动文本 */ finishScrollText(e) { const Event = Laya.Event; Laya.stage.off(Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠标滚动文本 */ scrollText(e) { const Event = Laya.Event; let nowX = this.txt.mouseX; let nowY = this.txt.m...

来源: Laya2.0_示例 发布时间: 20241002

49. laya.device.motion.Accelerator [ 79%]

...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher[override] 取消侦听加速器。 Accelerator offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事...

来源: laya_api 发布时间: 20170929

50. laya.device.motion.Accelerator [ 79%]

...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher[override] 取消侦听加速器。 Accelerator offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事...

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