Class reference
ResourceImporterSVG
Inherits ResourceImporter
Imports an SVG file as an automatically scalable texture for use in UI elements and 2D rendering.
Description
This importer imports DPITexture resources. See also ResourceImporterTexture and ResourceImporterImage.
Properties
float base_scale = 1.0
float base_scale = 1.0Texture scale. 1.0 is the original SVG size. Higher values result in a larger image.
Dictionary color_map = {}
Dictionary color_map = {}bool compress = true
bool compress = trueIf true, uses lossless compression for the SVG source.
float saturation = 1.0
float saturation = 1.0Overrides texture saturation.