大约有 56 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya3.0_api(27) Laya_社区(14) Laya3.0_文档(5) laya_api(3) Laya2.0_api(3) Laya2.0_示例(2) Laya2.0_文档(2)
... private comp:ui.ComponentDemoUI; constructor() { Laya.init(1334,750, Laya.WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded(...
来源: Laya2.0_文档 发布时间: 20210715
...gel[angelLel].c1 ,data.angel[angelLel].c2); // 雕塑加一个发光滤镜(webgl不支持),设置滤镜集合 // var glowFilter = new GlowFilter("#ffff00", 5, 0, 0); // this.statue.filters = [glowFilter]; // 守护神设置旋转 this.angel.pivot(boundAngel.width/2,boundAngel.height); this.angel.rot...
来源: Laya_社区 发布时间: 20170720
...niformBufferObject2.6 材质使用UBO matUseUBO2.7 2D网格内存预分配 webGL2D_MeshAllocMaxMem2.8 默认字体与字号3、2D灯光全局配置3.1 环境光颜色 ambientColor3.3 环境光遮罩 ambientLayerMask3.4 光影图多重采样数 multiSamples4、3D相关参数说明:4.1 开启动态...
来源: Laya3.0_文档 发布时间: 20251231
...ss LayaUISample { constructor() { //初始化引擎 Laya.init(600,400,Laya.WebGL); //设置Laya提供的worker.js路径 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("../atlas/comp.atlas",Laya.Han...
来源: Laya3.0_文档 发布时间: 20251010
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: Laya2.0_api 发布时间: 20190513
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: laya_api 发布时间: 20170929
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: Laya2.0_api 发布时间: 20190513
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: laya_api 发布时间: 20170929
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: Laya3.0_api 发布时间: 20231115
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: laya_api 发布时间: 20170929