大约有 2,543 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
Laya_社区(2051) Laya3.0_api(129) Laya2.0_文档(109) laya_api(84) Laya2.0_api(82) Laya3.0_文档(37) Laya_示例(36) Laya2.0_示例(15)
...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
...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...
来源: Laya3.0_文档 发布时间: 20251010
...览区看到的图片的显示亮度不一样呢? 一个 jpg 图片儿, texture type: Default, 勾选sRGB 为啥在 Premultiply Alpha 选和不选两种情况时,apply 后,预览区看到的图片的显示亮度不一样呢. 但是在场景区显示相同. 发现了,当我勾选了 sRGB...
来源: Laya_社区 发布时间: 20251015
...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
...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
...e precision loss occurs on IE. Try separating color and alpha to different textures. 2018-04-14 0 0 分享 微博 QZONE 微信 InJoins 赞同来自: 又一个GITHUB上的相关信息: Some implementations of HTMLCanvasElement's CanvasRenderingContext2D store color values internally in premultiplie...
来源: Laya_社区 发布时间: 20180414
...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...
来源: laya_api 发布时间: 20170929
...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy...
来源: Laya3.0_api 发布时间: 20231115
...tation scaleX scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRende...
来源: Laya3.0_api 发布时间: 20231115
... { // texture: 'common1/btn_new.png', xOffset: 127, yOffset: 46, } ...
来源: Laya_社区 发布时间: 20180621