大约有 200 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...文件。 Parameters xml: XML 字体文件XML。 texture: Texture 字体的纹理。 Returns void Static destroyUnusedResources destroyUnusedResources(): void Inherited from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽...
来源: Laya3.0_api 发布时间: 20231115
...布完成后会生成openDataContext目录。(详见第五节) 压缩纹理:一般需要勾选“允许使用压缩纹理格式”,如果不勾选,则忽略所有图片对于压缩格式的设置。 纹理源文件:可以不勾选“始终包含纹理源文件”,如果勾选,则即...
来源: Laya3.0_文档 发布时间: 20251010
...er = 1, color:String = null, blendMode:String = null):DrawTextureCmd 绘制纹理,相比drawImage功能更强大,性能会差一些 Graphics drawTextures(texture:Texture, pos:Array):DrawTexturesCmd 批量绘制同样纹理。 Graphics drawTriangles(texture:Texture, x:Number, y:Number, vert...
来源: Laya2.0_api 发布时间: 20190513
...导出的时候把预乘关了, 要么就在导入layaAir3-IDE后,纹理类型改为默认值,然后sRGB颜色空间勾上,预乘alpha不要勾 2025-01-22 1 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 您可以在导出的时候把premultipliedAlpha 预乘透明关闭,...
来源: Laya_社区 发布时间: 20250117
...。 Default value format: RenderTextureFormat = RenderTextureFormat.R8G8B8 纹理格式。 Default value depthStencilFormat: RenderTextureDepthFormat = RenderTextureDepthFormat.DEPTH_16 深度格式。 Default value mulSampler: number = 1 多重采样点个数。 Default value mipmap: boolean = fals...
来源: Laya3.0_api 发布时间: 20231102
...。 Static IMAGE IMAGE: string = "image" Defined in laya/net/Loader.ts:89 纹理类型,加载完成后返回Texture。 Static JSON JSON: string = "json" Defined in laya/net/Loader.ts:83 JSON 类型,加载完成后返回包含json数据的TextResource对象。 Static MATERIAL MATERIAL: string = "...
来源: Laya3.0_api 发布时间: 20231115
...ector4): void Defined in laya/d3/core/material/PBRMaterial.ts:427 细节图纹理平铺和偏移。 Returns Vector4 Defined in laya/d3/core/material/PBRMaterial.ts:431 细节图纹理平铺和偏移。 Parameters value: Vector4 Returns void emissionColor get emissionColor(): Color set emissionColor(...
来源: Laya3.0_api 发布时间: 20231115
...Material.getTexture Defined in laya/d3/core/material/Material.ts:927 获得纹理 Parameters name: string 属性名称 Returns BaseTexture getTextureByIndex getTextureByIndex(uniformIndex: number): BaseTexture Inherited from Material.getTextureByIndex Defined in laya/d3/core/material/Material.ts:908...
来源: Laya3.0_api 发布时间: 20231115
...ber = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1):Array 绘制纹理。 Graphics drawTextures(tex:Texture, pos:Array):void 批量绘制同样纹理。 Graphics fillBorderText(text:*, x:Number, y:Number, font:String, fillColor:String, borderColor:String, lineWidth:Number, textAlign...
来源: laya_api 发布时间: 20170929
...者导出时选择ConvertTexture,会自动转换场景中使用到的所有纹理资源为laya可用的资源。 如果还有问题,下次请直接截图报错信息或提供示例代码,更快更精准的定位错误信息,减少不必要的沟通。 2017-05-15 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170515