大约有 478 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0075 秒)
Laya_社区(257) Laya3.0_api(65) laya_api(64) Laya2.0_api(59) Laya2.0_文档(12) Laya2.0_示例(8) Laya_示例(8) Laya3.0_文档(5)
...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
...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
...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
...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
.../ ... 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
Sprite loadImage 的时候出现多张图片同时显示 this.img.graphics.clear(); var imgUrl = (this.flag = !this.flag)? this.imgUrl1 :this.imgUrl2; this.img.loadImage(imgUrl,100,50); 简单的点击sprite切换图片,结果会出现两张图片同时显示的情况 附件 : --> 2018-04-04 添...
来源: Laya_社区 发布时间: 20180404
...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
...Radio 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
...ierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered ca...
来源: Laya3.0_api 发布时间: 20231102
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。Component height : Number[override] 表示显示...
来源: laya_api 发布时间: 20170929