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

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

441. laya.device.media.Video [ 54%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite  height : Number[override] Video hitArea : * 可以设置一个Rectangle区...

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

442. 使用graphsics.drawTexture画出来的图片与使用button创建同样宽高图形竟然不重合?? [ 54%]

...按钮,和使用 this.sprite_show = new Laya.Sprite(); this.sprite_show.graphics.drawTexture(Laya.loader.getRes(this.resStr), 0, 0, this.width, this.height); 画出来的两个对象,sprite_show的图形竟然被缩小了一点点。。。都是同样的宽高 2017-11-02 添加评论 免费帖 -...

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

443. [LayaAir 3.0]3.0.7微信小游戏开发环境Spine3.7报错 [ 53%]

...试发现colorNum=NaN, solt.color=Color {r: NaN, g: NaN, b: NaN, a: NaN} graphics.drawTriangles(texture.realTexture, 0, 0, mVertices, mUVs, new Uint16Array(triangles), Laya.Matrix.EMPTY, alpha, colorNum, blendMode);spine导出版本3.7.89 2023-11-15 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来...

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

444. 自定义shader-边缘光照shader [ 53%]

...ore.material.BaseMaterial; import laya.d3.core.scene.Scene; import laya.d3.graphics.VertexElementUsage; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import l...

来源: Laya_示例 发布时间: 20260303

445. WebGL模式下用遮罩实现圆形头像会有警告出现 [ 53%]

...a.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加评论 免费帖 --> 分享 微博 QZON...

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

446. laya.ui.Clip [ 53%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent  group : String 资源分组。 Cli...

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

447. laya.ui.UIGroup [ 53%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent height : Number[override] 表示显...

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

448. WebGL模式下,使用fillTexture填充Sprite,在Sprite移动时,会有间隔线显示并闪烁 [ 53%]

....height = GameMain._height; this.mapBg.x = 0; this.mapBg.y = 0; this.mapBg.graphics.fillTexture(texture, 0, 0, GameMain._width, GameMain._height); this.map.addChild(this.mapBg);    问题已经解决:当被填充的图片被打包进图集的话,会有此问题 解决办法就是,需要重...

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

449. 引擎 TiledMap 居然不支持图块翻转 [ 53%]

...ection === 0) {                                 gridSprite.graphics.drawImage(tTileTexSet.texture, tX + tTileTexSet.offX, tY + tTileTexSet.offY);                                 // }                                 // else {                   ...

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

450. 骨骼动画销毁后再创建,报错 [ 53%]

...extureWithTransform ._drawTextureWithTransform __proto._renderAll __proto._graphics __proto._transform __proto.render __proto._childs __proto.render __proto._childs __proto.render __proto._childs __proto.render __proto._childs __proto.render __proto._childs __proto.render __proto._childs __proto.ren...

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