大约有 698 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0126 秒)
Laya_社区(336) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(44) Laya2.0_示例(19) Laya_示例(15)
...V = Laya.Stage.ALIGH_MIDDLE; Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; 然后掉微信的接口查System的信息判断是不是iPhone X 如果是的话在调用 Laya.stage.y = 150 强制调整stgae的y左边居中显示 xiao龙 • 2018-09-05 11:46 或者调整个适当的y值居中显...
来源: Laya_社区 发布时间: 20180604
... sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); // console.log("再次往开放域发请求"); // openDataContext.postMessage({ // cmd:2, ...
来源: Laya_社区 发布时间: 20180529
...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
...(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTimer=null; Laya.startTimer=null; Laya.physicsTimer=null; Laya.updateTimer=null; Laya...
来源: Laya_社区 发布时间: 20200426
...var mSkinList = ["goblin", "goblingirl"]; (function () { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); mLabelSprite = new Sprite(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory....
来源: Laya_社区 发布时间: 20170818
...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
...019-06-13 11:20:13.099 RBaoSANGuo_H5L1[1552:289925] =============onGLReady width=1080,height=1920 2019-06-13 11:20:13.099 RBaoSANGuo_H5L1[1552:289925] download thread num = 3 2019-06-13 11:20:13.250 RBaoSANGuo_H5L1[1552:289925] createOpenALSource current num=10 2019-06-13 11:20:13.251 RBaoSANGuo_H5L...
来源: Laya_社区 发布时间: 20190612
...响产品画面宽高表现的核心有三个设置:设计宽高(designWidth、designHeight)与缩放模式(scaleMode)。 设计宽高决定了 IDE 中 2D 场景编辑区的默认尺寸,开发者通常在这一尺寸下构建与排列 UI。 场景运行时,引擎会依据设计宽高...
来源: Laya3.0_文档 发布时间: 20251231
...rams(near, 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 * f...
来源: Laya3.0_文档 发布时间: 20251010
...去下载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