大约有 1,626 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(997) Laya2.0_文档(205) Laya3.0_api(176) Laya2.0_api(99) laya_api(85) Laya3.0_文档(46) Laya_示例(9) Laya2.0_示例(9)
...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
...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
...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
...写Shader渲染pass、渲染状态、材质参数等属性 } Shader3D End name Shader名称 用于解释该Shader的名称,区别不同的Shader的功能与效果 Shader3D Start { //此处ShaderName为Shader的名字,非.shader文件名字,实际为Shader3D对象的名称 name: ShaderName } Sh...
来源: Laya3.0_文档 发布时间: 20251010
...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
...的物体 // this.text.text = "碰撞到了" + outHitResult.collider.owner.name; console.log("碰撞到物体!!" + outHitResult.collider.owner.name) } 附件 : --> 射线选取实体的问题.zip 2019-12-19 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20191219
...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
...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
...only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对...
来源: Laya2.0_api 发布时间: 20190513
...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