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

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

661. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 40%]

...t.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stag...

来源: Laya2.0_文档 发布时间: 20210714

662. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 39%]

...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

663. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 37%]

...表位置 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

664. 微信小游戏利用开放域好友关系链做排行榜 [ 36%]

...sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height);                  // console.log("再次往开放域发请求");                 // openDataContext.postMessage({                 //  cmd:2,              ...

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

665. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { ...

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

666. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 30%]

...ar, far, invert, 1 / far) 投影参数 Camera.glsl u_Viewport(x, y, width, height) 视口 Camera.glsl u_CameraDirection 相机方向 Camera.glsl u_CameraUp 相机上朝向 Camera.glsl u_CameraPos 相机位置 Camera.glsl u_ZBufferParams:1.0 - far / near, far / near, (near - far) / (near * far), 1 ...

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

667. 为什么支持tiled之作的地图呢? [ 20%]

...led导出的json格式地图 显示不出来,也不报错,求解开 { "height":100, "infinite":false, "layers":[ { "image":"Pictures\/timg2.jpg", "name":"jpgmap", "opacity":1, "type":"imagelayer", "visible":true, "x":0, "y":0 }, { "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...

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