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

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

141. laya.resource.RenderTexture2D_API3.0 [ 69%]

...y gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once restore start destroyUnusedResources popRT pushRT Constructors constructor new RenderTexture2D(width: number, height: number, format?: RenderTargetFormat, depthStencilFormat?: RenderTargetFormat): RenderTexture2D Overrid...

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

142. laya.d3.resource.RenderTextureCube_API3.0 [ 69%]

...a gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, colorFormat: RenderTargetFormat, depthFormat: RenderTargetFormat, generateMipmap: boolea...

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

143. laya.resource.NativeRenderTexture2D_API3.0 [ 69%]

...y gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRenderTexture2D(width: number, height: number, format?: number, depthStencilFormat?: number, create?: boolean): NativeRenderTex...

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

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

...ePress(e) { // 鼠标按下后,HOLD_TRIGGER_TIME毫秒后hold Laya.timer.once(HOLD_TRIGGER_TIME, this, onHold); Laya.stage.on(Event.MOUSE_UP, this, onApeRelease); } function onHold() { Tween.to(ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后停止ho...

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

145. laya.resource.RenderTextureCube_API3.0 [ 68%]

...a gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, colorFormat: RenderTargetFormat, depthFormat: RenderTargetFo...

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

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

...a gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new WebXRRenderTexture(): WebXRRenderTexture Overrides RenderTexture.constructor Defined in laya...

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

147. 手机调试时http请求错误,返回Request failed Status:0 [ 68%]

...t = 5000; hr.on(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response); } }); hr.once(Laya.Event.ERROR, this, (e)=>{ UIFactory.closeWaitBar(); this...

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

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

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

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

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

...Laya.Event; // 鼠标按下后,HOLD_TRIGGER_TIME毫秒后hold Laya.timer.once(HOLD_TRIGGER_TIME, this, this.onHold); Laya.stage.on(Event.MOUSE_UP, this, this.onApeRelease); } onHold() { const Tween = Laya.Tween, Ease = Laya.Ease; Tween.to(this.ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut...

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

150. 灯光-点光 [ 68%]

...ad("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.V...

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