大约有 683 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)
Laya_社区(327) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(38) Laya2.0_示例(19) Laya_示例(15)
...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_文档 发布时间: 20240926
...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
...去下载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_文档 发布时间: 20230728
...Laya.stage.addChild(this.__bind); this.__bind.x=Laya.stage.width*0.5; this.__bind.y=Laya.stage.height*0.5; this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete)); } private __bind:...
来源: Laya_社区 发布时间: 20190805
...= p.decode(); let texture:Laya.Texture2D = new Laya.Texture2D(544,960);//p.width,p.height this.texture = texture; this.refreshCamera(); //在U方向上使用WARPMODE_CLAMP // texture.format = Laya.TextureFormat.ASTC10x10 texture.wrapModeU = Laya.BaseTexture.WARPMODE_CLAMP; //在V方向使用WARPMODE...
来源: Laya_社区 发布时间: 20220815
...) | | `border-color:#ff0000;` | 边框颜色(仅div中使用) | | `width:100px;` | 宽度(仅div中使用) | | `height:100px;` | 高度(仅div中使用) | 下面的代码是运用的示例代码, ```html 使用 HTMLDivElement 组件 创建的 HTML文本 P标签,不需要...
来源: Laya2.0_文档 发布时间: 20210715
...mg; img.skin = this.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;...
来源: Laya_社区 发布时间: 20180626
...h(asset); let img = sharp(file); let meta = await img.metadata(); if (meta.width < 200 && meta.height < 200) return "source"; //source是一个特殊的字符串,表示返回源文件。 else return await img.resize(AssetThumbnail.imageSize, AssetThumbnail.imageSize, { fit: "inside" ...
来源: Laya3.0_文档 发布时间: 20240918