大约有 276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...2) anisoLevel =10 设置代码: ```typescript //设置各向异性等级 texture.anisoLevel = 10; ```
来源: Laya2.0_文档 发布时间: 20210715
... 骨骼动画播放完后的回调时间 IDE1.7.8 json图集加载问题 Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 LayaAir 库文件加载速度慢 我用list.array=Array;数据全部插进去数组里了,但...
来源: Laya_社区 发布时间: 20180304
...和UI点击穿透的问题 如何设置Sprite的宽高和点击区域? Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 点击代码编辑模器 就提示无法打开代码...
来源: Laya_社区 发布时间: 20180122
...LoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var texture:Texture=Loader.getRes("ui/image.png"); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); } 2017-06-03 0 1 分享 微博 QZONE 微信 xiaojun 赞同来自: 是这个 2017-06-03 0 0 ...
来源: Laya_社区 发布时间: 20170603
...sendReq(req) ; } 传过去的是bitmap: var htmlCanvas:HTMLCanvas; var texture:Texture; htmlCanvas = Laya.stage.drawToCanvas(Laya.stage.width,Laya.stage.height,0,0); texture = new Texture(htmlCanvas); texture.bitmap; 2018-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180329
...ya.loader.load("res/apes/monkey2.png",Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); ``` 使用Graphics.drawTexture并不会...
来源: Laya2.0_文档 发布时间: 20210715
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh){ teapo...
来源: Laya2.0_文档 发布时间: 20210715
...获取“鼠标是否处于按下状态”? LayaBox IDE 支持多开吗 Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组...
来源: Laya_社区 发布时间: 20181123
...oad("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:...
来源: Laya2.0_文档 发布时间: 20210714
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh)...
来源: Laya2.0_文档 发布时间: 20210715