大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0359 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...
来源: Laya3.0_api 发布时间: 20231102
...状态下的描边颜色。 UIGroup tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...合适 请问Native下,怎么将二进制的图片转换为bitmap或者texture? 将ui设置为bitmap,当鼠标悬浮在button上时,会导致ui重绘,有什么方法能避免吗? button就是一张静态图+文本,不需要选中按下等状态 Maximum call stack size exceeded 微信...
来源: Laya_社区 发布时间: 20171110
...的标签。 Component target : Sprite 设置滚动对象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite thumbPercent : Number获取或设置一个值,该...
来源: laya_api 发布时间: 20170929
...曲线,就能够将这部分绘制出来 使用LayaAir的.graphics.drawTexture(tex:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1) 获得只能是一个矩形,请问Laya应该如何实现同样的功能? 2017-04-14 添加评论 免...
来源: Laya_社区 发布时间: 20170414
...s.bitmap.activeResource is not a function 使用代码如下:var rankTexture:Texture = new Texture(Laya.Browser.window.sharedCanvas); var image:Laya.Image = new Laya.Image(); image.source = rankTexture; Laya.stage.addChild(image); 附件 : --> 2018-04-03 1 条评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180403
...ain=(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(400,852); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...
来源: Laya_社区 发布时间: 20191017
...的标签。 Component target : Sprite 设置滚动对象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite thumbPercent : Number获取或设置一个值,该...
来源: laya_api 发布时间: 20170929
...n () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.create(image.width,image.height,1); img.loadImageSource(image,true); img._setCreateURL(url); _this.onLoaded(img); }; var url = _this.arra...
来源: Laya_社区 发布时间: 20210809
...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...
来源: Laya3.0_文档 发布时间: 20251010