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

大约有 2,394 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)

501. laya.resource.RenderTexture2D_API3.0 [ 68%]

...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture Rende...

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

502. Laya.Tween.to 有没有监听值的变化的方法? [ 68%]

...变化的方法? 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 有 update 回调,你可以点源码进去看 是第几个参数。 2018-06-21 0 1 分享 微博 QZONE 微信...

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

503. 音乐与音效的播放与控制(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 68%]

..._sound.play(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 ...

来源: Laya2.0_文档 发布时间: 20210715

504. laya.d3.resource.RenderTextureCube_API3.0 [ 68%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube Hierarchy RenderTexture RenderTextureCube Implements IRenderTar...

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

505. laya.resource.NativeRenderTexture2D_API3.0 [ 67%]

...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy...

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

506. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 67%]

...graphics.endFill(); sp.mask=mask; addEventListener(Event.ENTER_FRAME,function():void { mask.x++; mask.cacheAsBitmap=true; sp.cacheAsBitmap=true; }); ``` **LayaAir引擎中正确的用法示例:** ```java Laya.init(600,400) var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,200,200,'#FFFF00'); La...

来源: Laya2.0_文档 发布时间: 20191206

507. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 67%]

...graphics.endFill(); sp.mask=mask; addEventListener(Event.ENTER_FRAME,function():void { mask.x++; mask.cacheAsBitmap=true; sp.cacheAsBitmap=true; }); ``` **LayaAir引擎中正确的用法示例:** ```java Laya.init(600,400) var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,200,200,'#FFFF00'); La...

来源: Laya2.0_文档 发布时间: 20210714

508. 分享:避免鼠标快速移动,mouseout和mouseover触发顺序不一致的问题! [ 67%]

...e var arr:Array;//用于存储处于over状态的显示对象 public function MouseOver_mouseOut() { Laya.init(600,400); Laya.stage.bgColor='#EEFFCC'; arr=; var sp1:Sprite=new Sprite(); sp1.autoSize=true; sp1.name='sp1'; sp1.graphics.drawRect(0,0,100,100,"#FF0000"); var sp2:Sprite=new Sprite(); sp2....

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

509. this.bitmap.activeResource is not a function [ 67%]

this.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = n...

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

510. 音乐与音效的播放与控制(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 67%]

..._sound.play(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 ...

来源: Laya2.0_文档 发布时间: 20210714