大约有 487 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(264) Laya3.0_api(65) laya_api(64) Laya2.0_api(59) Laya2.0_文档(12) Laya2.0_示例(8) Laya_示例(8) Laya3.0_文档(7)
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number[override] Video hitArea : * 可以设置一个Rectangle区...
来源: Laya2.0_api 发布时间: 20190513
...按钮,和使用 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
...试发现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
...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
...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
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent group : String 资源分组。 Cli...
来源: Laya2.0_api 发布时间: 20190513
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent height : Number[override] 表示显...
来源: Laya2.0_api 发布时间: 20190513
....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
...ection === 0) { gridSprite.graphics.drawImage(tTileTexSet.texture, tX + tTileTexSet.offX, tY + tTileTexSet.offY); // } // else { ...
来源: Laya_社区 发布时间: 20220627
...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