大约有 316 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(127) Laya3.0_api(85) Laya2.0_api(49) laya_api(19) Laya2.0_文档(15) Laya3.0_文档(13) Laya2.0_示例(4) Laya_示例(4)
...去下载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
...下属性: 属性 类型 说明 pixelRatio number 设备像素比 screenWidth number 屏幕宽度,单位px screenHeight number 屏幕高度,单位px windowWidth number 可使用窗口宽度,单位px windowHeight number 可使用窗口高度,单位px statusBarHeight number 状态栏的高...
来源: Laya3.0_文档 发布时间: 20260128
...:"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
... vbArray = new Array<number>(); var texWidth: number = texture.width; var texHeight: number = texture.height; //定义颜色值,取值范围0~1 浮点。 const red: number = 1; ...
来源: Laya_社区 发布时间: 20170606
...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
...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
...it(1024, 650 , WebGL); 我改变 宽度后 Render._mainCanvas.source.style.width = "100%" 自适应外部的DIV 但我画笔的定位 this.stage.mouseX 取不到正确位。这怎么处理? 如图,白色画布是1024 x 650 外层div 是 500 x 500 按照鼠标点下去的 位置。在白色画...
来源: Laya_社区 发布时间: 20171115
...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
...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
...过两种方式动态改变item的大小: 在itemRenderer的内部使用width、height或size改变item的大小。 item建立对内部元件的关联,然后在itemRenderer里修改内容触发内部元件的改变,从而自动改变item高度。例如item建立了一个对内部某个可变...
来源: Laya3.0_文档 发布时间: 20251128