大约有 296 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0068 秒)
...eY scene scrollRect sizeGrid skewX skewY skin source stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains custom...
来源: Laya3.0_api 发布时间: 20231102
...eCache方法手动刷新。Sprite tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...是内置的着色器: (图10-1) Alpha Test Value:会根据AlbedoTexture与AlbedoColor的alpha叠加值来进行测试,小于AlphaTestValue值得片元会丢弃不进行渲染。 Tiling Offset:可以用来设置uv缩放与偏移值,实现对Albedo贴图不同位置的采样。 Albedo C...
来源: Laya3.0_文档 发布时间: 20251010
...ok 相关问题 请问LayaAir中如何使图片以圆形的方式显示? Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 用了第三方socket类 项目在IDE...
来源: Laya_社区 发布时间: 20180427
...Charley 1、图集基础 1.1 什么是图集 在游戏开发中,图集(Texture Atlas)的全称是大图合集,是一种整合多张小图片为一张大图片的资源优化技术,具有减少DrawCall、减少纹理切换次数、减少I/O请求等优势。是2D产品类型用于提升渲...
来源: Laya3.0_文档 发布时间: 20251128
...prite(); picture.loadImage(picturePath); Laya.stage.addChild(picture); var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); pi...
来源: Laya_社区 发布时间: 20181022
...edIndex selectedLabel sizeGrid skewX skewY skin stage stateNum staticCache texture timer toolTip top transform url viewport visible visibleNum width x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLa...
来源: Laya3.0_api 发布时间: 20231115
...tage staticCache stroke strokeColor templateVars text textHeight textWidth texture timer transform ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInsta...
来源: Laya3.0_api 发布时间: 20231115
...态下的描边颜色。 UIGroup tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则...
来源: Laya2.0_api 发布时间: 20190513