docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ViewportOptions

    An enum describing the viewport options to use when importing the SVG document.

    Namespace: Unity.VectorGraphics
    Assembly: Unity.VectorGraphics.dll
    Syntax
    public enum ViewportOptions

    Fields

    Name Description
    DontPreserve

    Don't preserve the viewport defined in the SVG document.

    OnlyApplyRootViewBox

    Applies the root view-box defined in the SVG document (if any).

    PreserveViewport

    Preserves the viewport defined in the SVG document.

    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)