# OnlyApplyRootViewBox

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

## Definition

* **Type:** Field
* **Namespace:** [Unity.VectorGraphics](/engine/6000.5/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
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 `DontPreserve`. It has limited use and is only available for legacy reasons.
