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

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

301. 资源加载 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...去下载Meta(json)文件 [key: string]: any; } TextureConstructParams { width?: number, height?: number, format?: TextureFormat, mipmap?: boolean, canRead?: boolean, sRGB?: boolean, } TexturePropertyParams { wrapModeU?: number, wrapModeV?: number, filterMode?: FilterMode, anisoLevel?: number, premu...

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

302. 其他 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...下属性: 属性 类型 说明 pixelRatio number 设备像素比 screenWidth number 屏幕宽度,单位px screenHeight number 屏幕高度,单位px windowWidth number 可使用窗口宽度,单位px windowHeight number 可使用窗口高度,单位px statusBarHeight number 状态栏的高...

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

303. Dialog 第一次打开总是出现在窗口右下角,这是啥,再打开就正常剧中了? [ 52%]

...:"Dialog", "selectedBox":2, "selecteID":3, "searchKey":"Dialog", "props":{"width":1624,"sceneColor":"#000000","runtime":"script/view/dialogs/SettingDialog.js","height":750}, "nodeParent":-1, "maxID":4, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":2...

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

304. 分享一个Shader版的CoolDown实现 [ 52%]

...     vbArray = new Array<number>();                 var texWidth: number = texture.width;                 var texHeight: number = texture.height;                 //定义颜色值,取值范围0~1 浮点。                 const red: number = 1;         ...

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

305. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 52%]

...der = Item;   list.repeatX = 1; list.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.renderHa...

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

306. 重要问题:关于苹果审核被拒 [ 51%]

...lloworldlv • 2018-03-21 11:03 如果再报错在build phases/link binary width libraries里加上JavaScriptCore.framework riven • 2018-03-21 13:42 ok了,多谢 Monica • 2018-03-21 10:00 你用的是0.9.14版本的Native库吗? devilsome • 2018-03-21 10:14 是的,有什么特殊需要...

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

307. 改变画布 样式的 宽高后 鼠标定位问题 [ 50%]

...it(1024, 650 , WebGL); 我改变 宽度后 Render._mainCanvas.source.style.width = "100%" 自适应外部的DIV 但我画笔的定位 this.stage.mouseX 取不到正确位。这怎么处理?   如图,白色画布是1024 x 650  外层div 是 500 x 500 按照鼠标点下去的 位置。在白色画...

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

308. List中放TextInput,当list滚动的时候,复用会有问题,input中的内容会乱,尤其有输入框focus的情况下 [ 48%]

...temRender = Item; list.repeatX = 1; list.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 = n...

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

309. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 47%]

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

310. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...过两种方式动态改变item的大小: 在itemRenderer的内部使用width、height或size改变item的大小。 item建立对内部元件的关联,然后在itemRenderer里修改内容触发内部元件的改变,从而自动改变item高度。例如item建立了一个对内部某个可变...

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