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

大约有 738 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)

41. DialogManager怎么添加遮罩层 [ 84%]

...anager怎么添加遮罩层   var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dia...

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

42. Sprite.loadImage加载失败绘制报错 [ 84%]

Sprite.loadImage加载失败绘制报错 native2.0下,如果直接用Sprite的loadImage去加载图片,若图片加载失败,则绘制报错 附件 : --> 声明时实例化导致报错.zip 图片不存在报错.zip 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

43. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count [ 84%]

...候,把a的纹理取出来重新绘制,但是好像没有效果 var a:Sprite = new Sprite(); var count:int = 0; for(var i:int=0; i<200; i++) { for(var j:int=0; j<100; j++) { if(count == 10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture...

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

44. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count [ 84%]

...候,把a的纹理取出来重新绘制,但是好像没有效果 var a:Sprite = new Sprite(); var count:int = 0; for(var i:int=0; i<200; i++) { for(var j:int=0; j<100; j++) { if(count == 10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture...

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

45. Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug [ 84%]

Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug   报错内容如下:     //===================不报错======================  let temp:Laya.Sprite3D = Laya.Sprite3D.load("res/Coin/layaScene.lh") as Laya.Sprite3D;  scene.addChild(temp);  temp.on(Laya.Event.HIERARCHY_LOADED,this...

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

46. Sprite对象中的scrollRect如何使用?为什么是undefined [ 84%]

Sprite对象中的scrollRect如何使用?为什么是undefined 2017-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 你的代码看不出什么问题,而且我测试也是正常...

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

47. [LayaAirIDE3]2d相机打包后问题 [ 84%]

...ass() export class Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Sprite;      @property({ type: Laya.Sprite })     public map: Laya.Sprite;      @property({ type: Laya.S...

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

48. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(带悬赏的每次都创建订单失败,之后在社区里面看不到) [ 83%]

...候,把a的纹理取出来重新绘制,但是好像没有效果 var a:Sprite = new Sprite(); var count:int = 0; for(var i:int=0; i<200; i++) { for(var j:int=0; j<100; j++) { if(count == 10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture...

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

49. 使用 new Animation 报错 e.indexOf [ 83%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'...

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

50. 将字节数组转为图片 [ 83%]

...ng = Browser.window.URL.createObjectURL(blob);             var sp:Sprite = new Sprite();             sp.loadImage(url);             addChild(sp);             sp.pos(100, 200);             trace("url=" + url);//blob:file%3A///1c4effc4-4022-4ab5-8feb-e39ff7...

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