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

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

501. 2.0版本 ios浏览器旋转,会导致适配出现问题,无法旋转回来 [ 64%]

...dow.addEventListener('resize', function () { if (document.activeElement.tagName == 'INPUT' ||  document.activeElement.tagName == 'TEXTAREA') { window.setTimeout(function () { document.activeElement.scrollIntoViewIfNeeded(); }, 0); } }); }  $(document).on('focusout', function () {//软键盘收起...

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

502. List 组件做的手风琴Demo [ 63%]

...Item(cell:Item,index:number){           var img1 = cell.getChildByName("img1") as Laya.Image;         var img2 = cell.getChildByName("img2") as Laya.Image;         img1.on("click",this,this.onRefresh,[index])         //当索引相同时 BOX 高度改变       ...

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

503. List滚动条问题 [ 63%]

...arketItem() { MarketItem.__super.call(this); this.size(312, 462); // {id:1,name:"10金豆-测试",price:0.01,title:"10金豆-测试",desc:"测试",balance:10,gift:0,imgPath:"res\\common\\BalanceSellDlg\\xiaodou.png",hot:1,orderCount:9} // 背景 var bg_image = new Laya.Image(); bg_image.skin = "res/...

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

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

...写Shader渲染pass、渲染状态、材质参数等属性 } Shader3D End name Shader名称 用于解释该Shader的名称,区别不同的Shader的功能与效果 Shader3D Start { //此处ShaderName为Shader的名字,非.shader文件名字,实际为Shader3D对象的名称 name: ShaderName } Sh...

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

505. 加载.lh文件 运行后黑屏 无法显示 [ 63%]

...w Laya.Camera(0, 0.1, 100);     scene.addChild(camera);     camera.name = "camera";         //this.scene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D;         //this.scene.ambientColor = new Laya.Vector3(1, 1, 1);         camera.transform.translate(new La...

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

506. 用raycast选取实体,hitresult始终是false [ 63%]

...的物体 // this.text.text = "碰撞到了" + outHitResult.collider.owner.name; console.log("碰撞到物体!!" + outHitResult.collider.owner.name) } 附件 : --> 射线选取实体的问题.zip 2019-12-19 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

507. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 63%]

...ld(camera);         //设置相机的名称         camera.name = "camera";         //相机平移位置         camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5));         //旋转相机         camera.transform.rotate(new Laya.Vector3(-15, 0, ...

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

508. TiledMap加载报错 relativePath为空 [ 63%]

...1, 1, 1, 1, 1, 1, 1, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "height":25, "name":"\u5757\u5c42 2", "opacity":1, "type":"tilelayer", "visible":true, "width":25, "x":0, "y":0 }, { "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...

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

509. laya.utils.PerfHUD [ 63%]

...only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对...

来源: Laya2.0_api 发布时间: 20190513

510. laya.d3.resource.TextureCube_API3.0 [ 63%]

...reCube Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute ref...

来源: Laya3.0_api 发布时间: 20231102