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

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

41. 微信小游戏开放数据域透明区域绘制的问题 [ 71%]

... new Laya.Texture(sharedCanvas) myTexture.bitmap.alwaysChange = true; this.graphics.drawTexture(myTexture, x, y, width, height)   目前遇到的问题: 主域里面的texture获取在获取sharedCanvas里的图案的时候,没有将texture自身的内容清空,导致绘制到主界面上的...

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

42. Laya能不能镂空填充区域实现穿透点击? [ 70%]

...镂空可以让鼠标穿透的效果呢? var m:Sprite = new Sprite(); m.graphics.beginFill(0x0, 0.5); m.graphics.drawRect(50, 50, 100, 100); m.graphics.drawRect(75, 75, 50, 50); m.graphics.endFill(); 附件 : --> 2015-12-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

43. 绘制背景帧 [ 70%]

...为透明 新建View及背景图片自适应大小如何设置 如何清除graphics绘制的矢量图 ios 背景音乐需要手动点一下屏幕才能播放 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, webgl 绘制graphics出报错 问题状态 最新...

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

44. 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 [ 70%]

请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 我可以另外建一个圆形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); ma...

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

45. 新手引导在ios浏览器表现异常 [ 69%]

...        let sp = new Laya.Sprite();             sp.graphics.drawRect(0,0,Laya.stage.width,Laya.stage.height,"#FFFFFF");             Laya.stage.addChild(sp);              let guideView = new MazeGuideView();             guideView.zOrder...

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

46. 可以为线条设置hit(碰撞)区域吗? [ 69%]

...以为线条设置hit(碰撞)区域吗? var sp:Sprite = new Sprite();sp.graphics.clear(); sp.graphics.drawRect(0, 0, 100,100,"#ff0000" ); var hit:HitArea = new HitArea(); hit.hit = sp.graphics; sp.hitArea = hit;   使用上面的方法可以给有填充 sp 添加触发区域!   但是如果sp...

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

47. laya.display.Graphics_API3.0 [ 68%]

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对...

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

48. 水漫填充算法(floodfill) [ 68%]

...法或算法。 有没有四元数右乘三维向量的算法? 现在的graphics 填充色透明度还不可以设置吗? 或者说和背景混合呢? 使用setsubpixel函数对图片进行纹理像素填充,安卓端微信不正常 关于graphics.fillTexture,该api只能填充矩形的,...

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

49. laya.ani.GraphicsAni_API3.0 [ 68%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/ani/GraphicsAni" GraphicsAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage dra...

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

50. Spine动画最后一帧无法正常显示 [ 68%]

...。经调试后发现在Skeleton::_update方法中的以下语句:var tGraphics; if (this._aniMode == 0) { tGraphics = this._templet.getGrahicsDataWithCache(this._aniClipIndex, this._clipIndex) || this._createGraphics(); if (tGraphics && this.graphics != tGraphics) { this.graphics = tGraph...

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