大约有 2,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...时候出问题了 //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play(); 附件 : --> 2019-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190221
...:18186:8) at loop CFFish的init方法如下 public init(type:string):void{ this.type = type } 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple 赞同来自: console.log(fish) 输出的是什么 2018...
来源: Laya_社区 发布时间: 20180404
....load([{url:"res/atlas/atlas_res.json",type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //获取图集下的单张小图 var texture:Texture=Laya.loader.getRes("atlas_res/01.png"); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture,200,100); Laya.st...
来源: Laya_社区 发布时间: 20160707
...GameObject.Find('shengdan/huaban_shengdan') as Laya.SkinnedMeshSprite3D; this.skinMeshRender.meshFilter.sharedMesh = newModel.meshFilter.sharedMesh; 模型mesh错乱,同一个建模师建的,要做人物换外表 新模型的mesh赋值过去后 没有正确的显示mesh 附件 : --> 2019...
来源: Laya_社区 发布时间: 20191126
...a.Graphics= new Laya.Graphics(); tempgraphics.drawRect(0,0,50,50,"FFFFFF"; this.rootSceneView.avatorBtn.hitArea = tempgraphics 首先绘制的时候必须带上颜色 才能绘制 然后会崩溃 附件 : --> 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180322
...aya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
...aya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture){ //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210715
...-12-19 0 4 分享 微博 QZONE 微信 LT 赞同来自: Laya.stage.addChild(this); Laya.timer.once(500,this,test); 转坐标放在后面加了个延时执行。。就没问题了。。应该是执行的时候组件还没有全部加进stage。。 2018-12-20 0 0 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20181219
...的处理 var Load_ = (function (_super) { function Load_() { Load_.super(this); } //注册类 Laya.class(Load_, "Load_", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya...
来源: Laya_社区 发布时间: 20180705
...调用这个方法,然后适配屏幕。你会发现在某些 机型内 this.designWidth 、与 this.designHeight 是无法获取的。这就尴尬了。导致后面直接不适配,或者就算调用showall可以适配,也有黑边且按钮错位。我找了超久才发现这个。怎么办...
来源: Laya_社区 发布时间: 20190228