Enum SVGType
An enum describing how SVG files are imported.
Namespace: Unity.VectorGraphics.Editor
Assembly: Unity.VectorGraphics.Editor.dll
Syntax
public enum SVGType
Fields
| Name | Description |
|---|---|
| Texture2D | The SVG file will be imported as a Texture2D |
| TexturedSprite | The SVG file will be imported as a textured sprite |
| UIElement | The SVG file will be imported as a UIElements Vector Image asset (deprecated) |
| UISVGImage | The SVG file will be imported as a tessellated sprite, compatible with the UI canvas masking system |
| UIToolkit | The SVG file will be imported as a UI Toolkit Vector Image asset |
| VectorSprite | The SVG file will be imported as a tessellated sprite |