ViewportOptions
An enum describing the viewport options to use when importing the SVG document.
阅读时间1 分钟最后更新于 1 个月前
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. |