大约有 1,720 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0147 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...使用时需要多大的字就在此处设置相同大小的字号。 Height:设置字体的拉伸高度,保持默认的100%就可以。 * 注意:Charset的值选择Unicode。*  5.在选择菜...
来源: Laya2.0_文档 发布时间: 20201114
... (图1-8) 我们可以通过偏移localOffset、半径radius、高度height、方向orientation,来设置圆柱体碰撞形状的位置、圆柱粗细、圆柱高矮、胶囊朝向,如图1-9所示。 (图1-9) 1.1.5 圆锥体碰撞形状 圆锥体碰撞形状用于表示一个锥体物体...
来源: Laya3.0_文档 发布时间: 20251010
... flower.pivotY=80; flower.zOrder = budai.y; flower.autoSize = true; flower.height = 100; flower.width = 100; flower.size(100,100); flower.on(Laya.Event.CLICK,this,function() { alert("My Name is Bear"); }); mallLayer.addChild(flower); mallLayer._showGridList.push(flower); 附件 : --> hxwlworld...
来源: Laya_社区 发布时间: 20180722
...eatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandler = new Handler(this, this.updateI...
来源: Laya2.0_文档 发布时间: 20210715
...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; showApe(); })(); function showApe() { // 方法1:使用loadIm...
来源: Laya2.0_文档 发布时间: 20210715
...his.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; x < this.out...
来源: Laya_社区 发布时间: 20180626
...-----2"); Laya.Browser.window.conch.captureScreen(function(arrayBuff,width,height){ console.log("onCharge-------------------------3"); //存储文件的方 Laya.Browser.window.conch.saveAsPng( arrayBuff,width,height,Laya.Browser.window.conch.getCachePath()+"/test.png" ); console.log("onCharge-------...
来源: Laya_社区 发布时间: 20170609
...有效处理与环境的碰撞。开发者可以通过radius(半径)和height(高度)属性调整这个胶囊体的尺寸,通过centerOffset属性调整胶囊体在角色本地坐标系中的位置偏移。 角色控制器内置了多种实用功能来处理常见的角色移动场景。...
来源: Laya3.0_文档 发布时间: 20251010
...表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在头或底最大距离 list.scrollBar.elastic...
来源: Laya2.0_文档 发布时间: 20210715
...sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); // console.log("再次往开放域发请求"); // openDataContext.postMessage({ // cmd:2, ...
来源: Laya_社区 发布时间: 20180529