docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)