大约有 738 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...eValue:number = 0; private layaMonkey_clone1:Laya.Sprite3D; private layaMonkey_clone2:Laya.Sprite3D; private layaMonkey_clone3:Laya.Sprite3D; private clone1Transform:Laya.Transform3D; private clone2Transform:Laya.Transform3D; private...
来源: Laya_社区 发布时间: 20190509
...ogManager怎么添加遮罩层 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
...二次调用报错 使用Laya.loader.create 预加载,第一次用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 可以创建,第二次再调用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 创建就返回undefined了,help~ 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180307
...相关的链接 提交 3 个回复 zhengjiajia 赞同来自: 一个容器sprite 增加一个固定的mask 在容器子对象 后面动态添加进去 会报错 2017-09-13 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 麻烦上传一个有问题的例子,我们看下 2017-09...
来源: Laya_社区 发布时间: 20170913
关于遍历产生的sprite的点击事件,急,大神帮看哈 var sp; for(var i=0;i<5;i++){ sp=new Laya.Sprite(); sp.index=i; Laya.stage.addChild(sp); } 类似这样遍历出来的sprite 我怎么给每个sprite添加一个点击事件获得对应的sp.index值呢! 2017-02-21...
来源: Laya_社区 发布时间: 20170221
...s = Laya.Browser.document.getElementById("layaCanvas"); var spi = new Laya.Sprite(); var spi1 = new Laya.Sprite(); var spi2 = new Laya.Sprite(); this.tempTexture2D.loadImageSource(cans, true); spi.texture = spi1.texture = spi2.texture = this.tempTexture; //创建模糊滤镜实例 var blurFilter = n...
来源: Laya_社区 发布时间: 20191230
如何给Sprite的graphics绘制的线条添加发光滤镜? 2017-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: bluesky var sp:Sprite=new Sprite(); sp.graphics.drawLine(0,0,200,2...
来源: Laya_社区 发布时间: 20170313
LayaAir引擎 动态创建img 或 sprite let dd = new Laya.Sprite(); dd.graphics.drawTexture(this.img.texture, 0, 0, 750, 1334); dd.x = 50; dd.y = 50; this.addChild(dd); this.img 绝对不为空,我想用一个sprite来画它,请问什么画(不是拷贝)? 2018-01-24 添加评论 ...
来源: Laya_社区 发布时间: 20180124
... onAwake():void{ console.log(1111); } } 2.继承Sprite 执行后会有onAwake let t = new tt(); Laya.Scene.root.addChild(t); } } //激活启动类 new Main(); class tt extends Laya.Sprite{ constructor(){ su...
来源: Laya_社区 发布时间: 20190701
Sprite optimizeScrollRect = true 似乎有问题 this.initMask = function () { this.mask = new Sprite(); this.mask.width = this.width; this.mask.height = this.height; this.mask.scrollRect = new Rectangle(); this.mask.scrollRect.setTo(0, 0, this.width, this.height); this.mask.optimizeScrollRect = tr...
来源: Laya_社区 发布时间: 20161118