大约有 81 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0030 秒)
...LightArea.visible = false; //设置叠加模式 highLightArea.blendMode = "destination-out"; highLightArea.setName("highLightArea") mask.addChild(highLightArea); 附件 : --> 2022-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20221010
...分享 微博 QZONE 微信 wyg3732630 赞同来自: webGl 下 blendMode = "destination-out";出现黑块的问题 需要怎么解决? 2017-12-22 0 1 分享 微博 QZONE 微信 Laya_XS 赞同来自: 你参考上面的地址,有个地方需要设置成cacheas为bitmap就可以了。 2017-12-23 ...
来源: Laya_社区 发布时间: 20170120
... this.say.height/2, this.say.width/2, "#00ffff"); this.circle.blendMode = "destination-out"; } Laya.class(IndexView,"IndexView",_super); IndexView.prototype.loadProgress = function(){ this.box.addChild(this.circle); if(this.angle <= 360){ this.angle+=12; this.draw.graphics.drawPie(this.say.width/...
来源: Laya_社区 发布时间: 20170807
...,在真机上直接没了?求解答 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 问题状态 最新活动: 2018-03-20 18:39 浏览: 1102 关注: 3 人 uu4uu • 2018-03-20 17:55 我按你这么设置了,没用 天...
来源: Laya_社区 发布时间: 20180320
...rea = new Sprite(); //设置叠加模式 this.interactionArea.blendMode = "destination-out"; this.guideContainer.addChild(this.interactionArea); this.hitArea = new HitArea(); this.hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, maskColor); this.guideContainer.hitArea = this.hitArea; ...
来源: Laya_社区 发布时间: 20180116
...50, "#000"); circle.pos(50, 50); // 设置叠加模式 circle.blendMode = "destination-out"; box.addChild(circle); 实现了擦除red节点的内容擦除 但是无法在擦除后的位置重新绘图 因为被上面有circle的透明区域挡住 请问如何实现在擦出后的位置...
来源: Laya_社区 发布时间: 20170707
...SIZE >> 1,-90,this.startY,'#ff0000') this.$circleSprite.blendMode = "destination-out" this.$circleSprite.pos(this.CIRCLE_WIDTH >> 1,this.CIRCLE_WIDTH >> 1) this.$circleSprite.graphics.clear() this.$circleSprite.graphics.drawCircle((this.DEF_SIZE - this.CIRCLE_WIDTH) >> 1, (th...
来源: Laya_社区 发布时间: 20180123
...(); guideContainer.addChild(interactionArea); interactionArea.blendMode = "destination-out"; var tipContainer = new Sprite(); stage.addChild(tipContainer); onClick(); function onClick() { var guide = guideSteps[step++]; interactionArea.graphics.clear(); interactionArea.graphics.drawCircle(guide.x, g...
来源: Laya_社区 发布时间: 20171031
...his.interactionArea = new Laya.Sprite(); this.interactionArea.blendMode = "destination-out"; this.guideContainer.addChild(this.interactionArea); this.guideHitArea = new Laya.HitArea(); this.guideHitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); this.guideContainer.hitArea =...
来源: Laya_社区 发布时间: 20171222
...graphics.drawCircle(0, 0, 15, "#fff"); cir.pos(p.x, p.y); cir.blendMode = "destination-out"; _colorSpr.addChild(cir); _htmlCanvas = _colorSpr.drawToCanvas(_colorTex.width, _colorTex.height, _colorSpr.x, _colorSpr.y); _tex = new Texture(_htmlCanvas); /************调用该方法导致内存泄漏****...
来源: Laya_社区 发布时间: 20180302