ViewportOptions
An enum describing the viewport options to use when importing the SVG document.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Enum
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public enum ViewportOptions
Fields
Value | 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. |