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

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

71. laya.d3.resource.TextureCube_API3.0 [ 74%]

... _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setImageData setKTXData setPixelsData updateSubPixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?...

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

72. laya.events.EventDispatcher [ 73%]

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

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

73. laya.resource.TextureCube_API3.0 [ 73%]

... _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setImageData setKTXData setPixelsData updateSubPixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?...

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

74. laya.resource.Texture2DArray_API3.0 [ 73%]

... _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setImageData setPixlesData setSubPixelsData destroyUnusedResources Constructors constructor new Texture2DArray(width: number, height: number, depth: number, format: TextureFormat, mipmap?: bool...

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

75. 怎么移除鼠标监听事件 [ 73%]

...接 提交 2 个回复 qian 赞同来自: VkonSun on用来侦听事件,off用来移除事件,btn.off(Event.MOUSE_MOVE, this, onMouseMove);  2018-03-21 1 0 分享 微博 QZONE 微信 VkonSun 赞同来自: 谢谢 2018-03-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

76. clickHandler事件怎么移除? [ 72%]

...么移除? 是不是自己内部处理的? 需要类型跟 on 一样 off ,有其他方法移除? 2018-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: off 或者 clearall 2018-...

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

77. laya.device.motion.Gyroscope [ 72%]

...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher[override] 取消指定处理器对陀螺仪的监视。 Gyroscope offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象...

来源: laya_api 发布时间: 20170929

78. 文字在框内滑动、滚动文本 [ 72%]

..._UP, this, this.finishScroll); } function finishScroll(){     Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText);     Laya.stage.off(Laya.Event.MOUSE_UP, this, this.finishScroll); } function scrollText(){     var nowX=this.txt.mouseX;     var nowY=this.txt.mouseY;     下面加...

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

79. laya.device.motion.Gyroscope [ 72%]

...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher[override] 取消指定处理器对陀螺仪的监视。 Gyroscope offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象...

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

80. 那个文本溢出需要滚动条怎么弄,API里面就说用Scroll接口,小白 不懂怎么弄 [ 72%]

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

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