OnlyApplyRootViewBox
Applies the root view-box defined in the SVG document (if any).
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Field
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
OnlyApplyRootViewBox = 2
Remarks
This option will rescale the SVG asset to a unit size if a view-box is defined in the SVG document. If no view-box is defined, this option will have the same behavior as . It has limited use and is only available for legacy reasons.
DontPreserve