大约有 2,416 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1456) Laya2.0_文档(592) Laya3.0_文档(82) Laya3.0_api(65) Laya_示例(61) Laya2.0_api(60) laya_api(54) Laya2.0_示例(46)
...erial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(layabox: Laya.Texture2D): void{ ball1mat.albedoTexture = layabox; })); //ball1mat.tilingOffset = new Laya.Vector4(10, 10, 0, 0); ball1.meshRenderer.material = ball1mat; //添加刚体 ...
来源: Laya_社区 发布时间: 20190506
...ata[X]['n_number']; fooddata[X] = { food: { skin: 'comp/food' + foodid + '.png' }, food_txt: { text: foodtxt } // console.log(); } } console.log('+++++++++++++++++++') console.log(_super); console.log(fooddata); self.foodList.dataSource = fooddata; //实例化角色容器 var foodBox = new Laya.Sp...
来源: Laya_社区 发布时间: 20181221
...ge.blendMode = "add"; image.skin = "res/atlas/test.png"; Laya.stage.addChild(image); } } } 第一张图是在华为某低端机上,使用腾讯x5内核,add混合模...
来源: Laya_社区 发布时间: 20190110
...dardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; } return LayaAir3D; } ()); LayaAir3D(); 这个是最开始的基本demo 你看看代码少了什么 2018-06-05 0 1 分享 微博 QZONE 微信 渔歌 赞同来自: 这是修改后...
来源: Laya_社区 发布时间: 20180605
....Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); let t = new Laya.Label(); t.width = 638; t.fontSize = 25; t.wordWrap = true; t.color = "#976A4F"; t.overflow = "scroll" t.leading = 20; t.text =WanF.xinxi; panel.addChild(t); } public stat...
来源: Laya_社区 发布时间: 20180426
...put:TextArea; txtInput.vScrollBarSkin = GameConfig.UI_ROOT + "vscroll.png"; txtInput.vScrollBar.autoHide = true; txtInput.vScrollBar.mouseWheelEnable = true; txtInput.multiline = true;//使用ide设置的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputC...
来源: Laya_社区 发布时间: 20170812
...就会报黄警告Resources already exist,is repeated loading:.../.../.../.png 并造成 image图片类型不显示,但 sprite图片显示。 解决方案: 将sprite或image类型的组件统一使用一种; 避免作为预制体使用 希望大家避免这个坑,laya开发还有许多坑,...
来源: Laya_社区 发布时间: 20200320
...该运动。 约束赋予刚体以下自由度:  | 约束 | 功能 | | ----------------------- | ---------------------------------------- | | Character Constraint | 模拟球窝关节(ball and socket joint),例如臀部或肩膀。 约束所有线性自由度的刚...
来源: Laya2.0_文档 发布时间: 20210715
...r i:int = 0; i < 100; i++) { var image:Image = new Image("comp/clip_num.png"); image.size(240, 27); _items.push(image); } _list.array = _items; } protected function renderHandler(cell:Sprite, index:int):void { removeAllChildren(cell); cell.addChild(_items[index]); } protected function removeAllCh...
来源: Laya_社区 发布时间: 20170323
... var TimeLine = Laya.TimeLine; var apePath = "../../res/apes/monkey2.png"; var ape; var splashSp = function(sp){ var glowFilter = new GlowFilter("#ffff00", 1, 0, 0); sp.filters = [glowFilter]; var t = new TimeLine(); for(var i = 0; i < 5...
来源: Laya_社区 发布时间: 20181012