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

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

501. 滤镜怎么取消?会报错! [ 79%]

滤镜怎么取消?会报错! xxx.filters = null; 或者设为[ ] ,""都不行,第二次操作的时候就会报错! 2018-02-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 直接...

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

502. 3d资源无法写入缓存 [ 79%]

...=0); var fileurlkey=readyUrl; if(MiniFileMgr.filesListObj['fileUsedSize']==null) MiniFileMgr.filesListObj['fileUsedSize']=0; if(isAdd){ var fileNativeName=MiniFileMgr.getFileNativePath(md5Name); MiniFileMgr.filesListObj[fileurlkey]={md5:md5Name,readyUrl:readyUrl,size:fileSize,times:Browser.now(),enc...

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

503. LayaFlash开发Stage3D需要注意哪些问题? [ 79%]

...可。 源代码类似如下代码格式://{{ var vertexShader:String = null; var fragmentShader:String = null; /*[IF-FLASH]*/vertexShader=AGAL_ShaderList.shader.QB_NOT_TEX_VS; /*[IF-FLASH]*/fragmentShader = AGAL_ShaderList.shader.QB_NOT_TEX_FS; //[IF-JS]vertexShader=GLSL_ShaderList.shader.QB_NOT_...

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

504. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

...) */ static open(url: string, closeOther: boolean = true, param: any = null, complete: Handler = null, progress: Handler = null): Promise<Scene> { Scene.showLoadingPage(); return Scene.load(url, Handler.create(null, this._onSceneLoaded, [closeOther, complete, param]), progress); } (图2-1...

来源: Laya3.0_文档 发布时间: 20251010

505. 有震屏的算法吗 [ 79%]

...peed    *    */     public function stageShake(callBack:Function = null, times:uint = 2, offset:uint = 12, speed:uint = 32):void   {    if(_isShake) return;        _isShake = true;    var num:int = 0;    var offsetArr:Array = [0, 0];    var point:Point = new Point(this.x,...

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

506. laya.ui.TextInput [ 79%]

...否显示下划线。Label underlineColor : String下划线的颜色,为null则使用字体颜色。Label valign : String 表示文本的垂直显示方式。 取值: "top": 居顶部对齐显示。 "middle": 居中对齐显示。 "bottom": 居底部对齐显示。 Label viewport : Rect...

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

507. canvas下资源清理的问题 [ 79%]

...ALIGN_CENTER;                          btn1 = new Button(null,"显示");             btn2 = new Button(null,"销毁");             btn1.labelColors = "#ffffff,#ffffff,#ffffff";             btn2.labelColors = "#ffffff,#ffffff,#ffffff";            ...

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

508. tweenline label事件诡异 [ 79%]

... this.timeLine.addLabel("rotate1",0).to(this.godContaner,{rotation:-5},200,null,0) .addLabel("rotate2",0).to(this.godContaner,{rotation:0},200,null,0); this.timeLine.play(0,true); this.timeLine.on("label", this, function(label){ console.log(label) }); 两个问题 1 为什么label事件触发的时...

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

509. 分享一个Shader版的CoolDown实现 [ 78%]

.../         public init(texture: Laya.Texture, vb: Array<number> = null, ib: Array<number> = null): void {             this.vBuffer = Laya.VertexBuffer2D.create();             this.iBuffer = Laya.IndexBuffer2D.create();             this.ibData = null;           ...

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

510. 区块地图-PerspectiveWall [ 78%]

...ive_walls.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); } })();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap; import Rectangle = Laya.Rectangle; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class TiledMap_PerspectiveWall { priv...

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