ResourceImporterSVG
继承: ResourceImporter < RefCounted < Object
将 SVG 文件作为自动缩放纹理导入,用于 UI 元素和 2D 渲染。
描述
该导入器导入 DPITexture 资源。另见 ResourceImporterTexture 和 ResourceImporterImage。
属性
|
||
|
||
|
||
|
属性说明
纹理缩放。1.0 是原始 SVG 大小。值越大得到的图像越大。
Dictionary color_map = {} 🔗
设置后,会根据 Color-Color 映射对纹理中的颜色进行重映射。
如果为 true,则对 SVG 源码使用无损压缩。
覆盖纹理饱和度。