大约有 487 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(264) Laya3.0_api(65) laya_api(64) Laya2.0_api(59) Laya2.0_文档(12) Laya2.0_示例(8) Laya_示例(8) Laya3.0_文档(7)
...次图片,然后在CompleteHandler回调里获取texture,然后通过graphics进行绘制,graphics可以写到一个for循环里,多次进行绘制即可! 2017-07-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 babby_bei 相...
来源: Laya_社区 发布时间: 20170720
...在main.as里import miniadapter然后加载远程资源 就会无限加载 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 如何获取Sprite上用graphics.drawTexture绘制的texture? 2.1 spine 动画播放出现抖动的bug修复 怎么使用ttf,版...
来源: Laya_社区 发布时间: 20190418
...网络路径图片 Uncaught TypeError: tex.once is not a function at Graphics.__proto.drawTexture (laya.core.js:1577) at onloaded (laya.core.js:1864) at Graphics.__proto.loadImage (laya.core.js:1860) at Function.Animation.createFrames (laya.core.js:17617) at Animation._...
来源: Laya_社区 发布时间: 20170719
...;绘制图形以后,怎么删除释放资源? 怎么检测点是否在 graphics所绘制的区域内 如何获取Sprite上用graphics.drawTexture绘制的texture? 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚动响应 使用滤镜、遮罩、或者绘制...
来源: Laya_社区 发布时间: 20170316
...rchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc cu...
来源: Laya3.0_api 发布时间: 20231115
...r OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components...
来源: Laya3.0_api 发布时间: 20231115
...tage.height; var ctx = canvas.getContext('2d'); Laya.stage.graphics.clear(false); var textture = new Laya.Texture(canvas); textture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 Laya.stage.graphics.drawTexture(textture); debug...
来源: Laya_社区 发布时间: 20180905
...options.srcName].frames[i].res].h, ); // 从大切片切出小切片 skill.graphics.drawTexture(textureIns,aniProps.mc[options.srcName].frames[i].x,aniProps.mc[options.srcName].frames[i].y); // 将小切片渲染到临时精灵上 skillAniArray[i] = skill._graphics._one; // 储存渲染后的小切...
来源: Laya_社区 发布时间: 20190215
...ckBox Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs center...
来源: Laya3.0_api 发布时间: 20231115
.../ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); let sp = new Sprite() sp.graphics.drawRect(0, 0, 50, 50, '#ffff000') ape.mask = sp })); } })(); 右边的...
来源: Laya_社区 发布时间: 20171220