大约有 698 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
Laya_社区(336) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(44) Laya2.0_示例(19) Laya_示例(15)
...= "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 25; this.text.width = 800; this.text.anchorX = 0.5; this.text.align = "center"; this.text.y = 20; this.text.centerX = 0; this.owner.addChild(this.text); } /** * 发起HTTP连接请求 */ private connect(): void { //创建HttpRequest对象 ...
来源: Laya3.0_文档 发布时间: 20251010
...Laya.stage.addChild(this.__bind); this.__bind.x=Laya.stage.width*0.5; this.__bind.y=Laya.stage.height*0.5; this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete)); } private __bind:...
来源: Laya_社区 发布时间: 20190805
...= p.decode(); let texture:Laya.Texture2D = new Laya.Texture2D(544,960);//p.width,p.height this.texture = texture; this.refreshCamera(); //在U方向上使用WARPMODE_CLAMP // texture.format = Laya.TextureFormat.ASTC10x10 texture.wrapModeU = Laya.BaseTexture.WARPMODE_CLAMP; //在V方向使用WARPMODE...
来源: Laya_社区 发布时间: 20220815
...) | | `border-color:#ff0000;` | 边框颜色(仅div中使用) | | `width:100px;` | 宽度(仅div中使用) | | `height:100px;` | 高度(仅div中使用) | 下面的代码是运用的示例代码, ```html 使用 HTMLDivElement 组件 创建的 HTML文本 P标签,不需要...
来源: Laya2.0_文档 发布时间: 20210715
...mg; img.skin = this.aaa.playerNameList[i].playerhandpoker[j].PokerDre; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.reciveOutPoker.push(img); this.outHandPoker.push(this.aaa.playerNameList[i].playerhandpoker[j]); this.lastPaixing = 1; for (let x = 0;...
来源: Laya_社区 发布时间: 20180626
...) | 支持 | | min Vertex Distance(最小顶点距离) | 支持 | | Width(拖尾宽度) | 支持 | | Color(拖尾渐变颜色) | 部分支持(包括:Mode模式(Blend渐变色、Fixed固定色)、Color颜色值、Alpha透明度、Location颜色位置) | | Alignment(对齐)...
来源: Laya2.0_文档 发布时间: 20210714
...a.isWXPosMsg = true; //根据IDE设置初始化引擎 Laya.init(GameConfig.width, GameConfig.height,false); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode = GameConfig.screenMode; Laya.stage.alignV = GameConfig.alignV; Laya.stage.alignH = GameConfig.alignH; // 关于透传接口...
来源: Laya_社区 发布时间: 20190307
...wifi 2018-01-09 20:50:15.134 ZhuaWawa[2531:1863752] =============onGLReady width=1080,height=1920 2018-01-09 20:50:15.135 ZhuaWawa[2531:1863752] download thread num = 3 2018-01-09 20:50:15.146 ZhuaWawa[2531:1863752] found the file in the package:shaders/todevVS.glsl 2018-01-09 20:50:15.147 ZhuaWawa[...
来源: Laya_社区 发布时间: 20180109