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

Texture scale. 1.0 is the original SVG size. Higher values result in a larger image.

bool compress = true

If true, uses lossless compression for the SVG source.

float saturation = 1.0

Overrides texture saturation.

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.