大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0071 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...= Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; // 创建Video元素 var videoElement:any = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Laya.Render.canvas.style....
来源: Laya_社区 发布时间: 20200909
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...r btn:Button = new Button("res/button-1.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置; var file:Object = Browser.document.createElement("input"); //设置file的样式 file.style="filter:alpha(opacity=0);opa...
来源: Laya_社区 发布时间: 20180529
...URL Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231115
...。ParticleSettingPublic Methods MethodDefined By ParticleSetting() 创建一个新的 ParticleSettings 类实例。 ParticleSetting checkSetting(setting:Object):void[static] ParticleSettingProperty DetailageAddScalepropertypublic var ageAddScale:Number = 0如果大于0,某些粒子的持...
来源: laya_api 发布时间: 20170929
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...URL Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231115
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...节省了制作人员的大部分时间,提高了开发效率。本篇从创建时间轴动画至编码运用,全面介绍时间轴动画编辑器的功能及使用。 # 1. 创建时间轴动画 **时间轴动画有两种创建方式**。一种是创建`.ani`文件的时间轴动画,另一...
来源: Laya2.0_文档 发布时间: 20210715