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

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

31. laya.resource.AtlasResource_API3.0 [ 77%]

...ctors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event has...

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

32. BoneSlot 对象 showSlotData 无效 texture 替换后显示错误! [ 77%]

BoneSlot 对象 showSlotData 无效 texture 替换后显示错误! 骨骼动画里有没有办法直接替换显示数据和纹理? 代码这样赋值不显示   调用一次 _slot.currTexture = tex; 则显示错乱。     附件 : --> 2018-05-07 添加评论 悬赏 --> 分享 微博 QZONE ...

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

33. LayaAirUnityPlugin_beta 不显示texture setting [ 77%]

LayaAirUnityPlugin_beta 不显示texture setting 按照2.0文档步骤,unity5.6.6安装LayaAirUnityPlugin_beta 后不显示texture setting 等内容。 2018-10-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...

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

34. 截屏功能,添加Texture对象报错 [ 76%]

截屏功能,添加Texture对象报错 按照官方教程编写的截屏功能,代码如下所示。 在sp内addChild失败,(未报错,图内可以看到打印出来sp子节点为空)。添加进Stage报错Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not o...

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

35. drawTexture时,Matrix对象,a=-1,无法实现水平翻转 [ 76%]

drawTexture时,Matrix对象,a=-1,无法实现水平翻转 g.drawTexture(texture,100, 100, texture.width, texture.height, new laya.maths.Matrix(-1)); 为何无法实现水平翻转? 绘制的图片直接看不见了,如果不设置matrix.a = -1就不会出现。 2017-02-21 添加评论 免...

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

36. laya.ui.Image [ 76%]

...源加载完成后,会自动缓存至资源库中。 Image  source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓...

来源: Laya2.0_api 发布时间: 20190513

37. native初始化一次以后进行销毁,第二次重新初始化会报错 [ 76%]

...Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined Texture图片能否进行翻转? 导微信小程序报错window.focus is not a function 官网示例摇一摇报错,就解决方案 启动引擎报错 mPlugin.game_plugin_init(3); 小游戏项目 加载有中文的json文...

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

38. 2.0 怎么样才能将htmlcanvas 的东西 显示在texture上? [ 76%]

2.0 怎么样才能将htmlcanvas 的东西 显示在texture上? 原本像实现将场景的东西绘制到一个sprite上,参考以前的截屏代码是可以的。 然后1.x 上我实现了,但是2.0 最新版 接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, u...

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

39. 从大图里边截取一部分显示,为啥显示不出来? [ 75%]

...ge(); imgBig.skin="big.jpg";  let imgCut:Laya.Image=new Laya.Image(); let texture:Laya.Texture=Laya.Texture.create(imgBig,0,0,100,100); imgCut.texture=texture; Laya.stage.addChild(imgCut); 2019-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

40. 关于纹理的显示问题 [ 75%]

...显示问题     var sprite:Sprite=new Sprite(); sprite.pos(0, 0); var texture:Texture=new Texture(Browser.window.sharedCanvas); if (texture) { // texture.bitmap.alwaysChange=true; //小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用...

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