Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

ViewportOptions.OnlyApplyRootViewBox

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

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.