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

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

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

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

682. iOS9兼容bug,求指教 [ 42%]

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

683. 自定义3D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

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

684. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...去下载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

685. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...= "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 25; this.text.width = 800; this.text.anchorX = 0.5; this.text.align = "center"; this.text.y = 20; this.text.centerX = 0; this.owner.addChild(this.text); } /** * 发起HTTP连接请求 */ private connect(): void { //创建HttpRequest对象 ...

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

686. Laya 绑定显示内容到骨骼动画 [ 42%]

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

687. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 40%]

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

688. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 40%]

...) | | `border-color:#ff0000;` | 边框颜色(仅div中使用) | | `width:100px;` | 宽度(仅div中使用) | | `height:100px;` | 高度(仅div中使用) | 下面的代码是运用的示例代码, ```html 使用 HTMLDivElement  组件 创建的 HTML文本 P标签,不需要...

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

689. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 39%]

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

690. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 36%]

...) | 支持 | | min Vertex Distance(最小顶点距离) | 支持 | | Width(拖尾宽度) | 支持 | | Color(拖尾渐变颜色) | 部分支持(包括:Mode模式(Blend渐变色、Fixed固定色)、Color颜色值、Alpha透明度、Location颜色位置) | | Alignment(对齐)...

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