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

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

181. laya.display.FrameAnimation_API3.0 [ 54%]

...ation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...

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

182. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 53%]

...e(); _colorTex = Laya.loader.getRes("assets/images/color1.png"); _colorSpr.graphics.drawTexture(_colorTex); _colorSpr.cacheAs = "bitmap"; _colorSpr.pos((1024 - _colorTex.width) >> 1, (768 - _colorTex.height) >> 1); _colorSpr.size(_colorTex.width, _colorTex.height); Laya.stage.addChild(_c...

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

183. laya.display.AnimationBase_API3.0 [ 52%]

...meAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...

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

184. HttpRequest问题 [ 51%]

...留白部分的颜色问题 关于removechild、destory、clear的问题 graphics alpha 问题 问题状态 最新活动: 2018-02-08 13:47 浏览: 1253 关注: 2 人 15818760256 • 2018-02-08 14:11 看了下,我们是数据请求,重新修改后也加了header("Access-Control-Allow-Origin:...

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

185. laya.display.EffectAnimation [ 49%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...

来源: Laya2.0_api 发布时间: 20190513

186. laya.media.SoundNode [ 48%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 表示显示对象的高度,以像素为单位。 高度默...

来源: laya_api 发布时间: 20170422

187. laya.display.Sprite [ 48%]

...节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;...

来源: laya_api 发布时间: 20170929

188. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 48%]

...ader.getRes("res/floor.png"); this.bg = new laya.display.Sprite(); this.bg.graphics.clear(); this.addChild(this.bg); //因为上面的图片是截取的 所以右边可能没有图片了 这里补一个 this.rightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture...

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

189. 2.0下资源加载和销毁内存问题 [ 48%]

...   { if(this.szurl!="") this.disp() this.szurl=url; if(url==null){ this.graphics.clear(); }else{ this.skin=url; } } public disp(){ this.skin=""; if(this.szurl){ Laya.loader.clearRes(this.szurl,true); //***2.0这里写法为Laya.loader.clearRes(this.szurl); } } public set url(value:string){ this.o...

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

190. getimagedata直接调用无法获取有效像素问题 [ 48%]

...ey2.png");             var ape = new Sprite();             ape.graphics.drawTexture(t, 0, 0);             Laya.stage.addChild(ape);             ape.pos(200, 0);             x = t.getPixels(0,0,400,400)             console.log(x)             for (let i of x) ...

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