Attention: Here be dragons (unstable version)
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Redot.
Checking the stable version of the documentation...
ResourceImporterSVG
Inherits: ResourceImporter < RefCounted < Object
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
|
||
|
||
|
||
|
Property Descriptions
Texture scale. 1.0 is the original SVG size. Higher values result in a larger image.
Dictionary color_map = {} 🔗
If set, remaps texture colors according to Color-Color map.
If true, uses lossless compression for the SVG source.
Overrides texture saturation.