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

大约有 1,691 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)

201. laya.d3.resource.DataTexture2D [ 83%]

...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...

来源: laya_api 发布时间: 20170929

202. Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format [ 83%]

... 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format unity版本:2018.4.7f1 插件当日Laya2.4版本插件 步骤,导入插件-->将prefab拖入场景-->手动修改shader为BlinnPhong此时LayaBlinnPhongGUI.cs会报空引用错误-->设置导出...

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

203. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 83%]

...d("res/apes/monkey2.png", Handler.create(this, function() {     var texture:Texture = Laya.loader.getRes("res/apes/monkey2.png");     var sp:Spirte = new Sprite();     sp.graphics.drawTexture(texture, 0, 0);     sp.size(texture.width, texture.height);     Laya.stage.a...

来源: Laya2.0_文档 发布时间: 20210715

204. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 83%]

...如图三),代码如下: public drawScreenshot(): void { if (!this.tempTexture2D) { this.tempTexture2D = new Laya.Texture2D(1280,720); } if (!this.tempTexture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document....

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

205. 如果更换Sprite图片 [ 83%]

...ge的skin值来动态更换图片。 sprite可以通过sprite.graphcis.drawTexture来实现动态更换图片,当更换新的图片Texture的时候,clear掉之前的显示,将最新的texture赋值就可以了。 2017-01-12 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...

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

206. app 截屏分享功能问题 [ 83%]

...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

207. 分享:LayaAir下如何获取图集下的小图资源? [ 83%]

...; import laya.display.Sprite; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(600, 800); //加载引擎需要的资源 Laya.loader.load([{url:"res/atlas/atlas_res.json",type:Loader.ATLAS}], Hand...

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

208. laya.ani.GraphicsAni_API3.0 [ 83%]

...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): Graphics...

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

209. 只有图集资源,没有小图资源,可以使用类似官网的json文件控制取图路径吗?还是说只能靠Texture这种方式,每次都要调用的时候创建? [ 83%]

...使用类似官网的json文件控制取图路径吗?还是说只能靠Texture这种方式,每次都要调用的时候创建? 如题,谢谢! 2017-05-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuix...

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

210. [求助]无法使用loader预先加载 [ 83%]

...a.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;             title = new Sprite();             Laya.stage.addCh...

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