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

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

101. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 68%]

...Memory destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new WebXRRenderTexture(): WebXRRenderTexture Overrides RenderTexture....

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

102. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 68%]

..._start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once protected recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new MulSampleRenderTexture(width: number, height: number, format?: RenderTextureFormat,...

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

103. 鼠标交互-Hold [ 68%]

...hold,终止触发hold Laya.timer.clear(this, this.onHold); } Laya.stage.off(Event.MOUSE_UP, this, this.onApeRelease); } } new Interaction_Hold();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture = Laya.Texture; import Browser = Laya.Bro...

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

104. 文字在框内滑动、滚动文本 [ 68%]

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

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

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

106. 鼠标交互-双指缩放(多点触控) [ 67%]

...e) * factor; lastDistance = distance; } function onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); } /**计算两个触摸点之间的距离*/ function getDistance(points) { var distance = 0; if (points && points.length == 2) { var dx = points[0].stageX - points[1].stageX; var dy =...

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

107. laya.components.AnimationClip2D_API3.0 [ 67%]

...estroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors constructor new AnimationClip2D(): AnimationClip2D Overrides Resource.__constructor Defined in laya/components/AnimationClip2D.ts:214 ...

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

108. list 初始化时通过状态默认取消UI页面添加的事件出错。 [ 67%]

...并没有重新初始化该item对象。导致我初始化的事件一旦off掉,后面使用该item对象的渲染的事件默认也off了 陈帅 • 2018-07-20 10:07 我这个的问题是第一轮加载的数据后滑动,进行下一轮加载时数据内容更新了,但数据的事件绑定...

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

109. 鼠标交互-双指缩放(多点触控) [ 67%]

...Distance = distance; } onMouseUp(e) { const Event = Laya.Event; Laya.stage.off(Event.MOUSE_MOVE, this, this.onMouseMove); } /**计算两个触摸点之间的距离*/ getDistance(points) { let distance = 0; if (points && points.length == 2) { let dx = points[0].stageX - points[1].stageX; let dy = poi...

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

110. laya.media.VideoTexture_API3.0 [ 67%]

...oy event gpuCompressFormat hasListener isCreateFromURL load loadedmetadata off offAll offAllCaller on once pause play destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constructor Defined in laya/media/VideoTexture.ts:33 创建VideoTexture对象...

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